changeset 1:cd4e1b29f6cb 4.4

Make token required
author Cédric Krier <ced@b2ck.com>
date Thu, 30 Nov 2017 15:17:42 +0100
parents 6fdec865fa93
children d388c20b598c
files marketing.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/marketing.py	Tue Sep 19 19:24:42 2017 +0200
+++ b/marketing.py	Thu Nov 30 15:17:42 2017 +0100
@@ -82,7 +82,7 @@
     email = fields.Char("E-mail", required=True)
     list_ = fields.Many2One('marketing.email.list', "List", required=True)
     active = fields.Boolean("Active")
-    email_token = fields.Char("E-mail Token")
+    email_token = fields.Char("E-mail Token", required=True)
     web_user = fields.Function(
         fields.Many2One('web.user', "Web User"), 'get_web_user')
     party = fields.Function(