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

Module: Third Party and Deferred/Electronic Checks Management

Entity: account.payment

Compute Method: _compute_amount

View 18.0
Inputs Method Outputs
  • l10n_latam_new_check_ids
  • l10n_latam_move_check_ids
+ for rec in self:
+             checks = rec.l10n_latam_new_check_ids if rec._is_latam_check_payment(check_subtype='new_check') else rec.l10n_latam_move_check_ids
+             if checks:
+                 rec.amount = sum(checks.mapped('amount'))
  • amount

Back to entity