Commit 878eae7d authored by Łukasz Nowak's avatar Łukasz Nowak

Choose only paid transactions.

started state is not good enough to use it as base to clone.
parent 9fc288db
...@@ -54,7 +54,7 @@ ...@@ -54,7 +54,7 @@
transaction = context\n transaction = context\n
portal = transaction.getPortalObject()\n portal = transaction.getPortalObject()\n
integration_site = portal.restrictedTraverse(portal.portal_preferences.getPreferredPayzenIntegrationSite())\n integration_site = portal.restrictedTraverse(portal.portal_preferences.getPreferredPayzenIntegrationSite())\n
state_list = portal.getPortalCurrentInventoryStateList() + portal.getPortalTransitInventoryStateList()\n state_list = portal.getPortalCurrentInventoryStateList()\n
previous_transaction = portal.portal_catalog.getResultValue(\n previous_transaction = portal.portal_catalog.getResultValue(\n
destination_section_uid = transaction.getDestinationSectionUid(),\n destination_section_uid = transaction.getDestinationSectionUid(),\n
portal_type=transaction.getPortalType(),\n portal_type=transaction.getPortalType(),\n
......
73 74
\ 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