Skip to Content
Menu
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
To pytanie dostało ostrzeżenie
1 Odpowiedz
2270 Widoki
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


Awatar
Odrzuć
Najlepsza odpowiedź

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.

Awatar
Odrzuć
Autor

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

Powiązane posty Odpowiedzi Widoki Czynność
1
cze 19
2807
0
gru 24
976
2
lip 24
5702
0
gru 21
2198
1
maj 25
765