From cd0f9bf943ceaf6e8cf56e233621008dd423859d Mon Sep 17 00:00:00 2001 From: "jerome hanke (jhk)" Date: Mon, 13 Jan 2020 08:53:01 +0000 Subject: [PATCH] [FIX] sale: sale_tour wait on partner creation step Steps to reproduce: - install sales - go into debug mode - dev tools > start tour > sale_tour Previous behavior: tour would fail after creating the "Agrolait" partner. the test would not wait for the return value of the customer selection. Current behavior: the test waits for the customer to be fully selected and does not fail. closes #40569 opw-2091797 closes odoo/odoo#43221 X-original-commit: c4b6273c9df5d8e3f3a5ee3cf52541741526280e Signed-off-by: Nicolas Martinelli (nim) --- addons/sale/static/src/js/tours/sale.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/sale/static/src/js/tours/sale.js b/addons/sale/static/src/js/tours/sale.js index b4b8c9c1a4e..2b0bbe2ff9e 100644 --- a/addons/sale/static/src/js/tours/sale.js +++ b/addons/sale/static/src/js/tours/sale.js @@ -35,7 +35,7 @@ tour.register('sale_tour', { in_modal: false, }, { trigger: ".o_field_x2many_list_row_add > a", - extra_trigger: ".o_sale_order", + extra_trigger: ".o_field_many2one[name='partner_id'] .o_external_button", content: _t("Click here to add some products or services to your quotation."), position: "bottom", }, {