2 !record {model: stock.location, id: stock_location_14}:
7 !record {model: stock.location, id: stock_location_components}:
12 !python {model: ir.model.data}: |
13 main_warehouse = self.pool.get('stock.warehouse').browse(cr, uid, ref('warehouse0'), context=context)
14 self.pool.get('stock.location').write(cr, uid, [ref('stock_location_14'), ref('stock_location_components')], {'location_id':main_warehouse.lot_stock_id.id}, context=context)