[FIX] crm: fix randomly broken crm tour
While running 'crm_tour' in test mode and quick creating record on crm kanban, adding a partner and moving to another field from tour opens a confirmation dialog asking whther or not you want to create a new record. This dialog remains open sometimes, breaking the further flow of tour. This commit fixes the issue by selecting or creating the record from drop-down after adding a partner (and before going to further steps), thus avoiding the confirmation dialog. Note: - Because we create/select the partner, the 'name' field is auto filled and we don't have to set anything in there. So this step is not needed anymore in the tour. TaskID - 2323196 closes odoo/odoo#58823 X-original-commit: a592ba14f82028487cee0b060a86881f0175aeda Signed-off-by: Thibault Delavallee (tde) <tde@openerp.com>
This commit is contained in:
committed by
Thibault Delavallée
parent
c8fa51330d
commit
34f05c2218
@@ -33,8 +33,9 @@ tour.register('crm_tour', {
|
||||
actions.text("Brandon Freeman", this.$anchor.find("input"));
|
||||
},
|
||||
}, {
|
||||
trigger: ".o_kanban_quick_create .o_field_widget[name='name']",
|
||||
trigger: ".ui-menu-item > a",
|
||||
auto: true,
|
||||
in_modal: false,
|
||||
}, {
|
||||
trigger: '.o_kanban_quick_create .o_field_monetary[name="expected_revenue"] input',
|
||||
content: _t("Define here the Expected Revenue of this Opportunity."),
|
||||
|
||||
Reference in New Issue
Block a user