Přejít na obsah
Menu
You need to be registered to interact with the community.
This question has been flagged
1 Odpovědět
3644 Zobrazení

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
Zrušit
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'}

Nejlepší odpověď

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
Zrušit
Related Posts Odpovědi Zobrazení Aktivita
0
zář 15
5532
2
úno 22
7711
2
úno 24
3942
0
dub 20
3015
0
úno 19
2981