Commit 01fb1ccf authored by Rafael Monnerat's avatar Rafael Monnerat

Include source definition for accounting trade path

Test were updated to check the change.
parent 2687dae1
......@@ -582,14 +582,14 @@ class StandardConfigurationMixin(TestLiveConfiguratorWorkflowMixin):
self.assertEquals(accounting_credit_path.getEfficiency(), -1.0)
self.assertEquals(accounting_credit_path.getTradePhase(), 'trade/accounting')
self.assertEquals(accounting_credit_path.getTradeDate(), 'trade_phase/trade/invoicing')
self.assertEquals(accounting_credit_path.getTestMethodId(), "isAccountingMovementType")
self.assertEquals(accounting_credit_path.getSource(), "account_module/receivable")
accounting_debit_path = getattr(business_process, "accounting_debit_path", None)
self.assertNotEquals(accounting_debit_path, None)
self.assertEquals(accounting_debit_path.getEfficiency(), 1.0)
self.assertEquals(accounting_debit_path.getTradePhase(), 'trade/accounting')
self.assertEquals(accounting_debit_path.getTradeDate(), 'trade_phase/trade/invoicing')
self.assertEquals(accounting_debit_path.getTestMethodId(), "isAccountingMovementType")
self.assertEquals(accounting_debit_path.getSource(), "account_module/sales")
order_link = getattr(business_process, "order_link", None)
self.assertNotEquals(order_link, None)
......
638
\ No newline at end of file
636
\ 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