From a72be054502067e933b80e8921fd6d951758dad4 Mon Sep 17 00:00:00 2001 From: William Braeckman Date: Mon, 18 Nov 2024 11:15:40 +0100 Subject: [PATCH] [FIX] runbot: prevent crash with invalid exception --- runbot/models/upgrade.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/runbot/models/upgrade.py b/runbot/models/upgrade.py index d8918ccdc..abefdb93d 100644 --- a/runbot/models/upgrade.py +++ b/runbot/models/upgrade.py @@ -8,7 +8,7 @@ class UpgradeExceptions(models.Model): _description = 'Upgrade exception' active = fields.Boolean('Active', default=True) - elements = fields.Text('Elements') + elements = fields.Text('Elements', required=True) bundle_id = fields.Many2one('runbot.bundle', index=True) info = fields.Text('Info') team_id = fields.Many2one('runbot.team', 'Assigned team', index=True)