Passa al contenuto
Menu
È necessario essere registrati per interagire con la community.
La domanda è stata contrassegnata
1291 Visualizzazioni

So I overrode default_get method from hr.payslip.employees model, so I can pre load some employees by some filters on payslip Run form, now I need to add some employees that are active and some that are inactive, I got this part right until I click on Save or when I click Generate from the hr.payslip.employees Wizard form view, that automatically removes inactive employees, to give some context I'm trying to add those employees because this special kind of payslip from my country gets processed the year after it's computing. (For example this payslip goes from 2023-01-01 to 2023-12-31 but gets payed on 2024-03-31). I'm working on Odoo 12.

How can I persist keep inactive employees in this form view so I can process individual payslip from these employees?




Avatar
Abbandona
Post correlati Risposte Visualizzazioni Attività
0
apr 25
960
1
ago 22
2215
1
mar 22
2641
2
gen 21
4543
2
giu 19
3698