Commit f4b6da82 authored by Łukasz Nowak's avatar Łukasz Nowak

Invert payment.

Payment shall represent fact that customer will give money.
parent 6b711038
...@@ -295,12 +295,11 @@ class TestVifibSlapComputerPartitionLock(TestVifibSlapWebServiceMixin): ...@@ -295,12 +295,11 @@ class TestVifibSlapComputerPartitionLock(TestVifibSlapWebServiceMixin):
person = self.portal.ERP5Site_getAuthenticatedMemberPersonValue(sequence[ person = self.portal.ERP5Site_getAuthenticatedMemberPersonValue(sequence[
'web_user']) 'web_user'])
payment_transaction = self.portal.accounting_module.newContent( payment_transaction = self.portal.accounting_module.newContent(
source_section='organisation_module/vifib_internet', destination_section='organisation_module/vifib_internet',
destination_section=person.getRelativeUrl(), source_section=person.getRelativeUrl(),
resource='currency_module/EUR', resource='currency_module/EUR',
portal_type="Payment Transaction", portal_type="Payment Transaction",
start_date=DateTime()-90, start_date=DateTime()-90,
# XXX More info needed
) )
payment_transaction.newContent( payment_transaction.newContent(
portal_type="Accounting Transaction Line", portal_type="Accounting Transaction Line",
......
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