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')>"
Buat akun sekarang untuk menikmati fitur eksklufi dan agar terlibat dengan komunitas kami!
Daftar| Post Terkait | Replies | Tampilan | Aktivitas | |
|---|---|---|---|---|
|
3
Mar 24
|
18663 | |||
|
1
Agu 16
|
5807 | |||
|
1
Mar 22
|
6469 | |||
|
1
Jul 18
|
13387 | |||
|
read and get file from ir.attachement
Diselesaikan
|
2
Jun 18
|
24288 |
1. Use the live chat to ask your questions.
2. The operator answers within a few minutes.