Passa al contenuto
Menu
È necessario essere registrati per interagire con la community.
La domanda è stata contrassegnata
1 Rispondi
2307 Visualizzazioni
hello, I customize the salary rule with python code but every time I run the payslip-calculate the sheet-there is an error that comes out like this: Error: : "' hr.contract' object has no attribute 'leave_without_pay'" while evaluating. after that it is also the oversalary error ... etc.
can you help me create a contract and link it to the salary rule that I personalize. I have odoo v15


Avatar
Abbandona
Risposta migliore

Hi HI,
Please check is there any field named 'leave_without_pay' into your hr.contract model or not. the system could not find that field from'hr.contract' model. It might be define in some else model.
Hope it will help you.

Avatar
Abbandona
Autore

I think you would like to don't understand my take, I want someone to help me customize the contract, the default contract in odoo 15 has nothing except contract details and salary information ... so help me to personalize the contract

Post correlati Risposte Visualizzazioni Attività
1
giu 19
2842
0
dic 24
1007
2
lug 24
5743
0
dic 21
2221
1
mag 25
859