summaryrefslogtreecommitdiff
path: root/addons/account_test
diff options
context:
space:
mode:
authorRomain Derie <rde@odoo.com>2018-09-26 16:05:51 +0200
committerJeremy Kersten <jke@odoo.com>2018-09-29 17:56:21 +0200
commit850e1675eb2550a86729199c1642b4bb381aede3 (patch)
treec31d8009dc05070f9d7b0f753d3e11b361c304b1 /addons/account_test
parent73f0cc21ceff5e86528b05fe2efb80f48c5e43dd (diff)
[FIX] website: store default menu tree (apps menu) for new website
Previously, for multi-websites it was decided that: - creating a new website would not get already existing apps menu (shop, blog, forum..). - installing a new app would create the app's menu on existing website This was decided mostly for technical reason but it is a weird behavior. This commit saves the installed apps menus in order to copy them on new website If this default menu got deleted, we ensure a minimalist tree menu for new website Note: This also fixes the bug where installing a website_module more than once (with -i website_module in command line) would create the menu (blog, shop, forum..) on the first website a second time. This was because the website.menu.create() overrided in website would return the last created record in the self loop, thus the last one created would be the one set to the xml_id (ir.model.data). This commit closes #27253
Diffstat (limited to 'addons/account_test')
0 files changed, 0 insertions, 0 deletions