Commit 1fbd2976 authored by Sebastien Robin's avatar Sebastien Robin

use the asPredicate from path


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@3104 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent c3c31416
...@@ -194,6 +194,8 @@ class SupplyLine(DeliveryLine, Path): ...@@ -194,6 +194,8 @@ class SupplyLine(DeliveryLine, Path):
""" """
return int(XMLMatrix.getCellRange(self, base_id=base_id) != []) return int(XMLMatrix.getCellRange(self, base_id=base_id) != [])
asPredicate = Path.asPredicate
# For generation of matrix lines # For generation of matrix lines
security.declareProtected( Permissions.ModifyPortalContent, '_setQuantityStepList' ) security.declareProtected( Permissions.ModifyPortalContent, '_setQuantityStepList' )
def _setQuantityStepList(self, value): def _setQuantityStepList(self, value):
......
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