[Erp5-report] r18818 - in /erp5/trunk/bt5/erp5_banking_core: SkinTemplateItem/portal_skins/...

nobody at svn.erp5.org nobody at svn.erp5.org
Tue Jan 22 13:19:18 CET 2008


Author: aurel
Date: Tue Jan 22 13:19:17 2008
New Revision: 18818

URL: http://svn.erp5.org?rev=18818&view=rev
Log:
script required a proxy role + other change

Modified:
    erp5/trunk/bt5/erp5_banking_core/SkinTemplateItem/portal_skins/erp5_banking_core/Baobab_getCurrentUserTitle.xml
    erp5/trunk/bt5/erp5_banking_core/SkinTemplateItem/portal_skins/erp5_banking_core/Base_checkBaobabSourceAndDestination.xml
    erp5/trunk/bt5/erp5_banking_core/SkinTemplateItem/portal_skins/erp5_banking_core/CounterModule_getVaultTransactionList.xml
    erp5/trunk/bt5/erp5_banking_core/bt/revision

Modified: erp5/trunk/bt5/erp5_banking_core/SkinTemplateItem/portal_skins/erp5_banking_core/Baobab_getCurrentUserTitle.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_banking_core/SkinTemplateItem/portal_skins/erp5_banking_core/Baobab_getCurrentUserTitle.xml?rev=18818&r1=18817&r2=18818&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_banking_core/SkinTemplateItem/portal_skins/erp5_banking_core/Baobab_getCurrentUserTitle.xml (original)
+++ erp5/trunk/bt5/erp5_banking_core/SkinTemplateItem/portal_skins/erp5_banking_core/Baobab_getCurrentUserTitle.xml Tue Jan 22 13:19:17 2008
@@ -104,6 +104,14 @@
             <value> <string>user_id=None, **kw</string> </value>
         </item>
         <item>
+            <key> <string>_proxy_roles</string> </key>
+            <value>
+              <tuple>
+                <string>Manager</string>
+              </tuple>
+            </value>
+        </item>
+        <item>
             <key> <string>errors</string> </key>
             <value>
               <tuple/>

Modified: erp5/trunk/bt5/erp5_banking_core/SkinTemplateItem/portal_skins/erp5_banking_core/Base_checkBaobabSourceAndDestination.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_banking_core/SkinTemplateItem/portal_skins/erp5_banking_core/Base_checkBaobabSourceAndDestination.xml?rev=18818&r1=18817&r2=18818&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_banking_core/SkinTemplateItem/portal_skins/erp5_banking_core/Base_checkBaobabSourceAndDestination.xml (original)
+++ erp5/trunk/bt5/erp5_banking_core/SkinTemplateItem/portal_skins/erp5_banking_core/Base_checkBaobabSourceAndDestination.xml Tue Jan 22 13:19:17 2008
@@ -84,6 +84,14 @@
         context.log(\'Error on \', (context.getRelativeUrl(),node_url))\n
         msg = Message(domain=\'ui\',message=\'Sorry, wrong source or destination\')\n
         raise ValidationFailed, (msg,)\n
+  if baobab_source is not None and object.getBaobabSourceUid() is None:\n
+    context.log(\'Error on \', (context.getRelativeUrl(),baobab_source))\n
+    msg = Message(domain=\'ui\',message=\'Sorry, wrong source or destination\')\n
+    raise ValidationFailed, (msg,)\n
+  if baobab_destination is not None and object.getBaobabDestinationUid() is None:\n
+    context.log(\'Error on \', (context.getRelativeUrl(),baobab_destination))\n
+    msg = Message(domain=\'ui\',message=\'Sorry, wrong source or destination\')\n
+    raise ValidationFailed, (msg,)\n
 </string> </value>
         </item>
         <item>

Modified: erp5/trunk/bt5/erp5_banking_core/SkinTemplateItem/portal_skins/erp5_banking_core/CounterModule_getVaultTransactionList.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_banking_core/SkinTemplateItem/portal_skins/erp5_banking_core/CounterModule_getVaultTransactionList.xml?rev=18818&r1=18817&r2=18818&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_banking_core/SkinTemplateItem/portal_skins/erp5_banking_core/CounterModule_getVaultTransactionList.xml (original)
+++ erp5/trunk/bt5/erp5_banking_core/SkinTemplateItem/portal_skins/erp5_banking_core/CounterModule_getVaultTransactionList.xml Tue Jan 22 13:19:17 2008
@@ -214,9 +214,9 @@
                                                                  ,**inventory_kw\n
                                                                  )\n
 #context.log(\'CounterMOdule_getVaultTransactionList, sql src:\',context.portal_simulation.getCurrentInventoryList( node=vault_url_list\n
-                                                                #, ignore_variation=0,src__=1\n
-                                                               #,**inventory_kw\n
-                                                              #))\n
+#                                                                , ignore_variation=0,src__=1\n
+#                                                               ,**inventory_kw\n
+#                                                              ))\n
 \n
 if summarise:\n
   total_quantity = 0\n

Modified: erp5/trunk/bt5/erp5_banking_core/bt/revision
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_banking_core/bt/revision?rev=18818&r1=18817&r2=18818&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_banking_core/bt/revision (original)
+++ erp5/trunk/bt5/erp5_banking_core/bt/revision Tue Jan 22 13:19:17 2008
@@ -1,1 +1,1 @@
-403
+404




More information about the Erp5-report mailing list