[Erp5-report] r33776 yusuke - /erp5/trunk/products/ERP5/tests/testAdvancedInvoicing.py
nobody at svn.erp5.org
nobody at svn.erp5.org
Wed Mar 17 07:34:19 CET 2010
Author: yusuke
Date: Wed Mar 17 07:34:18 2010
New Revision: 33776
URL: http://svn.erp5.org?rev=33776&view=rev
Log:
add a method to reset generating reference
Modified:
erp5/trunk/products/ERP5/tests/testAdvancedInvoicing.py
Modified: erp5/trunk/products/ERP5/tests/testAdvancedInvoicing.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/tests/testAdvancedInvoicing.py?rev=33776&r1=33775&r2=33776&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/tests/testAdvancedInvoicing.py [utf8] (original)
+++ erp5/trunk/products/ERP5/tests/testAdvancedInvoicing.py [utf8] Wed Mar 17 07:34:18 2010
@@ -391,6 +391,10 @@
RUN_ALL_TESTS = 1
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,
**kw):
"""
More information about the Erp5-report
mailing list