Commit 3283b7fc authored by Jérome Perrin's avatar Jérome Perrin

remove hardcoded ('taille','coloris')


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@5827 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 58241a68
...@@ -57,13 +57,3 @@ class SupplyRule(MappedValue, XMLMatrix): ...@@ -57,13 +57,3 @@ class SupplyRule(MappedValue, XMLMatrix):
, PropertySheet.CategoryCore , PropertySheet.CategoryCore
) )
security.declarePrivate( '_edit' )
def _edit(self, **kw):
"""
Solve here some constraints
"""
ERP5MappedValue._edit(self, **kw)
self.setPredicateValueList(self.getCategoryMembershipList(('taille','coloris'), base=1))
security.declareProtected( Permissions.ModifyPortalContent, 'edit' )
edit = WorkflowMethod( _edit )
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