[FIX] sale: fix race condition on signature tour

Before this commit, the signature tour (130af96dc1) 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) <xdo@odoo.com>
This commit is contained in:
Romain Derie
2019-07-18 14:42:29 +00:00
parent ca16ac1142
commit e80caa4d3e
+1
View File
@@ -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,