Pular para o conteúdo
Menu
Esta pergunta foi sinalizada
1 Responder
7617 Visualizações

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
Cancelar
Melhor resposta

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
Cancelar

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

Other idea for Odoo v8?

Publicações relacionadas Respostas Visualizações Atividade
1
abr. 18
3897
0
set. 22
3508
0
fev. 19
4623
3
out. 24
18023
0
out. 21
2634