Skip to Content
Menú
This question has been flagged
2 Respostes
852 Vistes

We are getting an error when trying to activate the Ecommerce module. Any ideas on how to fix? Thank you.


RPC_ERROR

Odoo Server Error

Traceback (most recent call last):

  File "/home/odoo/src/odoo/odoo/convert.py", line 709, in _tag_root

    raise ParseError(msg) from None  # Restart with "--log-handler odoo.tools.convert:DEBUG" for complete traceback

odoo.tools.convert.ParseError: while parsing None:2336

Error while validating view:


Element '' cannot be located in parent view


View error context:

{'file': '/home/odoo/src/odoo/addons/website_sale/views/templates.xml',

'line': 2,

'name': 'Orders Followup Products Links',

'view': ir.ui.view(7590,),

'view.model': False,

'view.parent': ir.ui.view(1794,),

'xmlid': 'sale_order_portal_content_inherit_website_sale'}





Avatar
Descartar
Autor Best Answer

Thank you for the help Paresh. I greatly appreciate it.


Avatar
Descartar
Best Answer

Hi Doug: This seems to be a bug in the code that multiple clients are facing.

Here's a workaround till Odoo issues a fix:

Comment out these 3 lines in the code. The parent view does not have a div matching the expression that this inherited view is looking for.

https://github.com/odoo/odoo/blob/16.0/addons/website_sale/views/templates.xml#L2337-L2339


Avatar
Descartar