Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
1 Trả lời
1011 Lượt xem

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!



Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhấ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

Ảnh đại diện
Huỷ bỏ
Tác giả

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?

Bài viết liên quan Trả lời Lượt xem Hoạt động
2
thg 6 24
14335
1
thg 2 24
1095
3
thg 1 24
2351
3
thg 11 23
1929
1
thg 5 22
3508