Zum Inhalt springen
Menü
Sie müssen registriert sein, um mit der Community zu interagieren.
Diese Frage wurde gekennzeichnet
1 Antworten
1026 Ansichten

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
Verwerfen
Beste Antwort

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
Verwerfen
Verknüpfte Beiträge Antworten Ansichten Aktivität
6
Feb. 24
27631
1
Nov. 23
2036
0
Apr. 24
1723
1
Jan. 24
31
1
Sept. 24
1696