Odoo Help

Welcome!

This community is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.

0

X path is not working need a help.....

By
Odoo
on 8/20/14, 10:53 PM 702 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>

4

Janeesh

--Janeesh--
1641
| 4 3 4
Cochin, India
--Janeesh--

Odoo Developer

Janeesh
On 8/21/14, 12:45 AM

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

If it worked please accept this as answer..

Janeesh
on 8/21/14, 5:47 AM
0

Odoo

--Odoo --
1328
| 5 2 5
kerala, India
--Odoo --

Working as a Odoo Functional and Technical Expert

Odoo
On 8/21/14, 6:07 AM

Thx..

Your Answer

Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!

About This Community

This community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

1 follower(s)

Stats

Asked: 8/20/14, 10:53 PM
Seen: 702 times
Last updated: 3/16/15, 8:10 AM