From 63c93cf5c339c3a8a4cc58984d426df00864d8ae 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/views/contract.xml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/contract/views/contract.xml b/contract/views/contract.xml index 5a5a8f6b3..94186f681 100644 --- a/contract/views/contract.xml +++ b/contract/views/contract.xml @@ -148,7 +148,11 @@ - +