Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ
1 ตอบกลับ
1032 มุมมอง

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
27703
1
พ.ย. 23
2045
0
เม.ย. 24
1756
1
ม.ค. 24
31
1
ก.ย. 24
1713