Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
1 Trả lời
4771 Lượt xem

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?

Ảnh đại diện
Huỷ bỏ
Tác giả

@Axel Mendoza can you help me with the procedure?

Câu trả lời hay nhất

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.


Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
1
thg 7 17
9476
2
thg 7 17
3741
0
thg 8 16
2898
0
thg 6 16
2863
0
thg 8 17
2985