d1b9c2f3771213916ebb00f85ba4d0423ab0aff3
There is an onchange on payments that, when the currency is modified, sets the journal to the first available one whose currency matches the selected one. However, if a journal is already set, its value is overwritten, even if its currency matches the new one. To replicate: - Create two banks in EUR - Create an internal transfer from the second bank - Set the payment currency to EUR When you follow the above steps, the payment journal will be incorrectly set to the first bank. Other possible ways to replicate the issue are: - When editing a payment already created whose journal is correct but whose currency is not - When creating a payment and the journal is set before the currency This commit fixes that issue by preventing the onchange from modifying the journal, when it's already set. Closes odoo/odoo#30967 closes odoo/odoo#30969
Odoo
Odoo is a suite of web based open source business apps.
The main Odoo Apps include an Open Source CRM, Website Builder, eCommerce, Warehouse Management, Project Management, Billing & Accounting, Point of Sale, Human Resources, Marketing, Manufacturing, Purchase Management, ...
Odoo Apps can be used as stand-alone applications, but they also integrate seamlessly so you get a full-featured Open Source ERP when you install several Apps.
Getting started with Odoo
For a standard installation please follow the Setup instructions from the documentation.
Then follow the developer tutorials
Languages
Python
49.6%
JavaScript
47.8%
SCSS
2%
CSS
0.3%
HTML
0.2%