-
-
Notifications
You must be signed in to change notification settings - Fork 348
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
[16.0][IMP] sale_timesheet_line_exclude: add security group #707
Conversation
8b8d638
to
ced87f4
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.
It's worth mentioning this in the README.
sale_timesheet_line_exclude/security/exclude_from_sale_order.xml
Outdated
Show resolved
Hide resolved
ced87f4
to
696663f
Compare
I feel like you didn't add the file you wanted to add :) |
What do you mean? |
696663f
to
34a29d3
Compare
Ah, the README, updated now. |
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.
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. |
This PR has the |
/ocabot merge minor |
On my way to merge this fine PR! |
Congratulations, your PR was merged at daa5981. Thanks a lot for contributing to OCA. ❤️ |
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.