Skip ke Konten
Menu
Pertanyaan ini telah diberikan tanda
2 Replies
2519 Tampilan

*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
Buang
Jawaban Terbai

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
Buang
Jawaban Terbai

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
Buang
Post Terkait Replies Tampilan Aktivitas
0
Mei 23
2067
1
Jul 23
2573
1
Jun 25
1554
1
Mei 25
935
3
Jul 25
3218