Skip to Content
मेन्यू
This question has been flagged
3 Replies
412 Views

I have the following error while i am trying to update all my database on odoo.sh

Traceback (most recent call last):

  File "/home/odoo/src/odoo/odoo/modules/registry.py", line 113, in new

    odoo.modules.load_modules(registry, force_demo, status, update_module)

  File "/home/odoo/src/odoo/odoo/modules/loading.py", line 476, in load_modules

    processed_modules += load_marked_modules(env, graph,

  File "/home/odoo/src/odoo/odoo/modules/loading.py", line 364, in load_marked_modules

    loaded, processed = load_module_graph(

  File "/home/odoo/src/odoo/odoo/modules/loading.py", line 227, in load_module_graph

    load_data(env, idref, mode, kind='data', package=package)

  File "/home/odoo/src/odoo/odoo/modules/loading.py", line 71, in load_data

    tools.convert_file(env, package.name, filename, idref, mode, noupdate, kind)

  File "/home/odoo/src/odoo/odoo/tools/convert.py", line 627, in convert_file

    convert_xml_import(env, module, fp, idref, mode, noupdate)

  File "/home/odoo/src/odoo/odoo/tools/convert.py", line 693, in convert_xml_import

    obj.parse(doc.getroot())

  File "/home/odoo/src/odoo/odoo/tools/convert.py", line 613, in parse

    self._tag_root(de)

  File "/home/odoo/src/odoo/odoo/tools/convert.py", line 567, 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:331

Erreur lors du parsing ou de la validation de la vue :


Element '

' cannot be located in parent view


View error context:

{'file': '/home/odoo/src/odoo/addons/payment/views/portal_templates.xml',

'line': 2,

'name': 'Show Payment Method',

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

'view.model': False,

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

'xmlid': 'portal_my_home_payment'}

I have no custom development on portal

Avatar
Discard
Author Best Answer

Thanks for your answers 

I have checked the view : 


I applied the old view, while i have done no changes.

And after, i still have the same error message

Avatar
Discard
Best Answer

Hi,
As per shared traceback the error seems to be coming from the file:  portal_templates.xml and record portal_my_home_payment

As a quick check, navigate to Views menu in debug mode and search and open this view with name/id:  portal_my_home_payment  and from the action button using compare/reset option, see if there is any change in the view architecture ? may be if some one edited it wrongly

Thanks

Avatar
Discard
Best Answer

Hello if you are using odoo.sh please first contact with odoo support to troubleshot

Avatar
Discard
Related Posts Replies Views Activity
1
अप्रैल 25
1463
0
मार्च 21
1773
0
सित॰ 20
2824
0
अक्तू॰ 19
3733