Technaureus Info Solutions Pvt. Ltd.April 23, 2016
You may choose to store them on the file system by setting an ir.config.parameter (Settings->Technical->Parameters-System parameters) named ir_attachment.location
Example ir_attachment.location to file:///filestore
In Odoo 8 onwards, the attachments stored in server itself as encrypted file and maintains a link to database. The attachments stored in a folder "filestore" in server. The physical local of filestore is .local/share/Odoo of Odoo running user.
Example, If Odoo is running by 'odoo' user as home /opt/odoo, then location is /opt/odoo/.local/share/Odoo/filestore/
Then each database folder get create in filestore.
Example: /opt/odoo/.local/share/Odoo/filestore/db_name
Similarly Odoo session also saves in .local/share/Odoo of Odoo running user.
Example, If Odoo is running by 'odoo' user as home /opt/odoo, then location is /opt/odoo/.local/share/Odoo/sessions/
Hope you understood the feature Filestore and Session Physical Location very well. If you enjoy our content here, you’ll ❤️ the stuff we share on LinkedIn.
0