Revert "[FIX] stock_request: Remove route_ids fields from requests"

This reverts commit 8b4cb1829e.
This commit is contained in:
Lois Rilo
2024-11-15 12:53:54 +01:00
parent 8b97bdcca1
commit 873e60ddf2
6 changed files with 39 additions and 1 deletions

View File

@@ -89,6 +89,7 @@ class TestKanban(TestBaseKanban):
kanban.product_uom_qty = 1
kanban = kanban.create(kanban._convert_to_write(kanban._cache))
self.assertTrue(kanban.company_id)
self.assertIn(self.route, kanban.route_ids)
def test_order_barcodes(self):
kanban_1 = self.env["stock.request.kanban"].create(

View File

@@ -97,6 +97,7 @@
options="{'no_create': True}"
groups="stock.group_stock_multi_locations"
/>
<field name="route_ids" invisible="1" />
<field
name="procurement_group_id"
groups="stock.group_adv_location"