Skip to content

[18.0] account_financial_report: error non-stored field cannot be searched breaks odoo sh project update #1306

@rrvc12

Description

@rrvc12

Module

account_financial_report

Describe the bug

The field group_id is not stored field in v18.

comodel_name="account.account", inverse_name="group_id", string="Accounts"

This causes the error message in the logs

2025-04-08 23:55:20,702 21 ERROR ############## odoo.osv.expression: Non-stored field account.account.group_id cannot be searched

Image

In an Odoo sh project the error log breaks the code update

To Reproduce

Affected versions: 18.0
Setps:

  1. Install account_financial_report module in odoo sh project
  2. Update odoo sh project or only see the error log in the logs

Expected behavior
Error free log console

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