Commit b9800b42 authored by Alexandre Boeglin's avatar Alexandre Boeglin

add frozen property


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@8304 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 4ad28559
......@@ -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()'))
......
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