modify the wrong list name of schedule_unit to interval_uint
Closes-Bug: #1744625 Change-Id: I8bd3019405132251774434c82845fdb356e94435
This commit is contained in:
parent
6b78e6ddba
commit
569d1dba07
@ -161,13 +161,13 @@ class InfoConfigurationAction(workflows.Action):
|
|||||||
|
|
||||||
if (cleaned_data.get('schedule_start_date') and
|
if (cleaned_data.get('schedule_start_date') and
|
||||||
cleaned_data.get('schedule_end_date')) and\
|
cleaned_data.get('schedule_end_date')) and\
|
||||||
not cleaned_data.get('schedule_unit'):
|
not cleaned_data.get('interval_uint'):
|
||||||
msg = _("Please provide this value.")
|
msg = _("Please provide this value.")
|
||||||
self._errors['schedule_unit'] = self.error_class([msg])
|
self._errors['interval_uint'] = self.error_class([msg])
|
||||||
|
|
||||||
if (cleaned_data.get('schedule_end_date') and
|
if (cleaned_data.get('schedule_end_date') and
|
||||||
not cleaned_data.get('schedule_start_date')) and\
|
not cleaned_data.get('schedule_start_date')) and\
|
||||||
not cleaned_data.get('schedule_unit'):
|
not cleaned_data.get('interval_uint'):
|
||||||
msg = _("Please provide this value.")
|
msg = _("Please provide this value.")
|
||||||
self._errors['schedule_start_date'] = self.error_class([msg])
|
self._errors['schedule_start_date'] = self.error_class([msg])
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user