67d82b875cddba7bf28c3f4eba295df31dce3d48
Edit journal entries (account.move). Create a new line. Credit and debit values are filled in with the default get. Conveniently, if lines_ids is given in context this computes the right value to balance existing move lines. However, this is done by float operations. Let e be the resulting epsilon in balance. As a result a new line may contain e, 0 for credit, debit (or respectively). If the user fills in the 0 value with v, then the new line contains e, v. This violates the constraint that exactly one of the two values should be nonzero. We get the currency from the journal to round adequately the balance. opw 2046137 closes odoo/odoo#35815 Signed-off-by: Nans Lefebvre (len) <len@odoo.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, 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%