~unifield-team/unifield-wm/us-671-homere

« back to all changes in this revision

Viewing changes to msf_homere_interface/hr_view.xml

  • Committer: Olivier DOSSMANN
  • Date: 2012-02-29 16:28:11 UTC
  • mto: (634.5.84 UF_822_homere_interface)
  • mto: This revision was merged to the branch mainline in revision 726.
  • Revision ID: olivier@tempo-laptop-20120229162811-5ees6ydtesfwys38
UF-822 [ADD] Customize employee view

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<?xml version="1.0" encoding="UTF-8"?>
 
2
<openerp>
 
3
    <data>
 
4
 
 
5
    <record id="inherit_view_employee_form" model="ir.ui.view">
 
6
        <field name="name">inherit.view.employee.form</field>
 
7
        <field name="model">hr.employee</field>
 
8
        <field name="type">form</field>
 
9
        <field name="inherit_id" ref="hr.view_employee_form"/>
 
10
        <field name="arch" type="xml">
 
11
            <data>
 
12
                <xpath expr="/form/notebook" position="before">
 
13
                    <group colspan="4" col="8">
 
14
                        <field name="cost_center_id"/>
 
15
                        <field name="funding_pool_id"/>
 
16
                        <field name="free1_id"/>
 
17
                        <field name="free2_id"/>
 
18
                    </group>
 
19
                </xpath>
 
20
                <xpath expr="/form/group[1]/group[1]/field[@name='active']" position="after">
 
21
                    <field name="date_from"/>
 
22
                    <field name="employee_type"/>
 
23
                </xpath>
 
24
            </data>
 
25
        </field>
 
26
    </record>
 
27
 
 
28
    </data>
 
29
</openerp>