[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 <edm@odoo.com>
This commit is contained in:
Demesmaeker
2022-12-27 11:17:46 +01:00
parent 068f3edff9
commit fdf2dd3dd0
@@ -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)