Přejít na obsah
Menu
You need to be registered to interact with the community.
This question has been flagged
2 Odpovědi
6206 Zobrazení

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
Zrušit

How to override Odoo functions

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

Nejlepší odpověď

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
Zrušit
Nejlepší odpověď

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
Zrušit
Related Posts Odpovědi Zobrazení Aktivita
1
srp 25
125
1
srp 25
3625
1
kvě 25
1492
1
bře 25
1619
1
úno 25
3627