Odoo is the world's easiest all-in-one management software. It includes hundreds of business apps:
CRM | e-Commerce | Accounting | Inventory | PoS | Project management | MRP | etc.
I try to print a picture in a xml file. I have a problem when i get my file.
To do that i use this code:
cr.execute('SELECT res_company.logo_web FROM res_company') res = cr.fetchall() v['logoTmp'] = base64.decodestring(str(res))
And i have this error:
UnicodeDecodeError: 'utf8' codec can't decode byte 0x89 in position 0: invalid start byte
Someone know why?
Thank a lot!
About This Community
This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.Register
Odoo Training Center
Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.Test it now
|Asked: 9/30/13, 7:24 PM|
|Seen: 2964 times|
|Last updated: 3/16/15, 8:10 AM|