Overslaan naar inhoud
Menu
Je moet geregistreerd zijn om te kunnen communiceren met de community.
Deze vraag is gerapporteerd
1 Beantwoorden
5097 Weergaven

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
Annuleer
Beste antwoord

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
Annuleer
Gerelateerde posts Antwoorden Weergaven Activiteit
0
sep. 16
3933
0
apr. 20
7353
0
nov. 23
2455
0
mei 23
1313
3
mrt. 24
13352