From 0391fd7dc039743a3e4f22548ef00811d0400d93 Mon Sep 17 00:00:00 2001 From: Stephane Wirtel Date: Wed, 7 Jan 2009 15:22:34 +0100 Subject: [PATCH] [FIX] Change the label of the field certificate bzr revid: stephane@tinyerp.com-20090107142234-cye349u0debxgupy --- bin/addons/base/module/module.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bin/addons/base/module/module.py b/bin/addons/base/module/module.py index a5cff1d19ce..16da7d10ba6 100644 --- a/bin/addons/base/module/module.py +++ b/bin/addons/base/module/module.py @@ -176,7 +176,7 @@ class module(osv.osv): 'menus_by_module': fields.function(_get_views, method=True, string='Menus', type='text', multi="meta", store=True), 'reports_by_module': fields.function(_get_views, method=True, string='Reports', type='text', multi="meta", store=True), 'views_by_module': fields.function(_get_views, method=True, string='Views', type='text', multi="meta", store=True), - 'certificate' : fields.char('Certificate', size=64, readonly=True), + 'certificate' : fields.char('Quality Certificate', size=64, readonly=True), } _defaults = { @@ -198,7 +198,7 @@ class module(osv.osv): logger = netsvc.Logger() for mod in self.browse(cr, uid, ids): if not mod.certificate: - logger.notifyChannel('', netsvc.LOG_WARNING, 'module %s: no certificate' % mod.name) + logger.notifyChannel('', netsvc.LOG_WARNING, 'module %s: no quality certificate' % mod.name) else: try: val = long(mod.certificate) % 97 == 29