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

View 18.0 View 19.0
Inputs Method Outputs
+ for rec in self:
+             if self.env.get('default_product_id'):
+                 rec.product_id = self.env.get('default_product_id')
  • product_id

Back to entity