summaryrefslogtreecommitdiff
path: root/addons/resource/models
diff options
context:
space:
mode:
authorRomainLibert <rli@odoo.com>2018-11-21 11:51:52 +0000
committerRomainLibert <rli@odoo.com>2018-11-21 13:04:55 +0000
commit1d28525d6b9516ab7a380287c55557769aebd087 (patch)
tree8abd55626ecc54a0f935ceeec4e209761ace7848 /addons/resource/models
parenta874760d41ce26d8effc69e6c5426f4b824ea984 (diff)
[FIX] resource: increase the rounding factor in resource_mixin
In order to be more precise in the number of hours shown in leaves, we need more precision in resource_mixin closes odoo/odoo#28907
Diffstat (limited to 'addons/resource/models')
-rw-r--r--addons/resource/models/resource_mixin.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/addons/resource/models/resource_mixin.py b/addons/resource/models/resource_mixin.py
index 7770efb4633..a55911398af 100644
--- a/addons/resource/models/resource_mixin.py
+++ b/addons/resource/models/resource_mixin.py
@@ -8,8 +8,8 @@ from pytz import utc
from odoo import api, fields, models
from odoo.tools import float_utils
-# This will generate eights of days
-ROUNDING_FACTOR = 8
+# This will generate 16th of days
+ROUNDING_FACTOR = 16
class ResourceMixin(models.AbstractModel):