Skip to Content
Menu
This question has been flagged
4 Replies
839 Views

Hello, how can i change in Employee view in Resume Tab the dates of the certifications / courses / Experience / other ? 

i want it to show

Date_start - Date_end  and a custom field that i created named x_expiry_date , i cant find the xml to edit it , or the view to edit it 

thank you in advance !!!

sorry i forgot to tell you that im on self hosted Odoo 17




Avatar
Discard
Author

Anyone ?

Best Answer

This section of the form uses a widget to render the data in a more visual way. See https://github.com/odoo/odoo/blob/17.0/addons/hr_skills/views/hr_views.xml#L70

The template actually rendered seems to be https://github.com/odoo/odoo/blob/17.0/addons/hr_skills/static/src/xml/resume_templates.xml. You can not change this type of template using Studio.

Avatar
Discard
Author

Thank you for your time , im on community edition, So i can only change the view from outside odoo, in this path ? is there any way to change it from inside odoo without studio ?

If "outside Odoo" means in a custom module, sure. You'll have to inherit the template as described in this section: https://www.odoo.com/documentation/17.0/developer/reference/frontend/qweb.html#template-inheritance. No, this kind of template can not be changed from within Odoo UI.

Author Best Answer

The big question for me is wehre can i change this , to add more lines , i cant find the xml that handles this .

Avatar
Discard
Best Answer

In Odoo, the Resume View typically refers to the Kanban or Form View used to display applicant data in the Recruitment module. By default, it shows name, job title, and contact details.

Steps to Change Resume View (Using UI or Code)

Via Studio (Enterprise Only)

  1. Go to Recruitment > Applications.
  2. Click the Studio icon (top-right).
  3. Select the view you want to edit: Kanban, Form, or List.
  4. Drag & drop fields, rename labels, or change visibility.
  5. Save your changes.

Avatar
Discard
Best Answer

Hi,


To edit employee resume data, the records are stored in the 'hr.resume.line' model. Therefore, you need to inherit the corresponding model and its view. Use the following example to add a field to the model.


<record id="resume_line_view_form" model="ir.ui.view">
<field name="name">hr.resume.line.form</field>
<field name="model">hr.resume.line</field>
<field name="inherit_id" ref="hr_skills.resume_line_view_form"/>
<field name="arch" type="xml">
<xpath expr="//field[@name='line_type_id']" position="after">
<field name="your_field"/>
</xpath>
</field>
</record>


You need to define your field in the 'hr.resume.line' model.


Hope it helps.

Avatar
Discard
Author

i already have defined a field named x_expiry_date, but when i add it to the hr.resume.line Tree
i cant see it under resume in employees card , also tried
in models " Resume line of an employee" to add it in order " line_type_id, date_end desc, date_start desc, x_expiry_date desc" but still i cant see it

Related Posts Replies Views Activity
3
Jun 25
1940
1
Nov 24
1236
2
May 25
632
1
Feb 25
1205
1
Feb 25
828