Skip to Content
Menu
This question has been flagged
1 Reply
2053 Views

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'}


Avatar
Discard
Author

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'}

Best Answer

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.

Avatar
Discard
Related Posts Replies Views Activity
0
Sep 15
4622
2
Feb 22
6410
2
Feb 24
3190
0
Apr 20
2389
0
Feb 19
2252