-
-
Notifications
You must be signed in to change notification settings - Fork 349
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
[17.0][OCA-PORT] sale_timesheet_line_exclude from 16.0 to 17.0 pr #707 #718 #719
base: 17.0
Are you sure you want to change the base?
Conversation
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.
…clude flag While the test does not reveal this, without this change, clicking on the checkbox in the timesheet list view does not reset the so line.
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.
The change works as intended, and I understand the intension. But when this update is installed, everyone loses access on the non-billable field because the existing users are not added automatically by default.
<field name="category_id" ref="base.module_category_hidden" /> | ||
<field | ||
name="comment" | ||
>Gives access to the Non-Billable field on timesheets.</field> |
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.
Maybe the role should also be added automatically to the Admin account?
<field name="users" eval="[(4, ref('base.user_root')), (4, ref('base.user_admin'))]"/>
Yes, this was mentioned on the original PR #707
Maybe? This should be in a distinct PR, though. |
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
No description provided.