Odoo Help


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.


xpath in openerp 7

on 3/8/13, 5:51 PM 3,786 views

Hi Guys, In Openerp 6.1 i've inherited teh contract view form in a module and it works very well. So when i was trying to install the same module in openerp 7, i' ve got this error 'hr.contract': Element '<xpath expr="/form/notebook/page[@name='information']">' not found in parent view 'hr_contract.hr_contract_view_form' When i take a look in the form view in hr_contract, i did not find any changes. Thanks for helping


Cyril Gaspard (GEM)

--Cyril Gaspard (GEM)--
| 5 6 8
Paris, France
--Cyril Gaspard (GEM)--

Forum contributor since 2008

Cyril Gaspard (GEM)
On 3/8/13, 6:38 PM


look the code again, personally I see this :

<xpath expr="/form/sheet/notebook/page[@name='information']">


thanks it works with this expression

on 3/8/13, 8:02 PM

This question can be closed by validating my answer. Bye

Cyril Gaspard (GEM)
on 3/14/13, 2:23 PM

Sorry, I thought i closed it

on 3/14/13, 8:41 PM

HI, to valid the question, you must check button valid "V" under the number of votes on the top left of the answer witch respond correctly to your question. Bye

Cyril Gaspard (GEM)
on 3/15/13, 8:26 AM

Daniel Reis

--Daniel Reis--
| 6 7 9
Lisbon, Portugal
--Daniel Reis--

Author of the "Odoo Development Essentials" book.

Applications Manager at Securitas Portugal

Github: https://github.com/dreispt

Twitter; @reis_pt

Daniel Reis
On 3/8/13, 7:26 PM

Probably the problem is that the v7 form no longer contains a Notebook Page named `information'.

the page is named 'information' the probléme was tha path, they added "sheet"

on 3/8/13, 8:03 PM

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

0 follower(s)


Asked: 3/8/13, 5:51 PM
Seen: 3786 times
Last updated: 3/16/15, 8:10 AM