Skip to Content
Menu
This question has been flagged
2 Replies
12651 Zobrazenia

Hello everybody, I have a little problem, I was searching the folder where are the attachments saved in Odoo, I found the path inside "/home/odoo/.local/share/Odoo/filestore/database_name" , I need pass the path of the attachments in my module to a external database but I don't know if is possible find this path inside Odoo, anyone could help me? Thanks!!


And it's possible change the format of the attachments? I see all of them with name "0a..." etc.. and without file extension and I can't open it outside Odoo


Thanks!!

Avatar
Zrušiť

@Jorge did you find the solution of getting file with exact extension

how to get exact file without encryption ?

Best Answer

You can simply do:

attachment._full_path(attachment.store_fname)

which will return the full path of the attachment.

Avatar
Zrušiť
Related Posts Replies Zobrazenia Aktivita
1
dec 21
4099
5
jún 21
23916
2
mar 22
9825
1
máj 21
14598
1
dec 19
11375