Přejít na obsah
Menu
You need to be registered to interact with the community.
This question has been flagged
1 Odpovědět
5094 Zobrazení

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
Zrušit
Nejlepší odpověď

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
Zrušit
Related Posts Odpovědi Zobrazení Aktivita
0
zář 16
3926
0
dub 20
7344
0
lis 23
2447
0
kvě 23
1309
Slides and PDF Vyřešeno
3
bře 24
13346