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

If an employee is activated, his related records  is updated as undefined. How to handle this in odoo

Suppose if we had created a custom field as many2one using hr.employee and if that employee is deactivated his related records is modified as undefined. I don't need that to modified as undefined

アバター
破棄
著作者 最善の回答

@Jerome Guerriat  For E.g in Attendance Module when an employee is deactivated his attendance record is still available under his name

Deactivated employee and his records in group by


アバター
破棄

So you actually want all related records to be deactivated?

If you archive an employee, you want that employee's attendance to also be archived?

最善の回答

archived records won't be in the result of a standard search, but it should not update any existing relations between models.
Could you give an example with a standard odoo?

アバター
破棄
関連投稿 返信 ビュー 活動
0
7月 19
3845
1
3月 19
4864
3
10月 23
8971
1
9月 23
3403
1
5月 23
2361