OdooWiki OCA HUB

Board Eval Context

board_eval_context folder_open OCA/reporting-engine open_in_new
Extra Tools License: AGPL-3

This module adds some useful keys in the evaluation context of board.board records, which can be useful when creating generic boards for all the users of an instance.

At the moment it allows using the following values in the domains of a board.board record:

  • datetime: the datetime.datetime class
  • date: the datetime.date class
  • timedelta: the datetime.timedelta class
  • timezone: the datetime.timezone class
  • tzinfo: the datetime.tzinfo class
  • relativedelta: the dateutil.relativedelta.relativedelta class
  • uid: the ID of the current user

auto_awesome What this module does

AI-generated from the code · Odoo 15.0

This module lets board dashboards use dynamic dates and the current user in their filters, so a single shared board can show different data for each user and for periods like today, this month or the last 30 days.

Boards in Odoo are dashboards made of actions whose filters are written as domains. This module extends the board.board model so those filters can use date and time helpers plus the current user.

When a board is displayed, the module prepares an evaluation context containing the Python classes datetime, date, timedelta, timezone, tzinfo and relativedelta, and the ID of the logged-in user as uid. It then rewrites the board layout before it is shown: every action filter is evaluated with that context and replaced by the resulting concrete domain.

What this means for users: - A board can be built once and shared with everyone, while its filters still adapt to each user through uid. - Filters can express relative periods such as today, this week or the last 30 days using date, datetime, timedelta and relativedelta. - Timezone-related classes are available for filters that need timezone handling.

There are no new menus, buttons, reports or settings. The change is invisible in the interface except that shared boards with dynamic filters now work correctly. It only affects the board.board model and the actions placed on boards.

Depends on

board
Models and fields (1)
  • board.board · extends an existing model

Text generated by AI (DeepSeek) from reading the Odoo 15.0 code on GitHub; it may contain mistakes, so check the code before deciding. View the code on GitHub

Availability by version

Reviewed: 2026-11-03
Confirmed (verified in repository and branch) Estimated (unverified) No information

Confirmation status: 1 confirmed, 8 with no information of 9 versions.

Sources · Odoo 15.0

Confirmed on 2026-11-03 in branch 15.0 of OCA/reporting-engine.

terminal Installation and usage

No verified information

Installation instructions, the distribution package, dependencies and configuration steps are not shown because they have not yet been verified in the module documentation for any version.

info

Data imported from GitHub: this sheet reflects the latest catalog review, not a live lookup. Always check the module documentation and staging before installing in production.