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

[16.0][IMP] sale_timesheet_line_exclude: add security group #707

Merged

Conversation

sbidoul
Copy link
Member

@sbidoul sbidoul commented Aug 18, 2024

closes #705

This should be merged with a minor or major version bump as it adds a security group that will need to be added to relevant users in order to preserve functionality.

Copy link
Contributor

@alexey-pelykh alexey-pelykh left a comment

Choose a reason for hiding this comment

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

It's worth mentioning this in the README.

@sbidoul sbidoul force-pushed the 16.0-sale_timesheet_line_exclude-security-sbi branch from ced87f4 to 696663f Compare August 18, 2024 12:00
@alexey-pelykh
Copy link
Contributor

I feel like you didn't add the file you wanted to add :)

@sbidoul
Copy link
Member Author

sbidoul commented Aug 18, 2024

I feel like you didn't add the file you wanted to add :)

What do you mean?

@sbidoul sbidoul force-pushed the 16.0-sale_timesheet_line_exclude-security-sbi branch from 696663f to 34a29d3 Compare August 18, 2024 12:05
@sbidoul
Copy link
Member Author

sbidoul commented Aug 18, 2024

Ah, the README, updated now.

@alexey-pelykh alexey-pelykh changed the title [IMP] sale_timesheet_line_exclude: add security group [16.0][IMP] sale_timesheet_line_exclude: add security group Aug 18, 2024
We don't copy the field by default, because it breaks the
OE timesheet grid for users in the security group that hides
the field.

Functionally, it also makes sens to not copy this field,
because it is better to consider the new line not excluded
by default.
@sbidoul
Copy link
Member Author

sbidoul commented Aug 22, 2024

I discovered a bug where the security group breaks the timesheet grid, which attemps to copy timesheet lines.

So I declare the field copy=False, which makes sense since we normally want the copied lines to be "not excluded" by default.

@OCA-git-bot
Copy link
Contributor

This PR has the approved label and has been created more than 5 days ago. It should therefore be ready to merge by a maintainer (or a PSC member if the concerned addon has no declared maintainer). 🤖

@sbidoul
Copy link
Member Author

sbidoul commented Oct 9, 2024

/ocabot merge minor

@OCA-git-bot
Copy link
Contributor

On my way to merge this fine PR!
Prepared branch 16.0-ocabot-merge-pr-707-by-sbidoul-bump-minor, awaiting test results.

@OCA-git-bot OCA-git-bot merged commit 85e928b into OCA:16.0 Oct 9, 2024
9 checks passed
@OCA-git-bot
Copy link
Contributor

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

@sbidoul sbidoul deleted the 16.0-sale_timesheet_line_exclude-security-sbi branch October 9, 2024 17:34
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