Passa al contenuto
Menu
È necessario essere registrati per interagire con la community.
La domanda è stata contrassegnata
1 Rispondi
3651 Visualizzazioni

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
Abbandona
Autore

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

Risposta migliore

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
Abbandona
Post correlati Risposte Visualizzazioni Attività
0
set 15
5540
2
feb 22
7714
2
feb 24
3944
0
apr 20
3015
0
feb 19
2981