No more required to define on_change_* function from _inherits parent
This commit is contained in:
1 parent
c7aa7901b7
commit
8aeb397199
1 file changed
-5
@@ -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.
|
||||
|
||||
Reference in new issue
Block a user