diff --git a/product/ERP5Banking/tests/testERP5BankingTravelerCheckSale.py b/product/ERP5Banking/tests/testERP5BankingTravelerCheckSale.py index 6db0b4b580c2c6bf2964188a942ed89bff7ba2af..87da0088ca48246b28c1adbde006dab2e88e2f94 100755 --- a/product/ERP5Banking/tests/testERP5BankingTravelerCheckSale.py +++ b/product/ERP5Banking/tests/testERP5BankingTravelerCheckSale.py @@ -154,12 +154,20 @@ class TestERP5BankingTravelerCheckSaleMixin: # in the source self.traveler_check_model = self.createTravelerCheckModel('traveler_check_model') self.createCheckbookReceptionWithTravelerCheck() + get_transaction().commit() + self.tic() self.checkItemsCreatedWithTravelerCheck() + get_transaction().commit() + self.tic() self.createCheckbookVaultTransferWithTravelerCheck() + get_transaction().commit() + self.tic() # open counter date and counter self.openCounterDate(site=self.paris) self.openCounter(site=self.destination_site) self.createCheckbookUsualCashTransferWithTravelerCheck() + get_transaction().commit() + self.tic() def stepCreateTravelerCheckLineList(self, sequence=None, sequence_list=None, **kwd): """