or how to upload an excel file onto a field who is a field.Binary() by python code?
I have tried as below codes but failed:
test = xlrd.open_workbook('C:\Users\Administrator\Desktop\s.xlsx')
self.write({'datafile': base64.encodestring(test)})
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
or how to upload an excel file onto a field who is a field.Binary() by python code?
I have tried as below codes but failed:
test = xlrd.open_workbook('C:\Users\Administrator\Desktop\s.xlsx')
self.write({'datafile': base64.encodestring(test)})
Buat akun sekarang untuk menikmati fitur eksklufi dan agar terlibat dengan komunitas kami!
DaftarPost Terkait | Replies | Tampilan | Aktivitas | |
---|---|---|---|---|
|
1
Nov 22
|
2505 | ||
ODOO 12 how can we generate Excel report
Diselesaikan
|
|
7
Jan 24
|
15129 | |
|
0
Mar 15
|
3884 | ||
|
0
Mar 15
|
5078 | ||
|
2
Sep 23
|
1304 |