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

Module: Products & Pricelists

Entity: product.supplierinfo

Compute Method: _compute_product_id

Inputs Method Outputs
for rec in self:
            if self.env.get('default_product_id'):
                rec.product_id = self.env.get('default_product_id')

Back to entity