Commit 4e2a3639 authored by Aurel's avatar Aurel

Use uid for catalog lookups when available instead of relative url.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@21778 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 4f00524c
......@@ -131,7 +131,7 @@ for check_reference in reference_list:\n
raise ValidationFailed, (msg,)\n
result = context.portal_catalog(portal_type = \'Check\', reference = check_reference, \n
destination_payment_uid = bank_account.getUid(),\n
default_resource_relative_url = resource,\n
default_resource_uid = resource_value.uid,\n
simulation_state=\'!=deleted\')\n
result_len = len(result)\n
if result_len == 0:\n
......
400
\ No newline at end of file
401
\ 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