Commit 6a5539ab authored by Jacek Medrzycki's avatar Jacek Medrzycki

Forgot to remove context.logs

git-svn-id: 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent a2731573
......@@ -96,8 +96,9 @@ kw.update(params_kw)\n
sum = 0\n
for account in accounts :\n
kw[\'node_category\']= context.shortAccountNumberToFullGapCategory(account)\n
kw[\'node_category\']= context.shortAccountNumberToFullGapCategory(account, **kw)\n
#context.log(\'KW for getInventory\',kw)\n
try : \n
#val = (context.portal_simulation.getInventory(**kw) or 0)\n
......@@ -108,7 +109,7 @@ for account in accounts :\n
except AttributeError: # no account of this gap nr has been set up\n
return 0\n
# except :\n
# raise \'error on\', (account, shortAccountNumberToFullGapCategory(account, **kw))\n
# raise \'error on\', (account, shortAccountNumberToFullGapCategory(account))\n
return float ("%.2f"%(sum))\n
</string> </value>
......@@ -66,7 +66,6 @@
<key> <string>_body</string> </key>
<value> <string>gap_root = kw.get(\'gap_root\', context.getPortalObject().portal_preferences.getPreferredAccountingTransactionGap())\n
for i in range(len(accountNumber)+1):\n
\ 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