summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicolas Lempereur <nle@odoo.com>2015-07-23 02:31:25 +0200
committerNicolas Lempereur <nle@odoo.com>2015-07-23 10:12:49 +0200
commit4914e07718acbd04bd176443b7dcd1b541bbf446 (patch)
treee4f41c30ccb9dee20b61946dd97135d1c46ad312
parent3835a1e344fb4cd35ed63863684c6c4403ea32f0 (diff)
[FIX] doc: xpath invalid for 8.0
The current xpath was the one for saas-6 or future 9.0 but didn't work in version 8. closes #7715 opw-645555 note: this commit should not be forward ported after 8.0
-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 1f389951034..cd59db73d5d 100644
--- a/doc/howtos/themes.rst
+++ b/doc/howtos/themes.rst
@@ -619,7 +619,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']//div[@class='o_panel_body']" position="inside">
+ <xpath expr="//div[@id='snippet_structure']" position="inside">
<t t-snippet="theme_tutorial.snippet_testimonial"
t-thumbnail="/theme_tutorial/static/src/img/ui/snippet_thumb.jpg"/>
</xpath>