mirror of
https://github.com/OCA/stock-logistics-warehouse.git
synced 2025-01-21 14:27:28 +02:00
@@ -3,7 +3,7 @@
|
||||
{
|
||||
"name": "Stock MTS+MTO Rule",
|
||||
"summary": "Add a MTS+MTO route",
|
||||
"version": "13.0.1.2.0",
|
||||
"version": "13.0.1.3.0",
|
||||
"development_status": "Mature",
|
||||
"category": "Warehouse",
|
||||
"website": "https://github.com/OCA/stock-logistics-warehouse",
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<?xml version="1.0" encoding="utf-8" ?>
|
||||
<odoo>
|
||||
<odoo noupdate="1">
|
||||
<!--
|
||||
Procurement rules
|
||||
-->
|
||||
|
||||
11
stock_mts_mto_rule/migrations/13.0.1.3.0/pre-migration.py
Normal file
11
stock_mts_mto_rule/migrations/13.0.1.3.0/pre-migration.py
Normal file
@@ -0,0 +1,11 @@
|
||||
# Copyright 2021 Tecnativa David Vidal
|
||||
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl).
|
||||
from openupgradelib import openupgrade
|
||||
|
||||
|
||||
@openupgrade.migrate()
|
||||
def migrate(env, version):
|
||||
# Now the record is declared as noupdate
|
||||
openupgrade.set_xml_ids_noupdate_value(
|
||||
env, "stock_mts_mto_rule", ["route_mto_mts"], True,
|
||||
)
|
||||
Reference in New Issue
Block a user