-
-
Notifications
You must be signed in to change notification settings - Fork 692
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
[13.0][FIX] account_invoice_show_currency_rate: use only debit from currency lines to get rate #1836
[13.0][FIX] account_invoice_show_currency_rate: use only debit from currency lines to get rate #1836
Conversation
…y lines to get rate
Hi @victoralmau, |
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.
LGTM!
Could you check this one? :) |
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 am not familiar with anglo-saxon accounting but I believe that the change is coherent.
/ocabot merge patch |
On my way to merge this fine PR! |
Congratulations, your PR was merged at b7ad0cc. Thanks a lot for contributing to OCA. ❤️ |
With anglo-saxon accounting, the booking of the COGS and stock interim account is done always in company currency. With the current logic, we are considering the extra debit of the COGS in the invoices which has no amount currency and the resulting rate is incorrect.