Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
2 Trả lời
8183 Lượt xem

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

Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

Hi,

look the code again, personally I see this :

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

Bye

Ảnh đại diện
Huỷ bỏ
Tác giả

thanks it works with this expression

This question can be closed by validating my answer. Bye

Tác giả

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

Câu trả lời hay nhất

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

Ảnh đại diện
Huỷ bỏ
Tác giả

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

Bài viết liên quan Trả lời Lượt xem Hoạt động
1
thg 11 24
1782
5
thg 7 24
93284
1
thg 12 23
3157
1
thg 5 22
3818
0
thg 1 20
3030