Contract Forecast Variable Quantity
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.0This 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.linemodel, 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-03Confirmation status: 1 confirmed, 8 with no information of 9 versions.
Sources · Odoo 18.0
Confirmed on 2026-11-03 in branch 18.0 of OCA/contract.
terminal Installation and usage
No verified informationInstallation 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.
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.