[FIX] mass_mailing: do not display templates void options menu when there are no option to display

This commit is contained in:
Thibault Delavallée 2014-08-20 15:37:23 +02:00
parent 6e201cdcdb
commit 3b0622bd3f
1 changed files with 1 additions and 1 deletions

View File

@ -51,7 +51,7 @@
<div t-attf-class="oe_kanban_card oe_kanban_global_click oe_kanban_email_template">
<div class="oe_dropdown_toggle oe_dropdown_kanban">
<span class="oe_e">i</span>
<ul class="oe_dropdown_menu">
<ul class="oe_dropdown_menu" t-if="widget.view.is_action_enabled('edit') or widget.view.is_action_enabled('delete')">
<t t-if="widget.view.is_action_enabled('edit')">
<li><a type="edit">Edit</a></li>
</t>