Skip ke Konten
Menu
Pertanyaan ini telah diberikan tanda
1 Balas
983 Tampilan

Hi, I am working with Odoo enterprise 16.4+e 

Currently I have 2 pages as depicted below.

Now I have successfully get the Job Pos from Job Position page with Many2One.

What I want to do is showing the Req Skills from Job Position page on the Employee page AUTOMATICALLY after I choose a Job Pos. Is it possible? How to do it? Thanks!



Avatar
Buang
Jawaban Terbai

Hello zulsani,


I hope this message finds you well.


Yes, you can Automatically update skills on “Employee Page” based on Job Position.

I’ve regenerated the same scenario in my server with two pages “Job position” and “Employee page” and got to automatically update the skills in “Employee Page” as per skills set in field “Req Skill” in Job Position page. Please refer to the attached Screenshot of the feature as well as code.


We can update the One2many field Skills(job_skills_id) using [(6, 0, [ids])] on change of field Job Pos(Job_id).

Feel free to contact me if needed

Hope this will help you.

Thanks & Regards,
Email:  odoo@aktivsoftware.com           

Skype: kalpeshmaheshwari

Avatar
Buang
Penulis

Hi Jainesh. Thank you so much for your detail explanation. Currently I am working with Odoo enterprise on web and I am doing the stuffs from Odoo studio and sometimes editing the view code in Settings > Technical > User Interface > Views. However I can't find the files you attached above. Any solution for this?

Post Terkait Replies Tampilan Aktivitas
2
Jun 24
14316
1
Feb 24
1069
3
Jan 24
2311
3
Nov 23
1895
1
Mei 22
3501