Skip to Content
Menú
This question has been flagged
2 Respostes
6196 Vistes

There is a column of is_employee in database res_partner. Where as I cannot find field to check is_employee while creating a contact. A partner who is also a employee.

Avatar
Descartar

How to override Odoo functions

Reference: https://goo.gl/4BkizH

Best Answer

If you really want to check "is_employee" than inherit res.partner and create a new boolean field named "is_employee". After that on the creation of contact (override create method of contact) and update "is_employee" field as per your need.

Avatar
Descartar
Best Answer

hello,

in odoo there is no field is_employee.

when you create contact at that time using the partner's related user  and into user table there is field related employee. using this 2 field you can that the contact is also a employee.

Avatar
Descartar
Related Posts Respostes Vistes Activitat
1
d’ag. 25
115
1
d’ag. 25
3620
1
de maig 25
1483
1
de març 25
1615
1
de febr. 25
3598