Skip to content

[19.0][MIG] contract_line_successor - #1370

Open
bosd wants to merge 8 commits into
OCA:19.0from
bosd:19.0-mig-contract_line_successor
Open

[19.0][MIG] contract_line_successor#1370
bosd wants to merge 8 commits into
OCA:19.0from
bosd:19.0-mig-contract_line_successor

Conversation

@bosd

@bosd bosd commented Dec 29, 2025

Copy link
Copy Markdown
Contributor

Standard migration using odoo-module-migrator /ocabot migration contract_line_successor .

@bosd
bosd force-pushed the 19.0-mig-contract_line_successor branch from 492b042 to 4cce567 Compare December 29, 2025 23:44
@bosd
bosd force-pushed the 19.0-mig-contract_line_successor branch 2 times, most recently from de9c38d to 873410f Compare December 30, 2025 10:28
@bosd
bosd marked this pull request as ready for review December 30, 2025 10:30
@bosd
bosd force-pushed the 19.0-mig-contract_line_successor branch from 873410f to 361a5df Compare December 30, 2025 10:30

@CRogos CRogos left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code review LGTM, but not tested because runboat not available. Maybe rebase?

Some of the commits should also be squashed.

Image

@MohamedOsman7

Copy link
Copy Markdown

@bosd Are you still working on this? Please check #1370 (review)

@bosd

bosd commented May 8, 2026

Copy link
Copy Markdown
Contributor Author

@bosd Are you still working on this? Please check #1370 (review)

No not actively. we use it in production. the commit you mention is a nice to have. no functional impact.
This branch is currentlly blocked by not having the base module merged.
@MohamedOsman7 Can you please leave a review, to keep progress on this pr.

@bosd
bosd force-pushed the 19.0-mig-contract_line_successor branch from 361a5df to e8e5cb0 Compare May 8, 2026 11:34
@OCA-git-bot OCA-git-bot added series:19.0 mod:contract_line_successor Module contract_line_successor labels May 8, 2026
@bosd
bosd requested a review from CRogos May 8, 2026 11:34
@bosd
bosd force-pushed the 19.0-mig-contract_line_successor branch from e8e5cb0 to a33b4dd Compare May 12, 2026 15:09
@@ -818,15 +834,16 @@ def cron_renew_contract_line(self):

def unlink(self):

@MohamedOsman7 MohamedOsman7 May 13, 2026

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@bosd Is this function still necessary if validation is no longer needed here?

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@bosd

@bosd Is this function still necessary if validation is no longer needed here?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You're right — removed it. With the validation gone, the override only called super().unlink(), so it was dead code (and the docstring was stale). test_unlink still passes since the inherited behaviour is identical.

Comment thread contract_line_successor/test-requirements.txt Outdated
@bosd
bosd force-pushed the 19.0-mig-contract_line_successor branch 2 times, most recently from f65e04c to 65bf6b8 Compare June 11, 2026 07:16
@bosd
bosd requested a review from MohamedOsman7 June 11, 2026 08:21
@Larsq1 Larsq1 mentioned this pull request Jun 15, 2026
5 tasks
sbejaoui and others added 6 commits June 17, 2026 08:54
…contract_termination

[REF] contract: remove abstract conract model

simplify contract definition

[IMP] contract: clean UI and improve UX

[FIX] contract: fix tour test

[IMP] contract: several imp

- use Command
- mark _update_recurring_next_date deprecated
- use list instead of tree

[FIX] contract: recurring_next_date is required only if next_period_date_end is set

[IMP] contract: contract template inherit from mail thread

[IMP] index contract.template product_id

[IMP] contract_line_successor: Auto renew interval should be different then 0

[FIX] contract_line_successor: Adding markup to messages

[IMP] contract: simplify multi-company ir.rule domain

[IMP] contract: remove invisible fields

[IMP] contract: use Command new sytnax

[FIX] contract: remove useless odoo-modules declaration in js

[FIX] contract: use text-end in report
Currently translated at 100.0% (87 of 87 strings)

Translation: contract-18.0/contract-18.0-contract_line_successor
Translate-URL: https://translation.odoo-community.org/projects/contract-18-0/contract-18-0-contract_line_successor/it/
@bosd
bosd force-pushed the 19.0-mig-contract_line_successor branch from 65bf6b8 to 6ba8544 Compare June 17, 2026 06:55
@bosd

bosd commented Jun 17, 2026

Copy link
Copy Markdown
Contributor Author

Updated, thanks @MohamedOsman7 @CRogos:

@MohamedOsman7 MohamedOsman7 left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@CRogos CRogos left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code review LGTM, but not tested.

@OCA-git-bot

Copy link
Copy Markdown
Contributor

This PR has the approved label and has been created more than 5 days ago. It should therefore be ready to merge by a maintainer (or a PSC member if the concerned addon has no declared maintainer). 🤖

@MohamedOsman7

Copy link
Copy Markdown

@pedrobaeza could you merge?

@pedrobaeza

Copy link
Copy Markdown
Member

An extra review from PSC/maintainer is needed.

/ocabot migration contract_line_successor

@OCA-git-bot OCA-git-bot added this to the 19.0 milestone Jul 6, 2026
@OCA-git-bot

Copy link
Copy Markdown
Contributor

The migration issue (#1310) has not been updated to reference the current pull request because a previous pull request (#1334) is not closed.
Perhaps you should check that there is no duplicate work.
CC @Wodran14

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.