[Erp5-report] r21196 - in /erp5/trunk/bt5/erp5_accounting: SkinTemplateItem/portal_skins/er...

nobody at svn.erp5.org nobody at svn.erp5.org
Wed May 28 16:03:26 CEST 2008


Author: jerome
Date: Wed May 28 16:03:24 2008
New Revision: 21196

URL: http://svn.erp5.org?rev=21196&view=rev
Log:
fix AccountModule_getTransactionListUrl for virtual hosting (was producing an URL using getPath instead of absolute_url)

Modified:
    erp5/trunk/bt5/erp5_accounting/SkinTemplateItem/portal_skins/erp5_accounting/AccountModule_getTransactionListUrl.xml
    erp5/trunk/bt5/erp5_accounting/bt/revision

Modified: erp5/trunk/bt5/erp5_accounting/SkinTemplateItem/portal_skins/erp5_accounting/AccountModule_getTransactionListUrl.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_accounting/SkinTemplateItem/portal_skins/erp5_accounting/AccountModule_getTransactionListUrl.xml?rev=21196&r1=21195&r2=21196&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_accounting/SkinTemplateItem/portal_skins/erp5_accounting/AccountModule_getTransactionListUrl.xml (original)
+++ erp5/trunk/bt5/erp5_accounting/SkinTemplateItem/portal_skins/erp5_accounting/AccountModule_getTransactionListUrl.xml Wed May 28 16:03:24 2008
@@ -80,7 +80,7 @@
        \'reset\' : \'1\', \n
      }\n
 \n
-return object.getPath() + \'/\' + method + \'?\' + make_query(kw)\n
+return \'%s/%s?%s\' % (object.absolute_url(), method, make_query(kw))\n
 </string> </value>
         </item>
         <item>
@@ -91,6 +91,12 @@
         </item>
         <item>
             <key> <string>_filepath</string> </key>
+            <value>
+              <none/>
+            </value>
+        </item>
+        <item>
+            <key> <string>_owner</string> </key>
             <value>
               <none/>
             </value>

Modified: erp5/trunk/bt5/erp5_accounting/bt/revision
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_accounting/bt/revision?rev=21196&r1=21195&r2=21196&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_accounting/bt/revision (original)
+++ erp5/trunk/bt5/erp5_accounting/bt/revision Wed May 28 16:03:24 2008
@@ -1,1 +1,1 @@
-702
+703




More information about the Erp5-report mailing list