[IMP]stock: highlight a un-used function
bzr revid: mma@tinyerp.com-20110922100952-w7od697fouowomif
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user