-
-
Notifications
You must be signed in to change notification settings - Fork 684
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][ADD] add hr_governance module #1455
base: 17.0
Are you sure you want to change the base?
Conversation
6537631
to
a52ba41
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.
partial review
def _is_assigned_w_steering(self): | ||
self.ensure_one() | ||
steering_role = self.env.ref( | ||
"hr_governance.steering_gct", raise_if_not_found=False |
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.
IMO we shouldn't have business code depend on configurable records like the role types.
Instead, we should perhaps have a "type"-like selection field on the role types, with predefined values like "steering", and use it instead.
That way the code wouldn't rely on given records being created (through xmlid), an rely instead on record configurations
not blocking, though. can be a future improvement
hr_governance/static/src/components/circlepack_colorlist.esm.js
Outdated
Show resolved
Hide resolved
a52ba41
to
5296eaf
Compare
No description provided.