diff --git a/product_route_profile/tests/test_product_route_profile.py b/product_route_profile/tests/test_product_route_profile.py index 9e41e07a8..a60906be3 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 @@ class TestProductRouteProfile(TransactionCase): 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 93f073c3c..a79d736a7 100644 --- a/product_route_profile/views/product_template.xml +++ b/product_route_profile/views/product_template.xml @@ -11,6 +11,12 @@ True + + 1 + + + 1 +