Skip to Content
Meniu
Trebuie să fiți înregistrat pentru a interacționa cu comunitatea.
Această întrebare a fost marcată
4 Răspunsuri
20819 Vizualizări

 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.

Imagine profil
Abandonează
Cel mai bun răspuns

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")
Imagine profil
Abandonează
Cel mai bun răspuns
Add "data_dir" parameter in your ".conf" file:
Eg:-
[options]
addons_path = <module_path>
admin_passwd = admin
......
......
data_dir = <new_path>
Imagine profil
Abandonează
Cel mai bun răspuns

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

Imagine profil
Abandonează
Autor Cel mai bun răspuns

@ 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

Imagine profil
Abandonează
Related Posts Răspunsuri Vizualizări Activitate
5
oct. 24
28995
2
iun. 23
11311
1
aug. 20
10705
1
apr. 19
834
0
ian. 21
3703