Odoo Help


xpath in openerp 7

on 3/8/13, 5:51 PM 4,495 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--
| 7 8 9
Linda-a-Velha, 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

About This Community

This platform 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.


Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now

Question tools

0 follower(s)


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