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

Fix catalog query.

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