Commit 640f06b5 authored by Jérome Perrin's avatar Jérome Perrin

if gap_root is passed, we ignore account reference

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@30878 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent c9cf4e68
......@@ -61,7 +61,7 @@ preference_tool = context.getPortalObject().portal_preferences\n
\n
number_method = preference_tool.getPreferredAccountNumberMethod()\n
\n
if number_method == \'account_reference\':\n
if number_method == \'account_reference\' and not gap_root:\n
reference = context.getReference()\n
if reference:\n
return reference\n
......
1066
\ No newline at end of file
1067
\ 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