콘텐츠로 건너뛰기
메뉴
커뮤니티에 참여하려면 회원 가입을 하시기 바랍니다.
신고된 질문입니다
4 답글
21074 화면

 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
29232
2
6월 23
11529
1
8월 20
10919
1
4월 19
834
0
1월 21
3822