콘텐츠로 건너뛰기
메뉴
커뮤니티에 참여하려면 회원 가입을 하시기 바랍니다.
신고된 질문입니다
4 답글
1379 화면

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




아바타
취소
작성자

Anyone ?

베스트 답변

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.

아바타
취소
작성자

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.

작성자 베스트 답변

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

아바타
취소
베스트 답변

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.

아바타
취소
베스트 답변

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.

아바타
취소
작성자

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

관련 게시물 답글 화면 활동
3
6월 25
2721
1
11월 24
1844
0
9월 25
377
Repair Management 해결 완료
2
5월 25
1174
1
2월 25
2080