Skip to Content
Меню
Вам необхідно зареєструватися, щоб взаємодіяти зі спільнотою.
Це запитання позначене
1 Відповісти
1015 Переглядів

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'
}]


Аватар
Відмінити
Найкраща відповідь

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

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


Аватар
Відмінити
Related Posts Відповіді Переглядів Дія
New features of Odoo 17 Вирішено
6
лют. 24
27551
1
лист. 23
2024
0
квіт. 24
1690
1
січ. 24
31
1
вер. 24
1675