Skip to main content
Odoo Community Association

Contract Line Successor

Production/Stable License: AGPL-3 OCA/contract Translate me on Weblate Try me on Runboat

Contract Line Successor extends contract.line model to support advanced contract lifecycle management, including suspension, successor planning, cancellation, and renewal.
It provides a flexible and robust framework for managing complex contract line scenarios in a clean and structured way.

Features

  • Successor and Predecessor Management

    • Link contract lines with successor and predecessor lines.

    • Plan successors automatically or manually after a stop or suspension.

  • Contract Line Lifecycle States

    • Manage contract lines with the following computed states:

      • Upcoming

      • In-Progress

      • To Renew

      • Upcoming Close

      • Closed

      • Canceled

  • Lifecycle Operations

    • Stop a contract line.

    • Plan a successor for a contract line.

    • Stop and plan a successor in one operation (useful for suspensions).

    • Cancel and un-cancel contract lines.

    • Renew contract lines automatically (new line or extension).

  • Auto-Renewal Handling

    • Auto-renewal based on company settings (extend existing line or create a new one).

    • Cron job to automate renewal of eligible contract lines.

  • Data Integrity and Validation

    • Prevent invalid successor or predecessor configurations.

    • Validate state transitions and date overlaps.

    • Ensure clean renewal and cancellation workflows.

  • Audit Trail

    • Automatic posting of chatter messages for lifecycle events like stops, renewals, suspensions, cancellations, etc.

Table of contents

Configuration

  • Auto-Renewal Strategy
    In the company settings, define whether renewing a contract line:
    • Extends the current line (updates date_end),

    • or creates a new successor contract line.

    Field:
    Company > Configuration > Contracts > Create new contract line at renewal
  • Scheduled Actions
    Ensure the scheduled action Contract Line: Auto Renew is activated if you want automatic renewal without manual intervention.

Usage

  1. Select a contract and enable the option “Recurrence at line level?”.

  2. Once enabled, you will have access to several actions at the contract line level:

    • Stop a contract line and optionally plan a successor.

    • Handle temporary suspensions and resume the contract line after the suspension period.

    • Cancel and un-cancel contract lines if necessary.

    • Renew contract lines either by extending the current line or by creating a new successor line automatically.

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

  • ACSONE SA/NV

Contributors

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.

Current maintainer:

sbejaoui

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

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

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

File details

Details for the file odoo_addon_contract_line_successor-19.0.1.0.0.2-py3-none-any.whl.

File metadata

File hashes

Hashes for odoo_addon_contract_line_successor-19.0.1.0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 0b142db436aab652fd6831296537046a37e2440265b8644b8c646582b2e64678
MD5 9315331031a77b6f8bdf1445ba3477e2
BLAKE2b-256 1608c31c567989f302f2121790397ffc5d03e1d0e3de6801beeff2abe8f50bb1

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

19.0.1.0.0.2 This release

1 file

18.0.1.0.2

1 file

18.0.1.0.1.14

1 file

18.0.1.0.1.11

1 file

18.0.1.0.1.10

1 file

18.0.1.0.1.9

1 file

18.0.1.0.1.7

1 file

18.0.1.0.1.6

1 file

18.0.1.0.1.3

1 file

18.0.1.0.1.2

1 file

18.0.1.0.1.1

1 file

18.0.1.0.1

1 file

18.0.1.0.0.5

1 file

18.0.1.0.0.4

1 file

18.0.1.0.0.2

1 file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page