[MIG] stock_orderpoint_route: Migration to 13.0

This commit is contained in:
Guewen Baconnier
2019-12-19 14:19:47 +01:00
committed by Dũng (Trần Đình)
parent ba113edfc9
commit 6b6cf92d46
3 changed files with 2 additions and 4 deletions

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"/>