Odoo Help

Welcome!

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.

0

ir_attachment.location with value file in V9 without effect

v9
By
Micky
on 10/9/15, 9:29 AM 559 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

1

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

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

1 follower(s)

Stats

Asked: 10/9/15, 9:29 AM
Seen: 559 times
Last updated: 10/27/15, 3:30 PM