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

Hi there,

Looking at file storage and noticed that every file gets a unique rename upon attaching it to the system. 

Where in odoo does the attached file get its random name from?

 Where in the system is it generated?

 

Many Thanks,

 

 

Awatar
Odrzuć
Najlepsza odpowiedź

The code is located in base addon for model 'ir.attachment'

https://github.com/odoo/odoo/blob/master/openerp/addons/base/ir/ir_attachment.py#L99

Awatar
Odrzuć

This file is in ..../addons/mails/ir_attachment.py in my Odoo v8 installation. Nowhere else.

Other idea for Odoo v8?

Powiązane posty Odpowiedzi Widoki Czynność
1
kwi 18
3899
0
wrz 22
3510
0
lut 19
4623
3
paź 24
18029
0
paź 21
2634