Skip to Content
Menú
This question has been flagged

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
Descartar
Related Posts Respostes Vistes Activitat
1
de set. 22
2306
4
de maig 18
11238
3
d’abr. 15
4956
2
d’abr. 15
4379
0
de març 23
5302