Saturday, October 30, 2021
1 change · master
Miscellaneous changes
Before this commit, a slot with X hours, 59 minutes and more than 30 seconds allocated had a pill title with "Xh60" rather than "(X+1)h". This commit uses the field utils format library to format the number of hours. Current behavior The allocated hours are formatted like : "Xh60" Expected behavior The allocated hours are formatted like : "(X+1)h" task-2672751 Forward-Port-Of: odoo/enterprise#21798
Original PR description
Before this commit, a slot with X hours, 59 minutes and more than 30 seconds allocated had a pill title with "Xh60" rather than "(X+1)h". This commit uses the field utils format library to format the number of hours. Current behavior The allocated hours are formatted like : "Xh60" Expected behavior The allocated hours are formatted like : "(X+1)h" task-2672751 Forward-Port-Of: odoo/enterprise#21798