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)})
Luo tili jo tänään nauttiaksesi yksinoikeusominaisuuksista ja osallistuaksesi mahtavaan yhteisöömme!
Rekisteröidy| Aiheeseen liittyviä artikkeleita | Vastaukset | Näkymät | Toimenpide | |
|---|---|---|---|---|
|
1
marrask. 22
|
3304 | |||
|
ODOO 12 how can we generate Excel report
Ratkaistu
|
7
tammik. 24
|
16526 | ||
|
0
maalisk. 15
|
4723 | |||
|
0
maalisk. 15
|
5936 | |||
|
2
syysk. 23
|
2023 |
1. Use the live chat to ask your questions.
2. The operator answers within a few minutes.