From 8aeb397199a67f00d94db2daeb9467b79699f67a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Krier?= Date: Fri, 19 Mar 2010 15:31:56 +0100 Subject: [PATCH] No more required to define on_change_* function from _inherits parent --- purchase.py | 5 ----- 1 file changed, 5 deletions(-) diff --git a/purchase.py b/purchase.py index 95941fe946..8dec52cb17 100644 --- a/purchase.py +++ b/purchase.py @@ -1457,11 +1457,6 @@ Template() class Product(ModelSQL, ModelView): _name = 'product.product' - def on_change_with_purchase_uom(self, cursor, user, vals, context=None): - template_obj = self.pool.get('product.template') - return template_obj.on_change_with_purchase_uom(cursor, user, vals, - context=context) - def get_purchase_price(self, cursor, user, ids, quantity=0, context=None): ''' Return purchase price for product ids.