Skip to Content
Menu
Dette spørgsmål er blevet anmeldt
2 Besvarelser
2664 Visninger

*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.'

Avatar
Kassér
Bedste svar

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

Avatar
Kassér
Bedste svar

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



Avatar
Kassér
Related Posts Besvarelser Visninger Aktivitet
0
maj 23
2184
1
jul. 23
2713
0
aug. 25
110
1
jun. 25
1939
1
maj 25
1313