Skip to Content
Menu
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
To pytanie dostało ostrzeżenie
2 Odpowiedzi
6187 Widoki

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.

Awatar
Odrzuć

How to override Odoo functions

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

Najlepsza odpowiedź

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.

Awatar
Odrzuć
Najlepsza odpowiedź

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.

Awatar
Odrzuć
Powiązane posty Odpowiedzi Widoki Czynność
1
sie 25
112
1
sie 25
3620
1
maj 25
1482
1
mar 25
1614
MERGING CONTACTS Rozwiązane
1
lut 25
3576