İçereği Atla
Menü
Bu soru işaretlendi
2 Cevaplar
2538 Görünümler

*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
Vazgeç
En İyi Yanıt

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
Vazgeç
En İyi Yanıt

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
Vazgeç
İlgili Gönderiler Cevaplar Görünümler Aktivite
0
May 23
2081
1
Tem 23
2592
1
Haz 25
1672
1
May 25
985
3
Tem 25
3296