Hi I have this error:
image_data = upload.read()
AttributeError: 'unicode' object has no attribute 'read'
When i call my controllers:
The variable request.params['upload'] contains " <FileStorage: u'ir_attachment_117.jpeg' ('image/jpeg')>"
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
Hi I have this error:
image_data = upload.read()
AttributeError: 'unicode' object has no attribute 'read'
When i call my controllers:
The variable request.params['upload'] contains " <FileStorage: u'ir_attachment_117.jpeg' ('image/jpeg')>"
Stwórz konto dzisiaj, aby cieszyć się ekskluzywnymi funkcjami i wchodzić w interakcje z naszą wspaniałą społecznością!
Zarejestruj się| Powiązane posty | Odpowiedzi | Widoki | Czynność | |
|---|---|---|---|---|
|
3
mar 24
|
18429 | |||
|
1
sie 16
|
5678 | |||
|
1
mar 22
|
6346 | |||
|
1
lip 18
|
13225 | |||
|
read and get file from ir.attachement
Rozwiązane
|
2
cze 18
|
23897 |
1. Use the live chat to ask your questions.
2. The operator answers within a few minutes.