Commit efd0b05d authored by Romain Courteaud's avatar Romain Courteaud

Only build payment related to payzen invoice.

parent c28601c3
......@@ -94,6 +94,7 @@
<string>source_section/organisation_module/slapos</string>
<string>price_currency/currency_module/EUR</string>
<string>resource/currency_module/EUR</string>
<string>payment_mode/payzen</string>
</tuple>
</value>
</item>
......
......@@ -61,6 +61,7 @@ select_kw.pop(\'delivery_relative_url_list\', None)\n
select_kw.update(\n
portal_type=\'Sale Invoice Transaction\',\n
simulation_state=\'stopped\',\n
default_payment_mode_uid=portal.portal_categories.payment_mode.payzen.getUid(),\n
limit=10, # do only some in one shot\n
select_dict=select_dict,\n
left_join_list=select_dict.keys(),\n
......@@ -85,7 +86,7 @@ for invoice in portal.portal_catalog(**select_kw):\n
start_date=invoice.getStartDate(),\n
stop_date=invoice.getStopDate(),\n
specialise=invoice.getSpecialise(),\n
payment_mode=\'payzen\',\n
payment_mode=invoice.getPaymentMode(),\n
source_payment=\'organisation_module/slapos/bank_account\', # the other place defnied: business process\n
)\n
temp_movement_rec = newTempSimulationMovement(\n
......
106
\ No newline at end of file
107
\ 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