تخطي للذهاب إلى المحتوى
القائمة
لقد تم الإبلاغ عن هذا السؤال
3 الردود
4777 أدوات العرض

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
مارس 15
13874
2
مارس 25
1244
3
سبتمبر 23
4169
1
نوفمبر 18
4178
0
أغسطس 18
3572