コンテンツへスキップ
メニュー
この質問にフラグが付けられました

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
4月 18
3912
0
9月 22
3517
0
2月 19
4664
3
10月 24
18053
0
10月 21
2663