Skip to Content
Menu
Dette spørgsmål er blevet anmeldt
1 Svar
1025 Visninger

I saw the following code in the crm.lead model and tried to do the same for my model, and I also have an xls file in the same folder structure, but when I go to the import section, there is no suggestion to download the template default


@api.model
def get_import_templates(self):
return [{
'label': _('Import Template for Leads & Opportunities'),
'template': '/crm/static/xls/crm_lead.xls'
}]


Avatar
Kassér
Bedste svar

You can able to seen an "Import template" action on the center. 

In your case it will shows like  "Import Template for Leads & Opportunities"


Avatar
Kassér
Related Posts Besvarelser Visninger Aktivitet
6
feb. 24
27615
1
nov. 23
2034
0
apr. 24
1704
1
jan. 24
31
1
sep. 24
1688