I want to create a new line in stock.picking, which will contain the date and the quantity: There’s no error,but the line is not created,SO I tried with There I have an error : only 2 args, 4 given. Is there another way to create a line of one2many Answer myRec.pack_lot_ids.create({‘id’: my_id,’qty’: myQty}) : this is correct you need to