Passa al contenuto
Menu
È necessario essere registrati per interagire con la community.
La domanda è stata contrassegnata
1 Rispondi
1007 Visualizzazioni

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
Abbandona
Risposta migliore

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
Abbandona
Post correlati Risposte Visualizzazioni Attività
6
feb 24
27524
1
nov 23
2018
0
apr 24
1687
1
gen 24
31
1
set 24
1667