diff --git a/bt5/erp5_dms/ActionTemplateItem/portal_types/Text/export.xml b/bt5/erp5_dms/ActionTemplateItem/portal_types/Text/export.xml index 52858c817415ee1ce68f83c001117f2c5d6136e2..955049339baa38e7d7edb00fcfba44fdc5dc9a4f 100644 --- a/bt5/erp5_dms/ActionTemplateItem/portal_types/Text/export.xml +++ b/bt5/erp5_dms/ActionTemplateItem/portal_types/Text/export.xml @@ -35,7 +35,9 @@ </item> <item> <key> <string>description</string> </key> - <value> <string></string> </value> + <value> + <none/> + </value> </item> <item> <key> <string>icon</string> </key> @@ -95,7 +97,7 @@ <dictionary> <item> <key> <string>text</string> </key> - <value> <string>python:object.hasBaseData()</string> </value> + <value> <string>python:object.hasBaseData() and object.Document_isTargetFormatPermitted(format=None)</string> </value> </item> </dictionary> </pickle> diff --git a/bt5/erp5_dms/bt/revision b/bt5/erp5_dms/bt/revision index b29e8d2b2be279ea7c2e24283d29ecb956f7a1bd..306d91c91f0ed2141746a8b6f0d1906fbb7aeb2b 100644 --- a/bt5/erp5_dms/bt/revision +++ b/bt5/erp5_dms/bt/revision @@ -1 +1 @@ -1090 \ No newline at end of file +1091 \ No newline at end of file