[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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user