Siirry sisältöön
Menu
Sinun on rekisteröidyttävä, jotta voit olla vuorovaikutuksessa yhteisön kanssa.
Tämä kysymys on merkitty
2 Vastaukset
7468 Näkymät

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
Hylkää
Tekijä Paras vastaus

@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
Hylkää

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?

Paras vastaus

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
Hylkää
Aiheeseen liittyviä artikkeleita Vastaukset Näkymät Toimenpide
0
heinäk. 19
3845
1
maalisk. 19
4858
3
lokak. 23
8964
1
syysk. 23
3400
1
toukok. 23
2360