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

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)})

อวตาร
ละทิ้ง
Related Posts ตอบกลับ มุมมอง กิจกรรม
1
พ.ย. 22
2510
ODOO 12 how can we generate Excel report แก้ไขแล้ว
7
ม.ค. 24
15134
0
มี.ค. 15
3889
0
มี.ค. 15
5086
2
ก.ย. 23
1304