i have added ir_attachment.location in system parameter section with the value file. Everytime when i generate a report the file is stored in database not on the filesystem. What i am doing wrong?
Hello, you need not add these values in system parameters,only need to add the path app in your config file data directory, the variable is "data_dir" and assign your Odoo directory, example:
data_dir = /home/opt/odoo9/server/openerp/odoo_file/
And set chmod 777 and chown openerp to the folder, example:
chmod 777 data_dir = /home/opt/odoo9/server/openerp/odoo_file/
then restar your server:
sudo service odoo-server restart
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
|Asked: 10/9/15, 9:29 AM|
|Seen: 502 times|
|Last updated: 10/27/15, 3:30 PM|