Fix the cabinet wizard step

Signed-off-by: Roberto Rosario <Roberto.Rosario@mayan-edms.com>
This commit is contained in:
Roberto Rosario
2019-01-22 22:37:24 -04:00
parent 1d0ebbab64
commit c059f1f021
2 changed files with 8 additions and 4 deletions
+6 -4
View File
@@ -6,7 +6,9 @@ from mayan.apps.common.forms import FilteredSelectionForm
class CabinetListForm(FilteredSelectionForm):
_field_name = 'cabinets'
_label = _('Cabinets')
_widget_attributes = {'class': 'select2'}
_allow_multiple = True
class Meta:
allow_multiple = True
field_name = 'cabinets'
label = _('Cabinets')
required = False
widget_attributes = {'class': 'select2'}