[Erp5-report] r10198 - in /erp5/trunk/bt5/erp5_banking_cash: SkinTemplateItem/portal_skins/...

nobody at svn.erp5.org nobody at svn.erp5.org
Wed Sep 20 10:39:57 CEST 2006


Author: aurel
Date: Wed Sep 20 10:39:51 2006
New Revision: 10198

URL: http://svn.erp5.org?rev=10198&view=rev
Log:
2006-09-20
* fix script to get baobab destination in internal money deposit

Modified:
    erp5/trunk/bt5/erp5_banking_cash/SkinTemplateItem/portal_skins/erp5_banking_cash/InternalMoneyDeposit_getBaobabDestination.xml
    erp5/trunk/bt5/erp5_banking_cash/bt/revision

Modified: erp5/trunk/bt5/erp5_banking_cash/SkinTemplateItem/portal_skins/erp5_banking_cash/InternalMoneyDeposit_getBaobabDestination.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_banking_cash/SkinTemplateItem/portal_skins/erp5_banking_cash/InternalMoneyDeposit_getBaobabDestination.xml?rev=10198&r1=10197&r2=10198&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_banking_cash/SkinTemplateItem/portal_skins/erp5_banking_cash/InternalMoneyDeposit_getBaobabDestination.xml (original)
+++ erp5/trunk/bt5/erp5_banking_cash/SkinTemplateItem/portal_skins/erp5_banking_cash/InternalMoneyDeposit_getBaobabDestination.xml Wed Sep 20 10:39:51 2006
@@ -88,7 +88,7 @@
   for site in site_list:\n
     context.log(\'site\',site)\n
     site_value = context.portal_categories.getCategoryValue(site)\n
-    if site_value.getVaultType().endswith(\'guichet\') and destination in site:\n
+    if site_value.getVaultType().endswith(\'guichet\') and (destination in site or site in destination):\n
       baobab_destination = site + \'/encaisse_des_billets_et_monnaies/entrante\'\n
       found = 1\n
       context.log(\'baobab_destination\',baobab_destination)\n
@@ -115,7 +115,9 @@
         </item>
         <item>
             <key> <string>_filepath</string> </key>
-            <value> <string>Script (Python):/baobab/portal_skins/erp5_banking_cash/InternalMoneyDeposit_getBaobabDestination</string> </value>
+            <value>
+              <none/>
+            </value>
         </item>
         <item>
             <key> <string>_owner</string> </key>

Modified: erp5/trunk/bt5/erp5_banking_cash/bt/revision
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_banking_cash/bt/revision?rev=10198&r1=10197&r2=10198&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_banking_cash/bt/revision (original)
+++ erp5/trunk/bt5/erp5_banking_cash/bt/revision Wed Sep 20 10:39:51 2006
@@ -1,1 +1,1 @@
-4
+6




More information about the Erp5-report mailing list