跳至内容
菜单
此问题已终结
3895 查看

 

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);


形象
丢弃
相关帖文 回复 查看 活动
2
7月 24
2458
1
6月 24
4977
1
2月 25
3151
0
11月 23
1497
1
10月 23
10656