Skip to content

Commit

Permalink
Merge PR #275 into 16.0
Browse files Browse the repository at this point in the history
Signed-off-by lmignon
  • Loading branch information
OCA-git-bot committed Aug 31, 2023
2 parents 2c62923 + cd68e72 commit c02dd28
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fs_attachment/models/ir_attachment.py
Original file line number Diff line number Diff line change
Expand Up @@ -436,7 +436,7 @@ def _enforce_meaningful_storage_filename(self) -> None:
for attachment in self:
if not self._is_file_from_a_storage(attachment.store_fname):
continue
fs, storage, filename = self._get_fs_parts()
fs, storage, filename = attachment._get_fs_parts()

if self.env["fs.storage"]._must_use_filename_obfuscation(storage):
attachment.fs_filename = filename
Expand Down

0 comments on commit c02dd28

Please sign in to comment.