Pular para o conteúdo
Menu
Esta pergunta foi sinalizada
1 Responder
5115 Visualizações

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
Cancelar
Melhor resposta

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
Cancelar
Publicações relacionadas Respostas Visualizações Atividade
0
set. 16
3939
0
abr. 20
7408
0
nov. 23
2466
0
mai. 23
1351
3
mar. 24
13365