Movement Group is used for grouping simulation movements and updating values on Delivery/Line/Cell.
Table of Contents
The following methods are used. See some Products/ERP5/Document/*MovementGroup.py files for example.
This method returns a dict, that will be used to update values on Delivery/Line/Cell, and that will be used to determine which simulation movements can be merged.
This method returns if object can be used for updating according to property_dict. Its return value is [updatable? (True or False), property_dict that is used to update values]. If you want to create a new Delivery/Line/Cell instead of updating existing one, return [False, property_dict].
This method defines how simulation movements are grouped. If you don't define this method, simulation movements that have the same _getPropertyDict() value are merged.
One Movement Group might be related to many divergences (many properties or categories). On the other
hand one divergence (property or category) have to be related to only one Movement
Movement Group ------- start_date