Commit 031aa1e5 authored by Mame Coumba Sall's avatar Mame Coumba Sall

modified so that organisations used for testItem are not deleted

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@28475 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 70f01da7
......@@ -135,7 +135,9 @@ class TestInvoiceMixin(TestPackingListMixin,
self.portal.sale_packing_list_module,
self.portal.purchase_packing_list_module,
self.portal.portal_simulation,):
folder.manage_delObjects(list(folder.objectIds()))
folder.manage_delObjects([x for x in folder.objectIds() if x not in ('organisation_1','organisation_2')])
transaction.commit()
self.tic()
......
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