From a6979c43f27f4ac5b7ab1996ef036c46dd84c889 Mon Sep 17 00:00:00 2001 From: Romain Courteaud <romain@nexedi.com> Date: Fri, 12 Mar 2010 16:46:51 +0000 Subject: [PATCH] Define amount_generator groups on Transformation (and its allowed portal types) git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@33698 20353a03-c40f-0410-a6d1-a30d3c3de9de --- .../portal_types/Transformation%20Operation%20Cell.xml | 4 +++- .../portal_types/Transformation%20Operation.xml | 1 + .../Transformation%20Optional%20Resource.xml | 1 + .../Transformation%20Transformed%20Resource%20Cell.xml | 4 +++- .../Transformation%20Transformed%20Resource.xml | 1 + .../portal_types/Transformation.xml | 9 +++++++-- bt5/erp5_pdm/bt/revision | 2 +- 7 files changed, 17 insertions(+), 5 deletions(-) diff --git a/bt5/erp5_pdm/PortalTypeTemplateItem/portal_types/Transformation%20Operation%20Cell.xml b/bt5/erp5_pdm/PortalTypeTemplateItem/portal_types/Transformation%20Operation%20Cell.xml index d22dfb7712..d000195e48 100644 --- a/bt5/erp5_pdm/PortalTypeTemplateItem/portal_types/Transformation%20Operation%20Cell.xml +++ b/bt5/erp5_pdm/PortalTypeTemplateItem/portal_types/Transformation%20Operation%20Cell.xml @@ -36,7 +36,9 @@ <item> <key> <string>group_list</string> </key> <value> - <tuple/> + <tuple> + <string>amount_generator_cell</string> + </tuple> </value> </item> <item> diff --git a/bt5/erp5_pdm/PortalTypeTemplateItem/portal_types/Transformation%20Operation.xml b/bt5/erp5_pdm/PortalTypeTemplateItem/portal_types/Transformation%20Operation.xml index 35dc2a9bd6..32e5c2658c 100644 --- a/bt5/erp5_pdm/PortalTypeTemplateItem/portal_types/Transformation%20Operation.xml +++ b/bt5/erp5_pdm/PortalTypeTemplateItem/portal_types/Transformation%20Operation.xml @@ -56,6 +56,7 @@ <key> <string>group_list</string> </key> <value> <tuple> + <string>amount_generator_line</string> <string>model_path</string> </tuple> </value> diff --git a/bt5/erp5_pdm/PortalTypeTemplateItem/portal_types/Transformation%20Optional%20Resource.xml b/bt5/erp5_pdm/PortalTypeTemplateItem/portal_types/Transformation%20Optional%20Resource.xml index 365d340d7f..41c5803949 100644 --- a/bt5/erp5_pdm/PortalTypeTemplateItem/portal_types/Transformation%20Optional%20Resource.xml +++ b/bt5/erp5_pdm/PortalTypeTemplateItem/portal_types/Transformation%20Optional%20Resource.xml @@ -56,6 +56,7 @@ <key> <string>group_list</string> </key> <value> <tuple> + <string>amount_generator_line</string> <string>model_path</string> </tuple> </value> diff --git a/bt5/erp5_pdm/PortalTypeTemplateItem/portal_types/Transformation%20Transformed%20Resource%20Cell.xml b/bt5/erp5_pdm/PortalTypeTemplateItem/portal_types/Transformation%20Transformed%20Resource%20Cell.xml index f755bfaafb..df66b38a21 100644 --- a/bt5/erp5_pdm/PortalTypeTemplateItem/portal_types/Transformation%20Transformed%20Resource%20Cell.xml +++ b/bt5/erp5_pdm/PortalTypeTemplateItem/portal_types/Transformation%20Transformed%20Resource%20Cell.xml @@ -36,7 +36,9 @@ <item> <key> <string>group_list</string> </key> <value> - <tuple/> + <tuple> + <string>amount_generator_cell</string> + </tuple> </value> </item> <item> diff --git a/bt5/erp5_pdm/PortalTypeTemplateItem/portal_types/Transformation%20Transformed%20Resource.xml b/bt5/erp5_pdm/PortalTypeTemplateItem/portal_types/Transformation%20Transformed%20Resource.xml index 1f7dee7292..f56a09cdd4 100644 --- a/bt5/erp5_pdm/PortalTypeTemplateItem/portal_types/Transformation%20Transformed%20Resource.xml +++ b/bt5/erp5_pdm/PortalTypeTemplateItem/portal_types/Transformation%20Transformed%20Resource.xml @@ -56,6 +56,7 @@ <key> <string>group_list</string> </key> <value> <tuple> + <string>amount_generator_line</string> <string>model_path</string> </tuple> </value> diff --git a/bt5/erp5_pdm/PortalTypeTemplateItem/portal_types/Transformation.xml b/bt5/erp5_pdm/PortalTypeTemplateItem/portal_types/Transformation.xml index 23996a3ea6..123166b45f 100644 --- a/bt5/erp5_pdm/PortalTypeTemplateItem/portal_types/Transformation.xml +++ b/bt5/erp5_pdm/PortalTypeTemplateItem/portal_types/Transformation.xml @@ -56,6 +56,7 @@ <key> <string>group_list</string> </key> <value> <tuple> + <string>amount_generator</string> <string>transformation</string> </tuple> </value> @@ -66,11 +67,15 @@ </item> <item> <key> <string>init_script</string> </key> - <value> <string></string> </value> + <value> + <none/> + </value> </item> <item> <key> <string>permission</string> </key> - <value> <string></string> </value> + <value> + <none/> + </value> </item> <item> <key> <string>redirect_script</string> </key> diff --git a/bt5/erp5_pdm/bt/revision b/bt5/erp5_pdm/bt/revision index a6d80d5841..02416eb97c 100644 --- a/bt5/erp5_pdm/bt/revision +++ b/bt5/erp5_pdm/bt/revision @@ -1 +1 @@ -466 \ No newline at end of file +467 \ No newline at end of file -- 2.30.9