Skip ke Konten
Menu
Pertanyaan ini telah diberikan tanda

Hello All,

i am trying to search slide record that is in the form of document (google spreadsheet, xls etc.) so i found document_id field and datas field so how to convert that field to string from binary and search something from that. 

Can anyone help me

Thanks in advance..

Avatar
Buang
Jawaban Terbai

Hi Haresh Kansara,

You can refer

File :- "odoo-10.0/odoo/addons/base/ir/ir_attachment.py"

Method :- def _inverse_datas(self):

Odoo is using a hidden Text field to store the content:-

index_content = fields.Text('Indexed Content', readonly=True, prefetch=False)

Avatar
Buang
Post Terkait Replies Tampilan Aktivitas
0
Sep 16
3446
0
Apr 20
5601
0
Nov 23
1288
0
Mei 23
871
Slides and PDF Diselesaikan
3
Mar 24
12638