Skip to Content
Odoo Menu
  • Sign in
  • Try it free
  • Apps
    Finance
    • Accounting
    • Invoicing
    • Expenses
    • Spreadsheet (BI)
    • Documents
    • Sign
    Sales
    • CRM
    • Sales
    • POS Shop
    • POS Restaurant
    • Subscriptions
    • Rental
    Websites
    • Website Builder
    • eCommerce
    • Blog
    • Forum
    • Live Chat
    • eLearning
    Supply Chain
    • Inventory
    • Manufacturing
    • PLM
    • Purchase
    • Maintenance
    • Quality
    Human Resources
    • Employees
    • Recruitment
    • Time Off
    • Appraisals
    • Referrals
    • Fleet
    Marketing
    • Social Marketing
    • Email Marketing
    • SMS Marketing
    • Events
    • Marketing Automation
    • Surveys
    Services
    • Project
    • Timesheets
    • Field Service
    • Helpdesk
    • Planning
    • Appointments
    Productivity
    • Discuss
    • Approvals
    • IoT
    • VoIP
    • Knowledge
    • WhatsApp
    Third party apps Odoo Studio Odoo Cloud Platform
  • Industries
    Retail
    • Book Store
    • Clothing Store
    • Furniture Store
    • Grocery Store
    • Hardware Store
    • Toy Store
    Food & Hospitality
    • Bar and Pub
    • Restaurant
    • Fast Food
    • Guest House
    • Beverage Distributor
    • Hotel
    Real Estate
    • Real Estate Agency
    • Architecture Firm
    • Construction
    • Estate Management
    • Gardening
    • Property Owner Association
    Consulting
    • Accounting Firm
    • Odoo Partner
    • Marketing Agency
    • Law firm
    • Talent Acquisition
    • Audit & Certification
    Manufacturing
    • Textile
    • Metal
    • Furnitures
    • Food
    • Brewery
    • Corporate Gifts
    Health & Fitness
    • Sports Club
    • Eyewear Store
    • Fitness Center
    • Wellness Practitioners
    • Pharmacy
    • Hair Salon
    Trades
    • Handyman
    • IT Hardware & Support
    • Solar Energy Systems
    • Shoe Maker
    • Cleaning Services
    • HVAC Services
    Others
    • Nonprofit Organization
    • Environmental Agency
    • Billboard Rental
    • Photography
    • Bike Leasing
    • Software Reseller
    Browse all Industries
  • Community
    Learn
    • Tutorials
    • Documentation
    • Certifications
    • Training
    • Blog
    • Podcast
    Empower Education
    • Education Program
    • Scale Up! Business Game
    • Visit Odoo
    Get the Software
    • Download
    • Compare Editions
    • Releases
    Collaborate
    • Github
    • Forum
    • Events
    • Translations
    • Become a Partner
    • Services for Partners
    • Register your Accounting Firm
    Get Services
    • Find a Partner
    • Find an Accountant
      • Get a Tailored Demo
    • Implementation Services
    • Customer References
    • Support
    • Upgrades
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +32 2 290 34 90
    • Get a Tailored Demo
  • Pricing
  • Help
  1. APPS
  2. project
  3. Project Forecast Lines v 15.0
  4. Sales Conditions FAQ

Project Forecast Lines

by Camptocamp https://github.com/OCA/project , Odoo Community Association (OCA) https://github.com/OCA/project
Odoo
v 15.0 Third Party 26
Download for v 15.0 Deploy on Odoo.sh
Apps purchases are linked to your Odoo account, please sign in or sign up first.
Availability
Odoo Online
Odoo.sh
On Premise
Odoo Apps Dependencies • Time Off (hr_holidays)
• Project (project)
• Sales (sale_management)
• Discuss (mail)
• Invoicing (account)
• Employees (hr)
• Calendar (calendar)
Lines of code 1434
Technical Name project_forecast_line
LicenseAGPL-3
Websitehttps://github.com/OCA/project
You bought this module and need support? Click here!

Project Forecast Lines

Alpha License: AGPL-3 OCA/project Translate me on Weblate Try me on Runboat

This module allows to plan your resources using forecast lines.

For each employee of the company, the module will generate forecast line records with a positive capacity based on their working time schedules. Then, tasks assigned to employees will generate forecast lines with a negative capacity which will “consume” the work time capacity of the employees.

The idea is that you can then see the work capacity and scheduled work of people by summing the “forecasts” per time period. If you have more resources (positive forecast) than work (negative forecast) you will have a positive net sum. Otherwise you are in trouble and need to recruit or reschedule your work. Another way to use the report is checking when the work capacity of a department becomes positive (or high enough) in order to provide you potential customers with an estimate of when a project would be able to start.

Forecast lines also come in two states “forecast” or “confirmed”, depending on whether the consumption is confirmed or not. For instance, holidays requests and sales quotation lines create lines of type “forecast”, whereas tasks for project which are in a running state create lines with type “confirmed”.

To get the best experience using the Forecast application you may want to install:

  • project_forecast_line_holidays_public module which takes public holidays into account during forecast lines creation
  • project_forecast_line_bokeh_chart module which improves the reports of project_forecast_line module by using the bokeh widget available in OCA/web

Important

This is an alpha version, the data model and design can change at any time without warning. Only for development or testing purpose, do not use in production. More details on development status

Table of contents

  • Usage
  • Bug Tracker
  • Credits
    • Authors
    • Contributors
    • Maintainers

Usage

Forecast lines have the following data:

  • Forecast hours: it is positive for resources (employees) and negative for things which consume time (project tasks, for instance)
  • From and To date which are the beginning and ending of the period of the capacity
  • Consolidated forecast: this is a computed field, which is computed as follows:
    • for costs (project tasks for instance) we take the absolute value of the forecast hours (so it is a positive number)
    • for resources (employee capacity for a period), we take the capacity and substract all the costs for that employee on the same period. So it will be positive if the employee still has some free time, and negative if he is overloaded with work.
    • this consolidated forecast is currently converted to days to ease readability of the forecast report

Objects creating forecast lines:

  • employees with a forecast role will create forecast line with a positive capacity and type “confirmed” for each day on which they work. This information comes from their work calendar, and the different roles that are linked to the employee.
  • draft sale orders (if enabled in the settings) will create forecast lines of type “forecast” for each sale order line having a product with a forecast role and start and end dates. The forecast hours are negative
  • confirmed sale orders don’t create forecast lines. This is handled by the tasks created at the confirmation of the sale order
  • project tasks create forecast lines if they have a linked role and planned start/end dates. The type of the line will depend on the related project’s stage. The forecast_hours field is based on the remaining time of the task, which is spread on the work days of the planned start and end date of the task. If the current date is in the middle of the planned duration of the task, it is used as the start date. If the planned end date is in the past the task does not generate forecast lines (and you need to fix your planning). In case multiple employees are assigned to the task the forecast is split equally between them.
  • holiday requests create negative forecast lines with type “forecast” when they are pending manager validation.
  • Validated holiday requests do not generate forecast lines, as they alter the work calendar of the employee: the employee will not have a positive line associated to his leave days.

The creation of forecast lines is done either in real time when some actions are performed by the user (requesting leaves, updating the remaining time on a project task, timesheeting) and also via a cron that runs on a daily basis. The cron is required to cleanup lines related to dates in the past and to recompute the lines related to project tasks by computing the ratio of remaing time on the tasks on the remaining days, for tasks which are in progress. So, to start using consolidated forecast report you first need to set everything mentioned in Usage section. Then, probably run Forecast recomputation cron manually from Scheduled Actions or wait till cron creates records.

Bug Tracker

Bugs are tracked on GitHub Issues. In case of trouble, please check there if your issue has already been reported. If you spotted it first, help us to smash it by providing a detailed and welcomed feedback.

Do not contact contributors directly about support or help with technical issues.

Credits

Authors

  • Camptocamp

Contributors

  • Alexandre Fayolle <alexandre.fayolle@camptocamp.com>
  • Maksym Yankin <maksym.yankin@camptocamp.com>

Maintainers

This module is maintained by the OCA.

Odoo Community Association

OCA, or the Odoo Community Association, is a nonprofit organization whose mission is to support the collaborative development of Odoo features and promote its widespread use.

This module is part of the OCA/project project on GitHub.

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.

Please log in to comment on this module

  • The author can leave a single reply to each comment.
  • This section is meant to ask simple questions or leave a rating. Every report of a problem experienced while using the module should be addressed to the author directly (refer to the following point).
  • If you want to start a discussion with the author, please use the developer contact information. They can usually be found in the description.
Please choose a rating from 1 to 5 for this module.
Community
  • Tutorials
  • Documentation
  • Forum
Open Source
  • Download
  • Github
  • Runbot
  • Translations
Services
  • Odoo.sh Hosting
  • Support
  • Upgrade
  • Custom Developments
  • Education
  • Find an Accountant
  • Find a Partner
  • Become a Partner
About us
  • Our company
  • Brand Assets
  • Contact us
  • Jobs
  • Events
  • Podcast
  • Blog
  • Customers
  • Legal • Privacy
  • Security

Odoo is a suite of open source business apps that cover all your company needs: CRM, eCommerce, accounting, inventory, point of sale, project management, etc.

Odoo's unique value proposition is to be at the same time very easy to use and fully integrated.

Website made with