Commit fb497349 authored by Jérome Perrin's avatar Jérome Perrin

Configure destination accounts on business process, so that we have minimum accounting for purchase

parent 8b4e6106
......@@ -644,6 +644,7 @@ class StandardConfigurationMixin(TestLiveConfiguratorWorkflowMixin):
self.assertEquals(accounting_credit_path.getTradePhase(), 'trade/accounting')
self.assertEquals(accounting_credit_path.getTradeDate(), 'trade_phase/trade/invoicing')
self.assertEquals(accounting_credit_path.getSource(), "account_module/receivable")
self.assertEquals(accounting_credit_path.getDestination(), "account_module/payable")
accounting_debit_path = getattr(business_process, "accounting_debit_path", None)
self.assertNotEquals(accounting_debit_path, None)
......@@ -651,6 +652,7 @@ class StandardConfigurationMixin(TestLiveConfiguratorWorkflowMixin):
self.assertEquals(accounting_debit_path.getTradePhase(), 'trade/accounting')
self.assertEquals(accounting_debit_path.getTradeDate(), 'trade_phase/trade/invoicing')
self.assertEquals(accounting_debit_path.getSource(), "account_module/sales")
self.assertEquals(accounting_debit_path.getDestination(), "account_module/purchase")
order_link = getattr(business_process, "order_link", None)
self.assertNotEquals(order_link, None)
......
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