-
-
Notifications
You must be signed in to change notification settings - Fork 184
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]dms: The method for uploading a file did not work when the folder was empty. #396
Conversation
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.
LGTM
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. LGTM! Amazing. I think this happens in v15 too.
This PR has the |
103cfc6
to
ce69baf
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.
/ocabot merge patch
Please fw-port it to 17
On my way to merge this fine PR! |
Congratulations, your PR was merged at 252ea92. Thanks a lot for contributing to OCA. ❤️ |
Good morning, here is a possible solution for issue #390
The solution I propose is to use the
default_directory_id
from the context of the current controller, as the directory is currently specified within a domain. If there is no domain, a file cannot be uploaded, but if there are no files, there is no domain either.