From a0c86e8b237a47ba27469af2e14a60acf64273d4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9rome=20Perrin?= <jerome@nexedi.com> Date: Mon, 9 Oct 2006 15:16:02 +0000 Subject: [PATCH] display the bank account reference or the title. git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@10632 20353a03-c40f-0410-a6d1-a30d3c3de9de --- .../AccountingTransaction_getDestinationPaymentItemList.xml | 2 +- .../AccountingTransaction_getSourcePaymentItemList.xml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/bt5/erp5_accounting/SkinTemplateItem/portal_skins/erp5_accounting/AccountingTransaction_getDestinationPaymentItemList.xml b/bt5/erp5_accounting/SkinTemplateItem/portal_skins/erp5_accounting/AccountingTransaction_getDestinationPaymentItemList.xml index 1927df77c6..ae4f22d43d 100644 --- a/bt5/erp5_accounting/SkinTemplateItem/portal_skins/erp5_accounting/AccountingTransaction_getDestinationPaymentItemList.xml +++ b/bt5/erp5_accounting/SkinTemplateItem/portal_skins/erp5_accounting/AccountingTransaction_getDestinationPaymentItemList.xml @@ -79,7 +79,7 @@ if organisation is not None:\n for bank_account in bank_account_list:\n url = bank_account.getRelativeUrl()\n #label = bank_account.getIban()\n - label = bank_account.getTitle()\n + label = bank_account.getReference() or bank_account.getTitle()\n item_list.append([label, url])\n \n item_list.sort(sort)\n diff --git a/bt5/erp5_accounting/SkinTemplateItem/portal_skins/erp5_accounting/AccountingTransaction_getSourcePaymentItemList.xml b/bt5/erp5_accounting/SkinTemplateItem/portal_skins/erp5_accounting/AccountingTransaction_getSourcePaymentItemList.xml index 49273beafa..9fae351f0e 100644 --- a/bt5/erp5_accounting/SkinTemplateItem/portal_skins/erp5_accounting/AccountingTransaction_getSourcePaymentItemList.xml +++ b/bt5/erp5_accounting/SkinTemplateItem/portal_skins/erp5_accounting/AccountingTransaction_getSourcePaymentItemList.xml @@ -78,7 +78,7 @@ if organisation is not None:\n bank_account_list = organisation.contentValues(filter={\'portal_type\': [\'Bank Account\', \'Cash Register\', \'Credit Card\']})\n for bank_account in bank_account_list:\n url = bank_account.getRelativeUrl()\n - label = bank_account.getTitle()\n + label = bank_account.getReference() or bank_account.getTitle()\n item_list.append([label, url])\n \n item_list.sort(sort)\n -- 2.30.9