Skip ke Konten
Menu
Pertanyaan ini telah diberikan tanda
2 Replies
2747 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
2276
1
Jul 23
2818
1
Sep 25
428
1
Sep 25
2231
1
Jun 25
2254