diff options
| author | Romain Derie <rde@odoo.com> | 2018-01-02 12:18:26 +0100 |
|---|---|---|
| committer | Romain Derie <rde@odoo.com> | 2018-01-11 12:49:18 +0100 |
| commit | 32701aa512cb0c382154d030436ca4d265e6e27f (patch) | |
| tree | 22ee6be07b8b94f5fe7f4fbe006b2cad76facc62 /addons/web/static/src/js/views/basic/basic_model.js | |
| parent | 88fe132a2764b4999baa57385ec8c0038f176dfa (diff) | |
[FIX] website: menus with null URL would throw an error on display
Before this commit, if a website.menu had a URL set to null, it would throw an
error when displaying that menu.
It is normally not possible to do so in v11 but after a migration, menus can be
empty. (eg: Using an empty menu to display a divider in a dropdown menu)
Now we return an empty url instead of an error
Diffstat (limited to 'addons/web/static/src/js/views/basic/basic_model.js')
0 files changed, 0 insertions, 0 deletions
