From c4d6984641f1f5a28833f9e08eda0cd0c019dbc8 Mon Sep 17 00:00:00 2001 From: Mahamadasif Ansari Date: Thu, 17 Nov 2022 10:35:09 +0000 Subject: [PATCH] [FIX] mass_mailing: allow upload a file when the contact list value is empty MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Currently, in mass mailing, the user cannot be redirected to the next page after clicking "upload a file" in the import mailing list. This is because the contact list field is mandatory, so when the user clicks "upload a file" with an empty contact list, it is unable to be redirected to the next page, as it saves the wizard before executing the action. This commit fixes the above issue by making the contact list field not mandatory anymore in the wizard view. Oversight of: aa183fa29d609d2b608fa451ee48a35e3d1549b2 taks-3070829 closes odoo/odoo#106237 X-original-commit: 21272221ebf22b3075c79a759c8ad8f72825b1ef Signed-off-by: Warnon Aurélien (awa) --- addons/mass_mailing/wizard/mailing_contact_import_views.xml | 1 - 1 file changed, 1 deletion(-) diff --git a/addons/mass_mailing/wizard/mailing_contact_import_views.xml b/addons/mass_mailing/wizard/mailing_contact_import_views.xml index 20abf0be4dc..e8cc87eee7c 100644 --- a/addons/mass_mailing/wizard/mailing_contact_import_views.xml +++ b/addons/mass_mailing/wizard/mailing_contact_import_views.xml @@ -17,7 +17,6 @@

Want to import country, company name and more?