跳至內容
選單
此問題已被標幟
3931 瀏覽次數

 

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
2531
1
6月 24
5010
1
2月 25
3194
0
11月 23
1532
1
10月 23
10691