diff --git a/product/ERP5/PropertySheet/Movement.py b/product/ERP5/PropertySheet/Movement.py index 50066ff62a22a9d30310fa49ecb2c07a072fa280..545c92b89c6fadc1d07a7c70025fed8823e864b3 100644 --- a/product/ERP5/PropertySheet/Movement.py +++ b/product/ERP5/PropertySheet/Movement.py @@ -78,6 +78,21 @@ class Movement: 'description' : 'A reference which allows to unify multiple objects', 'type' : 'string', 'mode' : 'w' }, + { 'id' : 'frozen', + 'description' : '''a frozen movement cannot be modified by the + simulation anylonger''', + 'type' : 'int', + 'acquisition_base_category' : ('delivery', 'parent'), + 'acquisition_portal_type' : Expression('''python: + portal.getPortalMovementTypeList() + + portal.getPortalOrderTypeList() + + portal.getPortalDeliveryTypeList() + '''), + 'acquisition_copy_value' : 0, + 'acquisition_mask_value' : 1, + 'acquisition_accessor_id' : 'getFrozen', + 'acquisition_depends' : None, + 'mode' : 'w' }, ) _categories = ('order', Expression('python: portal.getPortalVariationBaseCategoryList()'))