[IMP] Added display_title in action flags. ViewManager won't display title if false.
authorFabien Meghazi <fme@openerp.com>
Mon, 10 Oct 2011 14:15:46 +0000 (16:15 +0200)
committerFabien Meghazi <fme@openerp.com>
Mon, 10 Oct 2011 14:15:46 +0000 (16:15 +0200)
Will be used for dashboards, wizards, ...

bzr revid: fme@openerp.com-20111010141546-b19g0sr4fzicehss

addons/web/static/src/xml/base.xml

index 0e5c97c..54bec76 100644 (file)
         </blockquote>
        <a class="oe-shortcut-toggle" title="Add / Remove Shortcut..."
           href="javascript: void(0)"> </a>
-        <h2 class="oe_view_title">
-            <t t-esc="self.action.name"/>
+        <h2 class="oe_view_title" t-if="self.session.debug || self.flags.display_title !==false">
+            <t t-if="self.flags.display_title !==false" t-esc="self.action.name"/>
             <button t-if="self.session.debug" class="oe_get_xml_view">
                 View#<span></span>
             </button>