[FIX] purchase : Fixes the context argument problem

lp bug: https://launchpad.net/bugs/960308 fixed

bzr revid: amb@tinyerp.com-20120322103434-v0l6247f3z54qo2d
This commit is contained in:
Amit Bhavsar (Open ERP)
2012-03-22 16:04:34 +05:30
parent 096e31763d
commit 4bcd157336
+1 -1
View File
@@ -773,7 +773,7 @@ class purchase_order_line(osv.osv):
# - determine product_qty and date_planned based on seller info
if not date_order:
date_order = fields.date.context_today(cr,uid,context=context)
date_order = fields.date.context_today(self,cr,uid,context=context)
qty = qty or 1.0
supplierinfo = False