Commit 84cbb351 authored by Sebastien Robin's avatar Sebastien Robin

remove also the patch, so resource is not working like a supply line any more


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@2788 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent e4b7bb0f
...@@ -511,8 +511,3 @@ class Resource(XMLMatrix, CoreResource, Variated): ...@@ -511,8 +511,3 @@ class Resource(XMLMatrix, CoreResource, Variated):
p.setMembershipCriterionCategoryList(('resource/%s' % self.getRelativeUrl(),)) p.setMembershipCriterionCategoryList(('resource/%s' % self.getRelativeUrl(),))
return p return p
#monkeyPatch(SupplyLineMixin)
from types import FunctionType
for id, m in SupplyLineMixin.__dict__.items():
if type(m) is FunctionType:
setattr(Resource, id, m)
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