← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 871516] [NEW] supplier uom not recognized correctly on purchase order lines

 

Public bug reported:

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
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to OpenERP Project Group.
https://bugs.launchpad.net/bugs/871516

Title:
  supplier uom not recognized correctly on purchase order lines

Status in OpenERP Server:
  New

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.

To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-server/+bug/871516/+subscriptions


Follow ups

References