Commit f66de3b0 authored by Jérome Perrin's avatar Jérome Perrin

fix AccountModule_getTransactionListUrl for virtual hosting (was producing an...

fix AccountModule_getTransactionListUrl for virtual hosting (was producing an URL using getPath instead of absolute_url)

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@21196 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 22948535
...@@ -80,7 +80,7 @@ kw = { \'selection_index\': str(index),\n ...@@ -80,7 +80,7 @@ kw = { \'selection_index\': str(index),\n
\'reset\' : \'1\', \n \'reset\' : \'1\', \n
}\n }\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> </string> </value>
</item> </item>
<item> <item>
...@@ -95,6 +95,12 @@ return object.getPath() + \'/\' + method + \'?\' + make_query(kw)\n ...@@ -95,6 +95,12 @@ return object.getPath() + \'/\' + method + \'?\' + make_query(kw)\n
<none/> <none/>
</value> </value>
</item> </item>
<item>
<key> <string>_owner</string> </key>
<value>
<none/>
</value>
</item>
<item> <item>
<key> <string>_params</string> </key> <key> <string>_params</string> </key>
<value> <string>brain=None, selection=None, selection_name=None, **kwd</string> </value> <value> <string>brain=None, selection=None, selection_name=None, **kwd</string> </value>
......
702 703
\ No newline at end of file \ No newline at end of file
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment