|
| 1 | +import { registry } from '@web/core/registry'; |
| 2 | + |
| 3 | +registry.category("web_tour.tours").add("deposit_management_tour", { |
| 4 | + url: "/odoo", |
| 5 | + steps: () => [ |
| 6 | + { |
| 7 | + "trigger": ".o_app[data-menu-xmlid='sale\\.sale_menu_root']", |
| 8 | + "run": "click" |
| 9 | + }, |
| 10 | + { |
| 11 | + "trigger": ".o-dropdown[data-menu-xmlid='sale\\.product_menu_catalog']", |
| 12 | + "run": "click" |
| 13 | + }, |
| 14 | + { |
| 15 | + "trigger": ".o-dropdown-item[data-menu-xmlid='sale\\.menu_product_template_action']", |
| 16 | + "run": "click" |
| 17 | + }, |
| 18 | + { |
| 19 | + "trigger": ".o_kanban_record:nth-child(19) > main > span:nth-child(2)", |
| 20 | + "run": "click" |
| 21 | + }, |
| 22 | + { |
| 23 | + "trigger": ".o_field_widget[name='x_deposit_product_1'] .o-autocomplete--input", |
| 24 | + "run": "click" |
| 25 | + }, |
| 26 | + { |
| 27 | + "trigger": ".o-autocomplete--dropdown-item:nth-child(4) > a", |
| 28 | + "run": "click" |
| 29 | + }, |
| 30 | + { |
| 31 | + "trigger": ".o_form_button_save", |
| 32 | + "run": "click" |
| 33 | + }, |
| 34 | + { |
| 35 | + "trigger": ".o-dropdown[data-menu-xmlid='sale\\.sale_order_menu']", |
| 36 | + "run": "click" |
| 37 | + }, |
| 38 | + { |
| 39 | + "trigger": ".o-dropdown-item[data-menu-xmlid='sale\\.menu_sale_quotations']", |
| 40 | + "run": "click" |
| 41 | + }, |
| 42 | + { |
| 43 | + "trigger": ".o_list_button_add", |
| 44 | + "run": "click" |
| 45 | + }, |
| 46 | + { |
| 47 | + "trigger": ".o_field_widget[name='partner_id'] .o-autocomplete--input", |
| 48 | + "run": "edit gourmet" |
| 49 | + }, |
| 50 | + { |
| 51 | + "trigger": ".o-autocomplete--dropdown-item:nth-child(1) > a", |
| 52 | + "run": "click" |
| 53 | + }, |
| 54 | + { |
| 55 | + "trigger": ".o_field_x2many_list_row_add > a:nth-child(1)", |
| 56 | + "run": "click" |
| 57 | + }, |
| 58 | + { |
| 59 | + "trigger": ".o_field_product_label_section_and_note_cell .o-autocomplete--input", |
| 60 | + "run": "edit mobius tri" |
| 61 | + }, |
| 62 | + { |
| 63 | + "trigger": ".o-autocomplete--dropdown-item:nth-child(2) > a", |
| 64 | + "run": "click" |
| 65 | + }, |
| 66 | + { |
| 67 | + "trigger": ".o_statusbar_buttons > button[name='action_confirm']", |
| 68 | + "run": "click" |
| 69 | + }, |
| 70 | + { |
| 71 | + "trigger": ".oe_stat_button[name='action_view_delivery']", |
| 72 | + "run": "click" |
| 73 | + }, |
| 74 | + { |
| 75 | + "trigger": ".o_statusbar_buttons > button[name='button_validate']", |
| 76 | + "run": "click" |
| 77 | + }, |
| 78 | + { |
| 79 | + "trigger": ".o_statusbar_buttons > button[name='\\34 10']", |
| 80 | + "run": "click" |
| 81 | + }, |
| 82 | + { |
| 83 | + "trigger": ".o_field_x2many_list_row_add > a", |
| 84 | + "run": "click" |
| 85 | + }, |
| 86 | + { |
| 87 | + "trigger": ".o-autocomplete--input", |
| 88 | + "run": "edit deposit" |
| 89 | + }, |
| 90 | + { |
| 91 | + "trigger": ".o-autocomplete--dropdown-item:nth-child(4) > a", |
| 92 | + "run": "click" |
| 93 | + }, |
| 94 | + { |
| 95 | + "trigger": ".o_field_widget[name='quantity'] > .o_input", |
| 96 | + "run": "edit 3" |
| 97 | + }, |
| 98 | + { |
| 99 | + "trigger": ".o_field_x2many_list_row_add > a", |
| 100 | + "run": "click" |
| 101 | + }, |
| 102 | + { |
| 103 | + "trigger": ".o-autocomplete--input", |
| 104 | + "run": "edit depo" |
| 105 | + }, |
| 106 | + { |
| 107 | + "trigger": ".o-autocomplete--dropdown-item:nth-child(3) > a", |
| 108 | + "run": "click" |
| 109 | + }, |
| 110 | + { |
| 111 | + "trigger": ".o_field_widget[name='quantity'] > .o_input", |
| 112 | + "run": "edit 20" |
| 113 | + }, |
| 114 | + { |
| 115 | + "trigger": ".o_technical_modal button[name='action_create_returns']", |
| 116 | + "run": "click" |
| 117 | + }, |
| 118 | + { |
| 119 | + "trigger": ".o_statusbar_buttons > button[name='button_validate']", |
| 120 | + "run": "click" |
| 121 | + }, |
| 122 | + { |
| 123 | + "trigger": ".o_breadcrumb li:nth-child(2) > a", |
| 124 | + "run": "click" |
| 125 | + }, |
| 126 | + { |
| 127 | + "trigger": ".o_statusbar_buttons > button[name='\\37 21']", |
| 128 | + "run": "click" |
| 129 | + }, |
| 130 | + { |
| 131 | + "trigger": ".o_technical_modal button[name='create_invoices']", |
| 132 | + "run": "click" |
| 133 | + }, |
| 134 | + { |
| 135 | + "trigger": ".o_statusbar_buttons > button[name='action_post']", |
| 136 | + "run": "click" |
| 137 | + }, |
| 138 | + { |
| 139 | + "trigger": ".o_menu_brand", |
| 140 | + "run": "click" |
| 141 | + } |
| 142 | +] |
| 143 | +}) |
0 commit comments