diff --git a/product_route_profile/tests/test_product_route_profile.py b/product_route_profile/tests/test_product_route_profile.py index 9e41e07a8948..a60906be3709 100644 --- a/product_route_profile/tests/test_product_route_profile.py +++ b/product_route_profile/tests/test_product_route_profile.py @@ -55,6 +55,7 @@ def test_2_force_route_profile(self): self.product.with_company( self.env.company ).force_route_profile_id = self.route_profile_2.id + self.assertEqual(self.product.route_profile_id, self.route_profile_1) self.assertEqual( self.product.with_company(self.env.company).route_ids, self.route_profile_2.route_ids, diff --git a/product_route_profile/views/product_template.xml b/product_route_profile/views/product_template.xml index 93f073c3c7e0..a79d736a7a89 100644 --- a/product_route_profile/views/product_template.xml +++ b/product_route_profile/views/product_template.xml @@ -11,6 +11,12 @@ True + + 1 + + + 1 +