[FIX] Rename function name.
authorBhumi Thakkar (Open ERP) <bth@tinyerp.com>
Tue, 20 Mar 2012 05:56:09 +0000 (11:26 +0530)
committerBhumi Thakkar (Open ERP) <bth@tinyerp.com>
Tue, 20 Mar 2012 05:56:09 +0000 (11:26 +0530)
bzr revid: bth@tinyerp.com-20120320055609-7oqpdallo153udcv

addons/stock/wizard/stock_change_product_qty.py

index 6fbf6d9..d0013f4 100644 (file)
@@ -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')