From db58ebc5cbbab1f1e358d2e673f860b5ad2142d7 Mon Sep 17 00:00:00 2001 From: "hda (Tiny)" Date: Wed, 7 Jan 2009 19:13:16 +0530 Subject: [PATCH] bugfix bzr revid: hda@tinyerp.com-20090107134316-v4fa8t4gtxnsfxss --- bin/tools/translate.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/tools/translate.py b/bin/tools/translate.py index 16ac39db0f5..b7a59538c9e 100644 --- a/bin/tools/translate.py +++ b/bin/tools/translate.py @@ -359,7 +359,7 @@ def trans_generate(lang, modules, dbname=None): push_translation(module, 'view', encode(obj.model), 0, t) elif model=='ir.actions.wizard': service_name = 'wizard.'+encode(obj.wiz_name) - obj2 = netsvc._service[service_name] + obj2 = netsvc.SERVICES[service_name] for state_name, state_def in obj2.states.iteritems(): if 'result' in state_def: result = state_def['result']