Skip to content
Permalink
Browse files

tmp

  • Loading branch information...
qsm-odoo committed Mar 14, 2019
1 parent 43b7424 commit 49076e149ac5e196095266667d59eb4377cdb82c
Showing with 3 additions and 3 deletions.
  1. +3 −3 addons/website_sale/controllers/main.py
@@ -10,7 +10,7 @@
from odoo.addons.http_routing.models.ir_http import slug
from odoo.addons.payment.controllers.portal import PaymentProcessing
from odoo.addons.website.controllers.main import QueryURL
from odoo.exceptions import BadRequest, ValidationError
from odoo.exceptions import ValidationError
from odoo.addons.website.controllers.main import Website
from odoo.addons.sale.controllers.product_configurator import ProductConfiguratorController
from odoo.addons.website_form.controllers.main import WebsiteForm
@@ -215,8 +215,8 @@ def shop(self, page=0, category=None, search='', ppg=False, **post):
try:
ppg = int(ppg)
except ValueError:
raise BadRequest()
else:
ppg = False
if not ppg:
ppg = request.env['website'].get_current_website().shop_ppg

attrib_list = request.httprequest.args.getlist('attrib')

0 comments on commit 49076e1

Please sign in to comment.
You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.