コンテンツへスキップ
メニュー
この質問にフラグが付けられました
2 返信
2764 ビュー

*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
5月 23
2295
1
7月 23
2827
1
9月 25
434
1
9月 25
2247
1
6月 25
2270