This question has been flagged
1 Reply
2771 Views

Hi,

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?


best regards

Avatar
Discard
Best Answer

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

best regards

Avatar
Discard