Create workflow action errors using the generic object error
namespace and not directly to the model. Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com>
This commit is contained in:
9
mayan/apps/document_states/error_logs.py
Normal file
9
mayan/apps/document_states/error_logs.py
Normal file
@@ -0,0 +1,9 @@
|
||||
from __future__ import unicode_literals
|
||||
|
||||
from django.utils.translation import ugettext_lazy as _
|
||||
|
||||
from common.classes import ErrorLogNamespace
|
||||
|
||||
error_log_state_actions = ErrorLogNamespace(
|
||||
name='workflow_state_actions', label=_('Workflow state actions')
|
||||
)
|
||||
Reference in New Issue
Block a user