تخطي للذهاب إلى المحتوى
القائمة
لقد تم الإبلاغ عن هذا السؤال
1 الرد
7604 أدوات العرض

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?

المنشورات ذات الصلة الردود أدوات العرض النشاط
1
أبريل 18
3893
0
سبتمبر 22
3501
0
فبراير 19
4610
3
أكتوبر 24
18002
0
أكتوبر 21
2632