diff --git a/bt5/erp5_project/ActionTemplateItem/portal_types/Project%20Line/add_task_related.xml b/bt5/erp5_project/ActionTemplateItem/portal_types/Project%20Line/add_task_related.xml index eeab53b08e4d9c59b4f7a5dbf156f41b45a716d9..cf05ae040f8fa9a75393df862b8fb6317a9c5c92 100644 --- a/bt5/erp5_project/ActionTemplateItem/portal_types/Project%20Line/add_task_related.xml +++ b/bt5/erp5_project/ActionTemplateItem/portal_types/Project%20Line/add_task_related.xml @@ -29,11 +29,15 @@ </item> <item> <key> <string>condition</string> </key> - <value> <string></string> </value> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAM=</string> </persistent> + </value> </item> <item> <key> <string>description</string> </key> - <value> <string></string> </value> + <value> + <none/> + </value> </item> <item> <key> <string>icon</string> </key> @@ -82,4 +86,20 @@ </dictionary> </pickle> </record> + <record id="3" aka="AAAAAAAAAAM="> + <pickle> + <tuple> + <global name="Expression" module="Products.CMFCore.Expression"/> + <tuple/> + </tuple> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>text</string> </key> + <value> <string>python:portal.Base_checkPermission(\'task_module\', \'Add portal content\')</string> </value> + </item> + </dictionary> + </pickle> + </record> </ZopeData> diff --git a/bt5/erp5_project/ActionTemplateItem/portal_types/Project%20Line/jump_to_related_sale_order_lines.xml b/bt5/erp5_project/ActionTemplateItem/portal_types/Project%20Line/jump_to_related_sale_order_lines.xml index 370c5a98c327a815956231d7aaf7900e9f7fa9b2..ffe3b0da987bde4d10466b9b495af78f309828f4 100644 --- a/bt5/erp5_project/ActionTemplateItem/portal_types/Project%20Line/jump_to_related_sale_order_lines.xml +++ b/bt5/erp5_project/ActionTemplateItem/portal_types/Project%20Line/jump_to_related_sale_order_lines.xml @@ -29,7 +29,9 @@ </item> <item> <key> <string>condition</string> </key> - <value> <string></string> </value> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAM=</string> </persistent> + </value> </item> <item> <key> <string>description</string> </key> @@ -88,4 +90,20 @@ string:${object_url}/Base_jumpToRelatedObject?base_category=source_project&porta </dictionary> </pickle> </record> + <record id="3" aka="AAAAAAAAAAM="> + <pickle> + <tuple> + <global name="Expression" module="Products.CMFCore.Expression"/> + <tuple/> + </tuple> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>text</string> </key> + <value> <string>python:portal.Base_checkPermission(\'sale_order_module\', \'View\')</string> </value> + </item> + </dictionary> + </pickle> + </record> </ZopeData> diff --git a/bt5/erp5_project/ActionTemplateItem/portal_types/Project%20Line/jump_to_related_task.xml b/bt5/erp5_project/ActionTemplateItem/portal_types/Project%20Line/jump_to_related_task.xml index c8572a040d3c89143438a298b74cf889bc0e1b55..478463f0baf3199aff280e086cc835b4c01702c3 100644 --- a/bt5/erp5_project/ActionTemplateItem/portal_types/Project%20Line/jump_to_related_task.xml +++ b/bt5/erp5_project/ActionTemplateItem/portal_types/Project%20Line/jump_to_related_task.xml @@ -29,7 +29,9 @@ </item> <item> <key> <string>condition</string> </key> - <value> <string></string> </value> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAM=</string> </persistent> + </value> </item> <item> <key> <string>description</string> </key> @@ -53,10 +55,6 @@ </tuple> </value> </item> - <item> - <key> <string>portal_type</string> </key> - <value> <string>Action Information</string> </value> - </item> <item> <key> <string>priority</string> </key> <value> <float>2.0</float> </value> @@ -92,4 +90,20 @@ string:${object_url}/Base_jumpToRelatedObject?base_category=source_project&porta </dictionary> </pickle> </record> + <record id="3" aka="AAAAAAAAAAM="> + <pickle> + <tuple> + <global name="Expression" module="Products.CMFCore.Expression"/> + <tuple/> + </tuple> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>text</string> </key> + <value> <string>python:portal.Base_checkPermission(\'task_module\', \'View\')</string> </value> + </item> + </dictionary> + </pickle> + </record> </ZopeData> diff --git a/bt5/erp5_project/ActionTemplateItem/portal_types/Project%20Line/jump_to_related_task_report.xml b/bt5/erp5_project/ActionTemplateItem/portal_types/Project%20Line/jump_to_related_task_report.xml index aff62e19ff9a9ffe44e75ce493add4c0da74fff0..94a61c72e6b7c0dd16f3893a16b0ca39e6256686 100644 --- a/bt5/erp5_project/ActionTemplateItem/portal_types/Project%20Line/jump_to_related_task_report.xml +++ b/bt5/erp5_project/ActionTemplateItem/portal_types/Project%20Line/jump_to_related_task_report.xml @@ -29,7 +29,9 @@ </item> <item> <key> <string>condition</string> </key> - <value> <string></string> </value> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAM=</string> </persistent> + </value> </item> <item> <key> <string>description</string> </key> @@ -53,10 +55,6 @@ </tuple> </value> </item> - <item> - <key> <string>portal_type</string> </key> - <value> <string>Action Information</string> </value> - </item> <item> <key> <string>priority</string> </key> <value> <float>3.0</float> </value> @@ -92,4 +90,20 @@ string:${object_url}/Base_jumpToRelatedObject?base_category=source_project&porta </dictionary> </pickle> </record> + <record id="3" aka="AAAAAAAAAAM="> + <pickle> + <tuple> + <global name="Expression" module="Products.CMFCore.Expression"/> + <tuple/> + </tuple> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>text</string> </key> + <value> <string>python:portal.Base_checkPermission(\'task_report_module\', \'View\')</string> </value> + </item> + </dictionary> + </pickle> + </record> </ZopeData> diff --git a/bt5/erp5_project/ActionTemplateItem/portal_types/Project%20Line/task_fast_input_dialog.xml b/bt5/erp5_project/ActionTemplateItem/portal_types/Project%20Line/task_fast_input_dialog.xml index 8364e33d5bc615f2b28de59887077091aed704e2..49f4d3ce9307d5c05a415543a4a9e577f5a26ac5 100644 --- a/bt5/erp5_project/ActionTemplateItem/portal_types/Project%20Line/task_fast_input_dialog.xml +++ b/bt5/erp5_project/ActionTemplateItem/portal_types/Project%20Line/task_fast_input_dialog.xml @@ -29,11 +29,15 @@ </item> <item> <key> <string>condition</string> </key> - <value> <string></string> </value> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAM=</string> </persistent> + </value> </item> <item> <key> <string>description</string> </key> - <value> <string></string> </value> + <value> + <none/> + </value> </item> <item> <key> <string>icon</string> </key> @@ -82,4 +86,20 @@ </dictionary> </pickle> </record> + <record id="3" aka="AAAAAAAAAAM="> + <pickle> + <tuple> + <global name="Expression" module="Products.CMFCore.Expression"/> + <tuple/> + </tuple> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>text</string> </key> + <value> <string>python:portal.Base_checkPermission(\'task_module\', \'Add portal content\')</string> </value> + </item> + </dictionary> + </pickle> + </record> </ZopeData> diff --git a/bt5/erp5_project/ActionTemplateItem/portal_types/Project%20Line/task_list.xml b/bt5/erp5_project/ActionTemplateItem/portal_types/Project%20Line/task_list.xml index f038d613f71f18c71e763ac35bb9ef2dd4666abf..fac270b6869c19a97957b74f11ba212763dd2c4e 100644 --- a/bt5/erp5_project/ActionTemplateItem/portal_types/Project%20Line/task_list.xml +++ b/bt5/erp5_project/ActionTemplateItem/portal_types/Project%20Line/task_list.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.getSourceProjectRelatedValueList(portal_type=\'Task\')</string> </value> + <value> <string>python:portal.Base_checkPermission(\'task_module\', \'View\')</string> </value> </item> </dictionary> </pickle> diff --git a/bt5/erp5_project/ActionTemplateItem/portal_types/Project/add_task_related.xml b/bt5/erp5_project/ActionTemplateItem/portal_types/Project/add_task_related.xml index 63a5da5ab1338f527e5012359f74373cc2b2ad60..c1604a441c31a831f7e26e24186e55209527f0df 100644 --- a/bt5/erp5_project/ActionTemplateItem/portal_types/Project/add_task_related.xml +++ b/bt5/erp5_project/ActionTemplateItem/portal_types/Project/add_task_related.xml @@ -29,11 +29,15 @@ </item> <item> <key> <string>condition</string> </key> - <value> <string></string> </value> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAM=</string> </persistent> + </value> </item> <item> <key> <string>description</string> </key> - <value> <string></string> </value> + <value> + <none/> + </value> </item> <item> <key> <string>icon</string> </key> @@ -82,4 +86,20 @@ </dictionary> </pickle> </record> + <record id="3" aka="AAAAAAAAAAM="> + <pickle> + <tuple> + <global name="Expression" module="Products.CMFCore.Expression"/> + <tuple/> + </tuple> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>text</string> </key> + <value> <string>python:portal.Base_checkPermission(\'task_module\', \'Add portal content\')</string> </value> + </item> + </dictionary> + </pickle> + </record> </ZopeData> diff --git a/bt5/erp5_project/ActionTemplateItem/portal_types/Project/jump_to_related_sale_order_lines.xml b/bt5/erp5_project/ActionTemplateItem/portal_types/Project/jump_to_related_sale_order_lines.xml index 370c5a98c327a815956231d7aaf7900e9f7fa9b2..ffe3b0da987bde4d10466b9b495af78f309828f4 100644 --- a/bt5/erp5_project/ActionTemplateItem/portal_types/Project/jump_to_related_sale_order_lines.xml +++ b/bt5/erp5_project/ActionTemplateItem/portal_types/Project/jump_to_related_sale_order_lines.xml @@ -29,7 +29,9 @@ </item> <item> <key> <string>condition</string> </key> - <value> <string></string> </value> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAM=</string> </persistent> + </value> </item> <item> <key> <string>description</string> </key> @@ -88,4 +90,20 @@ string:${object_url}/Base_jumpToRelatedObject?base_category=source_project&porta </dictionary> </pickle> </record> + <record id="3" aka="AAAAAAAAAAM="> + <pickle> + <tuple> + <global name="Expression" module="Products.CMFCore.Expression"/> + <tuple/> + </tuple> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>text</string> </key> + <value> <string>python:portal.Base_checkPermission(\'sale_order_module\', \'View\')</string> </value> + </item> + </dictionary> + </pickle> + </record> </ZopeData> diff --git a/bt5/erp5_project/ActionTemplateItem/portal_types/Project/jump_to_related_task.xml b/bt5/erp5_project/ActionTemplateItem/portal_types/Project/jump_to_related_task.xml index c8572a040d3c89143438a298b74cf889bc0e1b55..478463f0baf3199aff280e086cc835b4c01702c3 100644 --- a/bt5/erp5_project/ActionTemplateItem/portal_types/Project/jump_to_related_task.xml +++ b/bt5/erp5_project/ActionTemplateItem/portal_types/Project/jump_to_related_task.xml @@ -29,7 +29,9 @@ </item> <item> <key> <string>condition</string> </key> - <value> <string></string> </value> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAM=</string> </persistent> + </value> </item> <item> <key> <string>description</string> </key> @@ -53,10 +55,6 @@ </tuple> </value> </item> - <item> - <key> <string>portal_type</string> </key> - <value> <string>Action Information</string> </value> - </item> <item> <key> <string>priority</string> </key> <value> <float>2.0</float> </value> @@ -92,4 +90,20 @@ string:${object_url}/Base_jumpToRelatedObject?base_category=source_project&porta </dictionary> </pickle> </record> + <record id="3" aka="AAAAAAAAAAM="> + <pickle> + <tuple> + <global name="Expression" module="Products.CMFCore.Expression"/> + <tuple/> + </tuple> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>text</string> </key> + <value> <string>python:portal.Base_checkPermission(\'task_module\', \'View\')</string> </value> + </item> + </dictionary> + </pickle> + </record> </ZopeData> diff --git a/bt5/erp5_project/ActionTemplateItem/portal_types/Project/jump_to_related_task_report.xml b/bt5/erp5_project/ActionTemplateItem/portal_types/Project/jump_to_related_task_report.xml index aff62e19ff9a9ffe44e75ce493add4c0da74fff0..94a61c72e6b7c0dd16f3893a16b0ca39e6256686 100644 --- a/bt5/erp5_project/ActionTemplateItem/portal_types/Project/jump_to_related_task_report.xml +++ b/bt5/erp5_project/ActionTemplateItem/portal_types/Project/jump_to_related_task_report.xml @@ -29,7 +29,9 @@ </item> <item> <key> <string>condition</string> </key> - <value> <string></string> </value> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAM=</string> </persistent> + </value> </item> <item> <key> <string>description</string> </key> @@ -53,10 +55,6 @@ </tuple> </value> </item> - <item> - <key> <string>portal_type</string> </key> - <value> <string>Action Information</string> </value> - </item> <item> <key> <string>priority</string> </key> <value> <float>3.0</float> </value> @@ -92,4 +90,20 @@ string:${object_url}/Base_jumpToRelatedObject?base_category=source_project&porta </dictionary> </pickle> </record> + <record id="3" aka="AAAAAAAAAAM="> + <pickle> + <tuple> + <global name="Expression" module="Products.CMFCore.Expression"/> + <tuple/> + </tuple> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>text</string> </key> + <value> <string>python:portal.Base_checkPermission(\'task_report_module\', \'View\')</string> </value> + </item> + </dictionary> + </pickle> + </record> </ZopeData> diff --git a/bt5/erp5_project/ActionTemplateItem/portal_types/Project/project_task_report.xml b/bt5/erp5_project/ActionTemplateItem/portal_types/Project/project_task_report.xml index 16af8315aeb5c797260da7ec00236412ee812de8..5fdf70282d00d4f08be3a0fd35fb61de87fbc290 100644 --- a/bt5/erp5_project/ActionTemplateItem/portal_types/Project/project_task_report.xml +++ b/bt5/erp5_project/ActionTemplateItem/portal_types/Project/project_task_report.xml @@ -29,11 +29,15 @@ </item> <item> <key> <string>condition</string> </key> - <value> <string></string> </value> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAM=</string> </persistent> + </value> </item> <item> <key> <string>description</string> </key> - <value> <string></string> </value> + <value> + <none/> + </value> </item> <item> <key> <string>icon</string> </key> @@ -82,4 +86,20 @@ </dictionary> </pickle> </record> + <record id="3" aka="AAAAAAAAAAM="> + <pickle> + <tuple> + <global name="Expression" module="Products.CMFCore.Expression"/> + <tuple/> + </tuple> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>text</string> </key> + <value> <string>python:portal.Base_checkPermission(\'task_report_module\', \'View\')</string> </value> + </item> + </dictionary> + </pickle> + </record> </ZopeData> diff --git a/bt5/erp5_project/ActionTemplateItem/portal_types/Project/task_fast_input_dialog.xml b/bt5/erp5_project/ActionTemplateItem/portal_types/Project/task_fast_input_dialog.xml index 47523069d9106db1750e0e3a3ce7db884af3c3cc..9af96c51618bc24fc5f297f42a40ec5cc5552a75 100644 --- a/bt5/erp5_project/ActionTemplateItem/portal_types/Project/task_fast_input_dialog.xml +++ b/bt5/erp5_project/ActionTemplateItem/portal_types/Project/task_fast_input_dialog.xml @@ -29,11 +29,15 @@ </item> <item> <key> <string>condition</string> </key> - <value> <string></string> </value> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAM=</string> </persistent> + </value> </item> <item> <key> <string>description</string> </key> - <value> <string></string> </value> + <value> + <none/> + </value> </item> <item> <key> <string>icon</string> </key> @@ -82,4 +86,20 @@ </dictionary> </pickle> </record> + <record id="3" aka="AAAAAAAAAAM="> + <pickle> + <tuple> + <global name="Expression" module="Products.CMFCore.Expression"/> + <tuple/> + </tuple> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>text</string> </key> + <value> <string>python:portal.Base_checkPermission(\'task_module\', \'Add portal content\')</string> </value> + </item> + </dictionary> + </pickle> + </record> </ZopeData> diff --git a/bt5/erp5_project/ActionTemplateItem/portal_types/Project/task_list.xml b/bt5/erp5_project/ActionTemplateItem/portal_types/Project/task_list.xml index 09856aa05e4be83ff38d1148c9cf2e29dd568486..5a9e381bc55c895e8196edf29fa193e2fe43aa29 100644 --- a/bt5/erp5_project/ActionTemplateItem/portal_types/Project/task_list.xml +++ b/bt5/erp5_project/ActionTemplateItem/portal_types/Project/task_list.xml @@ -29,11 +29,15 @@ </item> <item> <key> <string>condition</string> </key> - <value> <string></string> </value> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAM=</string> </persistent> + </value> </item> <item> <key> <string>description</string> </key> - <value> <string></string> </value> + <value> + <none/> + </value> </item> <item> <key> <string>icon</string> </key> @@ -82,4 +86,20 @@ </dictionary> </pickle> </record> + <record id="3" aka="AAAAAAAAAAM="> + <pickle> + <tuple> + <global name="Expression" module="Products.CMFCore.Expression"/> + <tuple/> + </tuple> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>text</string> </key> + <value> <string>python:portal.Base_checkPermission(\'task_module\', \'View\')</string> </value> + </item> + </dictionary> + </pickle> + </record> </ZopeData> diff --git a/bt5/erp5_project/ActionTemplateItem/portal_types/Project/task_report_list.xml b/bt5/erp5_project/ActionTemplateItem/portal_types/Project/task_report_list.xml index f38bdcfbaed8afc24ce2b31b42811c20a6376c85..9a68f49317a53cf39e07cc0b85c4cf74eb61ef8a 100644 --- a/bt5/erp5_project/ActionTemplateItem/portal_types/Project/task_report_list.xml +++ b/bt5/erp5_project/ActionTemplateItem/portal_types/Project/task_report_list.xml @@ -29,11 +29,15 @@ </item> <item> <key> <string>condition</string> </key> - <value> <string></string> </value> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAM=</string> </persistent> + </value> </item> <item> <key> <string>description</string> </key> - <value> <string></string> </value> + <value> + <none/> + </value> </item> <item> <key> <string>icon</string> </key> @@ -82,4 +86,20 @@ </dictionary> </pickle> </record> + <record id="3" aka="AAAAAAAAAAM="> + <pickle> + <tuple> + <global name="Expression" module="Products.CMFCore.Expression"/> + <tuple/> + </tuple> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>text</string> </key> + <value> <string>python:portal.Base_checkPermission(\'task_report_module\', \'View\')</string> </value> + </item> + </dictionary> + </pickle> + </record> </ZopeData> diff --git a/bt5/erp5_project/bt/revision b/bt5/erp5_project/bt/revision index 826b1407578e30c7c6fa9deff35be02225643c05..33343c8dac787d1065a9a0c6ff551baab13de1a8 100644 --- a/bt5/erp5_project/bt/revision +++ b/bt5/erp5_project/bt/revision @@ -1 +1 @@ -730 \ No newline at end of file +733 \ No newline at end of file