mirror of
https://github.com/OCA/account-reconcile.git
synced 2025-01-20 12:27:39 +02:00
[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
This commit is contained in:
@@ -335,7 +335,7 @@
|
||||
<field name="domain">[('journal_id', '=', active_id)]</field>
|
||||
<field
|
||||
name="context"
|
||||
>{'default_journal_id': active_id, 'search_default_not_reconciled': True, 'view_ref': 'account_reconcile_oca.bank_statement_line_form_reconcile_view'}</field>
|
||||
>{'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}</field>
|
||||
<field name="view_mode">kanban,tree</field>
|
||||
<field
|
||||
name="view_ids"
|
||||
|
||||
Reference in New Issue
Block a user