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)})
関連投稿 | 返信 | ビュー | 活動 | |
---|---|---|---|---|
|
1
11月 22
|
2517 | ||
|
7
1月 24
|
15147 | ||
|
0
3月 15
|
3893 | ||
|
0
3月 15
|
5098 | ||
|
2
9月 23
|
1306 |