[MIG] stock_orderpoint_route: Migration to 13.0

This commit is contained in:
Guewen Baconnier
2019-12-19 14:19:47 +01:00
parent 981180aebb
commit 97ec9ea286
5 changed files with 9 additions and 4 deletions

View File

@@ -0,0 +1 @@
../../../../stock_orderpoint_route

View File

@@ -0,0 +1,6 @@
import setuptools
setuptools.setup(
setup_requires=['setuptools-odoo'],
odoo_addon=True,
)

View File

@@ -3,7 +3,7 @@
{
"name": "Stock Orderpoint Route",
"summary": "Allows to force a route to be used when procuring from orderpoints",
"version": "12.0.1.0.0",
"version": "13.0.1.0.0",
"license": "LGPL-3",
"website": "https://github.com/stock-logistics-warehouse",
"author": "Eficent, Camptocamp, Odoo Community Association (OCA)",

View File

@@ -78,7 +78,6 @@ class TestStockOrderpointRoute(common.SavepointCase):
"procure_method": "make_to_stock",
"warehouse_id": cls.warehouse.id,
"company_id": cls.main_company.id,
"propagate": "False",
}
)
@@ -93,7 +92,6 @@ class TestStockOrderpointRoute(common.SavepointCase):
"procure_method": "make_to_stock",
"warehouse_id": cls.warehouse.id,
"company_id": cls.main_company.id,
"propagate": "False",
}
)

View File

@@ -8,7 +8,7 @@
<field name="model">stock.warehouse.orderpoint</field>
<field name="inherit_id" ref="stock.view_warehouse_orderpoint_form"/>
<field name="arch" type="xml">
<field name="group_id" position="before">
<field name="location_id" position="after">
<field name="route_id"
options="{'no_create': True}" groups="stock.group_adv_location"/>
<field name="route_ids" invisible="1"/>