Skip to content

[17.0][kpi] FIX KPI module warning #1118

@gustavorangel121

Description

@gustavorangel121

<field name="company_id" group="base.group_multi_company" />

During the installation of the kpi module, I'm getting the following error:

**odoo.addons.base.models.ir_ui_view: attribute 'group' is not valid. Did you mean 'groups'?
View error context:
{'file': '.../kpi/views/kpi_views.xml',
'line': 8,
'name': 'kpi.filter',
'view': ir.ui.view(3470,),
'view.model': 'kpi',
'view.parent': ir.ui.view(),
'xmlid': 'view_kpi_filter'}
**

The line to be fixed:
<field name="company_id" group="base.group_multi_company" />

to:

<field name="company_id" groups="base.group_multi_company" />

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions