refactor: remove legacy website snippet configurations and clean up theme structure
This commit is contained in:
@@ -36,7 +36,7 @@ class ThemePrimeWebsiteSale(WebsiteSale):
|
||||
|
||||
# Hide out of stock
|
||||
if request.httprequest.args.get('hide_out_of_stock'):
|
||||
domains = expression.AND([domains, ['|', '|', ('detailed_type', '!=', 'product'), ('allow_out_of_stock_order', '=', True), '&', ('dr_free_qty', '>', 0), ('allow_out_of_stock_order', '=', False)]])
|
||||
domains = expression.AND([domains, ['|', '|', ('is_storable', '=', False), ('allow_out_of_stock_order', '=', True), '&', ('dr_free_qty', '>', 0), ('allow_out_of_stock_order', '=', False)]])
|
||||
|
||||
# Rating
|
||||
ratings = request.httprequest.args.getlist('rating')
|
||||
|
||||
Reference in New Issue
Block a user