콘텐츠로 건너뛰기
메뉴
커뮤니티에 참여하려면 회원 가입을 하시기 바랍니다.
신고된 질문입니다
2 답글
12618 화면

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!!

아바타
취소

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

how to get exact file without encryption ?

베스트 답변

You can simply do:

attachment._full_path(attachment.store_fname)

which will return the full path of the attachment.

아바타
취소
관련 게시물 답글 화면 활동
1
12월 21
4088
5
6월 21
23880
2
3월 22
9815
1
5월 21
14519
1
12월 19
11369