跳至内容
菜单
此问题已终结
3 回复
415 查看

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

形象
丢弃
编写者 最佳答案

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

形象
丢弃
最佳答案

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

形象
丢弃
最佳答案

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

形象
丢弃
相关帖文 回复 查看 活动
1
4月 25
1466
0
3月 21
1775
0
9月 20
2827
0
10月 19
3734