[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
This commit is contained in:
Pedro M. Baeza
2024-01-09 17:51:16 +01:00
committed by Christopher Rogos
parent 8c396c4c39
commit 6ffeadf949
4 changed files with 8 additions and 4 deletions

View File

@@ -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)",