[stable v6]supplier uom not recognized correctly on purchase order lines
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Odoo Addons (MOVED TO GITHUB) |
Confirmed
|
Low
|
OpenERP Publisher's Warranty Team |
Bug Description
Test case to reproduce issue:
-------
1) Define PRODUCT A: [e.g. product is wire]
- default uom = m (meters)
- purchase uom = Spool (150 meters)
- Cost Price = $0.69591 (per meter)
2) for PRODUCT A, configure supplier info:
- Supplier = SUPPLIER A
- Sequence = 1
- Minimal Quantity = 1
- Supplier UoM = Spool (150 meters)
- Pricelist Qty: 1
- Pricelist Unit Price: $104.38650
3) Make sure SUPPLIER A's purchase pricelist rule is configured based on 'Partner section of the product form'.
4) Create a procurement order:
Product = PRODUCT A
Quantity = 50
Product UoM = m (meters)
5) Confirm procurement order. This should create a purchase order.
6) Open the purchase order and see that the purchase order line is 149.93 Spool (150 meteres).
EXPECTED RESULTS: purchase order line for 1 Spool (150 meteres)
Furthermore, if you try and change the quantity to 1, the Product UOM defaults to the product's default uom (m), but it should be the supplier's uom.
If you try and change the 'Product UOM' to Spool, a warning message appears stating that "The selected supplier only sells this product by m". The workaround is to just accept that message, which allows you to keep the uom you selected.
Let me know if any details need clarifying.
affects: | openobject-server → openobject-addons |
Hello,
The problem occurs only in latest stable only for trunk version it is working fine means the purchase order should be created of 1 Spool (150 meteres) instead of 149.99 Spool.
I have attached a screen-shot for more reference so would you please check it.
Thanks.