Commit b86b04cd authored by Kazuhiko Shiozaki's avatar Kazuhiko Shiozaki

meta_type must be unique.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@26247 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 763cc42a
......@@ -32,7 +32,7 @@ class BaseVariantMovementGroup(MovementGroup):
The purpose of MovementGroup is to define how movements are grouped,
and how values are updated from simulation movements.
"""
meta_type = 'ERP5 Movement Group'
meta_type = 'ERP5 Base Variant Movement Group'
portal_type = 'Base Variant Movement Group'
def _getPropertyDict(self, movement, **kw):
......
......@@ -35,7 +35,7 @@ class CategoryMovementGroup(PropertyMovementGroup):
This movement group is used to group movements that have the same
categories (eg. source, destination, etc.).
"""
meta_type = 'ERP5 Movement Group'
meta_type = 'ERP5 Category Movement Group'
portal_type = 'Category Movement Group'
def _getPropertyDict(self, movement, **kw):
......
......@@ -35,7 +35,7 @@ class CausalityAssignmentMovementGroup(MovementGroup):
This movement group is used in order to define the causality on lines
and cells.
"""
meta_type = 'ERP5 Movement Group'
meta_type = 'ERP5 Causality Assignment Movement Group'
portal_type = 'Causality Assignment Movement Group'
def _getPropertyDict(self, movement, **kw):
......
......@@ -32,7 +32,7 @@ class CausalityMovementGroup(MovementGroup):
The purpose of MovementGroup is to define how movements are grouped,
and how values are updated from simulation movements.
"""
meta_type = 'ERP5 Movement Group'
meta_type = 'ERP5 Causality Movement Group'
portal_type = 'Causality Movement Group'
......
......@@ -33,7 +33,7 @@ class DayMovementGroup(MovementGroup):
"""
This movement group is used to group movements which belong to the same day
"""
meta_type = 'ERP5 Movement Group'
meta_type = 'ERP5 Day Movement Group'
portal_type = 'Day Movement Group'
def _getPropertyDict(self, movement, **kw):
......
......@@ -33,7 +33,7 @@ class DeliveryCausalityAssignmentMovementGroup(CausalityAssignmentMovementGroup)
simulation movements instead of order relation. This is intended to be used
in deeper level of simulation tree.
"""
meta_type = 'ERP5 Movement Group'
meta_type = 'ERP5 Delivery Causality Assignment Movement Group'
portal_type = 'Delivery Causality Assignment Movement Group'
def _addCausalityToEdit(self, movement, property_dict=None):
......
......@@ -38,7 +38,7 @@ class MonthlyRangeMovementGroup(MovementGroup):
This movement group is used to collect movements that have datetime
which is in the same month.
"""
meta_type = 'ERP5 Movement Group'
meta_type = 'ERP5 Monthly Range Movement Group'
portal_type = 'Monthly Range Movement Group'
def _getPropertyDict(self, movement, **kw):
......
......@@ -35,7 +35,7 @@ class OrderMovementGroup(MovementGroup):
This movement group is used to group movements that come from the same
Order.
"""
meta_type = 'ERP5 Movement Group'
meta_type = 'ERP5 Order Movement Group'
portal_type = 'Order Movement Group'
def _getPropertyDict(self, movement, **kw):
......
......@@ -36,7 +36,7 @@ class ParentExplanationMovementGroup(MovementGroup):
transactions lines. We need to put accounting lines in the same
invoices than invoice lines.
"""
meta_type = 'ERP5 Movement Group'
meta_type = 'ERP5 Parent Explanation Movement Group'
portal_type = 'Parent Explanation Movement Group'
def _getPropertyDict(self, movement, **kw):
......
......@@ -41,7 +41,7 @@ class PropertyAssignmentMovementGroup(MovementGroup):
movements, None otherwise.
None values are always ignored, even in 'common' mode
"""
meta_type = 'ERP5 Movement Group'
meta_type = 'ERP5 Property Assignment Movement Group'
portal_type = 'Property Assignment Movement Group'
property_sheets = (
......
......@@ -35,7 +35,7 @@ class PropertyMovementGroup(MovementGroup):
This movement group is used to group movements that have the same
properties (eg. start_date, stop_date, etc.).
"""
meta_type = 'ERP5 Movement Group'
meta_type = 'ERP5 Property Movement Group'
portal_type = 'Property Movement Group'
def _getPropertyDict(self, movement, **kw):
......
......@@ -52,7 +52,7 @@ class QuantitySignMovementGroup(MovementGroup):
The purpose of MovementGroup is to define how movements are grouped,
and how values are updated from simulation movements.
"""
meta_type = 'ERP5 Movement Group'
meta_type = 'ERP5 Quantity Sign Movement Group'
portal_type = 'Quantity Sign Movement Group'
def _getPropertyDict(self, movement, **kw):
......
......@@ -32,7 +32,7 @@ class RequirementMovementGroup(MovementGroup):
The purpose of MovementGroup is to define how movements are grouped,
and how values are updated from simulation movements.
"""
meta_type = 'ERP5 Movement Group'
meta_type = 'ERP5 Requirement Movement Group'
portal_type = 'Requirement Movement Group'
def _getPropertyDict(self, movement, **kw):
......
......@@ -35,7 +35,7 @@ class RootAppliedRuleCausalityMovementGroup(MovementGroup):
This movement group is used to group movements whose root apply rule
has the same causality.
"""
meta_type = 'ERP5 Movement Group'
meta_type = 'ERP5 Root Applied Rule Causality Movement Group'
portal_type = 'Root Applied Rule Causality Movement Group'
def _getPropertyDict(self, movement, **kw):
......
......@@ -32,7 +32,7 @@ class SplitMovementGroup(MovementGroup):
The purpose of MovementGroup is to define how movements are grouped,
and how values are updated from simulation movements.
"""
meta_type = 'ERP5 Movement Group'
meta_type = 'ERP5 Split Movement Group'
portal_type = 'Split Movement Group'
def _getPropertyDict(self, movement, **kw):
......
......@@ -32,7 +32,7 @@ class TaxLineDeliveryMovementGroup(MovementGroup):
This movement group is used to group movements for tax lines, they should end
up in the same invoice than the corresponding invoice line.
"""
meta_type = 'ERP5 Movement Group'
meta_type = 'ERP5 Tax Line Delivery Movement Group'
portal_type = 'Tax Line Delivery Movement Group'
def _getPropertyDict(self, movement, **kw):
......
......@@ -32,7 +32,7 @@ class TitleMovementGroup(MovementGroup):
The purpose of MovementGroup is to define how movements are grouped,
and how values are updated from simulation movements.
"""
meta_type = 'ERP5 Movement Group'
meta_type = 'ERP5 Title Movement Group'
portal_type = 'Title Movement Group'
def _getPropertyDict(self, movement, **kw):
......
......@@ -32,7 +32,7 @@ class VariantMovementGroup(MovementGroup):
The purpose of MovementGroup is to define how movements are grouped,
and how values are updated from simulation movements.
"""
meta_type = 'ERP5 Movement Group'
meta_type = 'ERP5 Variant Movement Group'
portal_type = 'Variant Movement Group'
def _getPropertyDict(self, movement, **kw):
......
......@@ -35,7 +35,7 @@ class VariationPropertyMovementGroup(MovementGroup):
This movement group is used to group movements that have the same
variation property dict.
"""
meta_type = 'ERP5 Movement Group'
meta_type = 'ERP5 Variation Property Movement Group'
portal_type = 'Variation Property Movement Group'
def _getPropertyDict(self, movement, **kw):
......
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