Add a description to the label field of the workflow action model to differentiate from the 'label' field of the document.

Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com>
This commit is contained in:
Roberto Rosario
2018-08-15 17:50:55 -04:00
parent bdfb62d2b3
commit 65f27b006a

View File

@@ -219,7 +219,10 @@ class WorkflowStateAction(models.Model):
on_delete=models.CASCADE, related_name='actions', to=WorkflowState,
verbose_name=_('Workflow state')
)
label = models.CharField(max_length=255, verbose_name=_('Label'))
label = models.CharField(
max_length=255, help_text=_('A simple identifier for this action.'),
verbose_name=_('Label')
)
enabled = models.BooleanField(default=True, verbose_name=_('Enabled'))
when = models.PositiveIntegerField(
choices=WORKFLOW_ACTION_WHEN_CHOICES,