summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js/views/basic
diff options
context:
space:
mode:
authorNicolas Martinelli <nim@odoo.com>2020-01-29 14:51:45 +0000
committerNicolas Martinelli <nim@odoo.com>2020-01-31 07:43:35 +0000
commitf028a5f410daf6974110f7c341b330f63fdd8885 (patch)
tree8d94c39b58a9c60a563c4657fbc11098ecc59dec /addons/web/static/src/js/views/basic
parent4305d05f79b96134aa58e024a1d181f3c8af4cca (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/static/src/js/views/basic')
0 files changed, 0 insertions, 0 deletions