@@ -372,7 +372,7 @@ <h1>Base Attachment Object Store</h1>
372372!! This file is generated by oca-gen-addon-readme !!
373373!! changes will be overwritten. !!
374374!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
375- !! source digest: sha256:d771f7a02048267a8f7f50b2ed914086e6d9ee83355f129c95fc1598eb63383d
375+ !! source digest: sha256:3b110e3a15c34238080338330d4601ba4e2660883cd45002b9de534a6e5f67f2
376376!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -->
377377< p > < a class ="reference external image-reference " href ="https://odoo-community.org/page/development-status "> < img alt ="Beta " src ="https://img.shields.io/badge/maturity-Beta-yellow.png " /> </ a > < a class ="reference external image-reference " href ="http://www.gnu.org/licenses/agpl-3.0-standalone.html "> < img alt ="License: AGPL-3 " src ="https://img.shields.io/badge/license-AGPL--3-blue.png " /> </ a > < a class ="reference external image-reference " href ="https://github.com/OCA/storage/tree/16.0/fs_attachment "> < img alt ="OCA/storage " src ="https://img.shields.io/badge/github-OCA%2Fstorage-lightgray.png?logo=github " /> </ a > < a class ="reference external image-reference " href ="https://translation.odoo-community.org/projects/storage-16-0/storage-16-0-fs_attachment "> < img alt ="Translate me on Weblate " src ="https://img.shields.io/badge/weblate-Translate%20me-F47D42.png " /> </ a > < a class ="reference external image-reference " href ="https://runboat.odoo-community.org/builds?repo=OCA/storage&target_branch=16.0 "> < img alt ="Try me on Runboat " src ="https://img.shields.io/badge/runboat-Try%20me-875A7B.png " /> </ a > </ p >
378378< p > In some cases, you need to store attachment in another system that the Odoo’s
@@ -663,6 +663,16 @@ <h3><a class="toc-backref" href="#toc-entry-5">Tips & Tricks</a></h3>
663663configuration of your storage to the production environment to make it read only.
664664(The use of server environment files is a good way to do so).</ p >
665665</ li >
666+ < li > < p class ="first "> When enabling < cite > Use As Default For Attachment</ cite > you must be aware that this
667+ option applies from the point when the < cite > fs_attachment</ cite > has been loaded by
668+ Odoo. This means that some attachments (such as icons) created during the
669+ update of modules that are loaded before < cite > fs_attachment</ cite > will still be stored
670+ in the location defined in the < cite > ir_attachment.location</ cite > system parameter
671+ (which is < cite > file</ cite > by default, meaning the regular on-disk < cite > filestore</ cite >
672+ directory).</ p >
673+ < p > A simple way to work around this issue is to set the < cite > ir_attachment.location</ cite >
674+ System Parameter record to < cite > db</ cite > .</ p >
675+ </ li >
666676</ ul >
667677</ div >
668678</ div >
0 commit comments