diff options
| -rw-r--r-- | addons/account/models/account_bank_statement.py | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/addons/account/models/account_bank_statement.py b/addons/account/models/account_bank_statement.py index 6319e3a1c5d..4ae695fd687 100644 --- a/addons/account/models/account_bank_statement.py +++ b/addons/account/models/account_bank_statement.py @@ -777,8 +777,10 @@ class AccountBankStatementLine(models.Model): # COMPUTE METHODS # ------------------------------------------------------------------------- - @api.depends('currency_id', 'amount', 'foreign_currency_id', 'amount_currency', - 'move_id.line_ids', 'move_id.line_ids.matched_debit_ids', 'move_id.line_ids.matched_credit_ids') + @api.depends('journal_id', 'currency_id', 'amount', 'foreign_currency_id', 'amount_currency', + 'move_id.line_ids.account_id', 'move_id.line_ids.amount_currency', + 'move_id.line_ids.amount_residual_currency', 'move_id.line_ids.currency_id', + 'move_id.line_ids.matched_debit_ids', 'move_id.line_ids.matched_credit_ids') def _compute_is_reconciled(self): ''' Compute the field indicating if the statement lines are already reconciled with something. This field is used for display purpose (e.g. display the 'cancel' button on the statement lines). |
