Skip to Content
Meniu
Trebuie să fiți înregistrat pentru a interacționa cu comunitatea.
Această întrebare a fost marcată
2 Răspunsuri
6199 Vizualizări

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.

Imagine profil
Abandonează

How to override Odoo functions

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

Cel mai bun răspuns

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.

Imagine profil
Abandonează
Cel mai bun răspuns

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.

Imagine profil
Abandonează
Related Posts Răspunsuri Vizualizări Activitate
1
aug. 25
116
1
aug. 25
3623
1
mai 25
1487
1
mar. 25
1616
1
feb. 25
3603