From ac6170f6aa1efc444fca283b109767a6d6d8fc33 Mon Sep 17 00:00:00 2001 From: Pierrick Muller Date: Wed, 4 Sep 2024 08:52:20 +0200 Subject: [PATCH] Add survival sponsorship to sponsorship types --- sponsorship_compassion/models/contracts.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/sponsorship_compassion/models/contracts.py b/sponsorship_compassion/models/contracts.py index 02e7e5021..a8d10ff8f 100644 --- a/sponsorship_compassion/models/contracts.py +++ b/sponsorship_compassion/models/contracts.py @@ -32,8 +32,7 @@ logger = logging.getLogger(__name__) THIS_DIR = os.path.dirname(__file__) testing = tools.config.get("test_enable") -SPONSORSHIP_TYPE_LIST = ["S", "SC", "SWP"] - +SPONSORSHIP_TYPE_LIST = ["S", "SC", "SWP", "CSP"] class SponsorshipContract(models.Model): _inherit = ["recurring.contract", "compassion.mapped.model"]