From 382cedd603c863f345d77dfa6f016dc6712a08f0 Mon Sep 17 00:00:00 2001
From: Jean-Paul Smets <jp@nexedi.com>
Date: Mon, 7 Jun 2010 20:48:37 +0000
Subject: [PATCH] Some groups are now legacy. A warning is needed.

git-svn-id: https://svn.erp5.org/repos/public/erp5/sandbox/amount_generator@36057 20353a03-c40f-0410-a6d1-a30d3c3de9de
---
 product/ERP5Type/ERP5Type.py | 13 +++++++++++--
 1 file changed, 11 insertions(+), 2 deletions(-)

diff --git a/product/ERP5Type/ERP5Type.py b/product/ERP5Type/ERP5Type.py
index 93d158994ef..b3b90178cdc 100644
--- a/product/ERP5Type/ERP5Type.py
+++ b/product/ERP5Type/ERP5Type.py
@@ -191,6 +191,11 @@ class ERP5TypeInformation(XMLObject,
     database, etc.). This allows combining multiple attribute sources
     in a single object. This feature will be in reality implemented
     through PropertySheet classes (TALES expressions)
+
+    TODO:
+    - add a warning for legacy groups which are no longer used
+    - move groups of portal types to categories
+      (now that we have portal types of portal types)
     """
 
     portal_type = 'Base Type'
@@ -240,11 +245,11 @@ class ERP5TypeInformation(XMLObject,
       'path', # movement is generated from all *_movement group above
       # Trade
       'discount', 'payment_condition', 'payment_node',
-      'supply', 'supply_path', 'inventory_movement', 'tax_movement',
+      'supply', 'supply_path', 'inventory_movement', 
       'delivery', 'delivery_movement',
       'order', 'order_movement',
       'container', 'container_line',
-      # Different Aspects
+      # Different Aspects of Supplier-Customer relation
       'sale', 'purchase', 'internal',
       # PDM
       'transformation', 'variation', 'sub_variation',
@@ -261,6 +266,8 @@ class ERP5TypeInformation(XMLObject,
       # Solvers and simulation
       'divergence_tester', 'target_solver',
       'amount_generator',  'amount_generator_line', 'amount_generator_cell',
+      # Business Processes
+      'business_path', 'business_process',
       # Movement Group
       'movement_group',
       # Calendar
@@ -271,6 +278,8 @@ class ERP5TypeInformation(XMLObject,
       'budget_variation',
       # Module
       'module',
+      # LEGACY - needs a warning - XXX-JPS
+      'tax_movement',
     )
     group_list = ()
 
-- 
2.30.9