Skip ke Konten
Menu
Pertanyaan ini telah diberikan tanda

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
Buang
Jawaban Terbai

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
Buang

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

Other idea for Odoo v8?

Post Terkait Replies Tampilan Aktivitas
1
Apr 18
4442
0
Sep 22
4169
0
Feb 19
5335
3
Okt 24
19492
0
Okt 21
3266