Skip to content
Snippets Groups Projects
Commit 19d82ca5 authored by Benoit Socias's avatar Benoit Socias
Browse files

[FIX] website: filter filter_opt of dynamic snippet by website_id

Add a filtering by the contextual website_id when looking up available
website_snippet_filters via an rpc route limited to logged in users but
relying on a sudo to actually obtain the list of available filters.

Before this commit filters were visible on the editor for all websites.

After this commit filters are only visible on the editor of the website
that matches their website_id.

https://github.com/odoo/odoo/pull/59341


task-2312878

closes odoo/odoo#59341

Signed-off-by: default avatarJérémy Kersten (jke) <jke@openerp.com>
parent 3563738c
Branches
Tags
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment