remove old context attribute for issue #1815

This commit is contained in:
Korbinian Preisler committed 2011-01-10 11:24:51 +01:00
1 parent b12ce579e5
commit eca852f4cb
1 file changed
+1 -1
+1 -1
View File
@@ -18,7 +18,7 @@ class ProductCostHistory(ModelSQL, ModelView):
super(ProductCostHistory, self).__init__()
self._order.insert(0, ('date', 'DESC'))
def table_query(self, context=None):
def table_query(self):
property_obj = self.pool.get('ir.property')
return ('SELECT ' \
'MAX(__id) AS id, ' \