102
102
split_obj.write(cr, uid, split_ids, {'quantity': 1}, context=split_c)
104
104
split_obj.split(cr, uid, split_ids, context=split_c)
106
wiz_obj.copy_all(cr,uid,[dic['res_id']], context=dic['context'])
106
107
wiz_obj.do_incoming_shipment(cr, uid, [dic['res_id']], context=dic['context'])
107
108
data = self.read(cr, uid, in_ids, ['state'], context=context)[0]
108
109
assert data['state'] == 'done', 'the incoming shipment is not Done - done - %s'%data['state']