Skip to content
Snippets Groups Projects
Commit ea3a2ab6 authored by Romain Derie's avatar Romain Derie
Browse files

[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: default avatarJérémy Kersten (jke) <jke@openerp.com>
parent c33a347e
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment