mirror of
https://github.com/OCA/stock-logistics-warehouse.git
synced 2025-01-21 14:27:28 +02:00
[FIX] stock_request: Remove route_ids fields from requests
It is not correct to set the route_ids field with the product routes, you must be able to select any route (similar to what is shown in the product form view). TT50610
This commit is contained in:
@@ -89,7 +89,6 @@ 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(
|
||||
|
||||
@@ -97,7 +97,6 @@
|
||||
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"
|
||||
|
||||
Reference in New Issue
Block a user