Commit 25cf0d59 authored by Romain Courteaud's avatar Romain Courteaud

slapos_accounting: syntax

parent b17ccc1d
......@@ -48,8 +48,8 @@ else:
payment = portal.portal_catalog.getResultValue(
portal_type="Payment Transaction",
simulation_state="started",
default_causality_uid=context.getUid(),
default_payment_mode_uid=[portal.portal_categories.payment_mode.payzen.getUid(),
causality__uid=context.getUid(),
payment_mode__uid=[portal.portal_categories.payment_mode.payzen.getUid(),
portal.portal_categories.payment_mode.wechat.getUid()],
)
if payment is not None:
......
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