f07e0c1af2091cc8f1d1c035a962c974e561e852
amount_residual recomputation on post
The `amount_residual` computation depends on the fact the `acccount_id` of the move line does allow reconciliation or not. If it doesn't, the amount residual will always be 0.0. So, if you check the "allow reconciliation" on the account after creating the journal items or after changing the debit/credit amount, the amount residual is not recomputed. We do not set the `depends` directly on `account_id.reconcile`, as, if we do, and a user checks/unchecks this box on an account having a lot of records, this will recompute this residual amount on all lines, and this is something we do not want to happen. The work-around when this case happens, that the amount residual is not correct due to the fact the `allow reconciliation` on the account was checked after having posted the entry, is to cancel the entry and repost it. This will recompute the residual amount. opw-656972
…
…
…
…
…
Odoo
Odoo is a suite of web based open source business apps.
The main Odoo Apps include an Open Source CRM, Website Builder, eCommerce, 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.
If you are a developer you may type the following command at your terminal:
wget -O- https://raw.githubusercontent.com/odoo/odoo/master/odoo.py | python
Then follow the developer tutorials
For Odoo employees
To add the odoo-dev remote use this command:
$ ./odoo.py setup_git_dev
To fetch odoo merge pull requests refs use this command:
$ ./odoo.py setup_git_review
Languages
Python
49.6%
JavaScript
47.8%
SCSS
2%
CSS
0.3%
HTML
0.2%