コンテンツへスキップ
メニュー
この質問にフラグが付けられました
1 返信
1017 ビュー

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"


アバター
破棄
関連投稿 返信 ビュー 活動
6
2月 24
27558
1
11月 23
2025
0
4月 24
1692
1
1月 24
31
1
9月 24
1678