Commit 315e570d authored by Vincent Pelletier's avatar Vincent Pelletier

Set the source reference on created traveler checks, because it's done by...

Set the source reference on created traveler checks, because it's done by TALES in real environment.


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@13196 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 640ef729
...@@ -182,6 +182,7 @@ class TestERP5BankingTravelerCheckPurchase(TestERP5BankingCheckbookUsualCashTran ...@@ -182,6 +182,7 @@ class TestERP5BankingTravelerCheckPurchase(TestERP5BankingCheckbookUsualCashTran
self.assertEqual(self.traveler_check_purchase.getBaobabSource(), None) self.assertEqual(self.traveler_check_purchase.getBaobabSource(), None)
# check destination # check destination
self.assertEqual(self.traveler_check_purchase.getBaobabDestination(), None) self.assertEqual(self.traveler_check_purchase.getBaobabDestination(), None)
self.setDocumentSourceReference(self.traveler_check_purchase)
def stepCreateTravelerCheckPurchaseLineList(self, sequence=None, sequence_list=None, **kwd): def stepCreateTravelerCheckPurchaseLineList(self, sequence=None, sequence_list=None, **kwd):
......
...@@ -100,6 +100,7 @@ class TestERP5BankingTravelerCheckSaleMixin: ...@@ -100,6 +100,7 @@ class TestERP5BankingTravelerCheckSaleMixin:
'site/testsite/paris/surface/banque_interne/guichet_1/encaisse_des_billets_et_monnaies') 'site/testsite/paris/surface/banque_interne/guichet_1/encaisse_des_billets_et_monnaies')
# check destination # check destination
self.assertEqual(self.traveler_check_sale.getBaobabDestination(), None) self.assertEqual(self.traveler_check_sale.getBaobabDestination(), None)
self.setDocumentSourceReference(self.traveler_check_sale)
def afterSetUp(self): def afterSetUp(self):
""" """
......
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