Skip to content
Snippets Groups Projects
Commit c7b6a962 authored by Grover Menacho's avatar Grover Menacho Committed by Josse Colpaert
Browse files

[FIX] action_confirm was not asking for purchase pricelist, otherwise it was...

[FIX] action_confirm was not asking for purchase pricelist, otherwise it was asking for sale pricelist
parent b6f3795e
No related branches found
No related tags found
No related merge requests found
......@@ -100,7 +100,7 @@ class stock_move(osv.osv):
# If partner given, search price in its purchase pricelist
if partner and partner.property_product_pricelist_purchase:
pricelist_obj = self.pool.get("product.pricelist")
pricelist = partner.property_product_pricelist.id
pricelist = partner.property_product_pricelist_purchase.id
price = pricelist_obj.price_get(cr, uid, [pricelist],
move.product_id.id, move.product_uom_qty, partner, {
'uom': move.product_uom.id,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment