refactor: remove legacy website snippet configurations and clean up theme structure

This commit is contained in:
hoangvv
2026-08-13 16:15:21 +07:00
parent 860cf9cb0f
commit 4d9da4d492
16 changed files with 399 additions and 451 deletions
+1 -1
View File
@@ -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')