Skip to content

Commit

Permalink
[17.0][FIX] website_sale_product_pack: add decorator to remove warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
Abranes committed Nov 22, 2024
1 parent fcc0207 commit 935de70
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion website_sale_product_pack/controllers/main.py
Original file line number Diff line number Diff line change
@@ -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,
Expand Down
3 changes: 2 additions & 1 deletion website_sale_product_pack/controllers/variant.py
Original file line number Diff line number Diff line change
@@ -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,
Expand Down

0 comments on commit 935de70

Please sign in to comment.