Skip to content
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][ADD] hr_dms_field: New module #279

Merged
merged 4 commits into from
Feb 9, 2024

Conversation

victoralmau
Copy link
Member

@victoralmau victoralmau commented Jan 4, 2024

Changes done:

  • dms: Add ACLs to dms.storage for users with the basic permission.
  • dms_field: Create dms.field.template to set model, groups and directory structure.
  • dms_field: Remove the wizard to create a directory from a record.
  • dms_field: Directory structure is created when record is created (partner for example).
  • dms_field: Change the information on the right side.
  • dms_field: Have directory/file tree open when loading

Directory
directory

File (preview when clicking on image/icon)
file-1

Please @pedrobaeza and @CarlosRoca13 can you review it?

@Tecnativa TT46804

@victoralmau victoralmau force-pushed the 15.0-add-hr_dms_field branch 3 times, most recently from 754efd3 to 2e00f89 Compare January 5, 2024 15:52
@victoralmau victoralmau force-pushed the 15.0-add-hr_dms_field branch 3 times, most recently from 74e9865 to 025413e Compare January 18, 2024 15:20
@CarlosRoca13 CarlosRoca13 force-pushed the 15.0-add-hr_dms_field branch 2 times, most recently from 27a9815 to 0a907cd Compare January 19, 2024 09:25
@victoralmau victoralmau force-pushed the 15.0-add-hr_dms_field branch 4 times, most recently from 52d33d1 to 88d5690 Compare January 22, 2024 11:04
@victoralmau victoralmau marked this pull request as ready for review January 22, 2024 11:10
@victoralmau victoralmau force-pushed the 15.0-add-hr_dms_field branch from 88d5690 to ff6602f Compare January 23, 2024 11:42
@victoralmau victoralmau force-pushed the 15.0-add-hr_dms_field branch 3 times, most recently from 6efec63 to 5ac7758 Compare January 29, 2024 08:45
@victoralmau victoralmau force-pushed the 15.0-add-hr_dms_field branch from 5ac7758 to cd0f774 Compare February 7, 2024 09:34
@victoralmau victoralmau changed the title [15.0][WIP] hr_dms_field: New module [15.0][ADD] hr_dms_field: New module Feb 7, 2024
@victoralmau
Copy link
Member Author

Ping @pedrobaeza and @CarlosRoca13

@pedrobaeza pedrobaeza added this to the 15.0 milestone Feb 7, 2024
Copy link

@CarlosRoca13 CarlosRoca13 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 👍

Copy link
Member

@pedrobaeza pedrobaeza left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In general it works OK, but it's ugly that each time you add a folder or a file into the embedded widget, the reload unfolds all the hierarchy, having to manually unfold again. I think the default should be unfolded by default, and if there's a possibility of keeping in the JS layer the folding state. But at least the first option should be implemented.

@victoralmau victoralmau force-pushed the 15.0-add-hr_dms_field branch 2 times, most recently from 2974d9e to bb00e80 Compare February 7, 2024 16:44
@pedrobaeza
Copy link
Member

It still keeps folded by default.

@victoralmau victoralmau force-pushed the 15.0-add-hr_dms_field branch from bb00e80 to adae7cc Compare February 8, 2024 12:55
@victoralmau
Copy link
Member Author

It still keeps folded by default.

Done.

Copy link
Member

@pedrobaeza pedrobaeza left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Second level folders are still folded by default.

- Create dms.field.template to set model, groups and directory structure.
- Remove the wizard to create a directory from a record.
- Directory structure is created when record is created (partner for example).
- Change the information on the right side.
- Have directory/file tree open when loading.

TT46804

TT46804
@victoralmau victoralmau force-pushed the 15.0-add-hr_dms_field branch from adae7cc to 6be59d1 Compare February 9, 2024 07:19
@victoralmau
Copy link
Member Author

Second level folders are still folded by default.

Done.

Copy link
Member

@pedrobaeza pedrobaeza left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/ocabot merge minor

@OCA-git-bot
Copy link
Contributor

On my way to merge this fine PR!
Prepared branch 15.0-ocabot-merge-pr-279-by-pedrobaeza-bump-minor, awaiting test results.

@OCA-git-bot OCA-git-bot merged commit 4940256 into OCA:15.0 Feb 9, 2024
7 checks passed
@OCA-git-bot
Copy link
Contributor

Congratulations, your PR was merged at bebb793. Thanks a lot for contributing to OCA. ❤️

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants