From 409d9e162235c2a273ed07ce5c1521639cf98654 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9rome=20Perrin?= <jerome@nexedi.com> Date: Fri, 5 Jun 2009 15:12:37 +0000 Subject: [PATCH] always show gap id git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@27395 20353a03-c40f-0410-a6d1-a30d3c3de9de --- .../portal_skins/erp5_accounting/Account_getGapItemList.xml | 5 +---- bt5/erp5_accounting/bt/revision | 2 +- 2 files changed, 2 insertions(+), 5 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 b2a921c61b..0499fd8d12 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 @@ -65,10 +65,7 @@ display_cache = {}\n def display(x):\n if x not in display_cache:\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 - display_cache[x] = x.getTitle()\n + display_cache[x] = \'%s - %s\' % (gap_id, x.getTitle())\n return display_cache[x]\n \n def sort(x,y):\n diff --git a/bt5/erp5_accounting/bt/revision b/bt5/erp5_accounting/bt/revision index 6d10be7cc3..61721cab2a 100644 --- a/bt5/erp5_accounting/bt/revision +++ b/bt5/erp5_accounting/bt/revision @@ -1 +1 @@ -937 \ No newline at end of file +938 \ No newline at end of file -- 2.30.9