-
-
Notifications
You must be signed in to change notification settings - Fork 534
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
[FIX]payment order - fix compute_partner_bank_id #1164
[FIX]payment order - fix compute_partner_bank_id #1164
Conversation
Fix _compute_partner_bank_id on account.move.line. The bank account number of then invoice was not selected when a supplier has multiple bank account numbers and there is no payment mode set on the vendor bill. This PR corrects this issue.
e43ee1c
to
ec143f5
Compare
/ocabot merge patch |
Hey, thanks for contributing! Proceeding to merge this for you. |
@pedrobaeza your merge command was aborted due to failed check(s), which you can inspect on this commit of 14.0-ocabot-merge-pr-1164-by-pedrobaeza-bump-patch. After fixing the problem, you can re-issue a merge command. Please refrain from merging manually as it will most probably make the target branch red. |
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.
Wait, I'm now thinking that this is going to fill the bank account and fix it when it's imported in payment orders, which disables the feature of filling it on that case. Why do you want such behavior?
/ocabot merge minor |
Hey, thanks for contributing! Proceeding to merge this for you. |
Congratulations, your PR was merged at bf6160c. Thanks a lot for contributing to OCA. ❤️ |
@alexis-via I have put a requested changes review because I have now doubts. Can you please check them? |
The bank account number of then invoice is not selected when a supplier has multiple bank account numbers and there is no payment mode set on the vendor bill.
This PR fixes this issue.