[IMP]stock: highlight a un-used function
authorMayur Maheshwari (OpenERP) <mma@tinyerp.com>
Thu, 22 Sep 2011 10:09:52 +0000 (15:39 +0530)
committerMayur Maheshwari (OpenERP) <mma@tinyerp.com>
Thu, 22 Sep 2011 10:09:52 +0000 (15:39 +0530)
bzr revid: mma@tinyerp.com-20110922100952-w7od697fouowomif

addons/stock/stock.py
addons/stock/wizard/stock_change_standard_price.py

index 283b924..a0ae3ba 100644 (file)
@@ -2239,6 +2239,7 @@ class stock_move(osv.osv):
         return super(stock_move, self).unlink(
             cr, uid, ids, context=ctx)
 
+    # _create_lot function is not used anywhere 
     def _create_lot(self, cr, uid, ids, product_id, prefix=False):
         """ Creates production lot
         @return: Production lot id
@@ -2284,6 +2285,7 @@ class stock_move(osv.osv):
         self.action_done(cr, uid, res)
         return res
 
+    # action_split function is not used anywhere 
     def action_split(self, cr, uid, ids, quantity, split_by_qty=1, prefix=False, with_lot=True, context=None):
         """ Split Stock Move lines into production lot which specified split by quantity.
         @param cr: the database cursor
index d6b7355..fa36559 100644 (file)
@@ -69,6 +69,7 @@ class change_standard_price(osv.osv_memory):
 
         return res
 
+    # onchange_price function is not used anywhere 
     def onchange_price(self, cr, uid, ids, new_price, context=None):
         """ Sets stock input and output account according to the difference
             of old price and new price.