From eca852f4cb26419cc65c00ed2b19a59e31415abf Mon Sep 17 00:00:00 2001 From: Korbinian Preisler Date: Mon, 10 Jan 2011 11:24:51 +0100 Subject: [PATCH] remove old context attribute for issue #1815 --- product.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/product.py b/product.py index 994b3dbc4c..d6012fa4fd 100644 --- a/product.py +++ b/product.py @@ -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, ' \