[Erp5-report] r21638 - in /erp5/trunk/bt5/erp5_accounting_l10n_pl: SkinTemplateItem/portal_...

nobody at svn.erp5.org nobody at svn.erp5.org
Tue Jun 17 11:15:42 CEST 2008


Author: jacek
Date: Tue Jun 17 11:15:41 2008
New Revision: 21638

URL: http://svn.erp5.org?rev=21638&view=rev
Log:
Forgot to remove context.logs

Modified:
    erp5/trunk/bt5/erp5_accounting_l10n_pl/SkinTemplateItem/portal_skins/erp5_accounting_l10n_pl/FiscalReportCell_doGetInventory.xml
    erp5/trunk/bt5/erp5_accounting_l10n_pl/SkinTemplateItem/portal_skins/erp5_accounting_l10n_pl/shortAccountNumberToFullGapCategory.xml
    erp5/trunk/bt5/erp5_accounting_l10n_pl/bt/revision

Modified: erp5/trunk/bt5/erp5_accounting_l10n_pl/SkinTemplateItem/portal_skins/erp5_accounting_l10n_pl/FiscalReportCell_doGetInventory.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_accounting_l10n_pl/SkinTemplateItem/portal_skins/erp5_accounting_l10n_pl/FiscalReportCell_doGetInventory.xml?rev=21638&r1=21637&r2=21638&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_accounting_l10n_pl/SkinTemplateItem/portal_skins/erp5_accounting_l10n_pl/FiscalReportCell_doGetInventory.xml (original)
+++ erp5/trunk/bt5/erp5_accounting_l10n_pl/SkinTemplateItem/portal_skins/erp5_accounting_l10n_pl/FiscalReportCell_doGetInventory.xml Tue Jun 17 11:15:41 2008
@@ -96,8 +96,9 @@
 \n
 \n
 sum = 0\n
+\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 @@
   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>
         </item>

Modified: erp5/trunk/bt5/erp5_accounting_l10n_pl/SkinTemplateItem/portal_skins/erp5_accounting_l10n_pl/shortAccountNumberToFullGapCategory.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_accounting_l10n_pl/SkinTemplateItem/portal_skins/erp5_accounting_l10n_pl/shortAccountNumberToFullGapCategory.xml?rev=21638&r1=21637&r2=21638&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_accounting_l10n_pl/SkinTemplateItem/portal_skins/erp5_accounting_l10n_pl/shortAccountNumberToFullGapCategory.xml (original)
+++ erp5/trunk/bt5/erp5_accounting_l10n_pl/SkinTemplateItem/portal_skins/erp5_accounting_l10n_pl/shortAccountNumberToFullGapCategory.xml Tue Jun 17 11:15:41 2008
@@ -66,7 +66,6 @@
         <item>
             <key> <string>_body</string> </key>
             <value> <string>gap_root = kw.get(\'gap_root\', context.getPortalObject().portal_preferences.getPreferredAccountingTransactionGap())\n
-context.log(gap_root)\n
 \n
 parts=[]\n
 for i in range(len(accountNumber)+1):\n

Modified: erp5/trunk/bt5/erp5_accounting_l10n_pl/bt/revision
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_accounting_l10n_pl/bt/revision?rev=21638&r1=21637&r2=21638&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_accounting_l10n_pl/bt/revision (original)
+++ erp5/trunk/bt5/erp5_accounting_l10n_pl/bt/revision Tue Jun 17 11:15:41 2008
@@ -1,1 +1,1 @@
-46
+48




More information about the Erp5-report mailing list