diff options
| author | Thibault Delavallée <tde@odoo.com> | 2017-05-11 16:37:08 +0200 |
|---|---|---|
| committer | Thibault Delavallée <tde@odoo.com> | 2017-05-11 17:56:08 +0200 |
| commit | 59d918059b09914b9fdcf8f18f5b42bcbc6dd644 (patch) | |
| tree | 78be197eda5532f43ddcdf03e067ece033557662 /addons/web/static/src/xml/base.xml | |
| parent | 19935c2c388da49661f500fc3e634f638e31b360 (diff) | |
[FIX] website_event(_track): correctly delete unwanted website event menus
Previously to commit https://github.com/odoo/odoo/commit/531d641375f5cee7d3a5e629f6b1eaceee8b2739 website
menus checkboxes change did remove all menu entries. They were then
created again depending on checked entries.
That commit changed that behavior to try to create only missing menu
entries and remove only extra entries. However the extra entries removal
was not correctly done.
This commit now checks existing menu entries and remove menu entries that
should not exist depending on checked options. Only standard menu entries
are removed aka menu entries generated by the event module. This means
custom menu entries added for the event should be kept to avoid loosing
customization.
Diffstat (limited to 'addons/web/static/src/xml/base.xml')
0 files changed, 0 insertions, 0 deletions
