Closed lmignon closed 7 months ago
/ocabot merge patch
This PR looks fantastic, let's merge it! Prepared branch 16.0-ocabot-merge-pr-341-by-lmignon-bump-patch, awaiting test results.
Congratulations, your PR was merged at 4d82d00aaec818c10dfcfe509d9640d48ebffbf2. Thanks a lot for contributing to OCA. ❤️
Before this change the creation of empty file was not supported. The issue was mainly due to the fact that at create of a FSFileValue instance with a name but without content, the name was no preserved. As result, the insert of the attachement into the DB failed since the name is a required field. If a FSFileValue instance is now created without content but with a name, the name is now preserved on an empty buffer.