Add partner_id in context of SO when browse the product

bzr revid: ced-8946318491cc67d74c9e1f77647bf5fb01240a33
This commit is contained in:
ced
2007-11-30 09:33:07 +00:00
parent 754955a128
commit d44eed5318
+1 -1
View File
@@ -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,