summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorMartin Trigaux <mat@odoo.com>2016-06-22 10:26:58 +0200
committerMartin Trigaux <mat@odoo.com>2016-06-22 10:29:41 +0200
commitcecc12ffc6a26ae61319b358f69d9fc5e0ad5bcc (patch)
tree65102b696acbbc7dd4891f314b7367a85347f8b8 /doc
parent06fd45241f8bd6c7be9313537621ba75b3cfe37c (diff)
[FIX] doc: adapt the xpath for snippet
To reflect the changes made at 28ed28f9 Fixes #12523
Diffstat (limited to 'doc')
-rw-r--r--doc/howtos/themes.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/howtos/themes.rst b/doc/howtos/themes.rst
index 9629251e467..a66068a7b00 100644
--- a/doc/howtos/themes.rst
+++ b/doc/howtos/themes.rst
@@ -614,7 +614,7 @@ The previous code will create the snippet’s content, but we still need to plac
.. code-block:: xml
<template id="place_into_bar" inherit_id="website.snippets" name="Place into bar">
- <xpath expr="//div[@id='snippet_structure']" position="inside">
+ <xpath expr="//div[@id='snippet_content']/div[@class='o_panel_body']" position="inside">
<t t-snippet="theme_tutorial.snippet_testimonial"
t-thumbnail="/theme_tutorial/static/src/img/ui/snippet_thumb.jpg"/>
</xpath>