summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js/views/basic/basic_controller.js
diff options
context:
space:
mode:
authorjem-odoo <jem@openerp.com>2019-04-16 09:20:04 +0000
committerjem-odoo <jem@openerp.com>2019-04-16 09:20:09 +0000
commita54d5eede8604ba9601ff21727fffef826113879 (patch)
tree562dd3e3bc046d91667435436d22e999dbd1337e /addons/web/static/src/js/views/basic/basic_controller.js
parent0034fd14f1f5248bb6af45b93ccbd04272beafa7 (diff)
[FIX] hr_timesheet: timesheet UoM widget restored
When the assets are loaded, the `hr_timesheet.timesheet_uom` scope is loaded in order to bind the `timesheet_uom` to the correct already existing widget (defined in the session, like `float_time` or `float_factor`, ...). The problem is that in normal mode (not debug assets), when the binding is done, the field_registry is empty, so the correct base widget is not applied. The fix is to add the scope filling the registry in the requirements of the `timesheet_uom` scope. Strangely, it was working in debug assets mode. closes odoo/odoo#32736 Signed-off-by: Jérome Maes (jem) <jem@openerp.com>
Diffstat (limited to 'addons/web/static/src/js/views/basic/basic_controller.js')
0 files changed, 0 insertions, 0 deletions