Skip to Content
Menú
This question has been flagged
1 Respondre
3511 Vistes

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
Descartar
Autor

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
Descartar
Related Posts Respostes Vistes Activitat
0
de set. 15
5454
2
de febr. 22
7590
2
de febr. 24
3848
0
d’abr. 20
2965
0
de febr. 19
2899