-
-
Notifications
You must be signed in to change notification settings - Fork 160
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
[15.0][IMP] dms_auto_classification: Add folder support within the .zip file #329
[15.0][IMP] dms_auto_classification: Add folder support within the .zip file #329
Conversation
You have to more specific with your commit messages. What "folder support" means in this case? If I'm not mistaking, what you are doing is to gather all the files, no matter if it's in any subfolder,so that's not strictly folder support to begin with, but as said, you have to be always more specific. "Devil is in the details". As said on our internal task, the ideal is that the pattern supports folders (in this case the denomination is correct). Meanwhile, you have to include this new behavior in the README and put the ROADMAP, although I would prefer to implement the feature at once. If not, migrating all the old classifications will mean more work than the implementation itself. Another thing you can do is a mix:
This way, all the existing classification templates with the check will preserve its behavior. |
I comment a little about some issues. 1- Allow folders in patterns. 2- Incorrect use of "folders" as files. All this has led to some fixes: A- Folders should be skipped, for that reason Having clarified all this, are these fixes necessary? I think so, but if you think not I add it in ROADMAP as pending. |
Having read what you put, and if I have understood well, the patch is not correct:
|
35a026b
to
db0bd40
Compare
Changes done and updated PR description. |
Changes done: - The full path is now shown in the detail line. - The dms file that will be created will be with the name (not the full file path). - When scanning the .zip files the folders are skipped. - Add more use cases in tests - Improve documentation TT49047
db0bd40
to
75dd24c
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
Hey, thanks for contributing! Proceeding to merge this for you. |
Congratulations, your PR was merged at a1a2c29. Thanks a lot for contributing to OCA. ❤️ |
Add folder support within the
.zip
fileChanges done:
.zip
files the folders are skipped.Please @pedrobaeza and @CarlosRoca13 can you review it?
@Tecnativa TT49047