diff options
| author | Nicolas Martinelli <nim@odoo.com> | 2020-01-29 14:51:45 +0000 |
|---|---|---|
| committer | Nicolas Martinelli <nim@odoo.com> | 2020-01-31 07:43:35 +0000 |
| commit | f028a5f410daf6974110f7c341b330f63fdd8885 (patch) | |
| tree | 8d94c39b58a9c60a563c4657fbc11098ecc59dec /addons/web_editor/static/src/js/backend/convert_inline.js | |
| parent | 4305d05f79b96134aa58e024a1d181f3c8af4cca (diff) | |
[FIX] account: do not call action_invoice_paid
`action_invoice_paid` should be called when the computed field
`invoice_payment_state` is set. However, the recomputation doesn't go
through `create` or `write` (since the field is protected).
A workaround is to call it at reconciliation. Indeed, an invoice can
only be paid when it is reconciled. For invoices with an amount of zero,
we call the method at posting.
closes odoo/odoo#44331
X-original-commit: 97b00da953f7860d51326a160c38fab0354458a8
Signed-off-by: Nicolas Martinelli (nim) <nim@odoo.com>
Diffstat (limited to 'addons/web_editor/static/src/js/backend/convert_inline.js')
0 files changed, 0 insertions, 0 deletions
