Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ
4 ตอบกลับ
20822 มุมมอง

 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
28998
2
มิ.ย. 23
11312
1
ส.ค. 20
10705
Use Of Public Profile In Forum ? แก้ไขแล้ว
1
เม.ย. 19
834
0
ม.ค. 21
3705