Unit of Measures (UoM) not respected for pricelists based pricing
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Odoo Addons (MOVED TO GITHUB) |
Confirmed
|
Low
|
OpenERP R&D Addons Team 3 |
Bug Description
OpenERP 6.0.3 WebClient
When changing the Unit of Measure for a line in a Sales Order and Invoice, the conversions are not respected. For example, if a product is defined as grams (g) and the pricelist prices are entered for grams (eg 1$/g), but the line is changed to kilograms, the pricing returned will be that of grams, which now means the line is prices at 1$/kg.
The pricelist match also does not respect UoM conversions, for example, if we have a lower price for 100g, entering 1kg will return the price for 1g, thus being the incorrect price.
All UoM based matched and lookups must respect the UoM conversions defined in the system.
Additionally and ideally, prices and pricelists should be entered optionally with a UoM and a per UoM. example, 10$ per 12 grams, this provides enough flexibility for many more scenarios and is the format used in many other ERPs.
Related branches
- Vinay Rana (OpenERP): Pending requested
- Naresh(OpenERP): Pending requested
-
Diff: 53 lines (+14/-6)3 files modifiedproduct/pricelist.py (+5/-1)
product_visible_discount/product_visible_discount.py (+3/-3)
sale_margin/sale_margin.py (+6/-2)
Changed in openobject-addons: | |
status: | New → Confirmed |
importance: | Undecided → Low |
assignee: | nobody → OpenERP R&D Addons Team 3 (openerp-dev-addons3) |
tags: | added: uom |
I also tested on OpenERP 6.1.1 and the same incorrect behavior occurs.