Skip to Content
Menu
This question has been flagged
3042 Views

 

How to link odoo backend tour with website tour

i am placing the js in assets_common


var steps = [
  tour.STEPS.MENU_MORE,  {
      trigger: '.o_app[data-menu-xmlid="website.menu_website_configuration"], .oe_menu_toggler[data-menu-xmlid="website.menu_website_configuration"]',

  },
  {
      trigger: 'a[name="website.action_website"]',
  },{
      trigger: 'a[href="/shop"]',
  },{
      content: "search ipod",
      trigger: 'form input[name="search"]',
      run: "text ipod",
  },
  {
      content: "search ipod",
      trigger: 'form:has(input[name="search"]) .oe_search_button',
  },
  {
      content: "select ipod",
      trigger: '.oe_product_cart a:contains("iPod")',
  },
  {
      content: "select ipod 32GB",
      extra_trigger: '#product_detail',
      trigger: 'label:contains(32 GB) input',
  },
];

tour.register('demo_tour', options ,seo_steps);


Avatar
Discard
Related Posts Replies Views Activity
2
Jul 24
939
1
Jun 24
3560
1
Jan 24
1944
0
Nov 23
604
1
Oct 23
8580