From 6ffeadf9491f29372c871c26fc492a244fdbb453 Mon Sep 17 00:00:00 2001 From: "Pedro M. Baeza" Date: Tue, 9 Jan 2024 17:51:16 +0100 Subject: [PATCH] [IMP] contract: Protect line recurrrency change If you have defined several contract lines, each one with their recurrency information, unmarking the check "Line recurrency" by mistake and saving will make you lose the configuration in one shot, and also modify the invoceability conditions. Thus, it's reasonable to avoid to uncheck the mark once you have at least one invoice issued for a contract with this mark checked. TT47015 --- contract/README.rst | 2 +- contract/__manifest__.py | 2 +- contract/static/description/index.html | 2 +- contract/views/contract.xml | 6 +++++- 4 files changed, 8 insertions(+), 4 deletions(-) diff --git a/contract/README.rst b/contract/README.rst index 753d8b3d7..ad4859899 100644 --- a/contract/README.rst +++ b/contract/README.rst @@ -7,7 +7,7 @@ Recurring - Contracts Management !! This file is generated by oca-gen-addon-readme !! !! changes will be overwritten. !! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! - !! source digest: sha256:6acdfddf18d7472f33a0023c56017cad5683f2942c3b7fe09c8a8ff3bd7dc039 + !! source digest: sha256:d05526882f94431ba595fd6ff8e8ffda579ca10ba44dee90e198a0738214edb5 !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! .. |badge1| image:: https://img.shields.io/badge/maturity-Production%2FStable-green.png diff --git a/contract/__manifest__.py b/contract/__manifest__.py index 49da00760..909e6143e 100644 --- a/contract/__manifest__.py +++ b/contract/__manifest__.py @@ -11,7 +11,7 @@ { "name": "Recurring - Contracts Management", - "version": "16.0.2.2.0", + "version": "16.0.2.3.0", "category": "Contract Management", "license": "AGPL-3", "author": "Tecnativa, ACSONE SA/NV, Odoo Community Association (OCA)", diff --git a/contract/static/description/index.html b/contract/static/description/index.html index 916ad3469..c85a1ce7f 100644 --- a/contract/static/description/index.html +++ b/contract/static/description/index.html @@ -366,7 +366,7 @@ ul.auto-toc { !! This file is generated by oca-gen-addon-readme !! !! changes will be overwritten. !! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -!! source digest: sha256:6acdfddf18d7472f33a0023c56017cad5683f2942c3b7fe09c8a8ff3bd7dc039 +!! source digest: sha256:d05526882f94431ba595fd6ff8e8ffda579ca10ba44dee90e198a0738214edb5 !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -->

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

This module enables contracts management with recurring diff --git a/contract/views/contract.xml b/contract/views/contract.xml index 53bc67136..dda97738d 100644 --- a/contract/views/contract.xml +++ b/contract/views/contract.xml @@ -148,7 +148,11 @@ - +