diff options
| author | Johan Demaret Rivarola <jde@odoo.com> | 2019-07-10 15:14:17 +0000 |
|---|---|---|
| committer | Johan Demaret Rivarola <jde@odoo.com> | 2019-07-11 09:32:41 +0000 |
| commit | 54eddda79a45d0ca29743737c816757589292f3f (patch) | |
| tree | 7d92bae593122624f1d8181bd82189a5a7c0ea62 /addons/account_payment/models | |
| parent | ae229dc2176df56cfcc4dea4152f3bc75e3c9dec (diff) | |
[FIX] account_payment: post accounting-pocalypse aftermath
Some leftovers of
https://github.com/odoo/odoo/commit/beaa30a3d1843de43a45f419bfbc1bfa7613a920.
Fields have been renamed according to the following mapping:
residual_signed -> amount_residual_signed
reference -> ref
State 'open' does not exist anymore, use 'posted' and combine it with
'invoice_payment_state' instead.
Diffstat (limited to 'addons/account_payment/models')
| -rw-r--r-- | addons/account_payment/models/payment.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/account_payment/models/payment.py b/addons/account_payment/models/payment.py index 02d52d25eb3..8dd98f98285 100644 --- a/addons/account_payment/models/payment.py +++ b/addons/account_payment/models/payment.py @@ -20,7 +20,7 @@ class PaymentTransaction(models.Model): values.update(render_values) return self.acquirer_id.with_context(submit_class='btn btn-primary', submit_txt=submit_txt or _('Pay Now')).sudo().render( self.reference, - invoice.residual_signed, + invoice.amount_residual_signed, invoice.currency_id.id, values=values, ) |
