Skip to content
Snippets Groups Projects
Commit 98156d0e authored by Laurent Smet's avatar Laurent Smet
Browse files

[FIX] account: Fix missing dependencies of '_compute_is_reconciled'


closes odoo/odoo#66572

X-original-commit: 367ffd77
Signed-off-by: default avataroco-odoo <oco-odoo@users.noreply.github.com>
Signed-off-by: default avatarLaurent Smet <smetl@users.noreply.github.com>
parent 62dc50bf
Branches
Tags
No related merge requests found
......@@ -781,8 +781,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).
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment