*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.'
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
*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
Create an account today to enjoy exclusive features and engage with our awesome community!
Registrar-seRelated Posts | Respostes | Vistes | Activitat | |
---|---|---|---|---|
|
0
de maig 23
|
2060 | ||
|
1
de jul. 23
|
2566 | ||
|
1
de juny 25
|
1491 | ||
|
1
de maig 25
|
930 | ||
|
3
de jul. 25
|
3188 |