-
- Downloads
[IMP] website: show website name in ir.ui.view name_get
Before this commit, it was impossible to know which view was the one searched if there was COW views. Indeed, since multiwebsite, views might get duplicated from one website to another. Then, when searching for an ir.ui.view in a form view, every duplicated view would be listed next to each other with the exact same name without a way to identify which one comes from which website. This commit will suffix the view name by its website_id if there is one. To do so, we use the context key that has been introduced with 62d73253. task-1920052 closes odoo/odoo#33307 Signed-off-by:Jérémy Kersten (jke) <jke@openerp.com>
Showing
- addons/website/models/ir_ui_view.py 13 additions, 0 deletionsaddons/website/models/ir_ui_view.py
- addons/website/models/website_menu.py 7 additions, 2 deletionsaddons/website/models/website_menu.py
- addons/website/views/website_views.xml 6 additions, 3 deletionsaddons/website/views/website_views.xml
Loading
Please register or sign in to comment