Dear
I need your help. Please how can I put the parent_id field of the res.company model in the hr.view.employee.form view of the hr.employee model so that it is below the company_id field?
I wish it were like this:
HR Settings
Company Aicros
Parent Company OSDE
Related user Alberto Mesa
We use Odoo 11.0
I would appreciate your support.
Best regards,
Claudio Zayas
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- CRM
- e-Commerce
- Kế toán
- Tồn kho
- PoS
- Project
- MRP
Câu hỏi này đã bị gắn cờ
Hi Claudio, you may need to add a new related field in hr.employee model:
company_parent_id = fields.Many2one(related='company_id.parent_id', string='Company Parent')
After that, just include the field in your form view
Thank you very much! I applied that and all OK!
Glad it help!
Please mark your question as solved so we can close the case
Glad it help!
Please mark your question as solved so we can close the case
Bạn có hứng thú với cuộc thảo luận không? Đừng chỉ đọc, hãy tham gia nhé!
Tạo tài khoản ngay hôm nay để tận hưởng các tính năng độc đáo và tham gia cộng đồng tuyệt vời của chúng tôi!
Đăng kýBài viết liên quan | Trả lời | Lượt xem | Hoạt động | |
---|---|---|---|---|
|
2
thg 11 19
|
6718 | ||
|
1
thg 10 19
|
3905 | ||
|
1
thg 8 25
|
3491 | ||
|
1
thg 10 24
|
1854 | ||
Employee Bank Account Number
Đã xử lý
|
|
2
thg 7 24
|
2073 |