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

[FW][FIX] account: payment error on empty default post exchange difference journal #163534

Conversation

fw-bot
Copy link
Contributor

@fw-bot fw-bot commented Apr 26, 2024

The issue:
when you make a payment and there is an exchange difference, since the post exchange difference is not set, it will throw a traceback

To reproduce:

  • Enable 2 currencies
  • Have the exchange difference journal set to NULL (empty)
  • Create an invoice with a different currency than the one set for the company
  • then register a payment.

The fix:
Throw a user error indicating to set the post exchange difference journal

opw-3783917
opw-3768202

Forward-Port-Of: #157735

…e journal

The issue:
when you make a payment and there is an exchange difference, since the post exchange difference is not set, it will throw a traceback

To reproduce:
- Enable 2 currencies
- Have the exchange difference journal set to NULL (empty)
- Create an invoice with a different currency than the one set for the company
- then register a payment.

The fix:
Throw a user error indicating to set the post exchange difference journal

opw-3783917
opw-3768202

X-original-commit: 2d2a772
@robodoo
Copy link
Contributor

robodoo commented Apr 26, 2024

@fw-bot
Copy link
Contributor Author

fw-bot commented Apr 26, 2024

This PR targets saas-17.1 and is part of the forward-port chain. Further PRs will be created up to master.

More info at https://github.com/odoo/odoo/wiki/Mergebot#forward-port

@C3POdoo C3POdoo added the OE the report is linked to a support ticket (opw-...) label Apr 26, 2024
@robodoo robodoo added the forwardport This PR was created by @fw-bot label Apr 26, 2024
robodoo pushed a commit that referenced this pull request Apr 26, 2024
…e journal

The issue:
when you make a payment and there is an exchange difference, since the post exchange difference is not set, it will throw a traceback

To reproduce:
- Enable 2 currencies
- Have the exchange difference journal set to NULL (empty)
- Create an invoice with a different currency than the one set for the company
- then register a payment.

The fix:
Throw a user error indicating to set the post exchange difference journal

opw-3783917
opw-3768202

closes #163534

X-original-commit: 2d2a772
Signed-off-by: John Laterre (jol) <jol@odoo.com>
@robodoo robodoo closed this Apr 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
forwardport This PR was created by @fw-bot OE the report is linked to a support ticket (opw-...)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants