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

-- 
[mrp] action_po_assign() sometimes gets the price from the wrong supplier (5.0)
https://bugs.launchpad.net/bugs/628702
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to the OpenERP Project Group.

Status in OpenObject Addons Modules: Triaged

Bug description:
Hi!
5.0 latest bzr.
When generating POs, the procurement selects a supplier but sometimes finds the 
price of another supplier for the product.

Example:
Supplier A with a supplier price list defined as 'Partner section of the 
product form'
Supplier B with a supplier price list defined as 'Partner section of the 
product form'
Open a product and delete all the supplier information.
Add Supplier B first and set qty 1 and price 200. Save. Then add Supplier A and 
set qty 1 and price 100. Save.
Now set the sequence (priority) for Supplier B to 2.
Now Supplier A is the first on the list with the sequence of 1.
Set some orderpoint and generate POs. 

Problem: The PO will be generated for Supplier A but the product will have the 
price of 200 (from Supplier B).
Because partner_id is not passed to price_get(). See the patch attached.



_______________________________________________
Mailing list: https://launchpad.net/~c2c-oerpscenario
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~c2c-oerpscenario
More help   : https://help.launchpad.net/ListHelp

Reply via email to