Hope this saves someone else hours of troubleshooting. The new documenation has an error in the xpath statement for snippets.
Această întrebare a fost marcată
1
Răspunde
5237
Vizualizări
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.
Îți place discuția? Nu doar citi, alătură-te!
Creează-ți un cont astăzi pentru a beneficia de funcții exclusive și a interacționa cu minunata noastră comunitate!
Înscrie-te| Postări similare | Răspunsuri | Vizualizări | Activitate | |
|---|---|---|---|---|
|
|
1
ian. 16
|
8610 | ||
|
|
2
ian. 23
|
22486 | ||
|
Snippets don't work on custom theme
Rezolvat
|
|
1
sept. 21
|
8462 | |
|
|
0
mar. 16
|
4676 | ||
|
|
1
mar. 15
|
8257 |