[IMP] website_blog: more generic xpath expression when inheriting view. ease migration.
authorChristophe Simonis <chs@odoo.com>
Thu, 11 Sep 2014 11:18:22 +0000 (13:18 +0200)
committerChristophe Simonis <chs@odoo.com>
Thu, 11 Sep 2014 11:19:59 +0000 (13:19 +0200)
addons/website_blog/views/website_blog_templates.xml

index 2a736f6..9d9fdb9 100644 (file)
 <!-- Option: Blog Post List: show tags -->
 <template id="opt_blog_post_short_tags" name="Tags"
         customize_show="True" inherit_id="website_blog.blog_post_short">
-    <xpath expr="//div[@name='blog_post_data']" position="inside">
+    <xpath expr="//*[@name='blog_post_data']" position="inside">
         <p class="post-meta text-muted text-center" t-if="len(blog_post.tag_ids)">
             <span class="fa fa-tags"/>
             <t t-foreach="blog_post.tag_ids" t-as="tag">