Skip to content
Browse files


  • 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/
@@ -10,7 +10,7 @@
from odoo.addons.http_routing.models.ir_http import slug
from odoo.addons.payment.controllers.portal import PaymentProcessing
from import QueryURL
from odoo.exceptions import BadRequest, ValidationError
from odoo.exceptions import ValidationError
from import Website
from 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):
ppg = int(ppg)
except ValueError:
raise BadRequest()
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.