diff options
| author | fw-bot <otis@odoo.com> | 2019-10-11 15:15:18 +0000 |
|---|---|---|
| committer | fw-bot <otis@odoo.com> | 2019-10-14 09:13:27 +0000 |
| commit | 2ce0dcb65df2add6bcddb7ae41c40f4a0b9573cc (patch) | |
| tree | 9a21c9a51545055217fdbdf6c08ecec970c325bb /doc/reference/javascript_reference.rst | |
| parent | 89d3293158c8e19084b958c06393ca45b05dda1b (diff) | |
[FIX] purchase: vendor price not converted to default UoM
-Define "g" as the default UoM for a product.
-Make a purchase order with that product.
-Select the "kg" UoM in the order line and a price of 50.
-Check the Purchase tab of the product.
Before this commit:
the UoM of the price created is the default UoM for the product, "g".
This is because it's a related field.
However, the price wasn't converted to the default UoM, it's still 50.
After this commit:
the price is converted to the default UoM, it's 0.05 per "g".
closes odoo/odoo#38688
Opw: 2076722
X-original-commit: 341b568773b28b2bbce02f3532215e9664b318ec
Signed-off-by: Nicolas Martinelli (nim) <nim@odoo.com>
Diffstat (limited to 'doc/reference/javascript_reference.rst')
0 files changed, 0 insertions, 0 deletions
