Skip to Content
Меню
Вам необхідно зареєструватися, щоб взаємодіяти зі спільнотою.
Це запитання позначене
2 Відповіді
2629 Переглядів

*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
2165
1
лип. 23
2704
1
черв. 25
1884
1
трав. 25
1259
3
лип. 25
3487