[FIX] mass_mailing: do not display templates void options menu when there are no option to display
This commit is contained in:
parent
6e201cdcdb
commit
3b0622bd3f
|
@ -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>
|
||||
|
|
Loading…
Reference in New Issue