Commit 9b8484c3 authored by Rafael Monnerat's avatar Rafael Monnerat

slapos_payzen: Unhardcode bank_account to use the one from Source Section

parent 42361690
...@@ -48,7 +48,7 @@ for invoice in portal.portal_catalog(**select_kw): ...@@ -48,7 +48,7 @@ for invoice in portal.portal_catalog(**select_kw):
stop_date=invoice.getStopDate(), stop_date=invoice.getStopDate(),
specialise=invoice.getSpecialise(), specialise=invoice.getSpecialise(),
payment_mode=invoice.getPaymentMode(), payment_mode=invoice.getPaymentMode(),
source_payment='organisation_module/slapos/bank_account', # the other place defnied: business process source_payment='%s/bank_account' % invoice.getSourceSection(), # the other place defnied: business process
) )
temp_movement_rec = newTempSimulationMovement( temp_movement_rec = newTempSimulationMovement(
temp_object=True, id=str(id), temp_object=True, id=str(id),
......
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