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
|
2514 | ||
|
7
1월 24
|
15146 | ||
|
0
3월 15
|
3893 | ||
|
0
3월 15
|
5096 | ||
|
2
9월 23
|
1305 |