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

Module: Test ORM

Entity: test_orm.move

Compute Method: _compute_payment_amount

View 20.0
Inputs Method Outputs
  • payment_ids
+ for record in self:
+             record.payment_amount = sum(payment.amount for payment in record.payment_ids)
  • payment_amount

Back to entity