Commit 5d84bf7f authored by Jérome Perrin's avatar Jérome Perrin

use the original contentValues interface, not the ERP5Type patched version for

backward compatilbity.



git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@10962 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent f5a38d4a
No related merge requests found
......@@ -80,7 +80,8 @@ def sortInvoiceTransactionLine(a, b):\n
b_id = sort_dict.get(b.getId(), b.getId())\n
return cmp(a_id, b_id)\n
\n
object_list = list(context.contentValues(portal_type=portal_type))\n
object_list = list(context.contentValues(\n
filter={\'portal_type\': portal_type}))\n
object_list.sort(sortInvoiceTransactionLine)\n
return object_list\n
</string> </value>
......
99
\ No newline at end of file
100
\ No newline at end of file
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