*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.'
*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
สร้างบัญชีวันนี้เพื่อเพลิดเพลินไปกับฟีเจอร์พิเศษและมีส่วนร่วมกับคอมมูนิตี้ที่ยอดเยี่ยมของเรา!
ลงชื่อ| Related Posts | ตอบกลับ | มุมมอง | กิจกรรม | |
|---|---|---|---|---|
|
0
พ.ค. 23
|
3466 | |||
|
1
ก.ค. 23
|
4251 | |||
|
0
มี.ค. 26
|
16 | |||
|
Timesheet App in backoffice
แก้ไขแล้ว
|
2
มี.ค. 26
|
4450 | ||
|
1
มี.ค. 26
|
1631 |
1. Use the live chat to ask your questions.
2. The operator answers within a few minutes.