Damien BouvyandNicolas Martinelli 0c50fb516c [FIX] pos_sale: performances and UOM
Performance issue
-----------------

In databases with a lot of POS order lines, the Sales Analysis report is
quite slow. This impacts performances in the report itself and in the
form views of products and product templates. Indeed, they use the
`sale.report` model to compute the `sales_count` field on products.

opw-1987368

Bug on UOM
----------

- Activate Units of Measure
- Create a product A, set its UOM to 'g' (grams)
- Sell one product in the POS

In the Sales Analysis report, the amount is multiplied by 1000.

opw-1978462

Bug on taxes
------------

See issue #24746

All issues originates from the SQL view which is quite complex for no
good reason. Indeed, in v12 the fields `price_subtotal` and
`price_subtotal_incl` are stored and contain the necessary amounts.

closes odoo/odoo#33304

Signed-off-by: Nicolas Martinelli (nim) <nim@odoo.com>


Co-authored-by: Nicolas Martinelli <nim@odoo.com>
2019-05-24 07:34:40 +00:00
2019-05-21 14:19:13 +00:00
2015-09-08 15:45:09 +02:00
2018-10-09 13:44:38 +00:00
2015-09-08 17:58:38 +02:00
2019-03-13 15:10:02 +00:00

Build Status Tech Doc Help Nightly Builds

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, 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.

Then follow the developer tutorials

S
Description
No description provided
Readme LGPL-3.0
3.4 GiB
Languages
Python 49.6%
JavaScript 47.8%
SCSS 2%
CSS 0.3%
HTML 0.2%