Merge lp:~pedro.baeza/ocb-addons/6.1-bug-1061494 into lp:ocb-addons/6.1

Proposed by Pedro Manuel Baeza
Status: Merged
Merged at revision: 6820
Proposed branch: lp:~pedro.baeza/ocb-addons/6.1-bug-1061494
Merge into: lp:ocb-addons/6.1
Diff against target: 21 lines (+2/-2)
1 file modified
warning/warning.py (+2/-2)
To merge this branch: bzr merge lp:~pedro.baeza/ocb-addons/6.1-bug-1061494
Reviewer Review Type Date Requested Status
Holger Brunn (Therp) code review Approve
Stefan Rijnhart (Opener) Approve
Omar (Pexego) code review, no test Approve
Review via email: mp+194334@code.launchpad.net

Description of the change

Fix commited to main branch that has not yet been realeased. Refer to:

https://bugs.launchpad.net/ocb-addons/+bug/1061494

To post a comment you must log in.
Revision history for this message
Omar (Pexego) (omar7r) wrote :

LGTM

review: Approve (code review, no test)
Revision history for this message
Stefan Rijnhart (Opener) (stefan-opener) wrote :

Thanks!

review: Approve
Revision history for this message
Holger Brunn (Therp) (hbrunn) :
review: Approve (code review)

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'warning/warning.py'
2--- warning/warning.py 2012-09-06 10:32:09 +0000
3+++ warning/warning.py 2013-11-07 12:57:38 +0000
4@@ -231,7 +231,7 @@
5 class purchase_order_line(osv.osv):
6 _inherit = 'purchase.order.line'
7 def onchange_product_id(self,cr, uid, ids, pricelist, product, qty, uom,
8- partner_id, date_order=False, fiscal_position=False, date_planned=False,
9+ partner_id, date_order=False, fiscal_position_id=False, date_planned=False,
10 name=False, price_unit=False, notes=False, context=None):
11 warning = {}
12 if not product:
13@@ -250,7 +250,7 @@
14 warning['message'] = message
15
16 result = super(purchase_order_line, self).product_id_change(cr, uid, ids, pricelist, product, qty, uom,
17- partner_id, date_order, fiscal_position)
18+ partner_id, date_order, fiscal_position_id)
19
20 if result.get('warning',False):
21 warning['title'] = title and title +' & '+result['warning']['title'] or result['warning']['title']

Subscribers

People subscribed via source and target branches