[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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user