diff --git a/product/ERP5Banking/tests/testERP5BankingTravelerCheckPurchase.py b/product/ERP5Banking/tests/testERP5BankingTravelerCheckPurchase.py index c29e0e04a07aab8ae15982617ad2782559007a5e..e8e64f6e8565316daf90aacfa25139a2978cbba8 100755 --- a/product/ERP5Banking/tests/testERP5BankingTravelerCheckPurchase.py +++ b/product/ERP5Banking/tests/testERP5BankingTravelerCheckPurchase.py @@ -182,6 +182,7 @@ class TestERP5BankingTravelerCheckPurchase(TestERP5BankingCheckbookUsualCashTran self.assertEqual(self.traveler_check_purchase.getBaobabSource(), None) # check destination self.assertEqual(self.traveler_check_purchase.getBaobabDestination(), None) + self.setDocumentSourceReference(self.traveler_check_purchase) def stepCreateTravelerCheckPurchaseLineList(self, sequence=None, sequence_list=None, **kwd): diff --git a/product/ERP5Banking/tests/testERP5BankingTravelerCheckSale.py b/product/ERP5Banking/tests/testERP5BankingTravelerCheckSale.py index 87da0088ca48246b28c1adbde006dab2e88e2f94..39d4a4a4666ca3cb88051c454d686ecaed90b846 100755 --- a/product/ERP5Banking/tests/testERP5BankingTravelerCheckSale.py +++ b/product/ERP5Banking/tests/testERP5BankingTravelerCheckSale.py @@ -100,6 +100,7 @@ class TestERP5BankingTravelerCheckSaleMixin: 'site/testsite/paris/surface/banque_interne/guichet_1/encaisse_des_billets_et_monnaies') # check destination self.assertEqual(self.traveler_check_sale.getBaobabDestination(), None) + self.setDocumentSourceReference(self.traveler_check_sale) def afterSetUp(self): """