[IMP] mass_mailing: add import template for mailing contacts

Currently when user starts using the app and tries to 'import records' from
'Mailing List Contacts', there is no templates available to assist the user.

This commit adds import template for mailing contacts to assist the users
in importing records.

taskID-2763984

closes odoo/odoo#84804

Signed-off-by: Thibault Delavallee (tde) <tde@openerp.com>
This commit is contained in:
Umesh Gupta
2022-03-01 16:32:33 +00:00
parent 4e1e762c53
commit 061cb6885f
2 changed files with 7 additions and 0 deletions
@@ -192,3 +192,10 @@ class MassMailingContact(models.Model):
action['context'] = ctx
return action
@api.model
def get_import_templates(self):
return [{
'label': _('Import Template for Mailing List Contacts'),
'template': '/mass_mailing/static/xls/mailing_contact.xls'
}]
Binary file not shown.