diff --git a/bt5/erp5_crm/ActionTemplateItem/portal_types/Campaign/document_list.xml b/bt5/erp5_crm/ActionTemplateItem/portal_types/Campaign/document_list.xml index e32d7131f6851c5881b9cc7a4877bef39d45e124..036264bc978a009b879b85e330b2d3c513050957 100644 --- a/bt5/erp5_crm/ActionTemplateItem/portal_types/Campaign/document_list.xml +++ b/bt5/erp5_crm/ActionTemplateItem/portal_types/Campaign/document_list.xml @@ -93,7 +93,7 @@ <dictionary> <item> <key> <string>text</string> </key> - <value> <string>python:getattr(portal.portal_skins, \'erp5_dms\', None) is not None</string> </value> + <value> <string>python: portal.Base_checkPermission(\'document_module\', \'View\')</string> </value> </item> </dictionary> </pickle> diff --git a/bt5/erp5_crm/ActionTemplateItem/portal_types/Meeting/document_list.xml b/bt5/erp5_crm/ActionTemplateItem/portal_types/Meeting/document_list.xml index e32d7131f6851c5881b9cc7a4877bef39d45e124..036264bc978a009b879b85e330b2d3c513050957 100644 --- a/bt5/erp5_crm/ActionTemplateItem/portal_types/Meeting/document_list.xml +++ b/bt5/erp5_crm/ActionTemplateItem/portal_types/Meeting/document_list.xml @@ -93,7 +93,7 @@ <dictionary> <item> <key> <string>text</string> </key> - <value> <string>python:getattr(portal.portal_skins, \'erp5_dms\', None) is not None</string> </value> + <value> <string>python: portal.Base_checkPermission(\'document_module\', \'View\')</string> </value> </item> </dictionary> </pickle> diff --git a/bt5/erp5_crm/ActionTemplateItem/portal_types/Sale%20Opportunity/document_list.xml b/bt5/erp5_crm/ActionTemplateItem/portal_types/Sale%20Opportunity/document_list.xml index e32d7131f6851c5881b9cc7a4877bef39d45e124..036264bc978a009b879b85e330b2d3c513050957 100644 --- a/bt5/erp5_crm/ActionTemplateItem/portal_types/Sale%20Opportunity/document_list.xml +++ b/bt5/erp5_crm/ActionTemplateItem/portal_types/Sale%20Opportunity/document_list.xml @@ -93,7 +93,7 @@ <dictionary> <item> <key> <string>text</string> </key> - <value> <string>python:getattr(portal.portal_skins, \'erp5_dms\', None) is not None</string> </value> + <value> <string>python: portal.Base_checkPermission(\'document_module\', \'View\')</string> </value> </item> </dictionary> </pickle> diff --git a/bt5/erp5_crm/ActionTemplateItem/portal_types/Support%20Request/document_list.xml b/bt5/erp5_crm/ActionTemplateItem/portal_types/Support%20Request/document_list.xml index e32d7131f6851c5881b9cc7a4877bef39d45e124..036264bc978a009b879b85e330b2d3c513050957 100644 --- a/bt5/erp5_crm/ActionTemplateItem/portal_types/Support%20Request/document_list.xml +++ b/bt5/erp5_crm/ActionTemplateItem/portal_types/Support%20Request/document_list.xml @@ -93,7 +93,7 @@ <dictionary> <item> <key> <string>text</string> </key> - <value> <string>python:getattr(portal.portal_skins, \'erp5_dms\', None) is not None</string> </value> + <value> <string>python: portal.Base_checkPermission(\'document_module\', \'View\')</string> </value> </item> </dictionary> </pickle> diff --git a/bt5/erp5_crm/bt/revision b/bt5/erp5_crm/bt/revision index e6d11f621da97224a8d9b0a983eae255067af32a..6eac4a65cde9135c747b7d858a570e928a1f7b5d 100644 --- a/bt5/erp5_crm/bt/revision +++ b/bt5/erp5_crm/bt/revision @@ -1 +1 @@ -291 \ No newline at end of file +292 \ No newline at end of file