bzr revid: hda@tinyerp.com-20090107134316-v4fa8t4gtxnsfxss
This commit is contained in:
hda (Tiny)
2009-01-07 19:13:16 +05:30
parent 73a36d5dbe
commit db58ebc5cb
+1 -1
View File
@@ -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']