[IMP] purchase : Supplier check box should not be there if purchase is not installed.
[odoo/odoo.git] / addons / purchase / purchase.py
index 47ff616..775aebf 100644 (file)
@@ -913,7 +913,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