Here is a patch sent by OpenERP support to correct the bug. I test it and it works for me.
** Patch added: "price_2.patch" https://bugs.launchpad.net/openobject-addons/+bug/1221107/+attachment/3878430/+files/price_2.patch -- 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/1221107 Title: average price is not correctly computed when purchase order contains several lines of same product Status in OpenERP Addons (modules): Confirmed Bug description: Hi, When you have a product with costing method set at average price. If you create a purchase order with 2 lines for this products. For instance 10 prodA at 10$ and 1 prodA at 0$ (1 product offer if you buy 10). When you recevice the product the cost price will be at 0. Here is a link to a video showing the bug with demo data http://youtu.be/bCG2HgWk_20 Tested a a fresh db with only stock and purchase module installed. Do not hesitate for further details. Bertrand To manage notifications about this bug go to: https://bugs.launchpad.net/openobject-addons/+bug/1221107/+subscriptions _______________________________________________ Mailing list: https://launchpad.net/~openerp-india Post to : [email protected] Unsubscribe : https://launchpad.net/~openerp-india More help : https://help.launchpad.net/ListHelp

