[Erp5-report] r32826 nicolas.dumazet - /erp5/trunk/products/ERP5/Document/SupplyLine.py
nobody at svn.erp5.org
nobody at svn.erp5.org
Fri Feb 19 06:20:22 CET 2010
Author: nicolas.dumazet
Date: Fri Feb 19 06:20:20 2010
New Revision: 32826
URL: http://svn.erp5.org?rev=32826&view=rev
Log:
contentIds does not seems to be able to filter on objects Ids
Modified:
erp5/trunk/products/ERP5/Document/SupplyLine.py
Modified: erp5/trunk/products/ERP5/Document/SupplyLine.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/Document/SupplyLine.py?rev=32826&r1=32825&r2=32826&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/Document/SupplyLine.py [utf8] (original)
+++ erp5/trunk/products/ERP5/Document/SupplyLine.py [utf8] Fri Feb 19 06:20:20 2010
@@ -178,7 +178,6 @@
(price_parameter, predicate_id_start_with)
# XXX Hardcoded portal type name
predicate_list = self.contentIds(filter={'portal_type': 'Predicate'})
- # XXX filtering can be done with contentIds ?
result = [x for x in predicate_list \
if x.startswith(predicate_id_start_with)]
return result
More information about the Erp5-report
mailing list