mirror of
https://gitlab.com/flectra-hq/flectra.git
synced 2026-11-02 09:58:50 -06:00
[IMP] website published mechanism
This commit is contained in:
1 parent
a612251a13
commit
aba211d99b
11 files changed
+35
-36
No files matched your search
@@ -83,7 +83,7 @@ class WebsiteEventController(http.Controller):
|
||||
|
||||
def dom_without(without):
|
||||
domain = [('state', "in", ['draft', 'confirm', 'done'])]
|
||||
domain += [('website_ids', 'in', request.website.id)] if \
|
||||
domain += ['|', ('website_ids', '=', False), ('website_ids', 'in', request.website.id)] if \
|
||||
not request.env.user.has_group('website.group_website_publisher') else []
|
||||
for key, search in domain_search.items():
|
||||
if key != without:
|
||||
|
||||
Reference in new issue
Block a user