diff options
| author | Laurent Smet <las@odoo.com> | 2021-02-02 14:14:46 +0000 |
|---|---|---|
| committer | Laurent Smet <las@odoo.com> | 2021-02-02 15:12:15 +0000 |
| commit | 7caf5316407ab8950216592e38551f29207076de (patch) | |
| tree | 9de21b28164c6aa021a226c536129f5cef0ff62e /addons/web/static/tests/fields/basic_fields_mobile_tests.js | |
| parent | b54f981908e6c7f67b97ea858c1d093dc09596f5 (diff) | |
[FIX] account: Fix computed fields when editing payment account
When changing the bank account by the outstanding account of a payment, invoice's payment_state should be recomputed by the orm.
So, when writing 'account_id' on the liquidity line, 'is_matched' must be recomputed on payment (_compute_reconciliation_status). Then, if reconciled to some invoices, 'payment_state' must be recomputed as well (_compute_amount).
closes odoo/odoo#65420
Signed-off-by: oco-odoo <oco-odoo@users.noreply.github.com>
Diffstat (limited to 'addons/web/static/tests/fields/basic_fields_mobile_tests.js')
0 files changed, 0 insertions, 0 deletions
