← Back to team overview

openerp-india team mailing list archive

[Bug 1075524] [NEW] Procurement: Price in PO is wrong because of wrong Product main supplier

 

Public bug reported:

Setup:
=======
- Ubuntu 10.04
- Server 6.0 (January 2010)

Recreate the Problem:
=======================
1. Take a product and assign 2 suppliers in the suppliers-tab
    - Partner A, with grid (qty=20, unit price=10.0)
    - Partner B, with grid (qty=1, unit price=20.0)
2. Partner A should have higher priority (lower sequence) so that it will become the main supplier
3. Manually procure 10 PCE of the product
4. Product has procurement method "buy"

Expected Result:
=================
A PO is created with Partner B and a unit price of 20.0

Actual Result:
=================
A PO is created with Partner A and a unit price of 10.0
So although the partner in the PO is Partner A, the unit price of Partner B is used
(partner and unit price are mixed!)

Possible Solutions:
=================
1. PO should use Partner A and unit price 10.0 (fixed in bug 628702) or
2. PO should use Partner B and unit price 20.0

For me the 2nd solution would be correct, because partner A only provides a qty of 20, but 10 PCE should be procured.
So the Partner B would be the correct match.

** Affects: openobject-addons
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of OpenERP
Indian Team, which is subscribed to OpenERP Addons.
https://bugs.launchpad.net/bugs/1075524

Title:
  Procurement: Price in PO is wrong because of wrong Product main
  supplier

Status in OpenERP Addons (modules):
  New

Bug description:
  Setup:
  =======
  - Ubuntu 10.04
  - Server 6.0 (January 2010)

  Recreate the Problem:
  =======================
  1. Take a product and assign 2 suppliers in the suppliers-tab
      - Partner A, with grid (qty=20, unit price=10.0)
      - Partner B, with grid (qty=1, unit price=20.0)
  2. Partner A should have higher priority (lower sequence) so that it will become the main supplier
  3. Manually procure 10 PCE of the product
  4. Product has procurement method "buy"

  Expected Result:
  =================
  A PO is created with Partner B and a unit price of 20.0

  Actual Result:
  =================
  A PO is created with Partner A and a unit price of 10.0
  So although the partner in the PO is Partner A, the unit price of Partner B is used
  (partner and unit price are mixed!)

  Possible Solutions:
  =================
  1. PO should use Partner A and unit price 10.0 (fixed in bug 628702) or
  2. PO should use Partner B and unit price 20.0

  For me the 2nd solution would be correct, because partner A only provides a qty of 20, but 10 PCE should be procured.
  So the Partner B would be the correct match.

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


Follow ups

References