[stable v6]supplier uom not recognized correctly on purchase order lines

Bug #871516 reported by Hiep T. Ong
16
This bug affects 3 people
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.

Amit Parik (amit-parik)
affects: openobject-server → openobject-addons
Revision history for this message
Amit Parik (amit-parik) wrote :

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.

Revision history for this message
Amit Parik (amit-parik) wrote :
Changed in openobject-addons:
assignee: nobody → OpenERP Publisher's Warranty Team (openerp-opw)
importance: Undecided → Low
status: New → Confirmed
summary: - supplier uom not recognized correctly on purchase order lines
+ [stable v6]supplier uom not recognized correctly on purchase order lines
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.