跳至內容
選單
此問題已被標幟
2 回覆
6203 瀏覽次數

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.

頭像
捨棄

How to override Odoo functions

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

最佳答案

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.

頭像
捨棄
最佳答案

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.

頭像
捨棄
相關帖文 回覆 瀏覽次數 活動
1
8月 25
122
1
8月 25
3623
1
5月 25
1490
1
3月 25
1617
1
2月 25
3614