summaryrefslogtreecommitdiff
path: root/odoo/tools/sql.py
diff options
context:
space:
mode:
authorAndrea Grazioso (agr-odoo) <agr@odoo.com>2020-04-06 08:45:36 +0000
committerAndrea Grazioso (agr-odoo) <agr@odoo.com>2020-04-09 11:23:49 +0000
commit30113e11974419f786b5628c3d1ca4db2d582638 (patch)
treea35a0c35ce9dcd7cdb2c78fb44a28316c946443a /odoo/tools/sql.py
parent8b22387d803b9f6b0ee8e8c21bf921269bf88781 (diff)
[FIX] pos_sale: fix delivered/sold quantity reported
Create a product with UoM Dozens Sold 5x via POS Go to the product page The smart button does not reflect the correct quantity (0.42 instead of 5). Fixing by editing the SQL query, the POS already provide the correct quantity of sold goods as it is not possible to change the UoM. This aim to match the behavior of sale (where is necessary to account for possible differences between the uom reported on the sale order line and the one specified in the product page) opw-2227482 closes odoo/odoo#49313 X-original-commit: 7af831fe47005c6a7724d8d28bf3d045a75f0f09 Signed-off-by: Nicolas Martinelli (nim) <nim@odoo.com>
Diffstat (limited to 'odoo/tools/sql.py')
0 files changed, 0 insertions, 0 deletions