Files
odoo_source/addons/website_hr_recruitment
visp-odoo c028578a6a [FIX] website, website_hr_recruitment: action should not be undefined
Step to reproduce:
- Go to /jobs (install website_hr_recruitment)
- Go on a job offer
- Click on the "Apply" button
- Edit the form

Purpose:

Since the implementation of commit [1], our system employs alerts
resembling `this field 'partner_name' is mandatory for the action
'actionName'`. However, this alteration has led to a bug where in
certain forms exhibit an undefined action name value, particularly
evident when users attempt to modify specific forms containing required
fields. The bug manifests when an alert is triggered, and the action
name becomes undefined due to the condition `this.modelCantChange`
evaluating to `true` within the `willStart` function. Consequently,
invoking `_super` results in the return of `willStart` without assigning
a value to `currentActionName`.

After this commit:

Now, before returning the function, it sets a value for
`currentActionName` and then proceeds with the necessary steps. This
prevents the issue where an action was `undefined`.

[1]: https://github.com/odoo/odoo/commit/b154fe1

task-3680483

closes odoo/odoo#162468

X-original-commit: 3626e36a9c4995286be48206b0d927f1de51e295
Signed-off-by: Benoit Socias (bso) <bso@odoo.com>
2024-04-23 15:32:52 +00:00
..
…
…

Open Source Job Board

Organize your job postings and applications

Organize your job board, promote your job announces and keep track of application submissions easily. Follow every applicant and build up a database of skills and profiles.

Create Awsome Job Description Pages

Get rid of old WYSIWYG editors

Get a clean and professional look for your job annouces. Odoo's unique 'edit inline' approach makes website and job descriptions creation surprisingly easy.

Drag & Drop well designed 'Building Blocks' to create beautifull job descriptions and announces that emphasizes the quality of your company.

Post Your Jobs on Best Job Boards

LinkedIn, Monster, Craigslist, Careerbuilder,...

Connect automatically to most famous job board websites; linkedIn, Monster, Craigslist, ... Every job position has a new email address automatically assigned to route applications automatically to the right job position.

Whether applicants contact you by email or using an online form, you get all the data indexed automatically (resumes, motivation letter) and you can answer in just a click, reusing templates of answers.

Customize Your Recruitment Process

Define your own stages and interviewers

Use the kanban view and customize the steps of your recruitments process; pre-qualification, first interview, second interview, negociaiton, ...

Get accurate statistics on your recruitment pipeline. Get reports to compare the performance of your different investments on external job boards.

Streamline Your Recruitment Process

Index resumes, track applicants, search profiles

Follow applicants in your recruitment process with the smart kanban view. Save time by automating some communications with email templates.

Documents like resumes and motivation letters are indexed automatically, allowing you to easily find for specific skills and build up a database of profiles.

Integrated Surveys

Define your own online or offline surveys

Create your own interview canvas based on our best practices. Use the survey designer to adapt questions to your own process. Ask the applicant to fill in the survey online, or the interviewer to use it during real interviews.

Fully Integrated With Others Apps

Get hundreds of open source apps for free

CMS

Easily create awesome websites with no technical knowledge required.

Blog

Write news, attract new visitors, build customer loyalty.

Online Events

Schedule, organize, promote or sell events online; conferences, webinars, trainings, etc.