remove old context attribute for issue #1815
This commit is contained in:
1 parent
b12ce579e5
commit
eca852f4cb
1 file changed
+1
-1
+1
-1
@@ -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, ' \
|
||||
|
||||
Reference in new issue
Block a user