[ADD] ability to hide menu help, only this or all help sections

bzr revid: xmo@openerp.com-20110914100833-fo4arcaa92zu1361
This commit is contained in:
Xavier Morel
2011-09-14 12:08:33 +02:00
parent 45d13bbe1d
commit e70ebcab8d
4 changed files with 51 additions and 10 deletions
+7 -3
View File
@@ -445,9 +445,13 @@
<t t-extend="ViewManager" t-name="ViewManagerAction">
<t t-jquery=".oe-view-manager-header" t-operation="prepend">
<blockquote t-if="self.action.help"><p>
<t t-esc="self.action.help"/>
</p></blockquote>
<blockquote t-if="self.action.help">
<p><t t-esc="self.action.help"/></p>
<div>
<button type="button" name="hide">Hide this tip</button>
<button type="button" name="disable">Disable all tips</button>
</div>
</blockquote>
<a class="oe-shortcut-toggle" title="Add / Remove Shortcut..."
href="javascript: void(0)"> </a>
<h2 class="oe_view_title">