Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ
1 ตอบกลับ
3717 มุมมอง

Hope this saves someone else hours of troubleshooting.  The new documenation has an error in the xpath statement for snippets.

อวตาร
ละทิ้ง
ผู้เขียน คำตอบที่ดีที่สุด

The correct xpath should target the div class="o_panel_body". I had to use this as the target:

<xpath expr="//div[@id='snippet_structure']/div[2]" position="inside>

 

อวตาร
ละทิ้ง

this looks exactly the same to me...

ผู้เขียน

yes, the post was an answer, so I copied it as the answer...I just edited to make it more clear. I removed the answer from the first post, and put it only in the answer. still getting used to the odoo forum structure.

Related Posts ตอบกลับ มุมมอง กิจกรรม
1
ม.ค. 16
6904
2
ม.ค. 23
20340
Snippets don't work on custom theme แก้ไขแล้ว
1
ก.ย. 21
6696
0
มี.ค. 16
3356
1
มี.ค. 15
6854