Skip to Content
Menu
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
To pytanie dostało ostrzeżenie
1996 Widoki

Hello, i have some custome module for request employee, and in this form i need hierary chart employee. I try this 

python:

child_ids = fields.One2many('hr.employee', 'manager_user', string='Subordinates')

XML:


id="o_employee_right">

class="o_org_chart_title mb16 mt0">Organization Chart


name="child_ids" widget="hr_org_chart"/>

But error, can you guys help me.

Awatar
Odrzuć

Hi,
you need to add dependency in __manifest__.py file >> "hr" if not added.