Commit 87997343 authored by Kazuhiko Shiozaki's avatar Kazuhiko Shiozaki

fix some undefined names with help of erp5flakes.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@16393 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 0cc20e89
......@@ -88,7 +88,7 @@ N_ = portal.Base_translateString\n
# 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
......
......@@ -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
......
401
\ No newline at end of file
402
\ 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