162fadd48ed9dbbcbe1f56ac4be206ce51982174
Steps: - Install POS - Create Tax T : - Type : Sales - Computation : Fixed - Amount : x - Create a product P with price 0 - Go to POS and select P to sell it (qty = 1). Taxes = x - Now set qty = -1. Issue: - Taxes remain x where it would be expected to be -x. Cause: - The calculation of the price doesn't take the sign of the qty into account because it takes a "base amount" that takes it into account. - However, this base amount doesn't give any indication about the qty, which is necessary to determine which way the tax should be applied. Fix: - If the "base amount" is zero, return quantity * fixed tax. opw-2655317 closes odoo/odoo#80389 X-original-commit: 6a4f51f4254041229cf264d713f0d2b0db880601 Signed-off-by: Joseph Caburnay (jcb) <jcb@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, ...
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%