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

Module: Manufacturing

Entity: mrp.bom.line

Compute Method: _compute_manual_consumption_readonly

View 17.0
Inputs Method Outputs
  • tracking
  • operation_id
- for line in self:
-             line.manual_consumption_readonly = (line.tracking != 'none' or line.operation_id)
  • manual_consumption_readonly

Back to entity