diff options
| author | Damien Bouvy <dbo@odoo.com> | 2019-05-10 14:54:34 +0000 |
|---|---|---|
| committer | Nicolas Martinelli <nim@odoo.com> | 2019-05-24 07:34:40 +0000 |
| commit | 0c50fb516c3556b2ac0d2fabe804feaa7f0cd227 (patch) | |
| tree | 94d94ee27e80a79c12a3b83b095c9c299dfc81f2 /SECURITY.md | |
| parent | 4f0a00628f06f93b82d472d292be008deb44bf40 (diff) | |
[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>
Diffstat (limited to 'SECURITY.md')
0 files changed, 0 insertions, 0 deletions
