From 1a26181f3f9b899e99c5354918fa13e1df08537a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9rome=20Perrin?= <jerome@nexedi.com> Date: Mon, 2 Apr 2007 12:11:48 +0000 Subject: [PATCH] return the title directly if defined on the brain (ie. on the movement) git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@13854 20353a03-c40f-0410-a6d1-a30d3c3de9de --- .../erp5_accounting/Movement_getExplanationTitle.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/Movement_getExplanationTitle.xml b/bt5/erp5_accounting/SkinTemplateItem/portal_skins/erp5_accounting/Movement_getExplanationTitle.xml index daa389cb00..453a231aef 100644 --- a/bt5/erp5_accounting/SkinTemplateItem/portal_skins/erp5_accounting/Movement_getExplanationTitle.xml +++ b/bt5/erp5_accounting/SkinTemplateItem/portal_skins/erp5_accounting/Movement_getExplanationTitle.xml @@ -68,7 +68,7 @@ </item> <item> <key> <string>_body</string> </key> - <value> <string>return brain.getObject().getExplanationValue().getTitle()\n + <value> <string>return brain.title or brain.getObject().getExplanationValue().getTitle()\n </string> </value> </item> <item> diff --git a/bt5/erp5_accounting/bt/revision b/bt5/erp5_accounting/bt/revision index c72784c8c5..7371afb09c 100644 --- a/bt5/erp5_accounting/bt/revision +++ b/bt5/erp5_accounting/bt/revision @@ -1 +1 @@ -235 \ No newline at end of file +236 \ No newline at end of file -- 2.30.9