Skip to Content
Menu
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,

 

 

Portretas
Atmesti
Best Answer

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

Portretas
Atmesti

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

Other idea for Odoo v8?

Related Posts Replies Rodiniai Veikla
1
bal. 18
3892
0
rugs. 22
3498
0
vas. 19
4603
3
spal. 24
17998
0
spal. 21
2630