Skip to Content
Menu
This question has been flagged
4 Replies
2324 Views
  1. Under personal  Information in Employee :   another tab for: 

h1. Test detail, first name, last name, name of the fund, the

h2. Tax detailsshould be part of the personal information details.

h3. B1 Details: ACCOUNT number

<record id="hrview_view_inherited" model="ir.ui.view">
                <field name="name">HR view</field>
                <field name="model">hr.employee</field>
                <field name="type">form</field>
                <field name="inherit_id" ref="hr.view_employee_form"/>
                <field name="arch" type="xml">
                    <xpath expr="/form/sheet/notebook/page[@string='HR Settings']" position="after">
                    
                    <page string="Emergency Contact Details">
                    <group><field name="contact_number"/></group>
                    <group><field name="contact_number1"/></group>
                    <group><field name="contact_number2"/></group>
                    
                    </page>
                    </xpath>
                    
                    
                     <xpath expr="/form/sheet/notebook/page/group/group[@string="Personal Information"]" position="after">
                    
                     <group string="Test detail">
                        <field name="first_name"/>
                        <field name="last_name"/>
                        <field name="name_fund"/>
                        <field name="state"/>
                        <field name="post_code"/>
                    </group>
                    </xpath> 
                    
                </field>
                </record>

Avatar
Discard
Best Answer

No need to give all the path. Just give <xpath expr="//page[@string='HR Settings']" position="after"> and try.

Avatar
Discard

If it worked please accept this as answer..

Best Answer

<xpath expr="//page[@string='HR Settings']" position="after">

Avatar
Discard
Author Best Answer

Thx..

Avatar
Discard