Odoo Mindscape. Understand Odoo faster. Explore modules, fields, dependencies and version differences in one place instead of digging through the source code.

Module: eCommerce

Entity: website

Compute Method: _compute_pricelist_id

Inputs Method Outputs
self.pricelist_id = self.env["product.pricelist"].browse(
            request and hasattr(request, "pricelist") and request.pricelist.id
        )

Back to entity