Skip to Content
Menu
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
To pytanie dostało ostrzeżenie

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

Awatar
Odrzuć
Najlepsza odpowiedź

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)

Awatar
Odrzuć
Powiązane posty Odpowiedzi Widoki Czynność
0
wrz 16
3934
0
kwi 20
7354
0
lis 23
2455
0
maj 23
1321
Slides and PDF Rozwiązane
3
mar 24
13352