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 download product details from openerp. In that csv file i get image in binary format. When i try to upload data again some of the rows showing padding error ( Incorrect padding ). How to s solve this issue?
When exporting images directly from PostgreSQL, convert PostgreSQL's bytea format to base64 using the following in the query:
select encode("product_product"."image",'base64') as "image" from "product_product";
Using .decode('base64') in Python will not work because the data first needs to be decoded from PostgreSQL's bytea format.
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: 10/31/13, 3:38 AM|
|Seen: 3259 times|
|Last updated: 3/16/15, 8:10 AM|