Commit fe5a4662 authored by Łukasz Nowak's avatar Łukasz Nowak

Fix catalog query.

parent 2dd6515a
......@@ -54,11 +54,11 @@
portal = person.getPortalObject()\n
\n
invoice_line = portal.portal_catalog.getResultValue(\n
default_destination_section_uid=person.getUid(),\n
resource=portal.portal_preferences.getPreferredRegistrationResource(),\n
resource_relative_url=portal.portal_preferences.getPreferredRegistrationResource(),\n
portal_type="Invoice Line",\n
# XXX Hardcoded\n
simulation_state=["stopped", "delivered"])\n
simulation_state=["stopped", "delivered"],\n
**{\'movement.destination_uid\': person.getUid()})\n
\n
if invoice_line is None:\n
tag = \'%s_createRegistrationInvoice\' % person.getUid()\n
......
550
\ No newline at end of file
551
\ 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