Tuesday, June 9, 2009

stock, stock.move, onchange_lot_id

def onchange_lot_id(self, cr, uid, context=None, prodlot_id=False,
product_qty=False, loc_id=False, context=None):

replaced by:

def onchange_lot_id(self, cr, uid, ids, prodlot_id=False, product_qty=False,
loc_id=False, context=None):

It was a bug introduced recently (not present in previous versions, I
think), the call in the view was correct.

--
Fabien

2 comments:

  1. Great! Thanks for sharing the code in OpenERP. Let me try this Code. I hope that it will work great for me.

    sap support package stack

    ReplyDelete