Commit 23eb7607 authored by Yoshinori Okuji's avatar Yoshinori Okuji

Add QuantityUnitMovementGroup, suggested by Romain.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@14826 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 49903c56
......@@ -1105,3 +1105,7 @@ class RequirementMovementGroup(RootMovementGroup):
def test(self,movement):
return self.getRequirementList(movement) == self.requirement_list
class QuantityUnitMovementGroup(PropertyMovementGroup):
""" Group movements that have the same quantity unit."""
_property = 'quantity_unit'
allow_class(QuantityUnitMovementGroup)
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