summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js/fields/basic_fields.js
diff options
context:
space:
mode:
authorDavid Monjoie <dmo@odoo.com>2018-10-15 12:04:57 +0000
committerDavid Monjoie <dmo@odoo.com>2018-10-17 11:39:41 +0000
commit3ed45466f138ad442526123e17f20fa20bdb7259 (patch)
treef8b341726daf4e94b01b03bd5fa5f1b1e8c6d04e /addons/web/static/src/js/fields/basic_fields.js
parent44287eb719c07dc43b13bcd271c8b9c9e883fc7d (diff)
[FIX] web: fix menu app button when menu_id can't be inferred
There used to be no processing done at all when loading the client from an url missing a menu_id and from which the menu could not be inferred from the action_id. This resulted in the app name button in the menu being empty but still present and not bound to any action. Clicking on it triggered a traceback. This commit stops ignoring the case when the menu cannot be inferred from the action and hides the entire menu and submenus for this particular action. They will be restored when entering an action from which a proper menu can be inferred. closes odoo/odoo#27791
Diffstat (limited to 'addons/web/static/src/js/fields/basic_fields.js')
0 files changed, 0 insertions, 0 deletions