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

This is the error displayed while importing the module kindly please rectify:

{'file': '/tmp/tmpgmnv9gyr/whatsapp_redirect/views/view.xml',
'line': 2,
'name': 'res.partner.form',
'view': ir.ui.view(1838,),
'view.model': 'res.partner',
'view.parent': ir.ui.view(128,),
'xmlid': 'whatsapp_res_partner'}


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

Error while importing module 'einv_sa'.

while parsing /tmp/tmpszjkodcy/einv_sa/view/partner.xml:6
Error while validating view:

Element '<xpath expr="//button[@name=&#39;toggle_active&#39;]">' cannot be located in parent view

View error context:
{'file': '/tmp/tmpszjkodcy/einv_sa/view/partner.xml',
'line': 2,
'name': 'res.partner.form',
'view': ir.ui.view(1838,),
'view.model': 'res.partner',
'view.parent': ir.ui.view(128,),
'xmlid': 'view_res_partner_form'}

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

Hi Rahul Raj, 

System tells that the inherited view has no "toggle_active" button. 
Please check the view which you are inherited , is there any "toggle_active" Button added in it. If added, then you need to consider that view for inherit process.

Hope it will help you.

Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
0
thg 9 15
5560
odoo access error Đã xử lý
2
thg 2 22
7726
2
thg 2 24
3964
0
thg 4 20
3017
0
thg 2 19
2986