From 404928f02dd0c4add9fa3c9c463e2bd3df392aba Mon Sep 17 00:00:00 2001 From: Romeo Fragomeli Date: Thu, 13 Aug 2020 10:35:58 +0000 Subject: [PATCH] [FIX] test_main_flows: mobile: use the search view to find the customer MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The main flow tour has been disabled in error by the runbot team. Unfortunately, some issue occured after after its reactivation on the runbot. This is probably due because some data has been added and the customer no longer appears in the suggestions. To fix this, we open the search view to find it. closes odoo/odoo#55914 Signed-off-by: Adrien Dieudonné (adr) --- .../test_main_flows/static/tests/tours/main_flow.js | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/odoo/addons/test_main_flows/static/tests/tours/main_flow.js b/odoo/addons/test_main_flows/static/tests/tours/main_flow.js index 4c7719b816d..322e46483b4 100644 --- a/odoo/addons/test_main_flows/static/tests/tours/main_flow.js +++ b/odoo/addons/test_main_flows/static/tests/tours/main_flow.js @@ -1024,13 +1024,9 @@ tour.stepUtils.mobileModifier(tour.stepUtils.autoExpandMoreButtons('.o_control_p trigger: ".o_selected_row .o_field_widget[name=partner_id] input", content: _t("Write the name of your customer."), position: "bottom", -}, { - mobile: true, - trigger: ".o_kanban_record .o_kanban_record_title :contains('the_flow.customer')", - extra_trigger: ".modal:not(.o_inactive_modal) .modal-title:contains('Partner')", - content: _t('Save'), - position: 'right', -}, { +}, +...tour.stepUtils.mobileKanbanSearchMany2X('Partner', 'the_flow.customer'), +{ edition: "enterprise", trigger: ".o_selected_row .o_field_widget[name=payment_ref]", content: _t("Let's enter a name."),