Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ
1 ตอบกลับ
7594 มุมมอง

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
3891
0
ก.ย. 22
3498
0
ก.พ. 19
4602
3
ต.ค. 24
17995
0
ต.ค. 21
2629