From fdf2dd3dd0b7f70f5b76d6502efe4cd9157ed8af Mon Sep 17 00:00:00 2001 From: Demesmaeker Date: Fri, 23 Dec 2022 15:01:34 +0000 Subject: [PATCH] [FIX] sale_management: onboarding tour can't send email This tour was broken due to the partner not having an email. The step to send the email was then failing because the email was missing. The problem only appears recently because the step after setting the partner is usually fast enough to detect the dropdown of the partner field before any text was entered, and so a partner in the demo data was chosen instead, which has an email. This problem will be investigated in another task. closes odoo/odoo#108703 X-original-commit: b9e80c1403de0341a0c133a254142e53ef8c2842 Signed-off-by: Morgane Demesmaeker --- addons/sale_management/tests/test_sale_ui.py | 1 + 1 file changed, 1 insertion(+) diff --git a/addons/sale_management/tests/test_sale_ui.py b/addons/sale_management/tests/test_sale_ui.py index a1d4a876091..9d73a4400c3 100644 --- a/addons/sale_management/tests/test_sale_ui.py +++ b/addons/sale_management/tests/test_sale_ui.py @@ -15,4 +15,5 @@ class TestUi(HttpCase): self.start_tour("/web", 'sale_tour', login="admin", step_delay=100) def test_03_sale_quote_tour(self): + self.env['res.partner'].create({'name': 'Agrolait', 'email': 'agro@lait.be'}) self.start_tour("/web", 'sale_quote_tour', login="admin", step_delay=100)