[FIX] mail: fix email template preview action

SPECIFICATIONS

In the mail template views, remove the contextual action "Template preview"
from action dropdown. It was a duplicate of smart button in the template
form view and makes no sense in the tree view.

Task ID 2075733

closes odoo/odoo#37425

Signed-off-by: Thibault Delavallee (tde) <tde@openerp.com>
This commit is contained in:
Rémy Voet
2019-09-25 17:43:42 +00:00
committed by Thibault Delavallée
parent 8636fd8313
commit 98b7129e20
@@ -39,7 +39,6 @@
<record id="wizard_email_template_preview" model="ir.actions.act_window">
<field name="name">Template Preview</field>
<field name="res_model">email_template.preview</field>
<field name="binding_model_id" ref="mail.model_mail_template"/>
<field name="type">ir.actions.act_window</field>
<field name="view_mode">form</field>
<field name="view_id" ref="email_template_preview_form"/>