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

Module: Donation Base

Entity: res.partner

Compute Method: _compute_tax_receipt_count

View 18.0
Inputs Method Outputs
  • tax_receipt_ids
  • tax_receipt_ids.ids
+ for partner in self:
+             partner.tax_receipt_count = len(partner.tax_receipt_ids.ids)
  • tax_receipt_count

Back to entity