diff --git a/product_route_profile/tests/test_product_route_profile.py b/product_route_profile/tests/test_product_route_profile.py index a45ee6c2f..cb7545bb3 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(SavepointCase): 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 33c49e431..41c5d7edc 100644 --- a/product_route_profile/views/product_template.xml +++ b/product_route_profile/views/product_template.xml @@ -11,6 +11,12 @@ {'invisible': True} + + 1 + + + 1 +