تخطي للذهاب إلى المحتوى
القائمة
لقد تم الإبلاغ عن هذا السؤال
2 الردود
2618 أدوات العرض

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

الصورة الرمزية
إهمال
أفضل إجابة

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

الصورة الرمزية
إهمال
أفضل إجابة

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



الصورة الرمزية
إهمال
المنشورات ذات الصلة الردود أدوات العرض النشاط
0
مايو 23
2154
1
يوليو 23
2679
1
يونيو 25
1850
1
مايو 25
1229
3
يوليو 25
3469