guohuadeng / odoo_install_script_cn

odoo 无人值守快速安装脚本,odoo13,12,11,10版本均适用

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[11.0] Error when installing addons

bitsnaps opened this issue · comments

Hi,

I got an error when installing any of superbar addons on Odoo v11 CE.

Here is end of the error log:

2021-11-09 21:26:33,513 12191 ERROR fmpi odoo.modules.registry: Failed to load registry
Traceback (most recent call last):
  File "/path/to/odoo/tools/convert.py", line 745, in parse
….
  File "/path/to/odoo/addons/base/ir/ir_ui_view.py", line 350, in _check_xml
    raise ValidationError(_('Invalid view definition'))
odoo.exceptions.ValidationError: ('Invalid view definition', None)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
…
  File "/path/to/odoo/addons/base/ir/ir_ui_view.py", line 350, in _check_xml
    raise ValidationError(_('Invalid view definition'))
odoo.tools.convert.ParseError: "Invalid view definition
None" while parsing /path/to/odoo/extra/sunpop/app_project_superbar/views/project_project_views.xml:4, near
<record model="ir.ui.view" id="app_view_project_project_filter">
    <field name="name">app.project.project.select</field>
    <field name="model">project.project</field>
    <field name="inherit_id" ref="project.view_project_project_filter"/>
    <field name="arch" type="xml">
      <xpath expr="//search" position="inside">
        <superbar view_mode="kanban,tree">
          <field name="company_id" groups="base.group_multi_company"/>
          <field name="user_id"/>
          <field name="partner_id" widget="ztree_search" parent_key="parent_id" level="0"/>
        </superbar>
      </xpath>
    </field>
  </record>

OS: Ubuntu 20.04

Sorry, wrong repo.