70e43b18e0c114bc4649a2c0761a5063602cd056
We have taxes on pos.order.line and we have taxes on the product of the `pos.order.line`. There was no real consensus in the POS about which taxes to use. As long as they're the same it doesn't cause issues, but if someone where to change the taxes on a product which is used in an open `pos.session` things will start going wrong. When closing the pos.session amount_total of the `pos.order` in question will not equal tax `account.move.lines` + product `account.move.lines`. The reason for it is that we use the taxes on the `pos.order.line` for the tax account.move.lines, whereas amount_total used the taxes on product. This fixes the problem by always using the tax set on `pos.order.line`. This tax should be set only once through `_order_line_fields` during orderline creation. After that it shouldn't change. Therefore `pos.sessions` won't be affected by changes to taxes of products anymore. opw-660765
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/9.0/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%