Commit 37198d9a authored by Romain Courteaud's avatar Romain Courteaud

Payment created by order builder are handled with payzen

parent 11c9ac9d
...@@ -44,6 +44,7 @@ ...@@ -44,6 +44,7 @@
<string>source_payment</string> <string>source_payment</string>
<string>source_section</string> <string>source_section</string>
<string>specialise</string> <string>specialise</string>
<string>payment_mode</string>
</tuple> </tuple>
</value> </value>
</item> </item>
......
...@@ -85,6 +85,7 @@ for invoice in portal.portal_catalog(**select_kw):\n ...@@ -85,6 +85,7 @@ for invoice in portal.portal_catalog(**select_kw):\n
start_date=invoice.getStartDate(),\n start_date=invoice.getStartDate(),\n
stop_date=invoice.getStopDate(),\n stop_date=invoice.getStopDate(),\n
specialise=invoice.getSpecialise(),\n specialise=invoice.getSpecialise(),\n
payment_mode=\'payzen\',\n
source_payment=\'organisation_module/slapos/bank_account\', # the other place defnied: business process\n source_payment=\'organisation_module/slapos/bank_account\', # the other place defnied: business process\n
)\n )\n
temp_movement_rec = newTempSimulationMovement(\n temp_movement_rec = newTempSimulationMovement(\n
......
...@@ -1235,6 +1235,7 @@ class TestSlapOSPaymentTransactionOrderBuilder(testSlapOSMixin): ...@@ -1235,6 +1235,7 @@ class TestSlapOSPaymentTransactionOrderBuilder(testSlapOSMixin):
'price_currency/%s' % invoice.getPriceCurrency(), 'price_currency/%s' % invoice.getPriceCurrency(),
'resource/%s' % invoice.getResource(), 'resource/%s' % invoice.getResource(),
'source_payment/organisation_module/slapos/bank_account', 'source_payment/organisation_module/slapos/bank_account',
'payment_mode/payzen',
'source_section/%s' % invoice.getSourceSection(), 'source_section/%s' % invoice.getSourceSection(),
] ]
self.assertSameSet(expected_set, payment.getCategoryList()) self.assertSameSet(expected_set, payment.getCategoryList())
......
203 204
\ 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