1738273e4a12c36263e00a4be2a003e0c7414f48
When switching immediate payment term to 30% advance then back to immediate payment term, the receivable line is back to its previous value. This is due to the '_get_fields_onchange_balance' that is not updating correctly the business fields since price_subtotal == amount_currency. So, when `writing`, debit/credit are removed from the dictionary because the values are the same as before. However, `price_unit` hasn't be updated with the new value and remains as its previous value. It leads to a recomputation of accounting fields regarding the business fields and then, trigger the unbalanced journal entry. closes odoo/odoo#60654 X-original-commit: 18b5ad16a442404061b1028c2ffd82f179beaba3 Signed-off-by: oco-odoo <oco-odoo@users.noreply.github.com> Signed-off-by: Laurent Smet <smetl@users.noreply.github.com>
…
…
…
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, ...
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.
To learn the software, we recommend the Odoo eLearning, or Scale-up, the business game. Developers can start with the developer tutorials
Languages
Python
49.6%
JavaScript
47.8%
SCSS
2%
CSS
0.3%
HTML
0.2%