Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ

Hello, I am not as experienced with Python code as I am with others, and am in particular facing more issues transferring one2many fields between models than most other field types. 

I am trying to have the Payroll Salary Computation line_ids automatically fill when registering a payment, as I have for the Amount and Partner fields. I have added the line_ids one2many field into the Register Payment popup, but do not know how to code it to be automatically filled with the Payslip's line_ids.

Salary Computation Fields:

https://drive.google.com/file/d/1bZZKssrfc0sySYQcx99PFQMzTnk8sPdu/view?usp=sharing

Register Payment Popup:

https://drive.google.com/file/d/1mdhIEGZGoJDtIoPv-q-PFgoI1JXomIGR/view?usp=sharing


Any help is appreciated. Thanks

Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
1
thg 9 22
2307
4
thg 5 18
11238
3
thg 4 15
4956
2
thg 4 15
4379
0
thg 3 23
5309