summaryrefslogtreecommitdiff
path: root/addons/project/views
diff options
context:
space:
mode:
authorSamuel Degueldre <sad@odoo.com>2020-04-29 09:35:59 +0000
committerSamuel Degueldre <sad@odoo.com>2020-05-07 16:15:07 +0000
commite09120a1d65629ec2d7c8b15bcedeaf8cbd7a33b (patch)
tree9c8954aeeb9f4e1b497134c35a66623edc3d1cc2 /addons/project/views
parentf0afe7420afad3635887731e4c03aa1a2f93e089 (diff)
[FIX] web_editor: increase precision of number-string conversion
Previously, when converting a number to a string we only kept 3 decimals, it turns out that when converting back and forth between rem and pixels, we were losing enough precision that we had inexact pixel values shown to the end user for odd number of pixels, even with the default rem value of 16px. This commit increases the precision to 5 to work around this issue and allow us to convert exactly between rem and pixels at the default 16px/rem. task-2248360 closes odoo/odoo#50881 X-original-commit: fdce273f4fe72a9e2555acecad3c2989110dac1a Signed-off-by: Quentin Smetz (qsm) <qsm@odoo.com>
Diffstat (limited to 'addons/project/views')
0 files changed, 0 insertions, 0 deletions