Odoo Mindscape. Understand Odoo faster. Explore modules, fields, dependencies and version differences in one place instead of digging through the source code.
Module: Sales
Entity: sale.order
Compute Method: _compute_amount_paid
| Inputs | Method | Outputs |
|---|---|---|
|
- """ Sum of the amount paid through all transactions for this SO. """ + """Sum of the amount paid through all transactions for this SO.""" for order in self: order.amount_paid = sum( - tx.amount for tx in order.transaction_ids if tx.state in ('authorized', 'done') + tx.amount for tx in order.transaction_ids if tx.state in ("authorized", "done") ) |
|
