تخطي للذهاب إلى المحتوى
القائمة
لقد تم الإبلاغ عن هذا السؤال
1 الرد
5024 أدوات العرض

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?

الصورة الرمزية
إهمال
الكاتب

@Axel Mendoza can you help me with the procedure?

أفضل إجابة

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.


الصورة الرمزية
إهمال
المنشورات ذات الصلة الردود أدوات العرض النشاط
1
يوليو 17
9842
2
يوليو 17
3973
0
أغسطس 16
3106
0
يونيو 16
3072
0
أغسطس 17
3163