Odoo Help


This community is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.


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

Anil R. Kesariya
on 6/30/16, 2:58 AM 573 views

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,



Anil R. Kesariya

--Anil R. Kesariya--
| 6 5 8
Gandhinagar, India
--Anil R. Kesariya--
ERP Consultant

Key Skill
Technical & Functional Expert
Anil R. Kesariya
On 6/30/16, 9:49 PM

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>



Your Answer

Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!

About This Community

This community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

2 follower(s)


Asked: 6/30/16, 2:58 AM
Seen: 573 times
Last updated: 7/22/16, 2:25 PM