From 40e060da3f389246c1d85b6579644be70c56919b Mon Sep 17 00:00:00 2001 From: bosd <5e2fd43-d292-4c90-9d1f-74ff3436329a@anonaddy.me> Date: Thu, 18 Jun 2026 19:43:08 +0200 Subject: [PATCH] [IMP] contract: paginate contract lines on the form view The recurring/fixed contract line lists loaded every line at once, which slows down opening contracts with many lines. Add a list `limit` (80, Odoo's default backend list limit) so large contracts paginate instead of rendering all lines up front. Small contracts are unaffected. --- contract/__manifest__.py | 2 +- contract/views/contract.xml | 6 +++++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/contract/__manifest__.py b/contract/__manifest__.py index 644a317788..3a3d86cf0e 100644 --- a/contract/__manifest__.py +++ b/contract/__manifest__.py @@ -11,7 +11,7 @@ { "name": "Recurring - Contracts Management", - "version": "19.0.1.0.0", + "version": "19.0.1.0.1", "category": "Contract Management", "license": "AGPL-3", "author": "Tecnativa, ACSONE SA/NV, Odoo Community Association (OCA)", diff --git a/contract/views/contract.xml b/contract/views/contract.xml index 50dab8bac4..934d11457c 100644 --- a/contract/views/contract.xml +++ b/contract/views/contract.xml @@ -111,6 +111,7 @@ @@ -194,7 +195,10 @@ widget="product_label_section_and_note_field_o2m" context="{'default_contract_type': contract_type}" > - +