تخطي للذهاب إلى المحتوى
القائمة
لقد تم الإبلاغ عن هذا السؤال
1 الرد
3144 أدوات العرض

Hello,

I created some tours via web_tour for the form view of a custom module.

Is there a way I can create a button in XML view that will:

1. run the web tour on click

2. run the tour on the current page (i.e. does not reload to a new form like when you click "start tour" in debug mode)


Thank you!!

الصورة الرمزية
إهمال
أفضل إجابة

Hey Himawari_beam,

Totally get where you're coming from. I had a similar puzzle a while back. To fire up your web tour without the whole page reloading circus, try this XML snippet:

"string="Start Tour" type="object" class="oe_highlight" name="your_module.start_web_tour"

Replace "your_module" with the actual name of your module, of course. This little trick fires up the tour without giving you that deja-vu of a page reload.


الصورة الرمزية
إهمال

Speaking from experience, this has saved me some hair-pulling. Give it a shot, and let me know if it works for you. Worked like a charm for me. I found this tip here: https://andersenlab.de/services/web-development, check it out, you might find even more useful lifehacks there.

Speaking from experience, this has saved me some hair-pulling. Give it a shot, and let me know if it works for you. Worked like a charm for me. I found this tip here: https://andersenlab.de/services/web-development , check it out, you might find even more useful lifehacks there.

المنشورات ذات الصلة الردود أدوات العرض النشاط
0
نوفمبر 23
1494
1
أبريل 20
3443
0
أغسطس 19
2416
0
نوفمبر 17
3892
0
يناير 22
1594