Commit b913839d authored by Jérome Perrin's avatar Jérome Perrin

now that InvoiceTransactionRule_asCellRange script no longer returns full

relative_url but only IDs, this have to be updated.


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@20541 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 7c0d1ac4
......@@ -88,8 +88,8 @@ class PredicateMatrix(XMLMatrix):
for k in cell_range_key_list :
c = self.newCell(*k, **kwd)
c.edit( mapped_value_property_list = ( 'title',),
predicate_category_list = filter(
lambda k_item: k_item is not None, k),
predicate_category_list = [self._getOb(k_item).getRelativeUrl()
for k_item in k],
title = " * ".join(map(lambda k_item : \
self.unrestrictedTraverse(k_item).getTitle(), k)),
force_update = 1
......
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