mrp_subcontracting_data.xml 671 B

12345678910111213141516
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <odoo>
  3. <data noupdate="1">
  4. <record id="route_resupply_subcontractor_mto" model='stock.route'>
  5. <field name="name">Resupply Subcontractor on Order</field>
  6. <field name="company_id"></field>
  7. <field name="sequence">15</field>
  8. </record>
  9. <function model="res.company" name="_create_missing_subcontracting_location" />
  10. <function model="stock.warehouse" name="write">
  11. <value model="stock.warehouse" eval="obj().env['stock.warehouse'].search([]).ids"/>
  12. <value eval="{'subcontracting_to_resupply': True}"/>
  13. </function>
  14. </data>
  15. </odoo>