Commit a7155c4e authored by Yusuke Muraoka's avatar Yusuke Muraoka

add a method to reset generating reference

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@33776 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 8a787fe2
...@@ -391,6 +391,10 @@ class TestAdvancedSaleInvoice(TestAdvancedInvoice): ...@@ -391,6 +391,10 @@ class TestAdvancedSaleInvoice(TestAdvancedInvoice):
RUN_ALL_TESTS = 1 RUN_ALL_TESTS = 1
login = TestAdvancedInvoice.login login = TestAdvancedInvoice.login
def afterSetUp(self):
super(TestAdvancedSaleInvoice, self).afterSetUp()
self.portal.portal_ids.setLastGeneratedId(0, id_group='Accounting_Transaction_Module-Sale_Invoice_Transaction')
def stepCheckInvoicesAndTransactionsConsistency(self, sequence=None, sequence_list=None, def stepCheckInvoicesAndTransactionsConsistency(self, sequence=None, sequence_list=None,
**kw): **kw):
""" """
......
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