Public release from ruodoo-project: 19.0 - 2026-11-01 22:52:25 UTC
This commit is contained in:
45
ruodoo_rsbu_mil/views/hr_employee_views.xml
Normal file
45
ruodoo_rsbu_mil/views/hr_employee_views.xml
Normal file
@@ -0,0 +1,45 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<odoo>
|
||||
<record id="view_employee_form_mil" model="ir.ui.view">
|
||||
<field name="name">hr.employee.form.mil</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="Воинский учёт" name="rsbu_mil">
|
||||
<group>
|
||||
<group string="Статус">
|
||||
<field name="rsbu_mil_liable"/>
|
||||
<field name="rsbu_mil_in_reserve"
|
||||
invisible="not rsbu_mil_liable"/>
|
||||
<field name="rsbu_mil_conscript"
|
||||
invisible="not rsbu_mil_liable"/>
|
||||
<field name="rsbu_mil_rank_group"
|
||||
invisible="not rsbu_mil_in_reserve"/>
|
||||
<field name="rsbu_mil_job_category"
|
||||
invisible="not rsbu_mil_liable"/>
|
||||
</group>
|
||||
<group string="Бронирование">
|
||||
<field name="rsbu_mil_booked"
|
||||
invisible="not rsbu_mil_in_reserve"/>
|
||||
<field name="rsbu_mil_mobilization_order"
|
||||
invisible="not rsbu_mil_in_reserve"/>
|
||||
<field name="rsbu_mil_limited_fit"
|
||||
invisible="not rsbu_mil_in_reserve"/>
|
||||
<field name="rsbu_mil_is_driver"
|
||||
invisible="not rsbu_mil_liable"/>
|
||||
</group>
|
||||
</group>
|
||||
<group>
|
||||
<group string="Военный билет">
|
||||
<field name="rsbu_mil_rank"/>
|
||||
<field name="rsbu_mil_vus"/>
|
||||
<field name="rsbu_mil_fitness"/>
|
||||
<field name="rsbu_mil_commissariat"/>
|
||||
</group>
|
||||
</group>
|
||||
</page>
|
||||
</xpath>
|
||||
</field>
|
||||
</record>
|
||||
</odoo>
|
||||
Reference in New Issue
Block a user