Skip to Content
Meniu
Trebuie să fiți înregistrat pentru a interacționa cu comunitatea.
Această întrebare a fost marcată
2 Răspunsuri
2624 Vizualizări

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

Imagine profil
Abandonează
Cel mai bun răspuns

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

Imagine profil
Abandonează
Cel mai bun răspuns

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



Imagine profil
Abandonează
Related Posts Răspunsuri Vizualizări Activitate
0
mai 23
2157
1
iul. 23
2696
1
iun. 25
1876
1
mai 25
1245
3
iul. 25
3483