Overslaan naar inhoud
Menu
Je moet geregistreerd zijn om te kunnen communiceren met de community.
Deze vraag is gerapporteerd
1 Beantwoorden
2271 Weergaven
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
Annuleer
Beste antwoord

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
Annuleer
Auteur

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

Gerelateerde posts Antwoorden Weergaven Activiteit
1
jun. 19
2807
0
dec. 24
976
2
jul. 24
5702
0
dec. 21
2198
1
mei 25
765