diff --git a/joint_buying_product/tests/test_joint_buying_transport_request.py b/joint_buying_product/tests/test_joint_buying_transport_request.py index 03f0dee4..13c3ffce 100644 --- a/joint_buying_product/tests/test_joint_buying_transport_request.py +++ b/joint_buying_product/tests/test_joint_buying_transport_request.py @@ -30,3 +30,12 @@ def test_10_joint_buying_grouped_order_generate_transport_request(self): # It should not create a transport request for LSE self.assertFalse(LSE_order.request_id) + + def test_20_transport_request_vev_cda(self): + request = self.env.ref("joint_buying_product.request_vev_cda") + wizard = ( + self.env["joint.buying.wizard.find.route"] + .with_context(active_id=request.id) + .create({}) + ) + wizard.button_apply() diff --git a/joint_buying_product/wizards/joint_buying_wizard_find_route.py b/joint_buying_product/wizards/joint_buying_wizard_find_route.py index fafac32d..041c84d3 100644 --- a/joint_buying_product/wizards/joint_buying_wizard_find_route.py +++ b/joint_buying_product/wizards/joint_buying_wizard_find_route.py @@ -197,4 +197,3 @@ def _create_following_node(self, tree, parent, line, destination): def button_apply(self): self.ensure_one() - raise NotImplementedError()