Require a user application

There is no empty option so it is in fact required so it is better that the UI
manage it.
This commit is contained in:
Cédric Krier committed 2023-09-21 17:53:48 +02:00
1 parent cea1fcad74
commit 85a9575a95
1 file changed
+1 -1
+1 -1
View File
@@ -1113,7 +1113,7 @@ class UserApplication(Workflow, ModelSQL, ModelView):
key = fields.Char("Key", required=True, strip=False)
user = fields.Many2One('res.user', "User")
application = fields.Selection([], "Application")
application = fields.Selection([], "Application", required=True)
state = fields.Selection([
('requested', "Requested"),
('validated', "Validated"),