chore: update Theme Alan version to 18.0.1.0, refactor RPC service usage across components, and enhance header/footer snippet configurations

This commit is contained in:
hoangvv
2026-08-14 10:52:51 +07:00
parent 49226d0343
commit 62ca567ea4
19 changed files with 58 additions and 39 deletions
+1 -2
View File
@@ -17,7 +17,6 @@ from odoo.addons.auth_signup.models.res_users import SignupError
from odoo.addons.website_sale.controllers.main import WebsiteSale, TableCompute
from odoo.addons.website_sale.controllers.variant import WebsiteSaleVariantController
from odoo.addons.website.controllers.main import Website
from odoo.addons.http_routing.models.ir_http import slug
_logger = logging.getLogger(__name__)
@@ -108,7 +107,7 @@ class WebsiteSaleAlanShop(WebsiteSale):
res = super(WebsiteSaleAlanShop, self).shop(page, category, search, min_price, max_price, ppg, **post)
url = '/shop'
if category:
url = "/shop/category/%s" % slug(category)
url = "/shop/category/%s" % request.env['ir.http']._slug(category)
as_search_prds = res.qcontext['search_product']
# Load More
if request.website.active_load_more: