Skip to Content
Меню
Вам необхідно зареєструватися, щоб взаємодіяти зі спільнотою.
Це запитання позначене
1 Відповісти
5104 Переглядів

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

Аватар
Відмінити
Найкраща відповідь

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)

Аватар
Відмінити
Related Posts Відповіді Переглядів Дія
0
вер. 16
3938
0
квіт. 20
7387
0
лист. 23
2460
0
трав. 23
1347
Slides and PDF Вирішено
3
бер. 24
13359