Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ
2 ตอบกลับ
6190 มุมมอง

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.

อวตาร
ละทิ้ง
Related Posts ตอบกลับ มุมมอง กิจกรรม
1
ส.ค. 25
112
1
ส.ค. 25
3620
1
พ.ค. 25
1482
1
มี.ค. 25
1614
MERGING CONTACTS แก้ไขแล้ว
1
ก.พ. 25
3577