Merge lp:~openerp-dev/openobject-addons/trunk-bug-1104097-hip into lp:openobject-addons

Proposed by Hiral Patel (OpenERP)
Status: Needs review
Proposed branch: lp:~openerp-dev/openobject-addons/trunk-bug-1104097-hip
Merge into: lp:openobject-addons
Diff against target: 12 lines (+1/-1)
1 file modified
product/pricelist.py (+1/-1)
To merge this branch: bzr merge lp:~openerp-dev/openobject-addons/trunk-bug-1104097-hip
Reviewer Review Type Date Requested Status
Yann Papouin (community) code & test Approve
OpenERP Core Team Pending
Review via email: mp+145138@code.launchpad.net
To post a comment you must log in.
Revision history for this message
Yann Papouin (yann-papouin) wrote :

In production for one year now without any issue.

review: Approve (code & test)

Unmerged revisions

8518. By Hiral Patel (OpenERP)

[trunk][FIX] Pricelist base on supplierinfo based price list return zero

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'product/pricelist.py'
2--- product/pricelist.py 2012-12-06 14:56:32 +0000
3+++ product/pricelist.py 2013-01-28 09:37:22 +0000
4@@ -233,7 +233,7 @@
5 else:
6 price_tmp = self.price_get(cr, uid,
7 [res['base_pricelist_id']], product_id,
8- qty, context=context)[res['base_pricelist_id']]
9+ qty, partner, context=context)[res['base_pricelist_id']]
10 ptype_src = self.browse(cr, uid, res['base_pricelist_id']).currency_id.id
11 uom_price_already_computed = True
12 price = currency_obj.compute(cr, uid, ptype_src, res['currency_id'], price_tmp, round=False)

Subscribers

People subscribed via source and target branches

to all changes: