-
Notifications
You must be signed in to change notification settings - Fork 24.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[8.0] set filestore as default #2811
Comments
Isn't it default already? I tried multiple 8 installations and reports and other static/binary data is never saved to the database but always in a directory. |
Yes it is already the case in Odoo 8, see here (notice the default value for the parameter is |
sorry Oliver, but I can not reproduce what you mentioned in your answer: Odoo git from today (Oct 5th 2014) ~/git/odoo$ git status create fresh odoo instance - no modules yet: install module sales management install Document Management System attachments stored internally – no directory filestore (or file) |
Dear @ferdiga I passed by your position already. Let me explain you how it changed. Run Odoo V8 with -s parameter and read the config file. We have a New config parameter called "data_dir": no more ir.config_parameter per db. This parameter is the one used for 100% of attachments but something changed for better. Now : Odoo 8.0 will cache 100 of CSS and attachments there, without even ask "BUT" if you make a backup using the backup approach of odoo automagically attachments are converted to data in DB and saved toghether, ignoring what is generated by website part. In other hand: When you recover this backup it is automagically dumped in the correct folder without any issue. I hope it helps .... regards |
thanks Nhomar, I missed the new location. |
+1 thank you very much! I missed that one too! |
For the record, some clarifications:
|
@odony Thank you very much for you clarifications! Makes things a lot clearer for me! |
Oliver Dony suggest to set filestore on slide 31 of
http://www.slideshare.net/openobject/performance2014-35689113
Please do so for newly created databases.
The text was updated successfully, but these errors were encountered: