From e3f05496b1f5966aeaf773a5f07997488f9ec69e Mon Sep 17 00:00:00 2001 From: "Lucas Perais (lpe)" Date: Thu, 19 Oct 2017 10:56:53 +0200 Subject: [PATCH] [FIX] mail: fix template preview wizard view Before this commit, when on a mail.template form, click on the Preview smart button. A wizard popped up with two buttons, as the default for form views. First this made no sense since the wizard doesn't represent a model that can be modified Second, the button discard was unable to close the wizard. After this commit, only a discard button is present which does its job. --- addons/mail/wizard/email_template_preview_view.xml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/addons/mail/wizard/email_template_preview_view.xml b/addons/mail/wizard/email_template_preview_view.xml index 7d5cd1cb6d6..67068f5dc84 100644 --- a/addons/mail/wizard/email_template_preview_view.xml +++ b/addons/mail/wizard/email_template_preview_view.xml @@ -28,6 +28,9 @@ +