OdooWiki OCA HUB

Contract Forecast Variable Quantity

contract_forecast_variable_quantity folder_open OCA/contract open_in_new
Uncategorised License: AGPL-3

This module extends the contract_forecast and contract_variable_quantity modules to automatically regenerate contract forecasts when the quantity type or quantity formula is modified at the contract line level.

auto_awesome What this module does

AI-generated from the code · Odoo 18.0

This module makes contract forecasts refresh automatically when you change how a contract line calculates its quantity, so the forecast stays in line with the new quantity rule.

When you use recurring contracts together with variable quantities, each contract line can be set to a quantity type and a quantity formula. This module connects those two features so that changing either setting on a contract line triggers a regeneration of the related forecast lines.

  • It extends the contract.line model, so the behaviour is available directly on contract lines.
  • It adds the quantity type and the quantity formula fields to the list of fields that cause a forecast update.
  • As a result, when a user edits the quantity type or picks a different quantity formula on a contract line, the forecast is recalculated automatically instead of staying with the old values.

No new menus, screens, reports, emails or scheduled jobs are added by this module. It only changes the automatic behaviour of contract forecasts when quantity settings change. The module depends on contract_forecast and contract_variable_quantity, which provide the forecast and variable quantity features it builds upon.

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

Text generated by AI (DeepSeek) from reading the Odoo 18.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.