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

start from the portal when doing restrictedTraverse to prevent getting another...

start from the portal when doing restrictedTraverse to prevent getting another object with acquisition.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@15385 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 4e68e17b
......@@ -73,7 +73,7 @@
Please update accordingly relative path. \n
XXX: there must be an way to do this better?\n
"""\n
return context.restrictedTraverse(\'currency_module/1\')\n
return context.getPortalObject().restrictedTraverse(\'currency_module/1\')\n
</string> </value>
</item>
<item>
......
85
\ No newline at end of file
87
\ 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