Commit 382cedd6 authored by Jean-Paul Smets's avatar Jean-Paul Smets

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
parent c8c365d0
......@@ -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 = ()
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment