diff --git a/product/ERP5/Document/Agent.py b/product/ERP5/Document/Agent.py index 951e3a1af22806137954a168edacce61c3234320..9943b75e9da3457a09056b74913950a97135a1e9 100755 --- a/product/ERP5/Document/Agent.py +++ b/product/ERP5/Document/Agent.py @@ -31,9 +31,10 @@ from AccessControl import ClassSecurityInfo from Products.ERP5.Document.Image import Image from Products.ERP5Type import Permissions, PropertySheet from Products.ERP5Type.XMLObject import XMLObject +from Products.ERP5Type.Document.Folder import Folder -class Agent(Image, XMLObject): +class Agent(Folder, Image, XMLObject): """ An Agent is a Person who is permitted to perform some actions on the bank account according to Privileges. """ diff --git a/product/ERP5/Document/AgentPrivilege.py b/product/ERP5/Document/AgentPrivilege.py index 5adbe83141500c90724381609c369208c7a26400..4453e5b4b4cdea9aa002f00474df053c8f7a4a2c 100755 --- a/product/ERP5/Document/AgentPrivilege.py +++ b/product/ERP5/Document/AgentPrivilege.py @@ -31,8 +31,10 @@ from Products.CMFCore.utils import getToolByName from Products.CMFCore.WorkflowCore import WorkflowMethod from Products.ERP5Type import Permissions, PropertySheet, Constraint, Interface from Products.ERP5Type.XMLObject import XMLObject +from Products.ERP5Type.Document.Folder import Folder -class AgentPrivilege(XMLObject): + +class AgentPrivilege(Folder, XMLObject): """ An Agent Privilege allow the Bank Account owner to give permissions to an Agent for a given period of time, for a maximum amount of money. """