From 811f0366e50b105357f796c5b32bfb403df971ec Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=81ukasz=20Nowak?= <luke@nexedi.com> Date: Mon, 3 Aug 2009 11:47:05 +0000 Subject: [PATCH] - move category definition to portal type related property sheet git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@28243 20353a03-c40f-0410-a6d1-a30d3c3de9de --- .../base_category_list.xml | 9 --------- bt5/erp5_trade/bt/revision | 2 +- .../bt/template_portal_type_base_category_list | 5 ----- product/ERP5/PropertySheet/BusinessPath.py | 3 ++- product/ERP5/PropertySheet/BusinessProcess.py | 2 +- 5 files changed, 4 insertions(+), 17 deletions(-) diff --git a/bt5/erp5_trade/PortalTypeBaseCategoryTemplateItem/base_category_list.xml b/bt5/erp5_trade/PortalTypeBaseCategoryTemplateItem/base_category_list.xml index e50a8ea5b0..5df7c7eb34 100644 --- a/bt5/erp5_trade/PortalTypeBaseCategoryTemplateItem/base_category_list.xml +++ b/bt5/erp5_trade/PortalTypeBaseCategoryTemplateItem/base_category_list.xml @@ -1,13 +1,4 @@ <base_category_list> - <portal_type id="Business Path"> - <item>delivery_builder</item> - <item>end_of</item> - <item>trade_phase</item> - <item>order_builder</item> - </portal_type> - <portal_type id="Business Process"> - <item>specialise</item> - </portal_type> <portal_type id="Discount Module"> <item>business_application</item> </portal_type> diff --git a/bt5/erp5_trade/bt/revision b/bt5/erp5_trade/bt/revision index 8d75cc7df7..3873f56298 100644 --- a/bt5/erp5_trade/bt/revision +++ b/bt5/erp5_trade/bt/revision @@ -1 +1 @@ -705 \ No newline at end of file +706 \ No newline at end of file diff --git a/bt5/erp5_trade/bt/template_portal_type_base_category_list b/bt5/erp5_trade/bt/template_portal_type_base_category_list index f3a1f804c8..d8be35ee6f 100644 --- a/bt5/erp5_trade/bt/template_portal_type_base_category_list +++ b/bt5/erp5_trade/bt/template_portal_type_base_category_list @@ -1,8 +1,3 @@ -Business Path | delivery_builder -Business Path | end_of -Business Path | order_builder -Business Path | trade_phase -Business Process | specialise Discount Module | business_application Internal Packing List Module | business_application Inventory Module | business_application diff --git a/product/ERP5/PropertySheet/BusinessPath.py b/product/ERP5/PropertySheet/BusinessPath.py index d1c32f787f..459ff90777 100644 --- a/product/ERP5/PropertySheet/BusinessPath.py +++ b/product/ERP5/PropertySheet/BusinessPath.py @@ -70,4 +70,5 @@ class BusinessPath: 'multivalued' : 1, 'mode' : 'w' }, ) - _categories = ( ) + _categories = ( 'delivery_builder', 'order_builder', 'end_of', + 'trade_phase' ) diff --git a/product/ERP5/PropertySheet/BusinessProcess.py b/product/ERP5/PropertySheet/BusinessProcess.py index 33aec6920f..fbf6499015 100644 --- a/product/ERP5/PropertySheet/BusinessProcess.py +++ b/product/ERP5/PropertySheet/BusinessProcess.py @@ -38,4 +38,4 @@ class BusinessProcess: 'type' : 'string', 'mode' : 'w' }, ) - _categories = ( ) + _categories = ( 'specialise', ) -- 2.30.9