Přejít na obsah
Menu
You need to be registered to interact with the community.
This question has been flagged
2 Odpovědi
2552 Zobrazení

*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
Zrušit
Nejlepší odpověď

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
Zrušit
Nejlepší odpověď

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
Zrušit
Related Posts Odpovědi Zobrazení Aktivita
0
kvě 23
2115
1
čvc 23
2632
1
čvn 25
1707
1
kvě 25
1018
3
čvc 25
3331