From 261d98c67490c74077eabf258317510b9773c7ab Mon Sep 17 00:00:00 2001 From: Sebastien Robin <seb@nexedi.com> Date: Wed, 26 Sep 2007 19:06:31 +0000 Subject: [PATCH] do not change the destination if already define on the document in the getBaobabDestination script of internal money deposit git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@16635 20353a03-c40f-0410-a6d1-a30d3c3de9de --- .../InternalMoneyDeposit_getBaobabDestination.xml | 2 +- bt5/erp5_banking_cash/bt/revision | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/bt5/erp5_banking_cash/SkinTemplateItem/portal_skins/erp5_banking_cash/InternalMoneyDeposit_getBaobabDestination.xml b/bt5/erp5_banking_cash/SkinTemplateItem/portal_skins/erp5_banking_cash/InternalMoneyDeposit_getBaobabDestination.xml index a5c1742b4d..b95a492bdd 100644 --- a/bt5/erp5_banking_cash/SkinTemplateItem/portal_skins/erp5_banking_cash/InternalMoneyDeposit_getBaobabDestination.xml +++ b/bt5/erp5_banking_cash/SkinTemplateItem/portal_skins/erp5_banking_cash/InternalMoneyDeposit_getBaobabDestination.xml @@ -67,7 +67,7 @@ <key> <string>_body</string> </key> <value> <string>destination = context.getDestination()\n if destination is not None:\n - return destination+\'/encaisse_des_billets_et_monnaies/entrante\'\n + return destination\n # calculate the destination\n # must use owner to know site letter\n site_list = context.Baobab_getUserAssignedSiteList(user_id=context.Base_getOwnerId())\n diff --git a/bt5/erp5_banking_cash/bt/revision b/bt5/erp5_banking_cash/bt/revision index 5da127eea4..22c04b349c 100644 --- a/bt5/erp5_banking_cash/bt/revision +++ b/bt5/erp5_banking_cash/bt/revision @@ -1 +1 @@ -507 \ No newline at end of file +508 \ No newline at end of file -- 2.30.9