38 lines
1.4 KiB
XML
38 lines
1.4 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<!--
|
|
Copyright 2026 Nexa Systems Inc.
|
|
License OPL-1 (Odoo Proprietary License v1.0)
|
|
Part of the Fusion Plating product family.
|
|
-->
|
|
<odoo>
|
|
|
|
<!--
|
|
Extend the HR employee form with a "Security (CGP)" notebook page.
|
|
Visible only to the CGP Officer group — a regular HR manager will
|
|
not see this tab or any of the PSA linkage.
|
|
-->
|
|
<record id="view_fp_cgp_hr_employee_form" model="ir.ui.view">
|
|
<field name="name">fp.cgp.hr.employee.form</field>
|
|
<field name="model">hr.employee</field>
|
|
<field name="inherit_id" ref="hr.view_employee_form"/>
|
|
<field name="arch" type="xml">
|
|
<xpath expr="//notebook" position="inside">
|
|
<page string="Security (CGP)"
|
|
groups="fusion_plating_cgp.group_fusion_plating_cgp_officer">
|
|
<group>
|
|
<group string="Personnel Security Assessment">
|
|
<field name="x_fc_cgp_psa_id"/>
|
|
<field name="x_fc_cgp_psa_status"/>
|
|
</group>
|
|
<group string="Role & Access">
|
|
<field name="x_fc_cgp_ai"/>
|
|
<field name="x_fc_cgp_access_level"/>
|
|
</group>
|
|
</group>
|
|
</page>
|
|
</xpath>
|
|
</field>
|
|
</record>
|
|
|
|
</odoo>
|