Skip to content

Commit 5fb3441

Browse files
committed
Merge PR #532 into 16.0
Signed-off-by lmignon
2 parents b50f468 + 7bcf52b commit 5fb3441

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

fs_attachment/readme/USAGE.rst

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -226,3 +226,14 @@ Tips & Tricks
226226
instance will still be read from the production storage. Be careful to adapt the
227227
configuration of your storage to the production environment to make it read only.
228228
(The use of server environment files is a good way to do so).
229+
230+
* When enabling `Use As Default For Attachment` you must be aware that this
231+
option applies from the point when the `fs_attachment` has been loaded by
232+
Odoo. This means that some attachments (such as icons) created during the
233+
update of modules that are loaded before `fs_attachment` will still be stored
234+
in the location defined in the `ir_attachment.location` system parameter
235+
(which is `file` by default, meaning the regular on-disk `filestore`
236+
directory).
237+
238+
A simple way to work around this issue is to set the `ir_attachment.location`
239+
System Parameter record to `db`.

0 commit comments

Comments
 (0)