Files
stock-logistics-warehouse/stock_mts_mto_rule/data/stock_data.xml
david 1fb91ae3a0 [FIX] stock_mts_mto_rule: don't update route
Odoo declares routes as noupdate records so the user has the control
over them. Another side effect of updatable route records is on
initializing the record when OpenUpgrade is used to upgrade, which in a
multicompany environment with mixed companies in the products could lead
to a false company restriction error (maybe due to a bad declaration of
restrictions in the product_ids field).

TT31601
2021-09-02 08:58:23 +02:00

13 lines
398 B
XML

<?xml version="1.0" encoding="utf-8" ?>
<odoo noupdate="1">
<!--
Procurement rules
-->
<record id="route_mto_mts" model='stock.location.route'>
<field name="name">Make To Order + Make To Stock</field>
<field name="sequence">5</field>
<field name="product_selectable" eval="True" />
<field name="company_id" eval="False" />
</record>
</odoo>