İçereği Atla
Menü
Bu soru işaretlendi
1 Cevapla
985 Görünümler

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
Vazgeç
En İyi Yanıt

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
Vazgeç
Üretici

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?

İlgili Gönderiler Cevaplar Görünümler Aktivite
2
Haz 24
14321
1
Şub 24
1073
3
Oca 24
2317
3
Kas 23
1896
1
May 22
3502