summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorAnup (OpenERP) <ach@tinyerp.com>2010-05-12 16:17:58 +0530
committerAnup (OpenERP) <ach@tinyerp.com>2010-05-12 16:17:58 +0530
commitf0781ecb44ed22b2e72bdcbc0ad167828c110a7e (patch)
tree8714d1ba00c8d0af935702fe93b5f5f847fe46ea /bin
parente364e897511df7e7a21ba7615bb44076bab5e403 (diff)
[FIX] Missing imports of _ of tools.translate provided
bzr revid: ach@tinyerp.com-20100512104758-mkh0fe6fmlf5czdp
Diffstat (limited to 'bin')
-rw-r--r--bin/osv/fields.py2
-rw-r--r--bin/report/custom.py1
2 files changed, 2 insertions, 1 deletions
diff --git a/bin/osv/fields.py b/bin/osv/fields.py
index a38301ba184..2158c7b0fbe 100644
--- a/bin/osv/fields.py
+++ b/bin/osv/fields.py
@@ -39,7 +39,7 @@ from psycopg2 import Binary
import warnings
import tools
-
+from tools.translate import _
def _symbol_set(symb):
if symb == None or symb == False:
diff --git a/bin/report/custom.py b/bin/report/custom.py
index e476b296056..d4309b31ab9 100644
--- a/bin/report/custom.py
+++ b/bin/report/custom.py
@@ -36,6 +36,7 @@ from pychart import *
import misc
import cStringIO
from lxml import etree
+from tools.translate import _
class external_pdf(render.render):
def __init__(self, pdf):