2 Enable the manufacturing in warehouse0
4 !python {model: stock.warehouse}: |
5 main_warehouse = self.browse(cr, uid, ref('stock.warehouse0'), context=context)
6 self.write(cr, uid, main_warehouse.id, {'manufacture_to_resupply': True}, context=context)