-
-
Notifications
You must be signed in to change notification settings - Fork 404
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: KeyError on data #777
[16.0][FIX] account_reconcile_oca: KeyError on data #777
Conversation
Hi @etobella, |
@victoralmau Looks like this got introduced with #762 |
Please, can you indicate the steps to reproduce the error? |
@victoralmau It happens in cases where In Odoo Shell I've noticed that it happens already when trying to read such bank statement lines. However on second read of the same record, the error does not happen anymore because at that moment the default is already written and the |
But isn't that something that indicates that the problem is that the default should be set from the beginning instead of just silencing/bypassing the error? |
I have not found the use case that I can functionally reproduce (important to clarify), but the fix seems to be enough to avoid the error. |
If I get time I can try to reproduce in a unit test |
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.
I also had this crash
/ocabot merge minor |
Hey, thanks for contributing! Proceeding to merge this for you. |
Congratulations, your PR was merged at 521a52c. Thanks a lot for contributing to OCA. ❤️ |
I'm not quite sure if this is the proper solution to the below problem: