İçereği Atla
Menü
Bu soru işaretlendi
1 Cevapla
990 Görünümler

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
Vazgeç
En İyi Yanıt

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
Vazgeç
İlgili Gönderiler Cevaplar Görünümler Aktivite
6
Şub 24
27455
1
Kas 23
1987
0
Nis 24
1667
1
Oca 24
31
1
Eyl 24
1637