OdooWiki OCA HUB

Contract Invoice Start End Dates

contract_invoice_start_end_dates folder_open OCA/contract open_in_new
Contract Management License: AGPL-3

This module automatically adds start and end dates to the invoice line generated by a contract if the product is marked as Must have dates.

auto_awesome What this module does

AI-generated from the code · Odoo 19.0

When a contract generates an invoice, this module automatically fills the start and end dates on the invoice line for products that require dates, using the contract's billing period.

This module connects contract management with invoice date tracking. When a contract line is turned into an invoice line, the module checks whether the product on that line is flagged as needing start and end dates.

If the product requires dates, the module calculates the billing period from the last date already invoiced up to the next recurring date, and copies that period onto the invoice line as its start date and end date.

  • No new menus or screens are added; the change happens silently when invoices are created from contracts.
  • The behaviour only applies to products marked as "must have dates"; other products are invoiced exactly as before.
  • It touches the contract line (contract.line) and the invoice line it prepares, so the dates appear on the generated invoice lines.

In practice, users no longer have to type the covered period by hand on invoices coming from contracts: the period is derived from the contract's own schedule. This keeps invoice lines consistent with the subscription or service period they bill.

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

Text generated by AI (DeepSeek) from reading the Odoo 19.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: 6 confirmed, 3 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.