From 2a6c1d4bd172758820605634bfbb430be27ea050 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Aur=C3=A9lien=20Calonne?= <aurel@nexedi.com> Date: Wed, 31 May 2006 14:52:01 +0000 Subject: [PATCH] use uid instead of id to generate shorter inventory id git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@7557 20353a03-c40f-0410-a6d1-a30d3c3de9de --- product/ERP5Banking/tests/TestERP5BankingMixin.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/product/ERP5Banking/tests/TestERP5BankingMixin.py b/product/ERP5Banking/tests/TestERP5BankingMixin.py index fb27a5c974..5416988f9d 100644 --- a/product/ERP5Banking/tests/TestERP5BankingMixin.py +++ b/product/ERP5Banking/tests/TestERP5BankingMixin.py @@ -591,7 +591,7 @@ class TestERP5BankingMixin: """ # we need to have a unique inventory group id by destination inventory_group_id = 'inventory_group_%s_%s' % \ - (destination.getParentValue().getId(),destination.getId()) + (destination.getParentValue().getUid(),destination.getId()) if not hasattr(self, inventory_group_id): inventory_group = self.cash_inventory_module.newContent(id=inventory_group_id, portal_type='Cash Inventory Group', -- 2.30.9