From 861ad0986c560f422576ec931317ea826a918bc1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?V=C3=ADctor=20Mart=C3=ADnez?= Date: Mon, 20 Jan 2025 11:05:23 +0100 Subject: [PATCH] [FIX] account_reconcile_oca: Add context key skip_account_move_synchronization to avoid side effects We need to define skip_account_move_synchronization in the context to avoid that when writing the bank statement line, some values can be updated in the account.move.line making the information inconsistent. Related to https://github.com/OCA/account-reconcile/issues/779 --- account_reconcile_oca/views/account_bank_statement_line.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/account_reconcile_oca/views/account_bank_statement_line.xml b/account_reconcile_oca/views/account_bank_statement_line.xml index fccb750d..16ccbb2e 100644 --- a/account_reconcile_oca/views/account_bank_statement_line.xml +++ b/account_reconcile_oca/views/account_bank_statement_line.xml @@ -335,7 +335,7 @@ [('journal_id', '=', active_id)] {'default_journal_id': active_id, 'search_default_not_reconciled': True, 'view_ref': 'account_reconcile_oca.bank_statement_line_form_reconcile_view'} + >{'default_journal_id': active_id, 'search_default_not_reconciled': True, 'view_ref': 'account_reconcile_oca.bank_statement_line_form_reconcile_view', 'skip_account_move_synchronization': True} kanban,tree