← Back to team overview

openerp-india team mailing list archive

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

 

Hello Andreas,

I have checked your scenario with latest trunk. It's take supplier base
on the sequence(lower sequence first). but It's does not checked the
quantity per supplier.

As per your scenario, when manually procure the product. at that time
It's take supplier which have low sequence(partner A). but partner A
only provides a quantity 20. now procure run but quotation create with
zero amount.

So current behave is right. That's why I am closing this Isuue. If you
still any doubt than without hesitation reopen this Issue.


Thanks for understanding!

** Changed in: openobject-addons
       Status: New => Invalid

-- 
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):
  Invalid

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


References