From a10570b1ec7646fb114e26cb05bc54b22e24ed87 Mon Sep 17 00:00:00 2001 From: "Mayur Maheshwari (OpenERP)" Date: Thu, 22 Sep 2011 15:39:52 +0530 Subject: [PATCH] [IMP]stock: highlight a un-used function bzr revid: mma@tinyerp.com-20110922100952-w7od697fouowomif --- addons/stock/stock.py | 2 ++ addons/stock/wizard/stock_change_standard_price.py | 1 + 2 files changed, 3 insertions(+) diff --git a/addons/stock/stock.py b/addons/stock/stock.py index 283b9247b63..a0ae3bae582 100644 --- a/addons/stock/stock.py +++ b/addons/stock/stock.py @@ -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 diff --git a/addons/stock/wizard/stock_change_standard_price.py b/addons/stock/wizard/stock_change_standard_price.py index d6b7355bb7c..fa36559dddc 100644 --- a/addons/stock/wizard/stock_change_standard_price.py +++ b/addons/stock/wizard/stock_change_standard_price.py @@ -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.