I've installed enterprise version of odoo15 in Linux VPS Server . I just want to know where does the attachments are stored in the server(directory), Can anyone assist me with this?
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- CRM
- e-Commerce
- Contabilidad
- Inventario
- PoS
- Project
- MRP
Se marcó esta pregunta
By default, attachments are stored outside the database, as binary files on the server.
The default location for databases hosted on a server are defined in the server configuration file.
From https://www.odoo.com/documentation/15.0/developer/misc/other/cmdline.html#cmdoption-odoo-bin-D
-D,--data-dir
directory path where to store Odoo data (eg. filestore, sessions). If not specified, Odoo will fallback to a predefined path. On Unix systems its one defined in $XDG_DATA_HOME environmental variable or ~/.local/share/Odoo or /var/lib/Odoo.
A database specific location can be set via the System Parameter ir_attachment.location as discussed at https://www.odoo.com/forum/help-1/where-are-document-attachments-stored-529 although the default location for attachments has been the database since version 8 (they were stored in the database prior to that).
If you do not provide a location in the configuration file or the database, Odoo will default to:
.local/share/Odoo/filestore
this folder is created in the home folder of the User who is starting the Odoo process.
¿Le interesa esta conversación? ¡Participe en ella!
Cree una cuenta para poder utilizar funciones exclusivas e interactuar con la comunidad.
InscribirsePublicaciones relacionadas | Respuestas | Vistas | Actividad | |
---|---|---|---|---|
|
1
abr 25
|
4503 | ||
|
2
ago 24
|
9749 | ||
|
0
dic 23
|
1019 | ||
|
0
abr 23
|
1875 | ||
|
1
feb 23
|
2247 |
This depends on your installation method.
I've followed the yethene script on github and installed it outside root directory in a seperate folder.