[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
This commit is contained in:
Nicolas Lempereur 2015-07-23 02:31:25 +02:00
parent 3835a1e344
commit 4914e07718
1 changed files with 1 additions and 1 deletions

View File

@ -619,7 +619,7 @@ The previous code will create the snippets 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>