Pular para o conteúdo
Menu
Esta pergunta foi sinalizada
2 Respostas
8180 Visualizações

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

Avatar
Cancelar
Melhor resposta

Hi,

look the code again, personally I see this :

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

Bye

Avatar
Cancelar
Autor

thanks it works with this expression

This question can be closed by validating my answer. Bye

Autor

Sorry, I thought i closed it

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

Melhor resposta

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

Avatar
Cancelar
Autor

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

Publicações relacionadas Respostas Visualizações Atividade
1
nov. 24
1782
5
jul. 24
93284
1
dez. 23
3157
1
mai. 22
3818
0
jan. 20
3030