Trợ giúp


[odoo-v9]: how to store attachment in file store/System instead database in odoo?

Hello everyone,

How do we configure in odoo 9 for attachment store location?

Default it stores in database, how one can configure to make store in different place instead storing database?

Is it configurable? or need to override the base method to change the store location?

Thanks & Regards,


Ảnh đại diện
Huỷ bỏ
1 Trả lời
Best Answer

Hi everyone,

Found solution for it.

Here it is,

1. Automated
   By adding one new parameter in service configuration file e.g. openerp-server.conf
   data_dir = <File store path>
2. Manual
   Add parameter in command line when starting server.
--data_dir= <File Store Path>



Ảnh đại diện
Huỷ bỏ