Commit 91be3ebb authored by Rafael Monnerat's avatar Rafael Monnerat

slapos_accounting: Bank reconciliation isn't used

parent 9954e8c8
...@@ -58,13 +58,6 @@ class TestSlapOSManualAccountingScenario(TestSlapOSVirtualMasterScenarioMixin): ...@@ -58,13 +58,6 @@ class TestSlapOSManualAccountingScenario(TestSlapOSVirtualMasterScenarioMixin):
bank_account.validate() bank_account.validate()
accountant_organisation.validate() accountant_organisation.validate()
self.portal.bank_reconciliation_module.newContent(
title="Bank Reconciliation for %s" % accountant_organisation.getTitle(),
portal_type="Bank Reconciliation",
source_section_value=accountant_organisation,
source_payment_value=bank_account,
).open()
return accountant_person, accountant_organisation, \ return accountant_person, accountant_organisation, \
bank_account, currency bank_account, currency
...@@ -214,9 +207,6 @@ class TestSlapOSManualAccountingScenario(TestSlapOSVirtualMasterScenarioMixin): ...@@ -214,9 +207,6 @@ class TestSlapOSManualAccountingScenario(TestSlapOSVirtualMasterScenarioMixin):
payment.manage_delObjects(ids=['receivable', 'payable']) payment.manage_delObjects(ids=['receivable', 'payable'])
payment.bank.edit( payment.bank.edit(
source="account_module/bank", source="account_module/bank",
aggregate=bank_account.getSourcePaymentRelated(
portal_type='Bank Reconciliation'
),
quantity=total_amount quantity=total_amount
) )
...@@ -319,9 +309,6 @@ class TestSlapOSManualAccountingScenario(TestSlapOSVirtualMasterScenarioMixin): ...@@ -319,9 +309,6 @@ class TestSlapOSManualAccountingScenario(TestSlapOSVirtualMasterScenarioMixin):
payment.manage_delObjects(ids=['receivable', 'payable']) payment.manage_delObjects(ids=['receivable', 'payable'])
payment.bank.edit( payment.bank.edit(
source="account_module/bank", source="account_module/bank",
aggregate=bank_account.getSourcePaymentRelated(
portal_type='Bank Reconciliation'
),
quantity=total_amount quantity=total_amount
) )
payable_line = payment.newContent( payable_line = payment.newContent(
...@@ -444,9 +431,6 @@ class TestSlapOSManualAccountingScenario(TestSlapOSVirtualMasterScenarioMixin): ...@@ -444,9 +431,6 @@ class TestSlapOSManualAccountingScenario(TestSlapOSVirtualMasterScenarioMixin):
payment.manage_delObjects(ids=['receivable', 'payable']) payment.manage_delObjects(ids=['receivable', 'payable'])
payment.bank.edit( payment.bank.edit(
source="account_module/bank", source="account_module/bank",
aggregate=bank_account.getSourcePaymentRelated(
portal_type='Bank Reconciliation'
),
quantity=-total_amount quantity=-total_amount
) )
receivable_line = payment.newContent( receivable_line = payment.newContent(
......
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