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

I want to store data only in Database, not in filesystem. In order to deploy in several servers.

Is there any way to achieve this?

아바타
취소
베스트 답변

Activate developer mode. Go to Settings > Technical > Parameters > System Parameters and set the value of the parameter ir_attachment.location to db 

You will need to create the parameter if it does not exist in the list.

아바타
취소
작성자

Hi Paresh, thanks for your answer, which could be a good solution for me. But it require configurate each db.

Is there any way to set this configuration to apply at all databases, maybe into odoo.conf?

If I have understood your question correctly, once you set this option for the db, your db replication/mirroring solution should take care of the rest.

You can simply trigger a SQL query in all the databases.

작성자

Thank Sudhir and Paresh, I will try this solution.

Could you tell me please, if you see disadvantages to use db storing versus file system.

관련 게시물 답글 화면 활동
3
3월 15
13886
2
3월 25
1260
3
9월 23
4192
1
11월 18
4212
0
8월 18
3605