06754b3237a44d8ba2a18bf407a3e65447ca390c
Inconsistencies can arise between the tax calculation performed in the PoS and in the backend (e.g. in a SO). For example: - Unit price: 9.479 - Tax: excluded, 5.5 % - Buy 5 units - Round globally In the backend, the result is 47.40 + 2.60 = 50.00 In the PoS, the result is 47.40 + 2.61 = 50.01 We make the PoS apply the same logic than in the backend. First, at the level of the `compute_all` method, especially to use the appropriate rounding precision before starting the calculation (so we move the rounding of `total_excluded` after the rounding precision adjustment). Then, by calculating the taxes amount as the difference between `priceWithTax` with `priceWithoutTax`. This is mandatory since they contain the result of `compute_all` in which the rounding logic has already been applied. opw-680891
…
…
…
…
…
…
…
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%