Přejít na obsah
Menu
You need to be registered to interact with the community.
This question has been flagged

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,

 

 

Avatar
Zrušit
Nejlepší odpověď

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

Avatar
Zrušit

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

Other idea for Odoo v8?

Related Posts Odpovědi Zobrazení Aktivita
1
dub 18
3943
0
zář 22
3536
0
úno 19
4685
3
říj 24
18108
0
říj 21
2689