Skip to Content
Меню
Вам необхідно зареєструватися, щоб взаємодіяти зі спільнотою.
Це запитання позначене
4 Відповіді
20811 Переглядів

 I want to change the default attachment/ filestore location in odoo10, is it possible can you please help me to change defualt filestore location in odoo v10.

Аватар
Відмінити
Найкраща відповідь

You can specify in the your config file (or command line argument the data-dir)


group.add_option("-D", "--data-dir", dest="data_dir", my_default=_get_default_datadir(), help="Directory where to store Odoo data")
Аватар
Відмінити
Найкраща відповідь
Add "data_dir" parameter in your ".conf" file:
Eg:-
[options]
addons_path = <module_path>
admin_passwd = admin
......
......
data_dir = <new_path>
Аватар
Відмінити
Найкраща відповідь

data_dir sets the location for your /filestore, /sessions and /addons.  In general, you want to set this in odoo.conf BEFORE you build you server.

ie.

#odoo.conf

data_dir = /odoo_data

Аватар
Відмінити
Автор Найкраща відповідь

@ Pranav, I was tried this in my odoo.conf file but its not working for me


@jeremy kersten, Could you please inform more details, where i can add this details. odoo.conf already updated

Аватар
Відмінити
Related Posts Відповіді Переглядів Дія
5
жовт. 24
28988
2
черв. 23
11303
1
серп. 20
10703
1
квіт. 19
834
0
січ. 21
3698