Skip to Content
Menu
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
To pytanie dostało ostrzeżenie
2 Odpowiedzi
2776 Widoki

*Trying install app for the payroll odoo-15-Enterprise*

KeyError: 'Field schedule_pay referenced in related field definition hr.contract.schedule_pay does not exist.'

Awatar
Odrzuć
Najlepsza odpowiedź

Hi
I am also having this issue and your explanation doesn't quiet give enough clarity
please i would really appreciate if you could help out

Awatar
Odrzuć
Najlepsza odpowiedź

Hi,

The schedule_pay actually referenced with the salary struture_id in the hr. contract module and the payroll module used the compute function to add the schedule_pay field


schedule_pay = fields.Selection(related='structure_type_id.default_struct_id.schedule_pay', depends=())


many2one field for linking the hr. contract module


Hope it helps



Awatar
Odrzuć
Powiązane posty Odpowiedzi Widoki Czynność
0
maj 23
2300
1
lip 23
2830
1
wrz 25
434
1
wrz 25
2258
1
cze 25
2280