From e80caa4d3ef8beff8b46275008706d94e8ca596d Mon Sep 17 00:00:00 2001 From: Romain Derie Date: Thu, 18 Jul 2019 14:42:29 +0000 Subject: [PATCH] [FIX] sale: fix race condition on signature tour MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Before this commit, the signature tour (130af96dc15) would fail sometimes. Indeed, the tour is trying to get `Thank You` on the page after the sign step but since the modal to pay will open on top of the page, the `Thank You` would not be found. closes odoo/odoo#34990 Signed-off-by: Xavier Dollé (xdo) --- addons/sale/tests/test_sale_signature.py | 1 + 1 file changed, 1 insertion(+) diff --git a/addons/sale/tests/test_sale_signature.py b/addons/sale/tests/test_sale_signature.py index 5e259103bc3..d69db45bf24 100644 --- a/addons/sale/tests/test_sale_signature.py +++ b/addons/sale/tests/test_sale_signature.py @@ -15,6 +15,7 @@ class TestSaleSignature(odoo.tests.HttpCase): 'name': 'test SO', 'partner_id': portal_user.id, 'state': 'sent', + 'require_payment': False, }) self.env['sale.order.line'].create({ 'order_id': sales_order.id,