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

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,

 

 

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

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

Аватар
Відмінити

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

Other idea for Odoo v8?

Related Posts Відповіді Переглядів Дія
1
квіт. 18
3890
0
вер. 22
3496
0
лют. 19
4597
3
жовт. 24
17991
0
жовт. 21
2629