[IMP] hr(_contract): reorganize employee profile view
- Remove the contract from HR Settings as it's already showing from the smartbutton; - Move `job_id` from the HR Settings; - Move the Payroll group to the Belgian payroll localization. task-3127455 closes odoo/odoo#109552 Related: odoo/enterprise#35621 Signed-off-by: Kevin Baptiste <kba@odoo.com>
This commit is contained in:
@@ -101,6 +101,7 @@
|
||||
</group>
|
||||
<group>
|
||||
<field name="department_id"/>
|
||||
<field name="job_id"/>
|
||||
<field name="parent_id"/>
|
||||
<field name="coach_id"/>
|
||||
</group>
|
||||
@@ -197,9 +198,6 @@
|
||||
<button name="%(hr_employee_print_badge)d" string="Print Badge" class="btn btn-link" type="action" attrs="{'invisible': [('barcode', '=', False)]}"/>
|
||||
</div>
|
||||
</group>
|
||||
<group string='Payroll' name="payroll_group">
|
||||
<field name="job_id"/>
|
||||
</group>
|
||||
<group name="application_group"/>
|
||||
</group>
|
||||
</page>
|
||||
|
||||
@@ -25,9 +25,6 @@
|
||||
attrs="{'invisible': [('calendar_mismatch', '=', False)]}"/>
|
||||
</div>
|
||||
</xpath>
|
||||
<field name="job_id" position="before">
|
||||
<field name="contract_id" groups="hr_contract.group_hr_contract_manager"/>
|
||||
</field>
|
||||
</data>
|
||||
</field>
|
||||
</record>
|
||||
|
||||
Reference in New Issue
Block a user