Skip to content

Commit 492b042

Browse files
committed
[MIG] contract_line_successor: Migration to 19.0
1 parent 2b07f62 commit 492b042

File tree

3 files changed

+60
-56
lines changed

3 files changed

+60
-56
lines changed

contract_line_successor/README.rst

Lines changed: 52 additions & 50 deletions
Original file line numberDiff line numberDiff line change
@@ -21,13 +21,13 @@ Contract Line Successor
2121
:target: http://www.gnu.org/licenses/agpl-3.0-standalone.html
2222
:alt: License: AGPL-3
2323
.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fcontract-lightgray.png?logo=github
24-
:target: https://github.com/OCA/contract/tree/18.0/contract_line_successor
24+
:target: https://github.com/OCA/contract/tree/19.0/contract_line_successor
2525
:alt: OCA/contract
2626
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
27-
:target: https://translation.odoo-community.org/projects/contract-18-0/contract-18-0-contract_line_successor
27+
:target: https://translation.odoo-community.org/projects/contract-19-0/contract-19-0-contract_line_successor
2828
:alt: Translate me on Weblate
2929
.. |badge5| image:: https://img.shields.io/badge/runboat-Try%20me-875A7B.png
30-
:target: https://runboat.odoo-community.org/builds?repo=OCA/contract&target_branch=18.0
30+
:target: https://runboat.odoo-community.org/builds?repo=OCA/contract&target_branch=19.0
3131
:alt: Try me on Runboat
3232

3333
|badge1| |badge2| |badge3| |badge4| |badge5|
@@ -41,47 +41,48 @@ Contract Line Successor
4141
Features
4242
--------
4343

44-
- **Successor and Predecessor Management**
44+
- **Successor and Predecessor Management**
4545

46-
- Link contract lines with successor and predecessor lines.
47-
- Plan successors automatically or manually after a stop or
48-
suspension.
46+
- Link contract lines with successor and predecessor lines.
47+
- Plan successors automatically or manually after a stop or
48+
suspension.
4949

50-
- **Contract Line Lifecycle States**
50+
- **Contract Line Lifecycle States**
5151

52-
- Manage contract lines with the following computed states:
52+
- Manage contract lines with the following computed states:
5353

54-
- ``Upcoming``
55-
- ``In-Progress``
56-
- ``To Renew``
57-
- ``Upcoming Close``
58-
- ``Closed``
59-
- ``Canceled``
54+
- ``Upcoming``
55+
- ``In-Progress``
56+
- ``To Renew``
57+
- ``Upcoming Close``
58+
- ``Closed``
59+
- ``Canceled``
6060

61-
- **Lifecycle Operations**
61+
- **Lifecycle Operations**
6262

63-
- Stop a contract line.
64-
- Plan a successor for a contract line.
65-
- Stop and plan a successor in one operation (useful for suspensions).
66-
- Cancel and un-cancel contract lines.
67-
- Renew contract lines automatically (new line or extension).
63+
- Stop a contract line.
64+
- Plan a successor for a contract line.
65+
- Stop and plan a successor in one operation (useful for
66+
suspensions).
67+
- Cancel and un-cancel contract lines.
68+
- Renew contract lines automatically (new line or extension).
6869

69-
- **Auto-Renewal Handling**
70+
- **Auto-Renewal Handling**
7071

71-
- Auto-renewal based on company settings (extend existing line or
72-
create a new one).
73-
- Cron job to automate renewal of eligible contract lines.
72+
- Auto-renewal based on company settings (extend existing line or
73+
create a new one).
74+
- Cron job to automate renewal of eligible contract lines.
7475

75-
- **Data Integrity and Validation**
76+
- **Data Integrity and Validation**
7677

77-
- Prevent invalid successor or predecessor configurations.
78-
- Validate state transitions and date overlaps.
79-
- Ensure clean renewal and cancellation workflows.
78+
- Prevent invalid successor or predecessor configurations.
79+
- Validate state transitions and date overlaps.
80+
- Ensure clean renewal and cancellation workflows.
8081

81-
- **Audit Trail**
82+
- **Audit Trail**
8283

83-
- Automatic posting of chatter messages for lifecycle events like
84-
stops, renewals, suspensions, cancellations, etc.
84+
- Automatic posting of chatter messages for lifecycle events like
85+
stops, renewals, suspensions, cancellations, etc.
8586

8687
**Table of contents**
8788

@@ -91,18 +92,19 @@ Features
9192
Configuration
9293
=============
9394

94-
- | **Auto-Renewal Strategy**
95-
| In the company settings, define whether renewing a contract line:
95+
- | **Auto-Renewal Strategy**
96+
| In the company settings, define whether renewing a contract line:
9697
97-
- Extends the current line (updates ``date_end``),
98-
- or creates a new successor contract line.
98+
- Extends the current line (updates ``date_end``),
99+
- or creates a new successor contract line.
99100

100-
| Field:
101-
| ``Company > Configuration > Contracts > Create new contract line at renewal``
101+
| Field:
102+
| ``Company > Configuration > Contracts > Create new contract line at renewal``
102103
103-
- | **Scheduled Actions**
104-
| Ensure the scheduled action ``Contract Line: Auto Renew`` is
105-
activated if you want automatic renewal without manual intervention.
104+
- | **Scheduled Actions**
105+
| Ensure the scheduled action ``Contract Line: Auto Renew`` is
106+
activated if you want automatic renewal without manual
107+
intervention.
106108
107109
Usage
108110
=====
@@ -112,20 +114,20 @@ Usage
112114
2. Once enabled, you will have access to several actions at the contract
113115
line level:
114116

115-
- **Stop** a contract line and optionally **plan a successor**.
116-
- **Handle temporary suspensions** and **resume** the contract line
117-
after the suspension period.
118-
- **Cancel** and **un-cancel** contract lines if necessary.
119-
- **Renew** contract lines either by **extending** the current line
120-
or by **creating a new successor line** automatically.
117+
- **Stop** a contract line and optionally **plan a successor**.
118+
- **Handle temporary suspensions** and **resume** the contract line
119+
after the suspension period.
120+
- **Cancel** and **un-cancel** contract lines if necessary.
121+
- **Renew** contract lines either by **extending** the current line
122+
or by **creating a new successor line** automatically.
121123

122124
Bug Tracker
123125
===========
124126

125127
Bugs are tracked on `GitHub Issues <https://github.com/OCA/contract/issues>`_.
126128
In case of trouble, please check there if your issue has already been reported.
127129
If you spotted it first, help us to smash it by providing a detailed and welcomed
128-
`feedback <https://github.com/OCA/contract/issues/new?body=module:%20contract_line_successor%0Aversion:%2018.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.
130+
`feedback <https://github.com/OCA/contract/issues/new?body=module:%20contract_line_successor%0Aversion:%2019.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.
129131

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

@@ -140,7 +142,7 @@ Authors
140142
Contributors
141143
------------
142144

143-
- Souheil Bejaoui souheil.bejaoui@acsone.eu (ACSONE SA/NV)
145+
- Souheil Bejaoui souheil.bejaoui@acsone.eu (ACSONE SA/NV)
144146

145147
Maintainers
146148
-----------
@@ -163,6 +165,6 @@ Current `maintainer <https://odoo-community.org/page/maintainer-role>`__:
163165

164166
|maintainer-sbejaoui|
165167

166-
This module is part of the `OCA/contract <https://github.com/OCA/contract/tree/18.0/contract_line_successor>`_ project on GitHub.
168+
This module is part of the `OCA/contract <https://github.com/OCA/contract/tree/19.0/contract_line_successor>`_ project on GitHub.
167169

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

contract_line_successor/__manifest__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44
{
55
"name": "Contract Line Successor",
6-
"version": "18.0.1.0.1",
6+
"version": "19.0.1.0.0",
77
"license": "AGPL-3",
88
"author": "ACSONE SA/NV,Odoo Community Association (OCA)",
99
"website": "https://github.com/OCA/contract",

contract_line_successor/static/description/index.html

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -374,7 +374,7 @@ <h1>Contract Line Successor</h1>
374374
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
375375
!! source digest: sha256:d0875078450d894287efb30f5acc2557d0290d7e2e1a1e3c17a2e54a281a79ae
376376
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -->
377-
<p><a class="reference external image-reference" href="https://odoo-community.org/page/development-status"><img alt="Production/Stable" src="https://img.shields.io/badge/maturity-Production%2FStable-green.png" /></a> <a class="reference external image-reference" href="http://www.gnu.org/licenses/agpl-3.0-standalone.html"><img alt="License: AGPL-3" src="https://img.shields.io/badge/license-AGPL--3-blue.png" /></a> <a class="reference external image-reference" href="https://github.com/OCA/contract/tree/18.0/contract_line_successor"><img alt="OCA/contract" src="https://img.shields.io/badge/github-OCA%2Fcontract-lightgray.png?logo=github" /></a> <a class="reference external image-reference" href="https://translation.odoo-community.org/projects/contract-18-0/contract-18-0-contract_line_successor"><img alt="Translate me on Weblate" src="https://img.shields.io/badge/weblate-Translate%20me-F47D42.png" /></a> <a class="reference external image-reference" href="https://runboat.odoo-community.org/builds?repo=OCA/contract&amp;target_branch=18.0"><img alt="Try me on Runboat" src="https://img.shields.io/badge/runboat-Try%20me-875A7B.png" /></a></p>
377+
<p><a class="reference external image-reference" href="https://odoo-community.org/page/development-status"><img alt="Production/Stable" src="https://img.shields.io/badge/maturity-Production%2FStable-green.png" /></a> <a class="reference external image-reference" href="http://www.gnu.org/licenses/agpl-3.0-standalone.html"><img alt="License: AGPL-3" src="https://img.shields.io/badge/license-AGPL--3-blue.png" /></a> <a class="reference external image-reference" href="https://github.com/OCA/contract/tree/19.0/contract_line_successor"><img alt="OCA/contract" src="https://img.shields.io/badge/github-OCA%2Fcontract-lightgray.png?logo=github" /></a> <a class="reference external image-reference" href="https://translation.odoo-community.org/projects/contract-19-0/contract-19-0-contract_line_successor"><img alt="Translate me on Weblate" src="https://img.shields.io/badge/weblate-Translate%20me-F47D42.png" /></a> <a class="reference external image-reference" href="https://runboat.odoo-community.org/builds?repo=OCA/contract&amp;target_branch=19.0"><img alt="Try me on Runboat" src="https://img.shields.io/badge/runboat-Try%20me-875A7B.png" /></a></p>
378378
<div class="line-block">
379379
<div class="line"><strong>Contract Line Successor</strong> extends <tt class="docutils literal">contract.line</tt> model to support
380380
advanced contract lifecycle management, including suspension,
@@ -406,7 +406,8 @@ <h2>Features</h2>
406406
<li><strong>Lifecycle Operations</strong><ul>
407407
<li>Stop a contract line.</li>
408408
<li>Plan a successor for a contract line.</li>
409-
<li>Stop and plan a successor in one operation (useful for suspensions).</li>
409+
<li>Stop and plan a successor in one operation (useful for
410+
suspensions).</li>
410411
<li>Cancel and un-cancel contract lines.</li>
411412
<li>Renew contract lines automatically (new line or extension).</li>
412413
</ul>
@@ -457,7 +458,8 @@ <h3><a class="toc-backref" href="#toc-entry-1">Configuration</a></h3>
457458
<li><div class="first line-block">
458459
<div class="line"><strong>Scheduled Actions</strong></div>
459460
<div class="line">Ensure the scheduled action <tt class="docutils literal">Contract Line: Auto Renew</tt> is
460-
activated if you want automatic renewal without manual intervention.</div>
461+
activated if you want automatic renewal without manual
462+
intervention.</div>
461463
</div>
462464
</li>
463465
</ul>
@@ -484,7 +486,7 @@ <h3><a class="toc-backref" href="#toc-entry-3">Bug Tracker</a></h3>
484486
<p>Bugs are tracked on <a class="reference external" href="https://github.com/OCA/contract/issues">GitHub Issues</a>.
485487
In case of trouble, please check there if your issue has already been reported.
486488
If you spotted it first, help us to smash it by providing a detailed and welcomed
487-
<a class="reference external" href="https://github.com/OCA/contract/issues/new?body=module:%20contract_line_successor%0Aversion:%2018.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**">feedback</a>.</p>
489+
<a class="reference external" href="https://github.com/OCA/contract/issues/new?body=module:%20contract_line_successor%0Aversion:%2019.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**">feedback</a>.</p>
488490
<p>Do not contact contributors directly about support or help with technical issues.</p>
489491
</div>
490492
<div class="section" id="credits">
@@ -514,7 +516,7 @@ <h2>Maintainers</h2>
514516
promote its widespread use.</p>
515517
<p>Current <a class="reference external" href="https://odoo-community.org/page/maintainer-role">maintainer</a>:</p>
516518
<p><a class="reference external image-reference" href="https://github.com/sbejaoui"><img alt="sbejaoui" src="https://github.com/sbejaoui.png?size=40px" /></a></p>
517-
<p>This module is part of the <a class="reference external" href="https://github.com/OCA/contract/tree/18.0/contract_line_successor">OCA/contract</a> project on GitHub.</p>
519+
<p>This module is part of the <a class="reference external" href="https://github.com/OCA/contract/tree/19.0/contract_line_successor">OCA/contract</a> project on GitHub.</p>
518520
<p>You are welcome to contribute. To learn how please visit <a class="reference external" href="https://odoo-community.org/page/Contribute">https://odoo-community.org/page/Contribute</a>.</p>
519521
</div>
520522
</div>

0 commit comments

Comments
 (0)