Skip to Content

Community Forums

Tap into the collective knowledge of our community by asking your questions in our forums,
where helpful members are ready to assist you.

Meet our community members

No forum is available yet.
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')