Sunday, May 16, 2021
1 change · master
Miscellaneous changes
In e.g. 12.0 when transferring inventory, if the client's timezone is not UTC, the delay and cycle time can be wrong if there is one date that is not on the same day for UTC and the client's timezone. With this commit, we allow decimals in dates instead of truncating to calculate only on number of days, and round the result properly. opw-2470072 Forward-Port-Of: odoo/enterprise#18318
Original PR description
In e.g. 12.0 when transferring inventory, if the client's timezone is not UTC, the delay and cycle time can be wrong if there is one date that is not on the same day for UTC and the client's timezone. With this commit, we allow decimals in dates instead of truncating to calculate only on number of days, and round the result properly. opw-2470072 Forward-Port-Of: odoo/enterprise#18318