Siirry sisältöön
Menu
Sinun on rekisteröidyttävä, jotta voit olla vuorovaikutuksessa yhteisön kanssa.
Tämä kysymys on merkitty

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
Hylkää
Aiheeseen liittyviä artikkeleita Vastaukset Näkymät Toimenpide
1
syysk. 22
2307
4
toukok. 18
11238
3
huhtik. 15
4956
2
huhtik. 15
4379
0
maalisk. 23
5305