OdooWiki OCA HUB

Project Forecast Lines Holidays Public

project_forecast_line_holidays_public folder_open OCA/project open_in_new
Project License: AGPL-3

This module adds forecast line to project taking public holidays into account.

auto_awesome What this module does

AI-generated from the code · Odoo 15.0

Makes project forecast lines skip public holidays, so planned work is not scheduled on days the company is closed. Adds a company setting to recompute forecasts right away when a public holiday is created.

This module connects project forecasting with the public holidays calendar. When Odoo builds or refreshes forecast lines on forecast.line, it now excludes public holidays, so planned hours are not placed on days the company is closed.

It also watches the public holiday lines (hr.holidays.public.line). Each time a new public holiday is created, Odoo can immediately refresh the forecast lines so the planning reflects the new day off.

A new option appears in the Project settings screen: "Recompute forecast lines immediately". It is stored per company on res.company and is turned on by default. When it is checked, creating a public holiday triggers the forecast recomputation automatically; when unchecked, the recalculation is left to the normal scheduled job.

The setting is shown in the same settings block used by the project forecast line configuration, and it is marked as company-specific for multi-company databases. The module does not add new menus or reports; it changes how existing forecast lines are computed and adds one configuration checkbox.

Models and fields (4)
  • res.company · extends an existing modelimmediate_compute_forecast_line (Recompute forecast lines immediately)
  • forecast.line · extends an existing model
  • res.config.settings · extends an existing modelimmediate_compute_forecast_line
  • hr.holidays.public.line · 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.

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.