diff --git a/bt5/erp5_dms/PortalTypeAllowedContentTypeTemplateItem/allowed_content_types.xml b/bt5/erp5_dms/PortalTypeAllowedContentTypeTemplateItem/allowed_content_types.xml index ac09131162a617e9b9192eabb1a2fecea05162c1..c63d3d73cd8d458a0cc1836aee3ad23c6fbfe2d8 100644 --- a/bt5/erp5_dms/PortalTypeAllowedContentTypeTemplateItem/allowed_content_types.xml +++ b/bt5/erp5_dms/PortalTypeAllowedContentTypeTemplateItem/allowed_content_types.xml @@ -1,11 +1,20 @@ <allowed_content_type_list> - <portal_type id="Document Module"> - <item>Text</item> + <portal_type id="Contribution Tool"> <item>Spreadsheet</item> - <item>Presentation</item> - <item>PDF</item> + <item>File</item> + <item>Text</item> <item>Drawing</item> + <item>PDF</item> + <item>Presentation</item> + <item>Image</item> + </portal_type> + <portal_type id="Document Module"> <item>File</item> + <item>Spreadsheet</item> + <item>Drawing</item> + <item>PDF</item> + <item>Text</item> + <item>Presentation</item> </portal_type> <portal_type id="Drawing"> <item>Role Definition</item> diff --git a/bt5/erp5_dms/PortalTypeHiddenContentTypeTemplateItem/hidden_content_type_list.xml b/bt5/erp5_dms/PortalTypeHiddenContentTypeTemplateItem/hidden_content_type_list.xml new file mode 100644 index 0000000000000000000000000000000000000000..07d680050c406e6dc423e8cdeb8347124fa1c369 --- /dev/null +++ b/bt5/erp5_dms/PortalTypeHiddenContentTypeTemplateItem/hidden_content_type_list.xml @@ -0,0 +1,11 @@ +<hidden_content_type_list> + <portal_type id="Contribution Tool"> + <item>Text</item> + <item>Drawing</item> + <item>PDF</item> + <item>Spreadsheet</item> + <item>File</item> + <item>Image</item> + <item>Presentation</item> + </portal_type> +</hidden_content_type_list> \ No newline at end of file diff --git a/bt5/erp5_dms/PortalTypeTemplateItem/portal_types/Contribution%20Tool.xml b/bt5/erp5_dms/PortalTypeTemplateItem/portal_types/Contribution%20Tool.xml index 718037f22352d2dff337d946b2407730de1a8099..64b211f30a05300cff3efbf1b00ecf2e1075321e 100644 --- a/bt5/erp5_dms/PortalTypeTemplateItem/portal_types/Contribution%20Tool.xml +++ b/bt5/erp5_dms/PortalTypeTemplateItem/portal_types/Contribution%20Tool.xml @@ -76,7 +76,7 @@ </item> <item> <key> <string>filter_content_types</string> </key> - <value> <int>0</int> </value> + <value> <int>1</int> </value> </item> <item> <key> <string>group_list</string> </key> diff --git a/bt5/erp5_dms/bt/revision b/bt5/erp5_dms/bt/revision index 4c7798cefd840c251a3e00a8d62e5f00c80df43d..8d28c8c9eb36c9506c93c4fafdfea7639b7633e0 100644 --- a/bt5/erp5_dms/bt/revision +++ b/bt5/erp5_dms/bt/revision @@ -1 +1 @@ -553 \ No newline at end of file +554 \ No newline at end of file diff --git a/bt5/erp5_dms/bt/template_portal_type_allowed_content_type_list b/bt5/erp5_dms/bt/template_portal_type_allowed_content_type_list index f293d2b8b9ff43a19c5350dbec9645ad9ea8f20f..694f577817e5e8721a8fa9743c2f218160b57a79 100644 --- a/bt5/erp5_dms/bt/template_portal_type_allowed_content_type_list +++ b/bt5/erp5_dms/bt/template_portal_type_allowed_content_type_list @@ -1,3 +1,10 @@ +Contribution Tool | Drawing +Contribution Tool | File +Contribution Tool | Image +Contribution Tool | PDF +Contribution Tool | Presentation +Contribution Tool | Spreadsheet +Contribution Tool | Text Document Module | Drawing Document Module | File Document Module | PDF diff --git a/bt5/erp5_dms/bt/template_portal_type_hidden_content_type_list b/bt5/erp5_dms/bt/template_portal_type_hidden_content_type_list index e69de29bb2d1d6434b8b29ae775ad8c2e48c5391..f6803f89c166f60af59b14b30b7fd537be5644b1 100644 --- a/bt5/erp5_dms/bt/template_portal_type_hidden_content_type_list +++ b/bt5/erp5_dms/bt/template_portal_type_hidden_content_type_list @@ -0,0 +1,7 @@ +Contribution Tool | Drawing +Contribution Tool | File +Contribution Tool | Image +Contribution Tool | PDF +Contribution Tool | Presentation +Contribution Tool | Spreadsheet +Contribution Tool | Text \ No newline at end of file