[FIX] account: recompute invoice residual amount when one of its move lines is totally reconciled
Fixes #3395
This commit is contained in:
parent
9bc156a32c
commit
4a8b8df813
|
@ -108,6 +108,8 @@ class account_invoice(models.Model):
|
||||||
'state', 'currency_id', 'invoice_line.price_subtotal',
|
'state', 'currency_id', 'invoice_line.price_subtotal',
|
||||||
'move_id.line_id.account_id.type',
|
'move_id.line_id.account_id.type',
|
||||||
'move_id.line_id.amount_residual',
|
'move_id.line_id.amount_residual',
|
||||||
|
# Fixes the fact that move_id.line_id.amount_residual, being not stored and old API, doesn't trigger recomputation
|
||||||
|
'move_id.line_id.reconcile_id',
|
||||||
'move_id.line_id.amount_residual_currency',
|
'move_id.line_id.amount_residual_currency',
|
||||||
'move_id.line_id.currency_id',
|
'move_id.line_id.currency_id',
|
||||||
'move_id.line_id.reconcile_partial_id.line_partial_ids.invoice.type',
|
'move_id.line_id.reconcile_partial_id.line_partial_ids.invoice.type',
|
||||||
|
|
Loading…
Reference in New Issue