1 <?xml version="1.0" encoding="utf-8"?>
5 <record id="hr_contract_form_l10n_be_inherit" model="ir.ui.view">
6 <field name="name">hr.contract.form.inherit</field>
7 <field name="model">hr.contract</field>
8 <field name="type">form</field>
9 <field name="priority">20</field>
10 <field name="inherit_id" ref="hr_contract.hr_contract_view_form"/>
11 <field name="arch" type="xml">
13 <xpath expr="/form/notebook/page[@name='information']/group[@name='right_column']/field[@name='struct_id']" position="after">
14 <field name="travel_reimbursement_amount"/>
15 <field name="car_company_amount"/>
16 <field name="misc_onss_deduction"/>
17 <field name="meal_voucher_amount"/>
18 <field name="misc_advantage_amount"/>
19 <separator string="Miscellaneous" colspan="2"/>
20 <field name="additional_net_amount"/>
21 <field name="retained_net_amount"/>
23 <xpath expr="/form/notebook/page/group/field[@name='trial_date_end']" position="after">
24 <group colspan="2" col="2">
25 <separator string="by Worker" colspan="2"/>
26 <field name="insurance_employee_deduction"/>
27 <field name="meal_voucher_employee_deduction"/>
28 <field name="car_employee_deduction"/>
35 <!-- <record id="view_employee_marital_required_form" model="ir.ui.view">
36 <field name="name">hr.employee.inherit.form</field>
37 <field name="model">hr.employee</field>
38 <field name="type">form</field>
39 <field name="priority">25</field>
40 <field name="inherit_id" ref="hr.view_employee_form"/>
41 <field name="arch" type="xml">
42 <field name="marital" position="replace">
47 <record id="hr_employee_form__l10n_be_view_for" model="ir.ui.view">
48 <field name="name">hr.employee.inherit.form</field>
49 <field name="model">hr.employee</field>
50 <field name="inherit_id" ref="hr.view_employee_form"/>
51 <field name="priority">30</field>
52 <field name="arch" type="xml">
54 <!-- <xpath expr="/form/notebook/page/group/field[@name='birthday']" position="after">
55 <field name="marital" required="True"/>
57 <xpath expr="/form/notebook/page/group/field[@name='gender']" position="before">
58 <field name="resident_bool" eval="False"/>
60 <xpath expr="/form/notebook/page/group/field[@name='marital']" position="after">
61 <field name="spouse_fiscal_status" attrs="{'invisible':[('marital','!=','married')],'required':[('marital','=','married')]}" colspan="1" help="if spouse has professionnel income or not"/>
62 <field name="disabled_spouse_bool" attrs="{'invisible':[('marital','!=','married')]}" colspan="1"/>
64 <xpath expr="/form/notebook/page/group/field[@name='children']" position="after">
65 <field name="disabled_children_bool"/>
66 <field name="disabled_children_number" attrs="{'invisible':[('disabled_children_bool','!=',True)]}" colspan="1" help="number of dependent children declared as disabled"/>