Files
odoo_source/addons/mrp_subcontracting/data/mrp_subcontracting_data.xml
T
Ahmed Khalaf (ahkh) 3f389b4769 [IMP] mrp_subcontracting_dropshipping: new dropship subcontractor pick type
This commit introduces a new pick type used when dropshipping subcontractors,
specifically when the PO resupply relies on the dropship mechanism
this is done by using it for the rules of the `Dropship subcontractor on order` route

Part-of: odoo/odoo#95770
2022-09-09 00:02:17 +02:00

16 lines
671 B
XML

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