-
- Downloads
[FIX] hr_recruitment, web: the sidepanel doesn't show users correctly
How to replicate:
- Create a user and assign the current company to its
related contact.
- Go to Recruitment -> create a job with the user
created before as Responsible.
Result:
- The user doesn't display in the sidepanel.
Expected:
- The panel should display the user and the other
users that are responsible of at least one job.
Additionally, if the user's contact has no company
assigned, it will display in the panel whether or not
the user is set as responsible in at least one job.
I overwrote the 'search_panel_select_range' to
display only the users that respect the rules listed
above.
I also changed the original search_panel_select_range
and now I don't set parent_field if the parent_field
model is different than the current model
opw-2654573
closes odoo/odoo#80333
Signed-off-by:
Nicolas Lempereur (nle) <nle@odoo.com>
Please register or sign in to comment