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