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

fix inifinite loop when called on a secondary period


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@37198 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 3e2d806f
...@@ -57,7 +57,7 @@ ...@@ -57,7 +57,7 @@
\n \n
section = context\n section = context\n
while section.getPortalType() != \'Organisation\':\n while section.getPortalType() != \'Organisation\':\n
section = context.getParentValue()\n section = section.getParentValue()\n
\n \n
context.accounting_module.newContent(\n context.accounting_module.newContent(\n
portal_type=\'Balance Transaction\',\n portal_type=\'Balance Transaction\',\n
......
1314 1315
\ 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