From c6dd1470ff94619b6ba6a22fd0a61de64c2a750c Mon Sep 17 00:00:00 2001 From: Sebastien Robin <seb@nexedi.com> Date: Mon, 10 Jul 2006 14:49:19 +0000 Subject: [PATCH] added the method getChildDomainValueList git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@8355 20353a03-c40f-0410-a6d1-a30d3c3de9de --- product/ERP5/Document/Domain.py | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/product/ERP5/Document/Domain.py b/product/ERP5/Document/Domain.py index 0e015bc752..78cd65c255 100644 --- a/product/ERP5/Document/Domain.py +++ b/product/ERP5/Document/Domain.py @@ -117,3 +117,10 @@ class Domain(Predicate, MetaNode, MetaResource): domain = newTempDomain(self, id) domain = domain.__of__(self) return domain + + def getChildDomainValueList(self, *args,**kw): + """ + Return child domain objects already present or me may generate + dynamically childs. + """ + return self.portal_domains.getChildDomainValueList(*args,**kw) -- 2.30.9