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

Module: Website Sale Hide Price

Entity: website

Compute Method: _compute_website_show_price

Inputs Method Outputs
for rec in self:
            rec.website_show_price = (
                not rec.website_hide_price
                and request.env.user.partner_id.website_show_price
            )

Back to entity