This question has been flagged
1 Reply
3604 Views

I am receiving a blob datatype from sqlite db via web service. How can I use it in odoo to store it in the postgresql table. What kind of field should I use to achieve this scenario?

Avatar
Discard
Author

@Axel Mendoza can you help me with the procedure?

Best Answer

Hi #Anand Prasanth

You need to use an Odoo binary field that will create in PostgreSQL a field of type bytea. Make sure that you are serializing the content as base64 before save it in the webservice.


Avatar
Discard