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

Module: Accounting - MRP

Entity: mrp.production

Compute Method: _compute_show_valuation

Inputs Method Outputs
  • move_finished_ids
for order in self:
            order.show_valuation = any(m.state == 'done' for m in order.move_finished_ids)

Back to entity