Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
2 Trả lời
6195 Lượt xem

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.

Ảnh đại diện
Huỷ bỏ

How to override Odoo functions

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

Câu trả lời hay nhất

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.

Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

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.

Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
1
thg 8 25
114
1
thg 8 25
3620
1
thg 5 25
1483
1
thg 3 25
1615
MERGING CONTACTS Đã xử lý
1
thg 2 25
3589