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

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
9620
2
يوليو 17
3818
0
أغسطس 16
2993
0
يونيو 16
2940
0
أغسطس 17
3058