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

Module: Sales

Entity: sale.order.line

Compute Method: _compute_mandatory_product

Inputs Method Outputs
self.mandatory_product = (
            self.env["ir.config_parameter"].sudo().get_bool("sale.mandatory_product")
        )

Back to entity