summaryrefslogtreecommitdiff
path: root/addons/crm/models/crm_lead.py
diff options
context:
space:
mode:
Diffstat (limited to 'addons/crm/models/crm_lead.py')
-rw-r--r--addons/crm/models/crm_lead.py7
1 files changed, 7 insertions, 0 deletions
diff --git a/addons/crm/models/crm_lead.py b/addons/crm/models/crm_lead.py
index 9e6c4a83416..756a9f272a4 100644
--- a/addons/crm/models/crm_lead.py
+++ b/addons/crm/models/crm_lead.py
@@ -1212,6 +1212,13 @@ class Lead(models.Model):
break
return result
+ @api.model
+ def get_import_templates(self):
+ return [{
+ 'label': _('Import Template for Leads & Opportunities'),
+ 'template': '/crm/static/xls/crm_lead.xls'
+ }]
+
class Tag(models.Model):