-
-
Notifications
You must be signed in to change notification settings - Fork 398
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[16.0][FIX] account_reconcile_oca: Add context key skip_account_move_synchronization to avoid side effects #782
[16.0][FIX] account_reconcile_oca: Add context key skip_account_move_synchronization to avoid side effects #782
Conversation
…onization 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 OCA#779
Hi @etobella, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/ocabot merge patch
What a great day to merge this nice PR. Let's do it! |
Congratulations, your PR was merged at f89f25a. Thanks a lot for contributing to OCA. ❤️ |
Hello, I appreciate a fix regarding this issue. Although, this PR could have been left open a bit more time no? In some case, the account move synchronisation is necessary, no ? If the field "amount", or "amount_currency" is updated for instance, an update should be made right ? Are you sure it is fine and can you explain why please ? |
I am not sure if anything should be changed in any case, anyway, if you are clear about any case explain it in an issue, suggest the appropriate solution (only for that specific use case) and add a test to confirm that the use case works. |
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 #779
Fixes #779
@Tecnativa TT52634