diff --git a/stock_available_immediately/product.py b/stock_available_immediately/product.py index fc3d1bd1a..6ee673a9c 100644 --- a/stock_available_immediately/product.py +++ b/stock_available_immediately/product.py @@ -20,10 +20,10 @@ ############################################################################## from openerp.addons import decimal_precision as dp - from openerp.osv import orm, fields +<<<<<<< HEAD:stock_available_immediately/product.py class ProductTemplate(orm.Model): """ Immediately usable quantity is : real stock - outgoing qty @@ -32,10 +32,7 @@ class ProductTemplate(orm.Model): def _product_available(self, cr, uid, ids, field_names=None, arg=False, context=None): - """ - Get super() _product_available and compute immediately_usable_qty - """ - res = super(ProductTemplate, self)._product_available( + res = super(Product, self)._product_available( cr, uid, ids, field_names, arg, context) if 'immediately_usable_qty' in field_names: