Add missing ModelProperty label entires

Signed-off-by: Roberto Rosario <roberto.rosario@mayan-edms.com>
This commit is contained in:
Roberto Rosario
2019-11-11 02:23:16 -04:00
parent f0755a4cd9
commit 774d09479c
3 changed files with 7 additions and 4 deletions

View File

@@ -8,6 +8,8 @@
tests.
- Rename expected_content_type to expected_content_types
and allow a list of content types to be specified.
- Add missing label to metadata and file metadata model
properties entries.
3.2.9 (2019-11-03)

View File

@@ -92,10 +92,11 @@ class FileMetadataApp(MayanAppConfig):
)
ModelAttribute(
model=Document, name='file_metadata_value_of',
model=Document,
name='file_metadata_value_of.< dotted path to driver and property >',
description=_(
'Return the value of a specific file metadata.'
)
), label=_('File metadata value of')
)
ModelEventType.register(

View File

@@ -93,10 +93,10 @@ class MetadataApp(MayanAppConfig):
)
ModelAttribute(
model=Document, name='metadata_value_of',
model=Document, name='metadata_value_of.< metadata type name >',
description=_(
'Return the value of a specific document metadata'
)
), label=_('Metadata value of')
)
ModelField(