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
| Inputs | Method | Outputs |
|---|---|---|
|
- 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')) + for payment in self.filtered(lambda r: r._is_latam_check_payment()): + payment.amount = payment.l10n_latam_checks_amount |
|
