odoo/odoo#198995

Created by Misc, Abdelrahman Khaled (akha)
Merged at 3150edd9309e925c81c6fc79545d365ab23ea8ff

Statuses:

label
odoo-dev:master-recruitment_interface_promenade
head
b98cb292afd8cadaa2c249e87e35de8c6c820b67
merged
5 months ago by Fun HR, Bertrand Dossogne (bedo)
odoo/odoo odoo/enterprise odoo/upgrade
master #198995 #80033 #7277

[IMP] hr_recruitment: Interface Promenade

Recruitment

  • Replace job position kanban card with kanban list as kanban lists are easier to read and a single order (vertical).
  • Update help message on job position empty kanban view.
  • Replace Trackers stat button by a Trackers page in job position form view.
  • Show Mission Dates on Job Position form view only when job_boards (hr_recruitment_integration_monster) is installed
  • Improve UI of hr_applicant form and list views.
  • Remove the Refuse cog menu button and replace it with an action button in hr_applicant list view to be more discoverable.
  • Use standard email composer in applicant.get.refuse.reason wizard instead of relying only on email templates.
  • Use m2m tags widget for displaying duplicate applicants in applicant.get.refuse.reason wizard.
  • Previously, duplicate applicants in applicant.get.refuse.reason were computed only if one applicant is refused.
    Now, duplicate applicants are computed even if multiple applicants are refused.
  • Create widget RecruitmentCopyClipboardCharField that extends CopyClipboardCharField widget. It adds the following props:

    • contentGenerationFunctionName: Specifies the name of the function responsible for generating the content that will be copied when the copy button is clicked. The function should be defined inside the model of the view and not the model of the field which uses the widget.
    • displayedValue: The value displayed next to the CopyButton. If not passed, the value of the field on which the widget is used will be displayed.
  • override the unlink method to cascade the applicant as the ondelete does not delete the activities of the applicant

  • made the changes for the settings views

HR
- made the changes for the contract types views
- add domain to parent_id to make sure the department can not be its own parent
- remove the _check_parent_idas it does not got call anyway as the framework prevent the cycle at the write
- add check in the write method as each department keep it is direct childs only So to make sure there is no cycle

task-4463696