From 3f5fa871624df1aaf6d388e0f49114363100cb88 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9rome=20Perrin?= <jerome@nexedi.com> Date: Fri, 5 Jun 2009 09:59:23 +0000 Subject: [PATCH] show category reference if present git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@27387 20353a03-c40f-0410-a6d1-a30d3c3de9de --- .../portal_skins/erp5_accounting/Account_getGapItemList.xml | 2 +- bt5/erp5_accounting/bt/revision | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/bt5/erp5_accounting/SkinTemplateItem/portal_skins/erp5_accounting/Account_getGapItemList.xml b/bt5/erp5_accounting/SkinTemplateItem/portal_skins/erp5_accounting/Account_getGapItemList.xml index b744f18170..b2a921c61b 100644 --- a/bt5/erp5_accounting/SkinTemplateItem/portal_skins/erp5_accounting/Account_getGapItemList.xml +++ b/bt5/erp5_accounting/SkinTemplateItem/portal_skins/erp5_accounting/Account_getGapItemList.xml @@ -64,7 +64,7 @@ display_cache = {}\n \n def display(x):\n if x not in display_cache:\n - gap_id = x.getId()\n + gap_id = x.getReference() or x.getId()\n if gap_id.isdigit():\n display_cache[x] = "%s - %s" % (gap_id, x.getTitle())\n else:\n diff --git a/bt5/erp5_accounting/bt/revision b/bt5/erp5_accounting/bt/revision index 1fb6394a79..6d10be7cc3 100644 --- a/bt5/erp5_accounting/bt/revision +++ b/bt5/erp5_accounting/bt/revision @@ -1 +1 @@ -936 \ No newline at end of file +937 \ No newline at end of file -- 2.30.9