Merge branch 'flectra-prd-visible-issue' into 'master'
[FIX] Products not visible in Main catagory Issue: #45 See merge request flectra-hq/flectra!55
This commit is contained in:
commit
8a29d9a1f6
@ -305,7 +305,7 @@ class WebsiteSale(http.Controller):
|
||||
|
||||
if not request.env.user.has_group('website.group_website_publisher') \
|
||||
and (categs_with_childs or parent_categ_with_childs):
|
||||
domain += ['|', '&',
|
||||
domain += ['|', '|',
|
||||
('public_categ_ids', 'in', categs_with_childs.ids),
|
||||
('public_categ_ids', 'in', parent_categ_with_childs.ids),
|
||||
('public_categ_ids', '=', False)]
|
||||
|
Loading…
Reference in New Issue
Block a user