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
- Akuntansi
- Inventaris
- PoS
- Project
- MRP
Pertanyaan ini telah diberikan tanda
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
Menikmati diskusi? Jangan hanya membaca, ikuti!
Buat akun sekarang untuk menikmati fitur eksklufi dan agar terlibat dengan komunitas kami!
DaftarPost Terkait | Replies | Tampilan | Aktivitas | |
---|---|---|---|---|
I can't import data to odoo from an excel table
Diselesaikan
|
|
2
Nov 19
|
6700 | |
how to map project to employee profile - Odoo 11
Diselesaikan
|
|
1
Okt 19
|
3896 | |
|
1
Agu 25
|
3480 | ||
|
1
Okt 24
|
1802 | ||
Employee Bank Account Number
Diselesaikan
|
|
2
Jul 24
|
2028 |