diff --git a/product/ERP5/tests/testAccounting.py b/product/ERP5/tests/testAccounting.py index 78f89e229d5dbb576d1d303d10022c027fc8bd70..ed87d4a0926fbdf2e9a30e43dca957b62e0a07b7 100644 --- a/product/ERP5/tests/testAccounting.py +++ b/product/ERP5/tests/testAccounting.py @@ -3102,11 +3102,7 @@ class TestAccountingWithSequences(ERP5TypeTestCase): 'stop_action') # mirror section can be set only on the line for line in transaction.getMovementList() : - if line.getSourceValue().isMemberOf( - 'account_type/asset/receivable') or \ - line.getSourceValue().isMemberOf( - 'account_type/liability/payable') : - line.setDestinationSection(old_destination_section) + line.setDestinationSection(old_destination_section) try: self.getWorkflowTool().doActionFor(transaction, 'stop_action') self.assertEquals(transaction.getSimulationState(), 'stopped')