diff --git a/website_sale_product_pack/controllers/main.py b/website_sale_product_pack/controllers/main.py index 2e062191..95984773 100644 --- a/website_sale_product_pack/controllers/main.py +++ b/website_sale_product_pack/controllers/main.py @@ -1,9 +1,10 @@ -from odoo.http import request +from odoo.http import request, route from odoo.addons.website_sale.controllers.main import WebsiteSale class WebsiteSale(WebsiteSale): + @route() def shop( self, page=0, diff --git a/website_sale_product_pack/controllers/variant.py b/website_sale_product_pack/controllers/variant.py index 4c9d8dae..d7287b5c 100644 --- a/website_sale_product_pack/controllers/variant.py +++ b/website_sale_product_pack/controllers/variant.py @@ -1,9 +1,10 @@ -from odoo.http import request +from odoo.http import request, route from odoo.addons.website_sale.controllers.variant import WebsiteSaleVariantController class WebsiteSaleVariantController(WebsiteSaleVariantController): + @route() def get_combination_info_website( self, product_template_id,