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

Module: Repairs

Entity: repair.order

Compute Method: _compute_invoice_count

View 20.0
Inputs Method Outputs
+ for repair in self:
+             repair.invoice_count = len(repair.sudo().invoice_ids)
  • invoice_count

Back to entity