Skip to Content
Menu
Dette spørgsmål er blevet anmeldt

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

Avatar
Kassér
Related Posts Besvarelser Visninger Aktivitet
1
sep. 22
2306
4
maj 18
11238
3
apr. 15
4956
2
apr. 15
4379
0
mar. 23
5302