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

Monday, June 8, 2009

sale, sale.order, _product_id_change

The sale order method in version 5.0.1 as an extra parameter, flag=True.
This may cause problem in your module if you override the
_product_id_change method, without overriding the view.

--
Fabien Pinckaers