コンテンツへスキップ
メニュー
この質問にフラグが付けられました
4 返信
20799 ビュー

 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

アバター
破棄
関連投稿 返信 ビュー 活動
5
10月 24
28944
2
6月 23
11282
1
8月 20
10685
1
4月 19
834
0
1月 21
3690