Se rendre au contenu
Menu
Cette question a été signalée
1 Répondre
1000 Vues

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
Ignorer
Meilleure réponse

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
Ignorer
Publications associées Réponses Vues Activité
6
févr. 24
27484
1
nov. 23
1995
0
avr. 24
1675
1
janv. 24
31
1
sept. 24
1646