Trade customer? Sign in first to see trade pricing.

If you would like access to trade pricingcontact us to set up a trade account.

class Website(http.Controller): @http.route(['/'], type='http', auth='public', website=True) def index(self, **kw): if http.request.env.user.partner_id.property_product_pricelist: # Set the pricelist to the user's allocated pricelist http.request.website.sale_get_order(force_pricelist=http.request.env.user.partner_id.property_product_pricelist.id) return http.request.render('website.homepage')