summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js/views/basic/basic_controller.js
diff options
context:
space:
mode:
authorRomainLibert <rli@odoo.com>2018-11-21 10:49:02 +0000
committerRomainLibert <rli@odoo.com>2018-11-21 10:49:02 +0000
commit4a2c73d1a5b0886029258251862caf06ea15ba34 (patch)
tree587287f23f075161c6ced6ef7a7d30fd6be5a71a /addons/web/static/src/js/views/basic/basic_controller.js
parentf3b387530537f49304d6367b3a21331052d5c4af (diff)
[FIX] hr_holidays: change selection keys from floats to integers
In the following commit (https://github.com/odoo/odoo/commit/744de4ee1cec5e43aa77ac3eccc7a9b1224f8fa1) we introduced some floats as keys to Selection fields (namely request_hour_from and request_hour_to) This lead to the ORM creating a column of type `int4` to store this field which rounded the values. In order to repair that faulty behaviour we use negative integer values for the half hours, which is then transformed back into a float in the code. closes odoo/odoo#28877
Diffstat (limited to 'addons/web/static/src/js/views/basic/basic_controller.js')
0 files changed, 0 insertions, 0 deletions