[FIX] base_module_quality: add import statment for _ and give size to name field...
authormra (Open ERP) <mra@tinyerp.com>
Tue, 19 Jan 2010 10:50:29 +0000 (16:20 +0530)
committermra (Open ERP) <mra@tinyerp.com>
Tue, 19 Jan 2010 10:50:29 +0000 (16:20 +0530)
bzr revid: mra@tinyerp.com-20100119105029-rbslqhf5haqq8q3a

addons/base_module_quality/wizard/quality_save_report.py

index 1debe21..853698d 100644 (file)
@@ -1,6 +1,6 @@
 # -*- coding: utf-8 -*-
 ##############################################################################
-#    
+#
 #    OpenERP, Open Source Management Solution
 #    Copyright (C) 2004-2010 Tiny SPRL (<http://tiny.be>).
 #
@@ -15,7 +15,7 @@
 #    GNU Affero General Public License for more details.
 #
 #    You should have received a copy of the GNU Affero General Public License
-#    along with this program.  If not, see <http://www.gnu.org/licenses/>.     
+#    along with this program.  If not, see <http://www.gnu.org/licenses/>.
 #
 ##############################################################################
 
@@ -25,6 +25,7 @@ import cStringIO
 import wizard
 from osv import osv
 import pooler
+from tools.translate import _
 
 form_rep = '''<?xml version="1.0"?>
 <form string="Standard entries">
@@ -35,7 +36,7 @@ form_rep = '''<?xml version="1.0"?>
 
 
 fields_rep = {
-  'name': {'string': 'File name', 'type': 'char', 'required': True, 'help': 'Save report as .html format'},
+  'name': {'string': 'File name', 'type': 'char', 'required': True, 'help': 'Save report as .html format', 'size':64},
   'module_file': {'string': 'Save report', 'type': 'binary', 'required': True},
 }