Repository navigation
[20.0][MIG] contract_line_successor: Migration to 20.0 - #1574
Open
gbaumgartner-callino wants to merge 18 commits into
Open
gbaumgartner-callino wants to merge 18 commits into
gbaumgartner-callino wants to merge 18 commits into
Conversation
…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
…rror in column_invisible
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/
Colour the contract line lists by the line's `state`: - upcoming -> info (blue, like a draft order) - in-progress -> normal - to-renew / upcoming-close -> primary (purple: needs attention before the end date, but not an error) - closed / canceled -> muted Warning (orange) is deliberately left free so it keeps meaning a genuine problem, matching the contract itself (yellow = invoice generation error). This mirrors the contract list colours and Odoo's draft/expired conventions, so a line's status is readable at a glance. Replaces the previous `create_invoice_visibility`-driven blue, which lit in-progress lines that happened to be due for invoicing. The same colours apply everywhere contract lines are listed: the standalone list, both lists on the contract form, and the report view behind Contracts > Reporting > Contract Lines. The report view keeps `state` as a column of its own, as a badge, the way Odoo shows state on invoices and sale orders - there the state is the thing being reported on rather than a hidden input to the row colour. `is_auto_renew` and `is_canceled` move behind the column selector: they are helper flags, and `is_canceled` is now redundant with the row colour.
Currently translated at 100.0% (86 of 86 strings) Translation: contract-19.0/contract-19.0-contract_line_successor Translate-URL: https://translation.odoo-community.org/projects/contract-19-0/contract-19-0-contract_line_successor/nl/
Currently translated at 100.0% (86 of 86 strings) Translation: contract-19.0/contract-19.0-contract_line_successor Translate-URL: https://translation.odoo-community.org/projects/contract-19-0/contract-19-0-contract_line_successor/fr/
This was referenced Oct 28, 2026
Assisted-by: Claude Opus 5.5
gbaumgartner-callino
force-pushed
the
20.0-mig-contract_line_successor
branch
from
October 29, 2026 15:26
3f930e3 to
480aff9
Compare
This was referenced Nov 13, 2026
notsebtho
approved these changes
Nov 13, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Migration to 20.0.
Depends on:
Assisted-by: Claude Opus 5.5