コンテンツへスキップ
メニュー
この質問にフラグが付けられました
3953 ビュー

 

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
2588
1
6月 24
5046
1
2月 25
3227
0
11月 23
1556
1
10月 23
10719