5b7cff06f75728103acec4d811c838a1b2d735c7
Previously a task was created to prevent holes between bank statement, meaning that starting balance should always be the same as previous ending balance. The goal was that during synchronization or imports, we could add statement lines in previous statement and not have to recompute manually the full chain of starting and ending balance of next statements entries. This works fine with online synchronization as we always write after creating the statements the balance of the account on the latest statements to detect missing stmts, however if we create stmts by hand, it is possible that we have the following case: Statement on 10 January with a starting and ending balance of 100 and 200 respectively. We are missing 2 statements with a line of 50 each before that date. So we create the first missing statement at date: 8 January with a starting balance 0 and ending balance 50, this will recompute the starting and ending balance of next statement and overwrite the values to 50 and 150 (starting and ending balance respectively). At that time the system will say that everything is normal but we are still missing a stmt and we are not seeing it. The way to fix this is by not touching the ending balance of the last stmt entry during the computation, that way we can still detect that there is an error and that 50€ are still missing. closes odoo/odoo#48000 X-original-commit: b97b4f4217989e8cae5c32be0d62c11d36eaf1d7 Signed-off-by: Cedric Snauwaert (csn) <csn@openerp.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%