@@ -3,12 +3,20 @@ odoo.define('pos_logout.tour', function(require) {
3
3
4
4
var tour = require ( 'web_tour.tour' ) ;
5
5
6
- var steps = [ {
7
- trigger : '.o_app[data-menu-xmlid="point_of_sale.menu_point_root"], .oe_menu_toggler[data-menu-xmlid="point_of_sale.menu_point_root"] ' ,
6
+ var steps = [ tour . STEPS . SHOW_APPS_MENU_ITEM , {
7
+ trigger : '.o_app[data-menu-xmlid="point_of_sale.menu_point_root"]' ,
8
8
content : "Ready to launch your <b>point of sale</b>? <i>Click here</i>." ,
9
+ position : 'right' ,
10
+ edition : 'community'
11
+ } , {
12
+ trigger : '.o_app[data-menu-xmlid="point_of_sale.menu_point_root"]' ,
13
+ content : "Ready to launch your <b>point of sale</b>? <i>Click here</i>." ,
14
+ position : 'bottom' ,
15
+ edition : 'enterprise'
9
16
} , {
10
17
trigger : ".o_pos_kanban button.oe_kanban_action_button" ,
11
18
content : "<p>Click to start the point of sale interface. It <b>runs on tablets</b>, laptops, or industrial hardware.</p><p>Once the session launched, the system continues to run without an internet connection.</p>" ,
19
+ position : "bottom"
12
20
} ] ;
13
21
14
22
steps = steps . concat ( [ {
@@ -31,7 +39,7 @@ odoo.define('pos_logout.tour', function(require) {
31
39
trigger : '.popups .block' ,
32
40
content : 'Click for unblock the screen' ,
33
41
} , {
34
- trigger : '.modal-dialog:visible .selection-item:contains("Administrator ")' ,
42
+ trigger : '.modal-dialog:visible .selection-item:contains("Mitchell Admin ")' ,
35
43
content : 'Change current cashier' ,
36
44
} ] ) ;
37
45
@@ -43,7 +51,7 @@ odoo.define('pos_logout.tour', function(require) {
43
51
content : "confirm closing the frontend" ,
44
52
} , {
45
53
content : "wait until backend is opened" ,
46
- trigger : '.o_app[data-menu-xmlid="point_of_sale.menu_point_root"], .oe_menu_toggler[data-menu-xmlid="point_of_sale.menu_point_root"] ' ,
54
+ trigger : '.o_pos_kanban button.oe_kanban_action_button ' ,
47
55
run : function ( ) {
48
56
// no need to click on trigger
49
57
} ,
0 commit comments