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.

2

xpath in openerp 7

By
daouda
on 3/8/13, 5:51 PM 3,873 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

5

Cyril Gaspard (GEM)

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

Forum contributor since 2008

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

Hi,

look the code again, personally I see this :

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

Bye

thanks it works with this expression

daouda
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

daouda
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
0

Daniel Reis

--Daniel Reis--
3436
| 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"

daouda
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)

Stats

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