From 3f2d8a100ec8e37f143c790fcd44ae9b08e99cb1 Mon Sep 17 00:00:00 2001 From: "Bhumi Thakkar (Open ERP)" Date: Tue, 20 Mar 2012 11:26:09 +0530 Subject: [PATCH] [FIX] Rename function name. bzr revid: bth@tinyerp.com-20120320055609-7oqpdallo153udcv --- addons/stock/wizard/stock_change_product_qty.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/addons/stock/wizard/stock_change_product_qty.py b/addons/stock/wizard/stock_change_product_qty.py index 6fbf6d92748..d0013f4140f 100644 --- a/addons/stock/wizard/stock_change_product_qty.py +++ b/addons/stock/wizard/stock_change_product_qty.py @@ -99,10 +99,10 @@ class stock_change_product_qty(osv.osv_memory): inventry_obj.action_confirm(cr, uid, [inventory_id], context=context) inventry_obj.action_done(cr, uid, [inventory_id], context=context) - self.case_quantity_change_send_note(cr, uid, [data.id], context) + self.quantity_change_send_note(cr, uid, [data.id], context) return {} - def case_quantity_change_send_note (self, cr, uid, ids, context=None): + def quantity_change_send_note (self, cr, uid, ids, context=None): prod_obj = self.pool.get('product.product') location_obj = self.pool.get('stock.location') prod_temp_obj = self.pool.get('product.template')