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

Module: Product Multi Code

Entity: product.product

Compute Method: _compute_default_code

Inputs Method Outputs
for product in self:
            product.default_code = product.default_code_ids[:1].name

Back to entity