Add support to update the document indexes from workflow state changes.
Add a new workflow field called internal_name for easier workflow reference in document index templates. Generalize the PropertyHelper class. Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com>
This commit is contained in:
@@ -28,7 +28,9 @@ class IndexTemplateNodeForm(forms.ModelForm):
|
||||
self.fields['expression'].help_text = ' '.join(
|
||||
[
|
||||
unicode(self.fields['expression'].help_text),
|
||||
ModelAttribute.help_text_for(Document, type_names=['indexing'])
|
||||
ModelAttribute.help_text_for(
|
||||
Document, type_names=['indexing']
|
||||
).replace('\n', '<br>')
|
||||
]
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user