Odoo Help

2

xpath in openerp 7

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

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.

Register

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)

Stats

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