[FIX][CRITICAL] warning : missing import statement for "_"
authorHarry (Open ERP) <hmo@tinyerp.com>
Thu, 5 Nov 2009 05:55:07 +0000 (11:25 +0530)
committerHarry (Open ERP) <hmo@tinyerp.com>
Thu, 5 Nov 2009 05:55:07 +0000 (11:25 +0530)
lp bug: https://launchpad.net/bugs/474337 fixed

bzr revid: hmo@tinyerp.com-20091105055507-g7c82iwomrgi5fnt

addons/warning/warning.py

index 3a8d9f5..16d29d9 100644 (file)
@@ -22,6 +22,7 @@
 
 import time
 from osv import fields,osv
+from tools.translate import _
 
 WARNING_MESSAGE = [
                    ('no-message','No Message'),