Commit 38677b0f authored by Romain Courteaud's avatar Romain Courteaud

slapos_accounting: do not hardcode payzen payment mode

parent 44f96545
......@@ -11,9 +11,6 @@ price_currency = invoice.getPriceCurrency()
if invoice.getResource() != price_currency:
invoice.setResource(price_currency)
if invoice.getPaymentMode("") == "":
invoice.setPaymentModeValue(invoice.getPortalObject().portal_categories.payment_mode.payzen)
if invoice.getCausality(None) is None:
causality_list = []
for line in invoice.objectValues():
......
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