Skip to Content
Menu
Dette spørgsmål er blevet anmeldt
1 Svar
2306 Visninger
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
Kassér
Bedste svar

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
Kassér
Forfatter

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

Related Posts Besvarelser Visninger Aktivitet
1
jun. 19
2841
0
dec. 24
1007
2
jul. 24
5740
0
dec. 21
2220
1
maj 25
853