Skip to content
Snippets Groups Projects
Commit ec7aa3c1 authored by qsm-odoo's avatar qsm-odoo
Browse files

[FIX] website: properly enable a website view from its generic view

Before this commit, when enabling a generic view from a specific website
context and that view already had a specific view for this website, the
view was duplicated again instead of writing on the already existing
specific one.

This is because we did not consider inactive views when checking if a
view that is being written already has a website-specific view.

closes odoo/odoo#28743
parent de76e5e0
Branches
Tags
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment