applicant_char
A text cell that is also a link. On the attachments list it shows which applicant a CV belongs to and takes you there, without needing the field to be a relation.
| Technical name | applicant_char |
|---|---|
| Field types | char, text |
| Views | list, form |
| Module | hr_recruitment, the Recruitment app |
| Used in core | 1 occurrence, the attachments list in hr_recruitment |
| Versions | Odoo 20.0, Odoo 19.0, Odoo 18.0, Odoo 17.0, Odoo 16.0 |
| No-code setup | No. It reads the attachment's model and record fields by name |
| Alternatives | many2one, reference, char, applicant_line_many2many |
What the applicant name cell does
What this means for your team
Supported options in Odoo 19
| Option | Type | What it does |
|---|---|---|
res_model | field read by literal name | Compared against the applicant model. If it differs, the click does nothing at all. |
res_id | field read by literal name | The record opened by the click. Its absence also disables the click. |
placeholder_field | field | Inherited from the text field. Shows another field's value as a hint when this one is empty. |
Two fields are read by literal name. The linked record and the model it belongs to. Both must be present on the record, and the model must match the applicant model, otherwise the click does nothing at all. That double guard is what keeps the widget harmless on non-recruitment attachments.
Working examples
Navigating without a relation
Version compatibility
| Version | Status | Notes |
|---|---|---|
| Odoo 20.0 | In development | Not released. Byte-identical to Odoo 19 on the development branch. |
| Odoo 19.0 | Verified | Verified against the shipped source. |
| Odoo 18.0 | Verified | Same behavior. |
| Odoo 17.0 | Verified | Same behavior with older component conventions. |
| Odoo 16.0 | Verified | Same behavior with older component conventions. |
Upgrade note. Nothing to do. The widget has been present since Odoo 16 with the same behavior; the only differences across versions are component conventions rather than behavior.
What is changing in Odoo 20
Common problems and fixes
| Symptom | Cause and fix |
|---|---|
| Clicking does nothing | The attachment has no linked record, or its model is not the applicant model. Expected on other kinds of attachment; the guard is deliberate. |
| The column shows for non-recruitment attachments | The view's own visibility expression was removed. Restore the invisible expression; the widget stays inert but the column is noise. |
| The applicant opens in a dialog | A customization changed the action target. The widget builds a current-window action; check for an override. |
| A customized applicant form is not used | The action is constructed rather than fetched, so it opens the default form view. Point the default form view at your customization, or patch the widget. |
| Options are ignored | Only the inherited text options apply; the widget declares none. Use the text field's options as usual. |
| Missing widget error | The recruitment module is not installed in that database. Install Recruitment, or use a plain text field. |
Applicant name cell vs the alternatives
| Widget | Best for | Key difference |
|---|---|---|
applicant_char | Making a stored record name clickable where the field is not a relation | Opens the applicant from the attachment's own model and id, guarded on the model matching |
| many2one | Fields that really are relations | A link for free, plus search and creation |
| reference | Storing a model and record pair generically | Changes what is stored, but gives a picker as well as a link |
| char | A plain name with no navigation | What every other attachment list shows |
| applicant_line_many2many | Applicants shown as tags | A relation rendered as tags rather than a clickable name |
Frequently asked questions
Why is this needed when relations already link?+
Why does clicking sometimes do nothing?+
Does it open in a dialog?+
Does it support the text field's options?+
Which versions have it?+
Recruitment that does not lose the CV
Applications, attachments and the pipeline around them only work when finding a candidate takes seconds. We implement Odoo Recruitment, including sourcing integrations, on versions 16 through 19.
Book a free consultation