-
-
Notifications
You must be signed in to change notification settings - Fork 161
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[16.0][FIX] fs_attachment: Prevent recompute_urls from skipping records with res_field != False #386
Conversation
…h res_field != False
Hi @lmignon, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you for the fix @PabloEForgeFlow
A nice to have should be to have a unittest fot this method
16a70de
to
4067cd1
Compare
Sorry for the delay, I was a bit busy last week. I have added a test for |
4067cd1
to
52a764b
Compare
52a764b
to
7edd5ba
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Code review looks good!
This PR has the |
/ocabot merge patch |
Hey, thanks for contributing! Proceeding to merge this for you. |
Congratulations, your PR was merged at 914d91f. Thanks a lot for contributing to OCA. ❤️ |
Currently
recompute_urls
will skip records which have a non-emptyres_field
, resulting in records with a validfs_storage_id
not being updated. The comment and fix were directly copied from _force_storage_to_object_storage.