Add partner_id in context of SO when browse the product
bzr revid: ced-8946318491cc67d74c9e1f77647bf5fb01240a33
This commit is contained in:
+1
-1
@@ -704,7 +704,7 @@ class sale_order_line(osv.osv):
|
||||
|
||||
if partner_id:
|
||||
lang = partner_obj.browse(cr, uid, partner_id).lang
|
||||
context = {'lang': lang}
|
||||
context = {'lang': lang, 'partner_id': partner_id}
|
||||
|
||||
if not product:
|
||||
return {'value': {'price_unit': 0.0, 'notes':'', 'th_weight' : 0,
|
||||
|
||||
Reference in New Issue
Block a user