[Erp5-report] r16393 - in /erp5/trunk/bt5/erp5_accounting: SkinTemplateItem/portal_skins/er...
nobody at svn.erp5.org
nobody at svn.erp5.org
Sun Sep 16 21:17:05 CEST 2007
Author: kazuhiko
Date: Sun Sep 16 21:17:04 2007
New Revision: 16393
URL: http://svn.erp5.org?rev=16393&view=rev
Log:
fix some undefined names with help of erp5flakes.
Modified:
erp5/trunk/bt5/erp5_accounting/SkinTemplateItem/portal_skins/erp5_accounting/AccountingTransactionModule_createClosingTransaction.xml
erp5/trunk/bt5/erp5_accounting/WorkflowTemplateItem/portal_workflow/accounting_workflow/scripts/validateBudget.xml
erp5/trunk/bt5/erp5_accounting/bt/revision
Modified: erp5/trunk/bt5/erp5_accounting/SkinTemplateItem/portal_skins/erp5_accounting/AccountingTransactionModule_createClosingTransaction.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_accounting/SkinTemplateItem/portal_skins/erp5_accounting/AccountingTransactionModule_createClosingTransaction.xml?rev=16393&r1=16392&r2=16393&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_accounting/SkinTemplateItem/portal_skins/erp5_accounting/AccountingTransactionModule_createClosingTransaction.xml (original)
+++ erp5/trunk/bt5/erp5_accounting/SkinTemplateItem/portal_skins/erp5_accounting/AccountingTransactionModule_createClosingTransaction.xml Sun Sep 16 21:17:04 2007
@@ -88,7 +88,7 @@
# FIXME: maybe it is not good to use a Organisation here and not\n
# a category ...\n
if section is None:\n
- section = portal_preferences.getPreferredSourceSection()\n
+ section = portal.portal_preferences.getPreferredSourceSection()\n
if section is None:\n
raise ValueError, N_(\'Section must be defined in Preferences\')\n
\n
Modified: erp5/trunk/bt5/erp5_accounting/WorkflowTemplateItem/portal_workflow/accounting_workflow/scripts/validateBudget.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_accounting/WorkflowTemplateItem/portal_workflow/accounting_workflow/scripts/validateBudget.xml?rev=16393&r1=16392&r2=16393&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_accounting/WorkflowTemplateItem/portal_workflow/accounting_workflow/scripts/validateBudget.xml (original)
+++ erp5/trunk/bt5/erp5_accounting/WorkflowTemplateItem/portal_workflow/accounting_workflow/scripts/validateBudget.xml Sun Sep 16 21:17:04 2007
@@ -70,6 +70,7 @@
<key> <string>_body</string> </key>
<value> <string encoding="cdata"><![CDATA[
+from Products.DCWorkflow.DCWorkflow import ValidationFailed\n
""" This scripts validate that this transaction fits in the defined budget. It requires erp5_budget.\n
"""\n
transaction = state_change[\'object\']\n
Modified: erp5/trunk/bt5/erp5_accounting/bt/revision
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_accounting/bt/revision?rev=16393&r1=16392&r2=16393&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_accounting/bt/revision (original)
+++ erp5/trunk/bt5/erp5_accounting/bt/revision Sun Sep 16 21:17:04 2007
@@ -1,1 +1,1 @@
-401
+402
More information about the Erp5-report
mailing list