summaryrefslogtreecommitdiff
path: root/addons/base_module_quality/wizard/quality_save_report.py
diff options
context:
space:
mode:
authormra (Open ERP) <mra@tinyerp.com>2010-01-19 16:20:29 +0530
committermra (Open ERP) <mra@tinyerp.com>2010-01-19 16:20:29 +0530
commitb6f42771f67d59bfd3aff4e5313c2f044cb94b70 (patch)
tree98cce621280c70a389b6babd58a388b7c027ff02 /addons/base_module_quality/wizard/quality_save_report.py
parent420dfcf326758028988db743465cf081b77c91e5 (diff)
[FIX] base_module_quality: add import statment for _ and give size to name field on save report wizard so that it can display long name also
bzr revid: mra@tinyerp.com-20100119105029-rbslqhf5haqq8q3a
Diffstat (limited to 'addons/base_module_quality/wizard/quality_save_report.py')
-rw-r--r--addons/base_module_quality/wizard/quality_save_report.py7
1 files changed, 4 insertions, 3 deletions
diff --git a/addons/base_module_quality/wizard/quality_save_report.py b/addons/base_module_quality/wizard/quality_save_report.py
index 1debe21289d..853698dee1f 100644
--- a/addons/base_module_quality/wizard/quality_save_report.py
+++ b/addons/base_module_quality/wizard/quality_save_report.py
@@ -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},
}