[FIX] survey: Remove the deadline constraint

- The deadline constraint is causing issues to the appraisal module.
  It causes appraisals not being able to be sent with a deadline set on the past.
This commit is contained in:
Toufik Benjaa
2018-07-03 15:26:02 +02:00
parent 611c86dbc7
commit 000bcd7c1e
-1
View File
@@ -727,7 +727,6 @@ class SurveyUserInput(models.Model):
_sql_constraints = [
('unique_token', 'UNIQUE (token)', 'A token must be unique!'),
('deadline_in_the_past', 'CHECK (deadline >= date_create)', 'The deadline cannot be in the past')
]
@api.model