Skip to Content
Menu
This question has been flagged
1 Reply
1299 Views
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
Discard
Best Answer

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
Discard
Author

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 Replies Views Activity
1
Jun 19
1924
0
Dec 24
18
2
Jul 24
4365
0
Dec 21
1269
1
Dec 24
398