Skip to Content
Meniu
Trebuie să fiți înregistrat pentru a interacționa cu comunitatea.
Această întrebare a fost marcată
1 Răspunde
4779 Vizualizări

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..

Imagine profil
Abandonează
Cel mai bun răspuns

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)

Imagine profil
Abandonează
Related Posts Răspunsuri Vizualizări Activitate
0
sept. 16
3553
0
apr. 20
5905
0
nov. 23
1415
0
mai 23
994
3
mar. 24
12746