mirror of
https://github.com/bringout/oca-hr.git
synced 2026-04-24 18:12:09 +02:00
Reorganized 67 HR-related modules for better structure: - Moved all odoo-bringout-oca-hr-* packages from packages/oca-technical/ - Now organized in dedicated packages/oca-hr/ submodule - Includes attendance, expense, holiday, employee, and contract modules - Maintains all module functionality while improving project organization This creates a cleaner separation between general technical modules and HR-specific functionality. 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
26 lines
1 KiB
XML
26 lines
1 KiB
XML
<?xml version="1.0" encoding="utf-8" ?>
|
|
<odoo>
|
|
<record id="view_employee_form" model="ir.ui.view">
|
|
<field name="model">hr.employee</field>
|
|
<field name="inherit_id" ref="hr.view_employee_form" />
|
|
<field name="arch" type="xml">
|
|
<xpath expr="//field[@name='name']" position="attributes">
|
|
<attribute name="readonly">1</attribute>
|
|
<attribute name="no_label">1</attribute>
|
|
<attribute name="required">0</attribute>
|
|
</xpath>
|
|
<xpath expr="//h1//field[@name='name']/.." position="after">
|
|
<group>
|
|
<field
|
|
name="lastname"
|
|
attrs="{'required': [('firstname', '=', False)]}"
|
|
/>
|
|
<field
|
|
name="firstname"
|
|
attrs="{'required': [('lastname', '=', False)]}"
|
|
/>
|
|
</group>
|
|
</xpath>
|
|
</field>
|
|
</record>
|
|
</odoo>
|