← Back to team overview

c2c-oerpscenario team mailing list archive

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

 

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.

-- 
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:
  [stable v6]supplier uom not recognized correctly on purchase order
  lines

Status in OpenERP Addons (modules):
  Confirmed

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-addons/+bug/871516/+subscriptions


References