8000 Error when displaying dashboard with number card using average and sum functions · Issue #23882 · frappe/frappe · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
Error when displaying dashboard with number card using average and sum functions #23882
Open
@bourouffala

Description

@bourouffala

When creating a number card record with average and sum functions and adding it to the dashboard, an error occurs when attempting to display the dashboard:

psycopg2.errors.GroupingError: column "tabDoctype Name.modified" must appear in the GROUP BY clause or be used in an aggregate function
LINE 5: order by "tabDoctype Name"."modified" DESC

Steps to reproduce the issue

  1. Create a number card record.
  2. Configure the record with average and sum functions.
  3. Add the record to the dashboard.
  4. Display the dashboard.

Expected Behavior:*
The dashboard should be displayed without any errors, showing the number card with the configured average and sum functions.

Actual Behavior:
The mentioned error occurs when attempting to display the dashboard, preventing the proper rendering of the number card.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0