Commit 08c5c814 authored by Sebastien Robin's avatar Sebastien Robin

it make no sense to clear all generator. Clear manually

only one id_group until import/export method of generated
or implemented (there is already api for this)

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@34576 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 9136d8a5
......@@ -393,7 +393,11 @@ class TestAdvancedSaleInvoice(TestAdvancedInvoice):
def afterSetUp(self):
super(TestAdvancedSaleInvoice, self).afterSetUp()
self.portal.portal_ids.clearGenerator(all=True)
# This is quite ugly, we should use late import/export functions of generators
self.portal.cmf_activity_sql_connection.manage_test(
"delete from portal_ids where \
id_group='Accounting_Transaction_Module-Sale_Invoice_Transaction'")
transaction.commit()
def stepCheckInvoicesAndTransactionsConsistency(self, sequence=None, sequence_list=None,
**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