Skip to Content
Menu
You need to be registered to interact with the community.
This question has been flagged
2 Odgovori
7485 Prikazi

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

Avatar
Opusti
Avtor Best Answer

@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


Avatar
Opusti

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?

Best Answer

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?

Avatar
Opusti
Related Posts Odgovori Prikazi Aktivnost
0
jul. 19
3845
1
mar. 19
4862
3
okt. 23
8967
1
sep. 23
3403
1
maj 23
2361