Commit 2a6c1d4b authored by Aurel's avatar Aurel

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
parent 56c0ecd7
......@@ -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',
......
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