Skip to content
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] account: fix cross currency calculation while register payment #165325

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

sham-odoo
Copy link

Description of the issue/feature this PR addresses:
While registering for Payment in Invoice, if the company currency, the source currency of invoice and the payment currency of invoice; all the three are different, then the currency conversion to the payment currency was not accurate.

Current behavior before PR:
Before this PR, the conversion was directly made between the company currency and the payment currency.

Desired behavior after PR is merged:
This PR targets to change the currency conversion method. It now performs the conversion between the source currency of invoice and the payment currency. This will lead to accurate currency conversion as the exchange rate is correctly calculated now.


I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr

@robodoo
Copy link
Contributor

robodoo commented May 14, 2024

@C3POdoo C3POdoo requested review from a team and aliyatastemirova and removed request for a team May 14, 2024 04:55
@C3POdoo C3POdoo added the RD research & development, internal work label May 14, 2024
Copy link
Contributor

@aliyatastemirova aliyatastemirova left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hello, thank you for your PR
Could you please clarify why exactly the current conversion is wrong and what is your approach to fixing it? A specific example would be appreciated
Also, please squash your commits

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
RD research & development, internal work
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants