[FIX]: base_export_language.py: forgot to replace dbname with cr in the call to trans_export.
lp bug: https://launchpad.net/bugs/700770 fixed bzr revid: vmt@openerp.com-20110110085335-lj3zzgdzvm5a45x9
This commit is contained in:
parent
f8c860f789
commit
66a453bf7d
|
@ -47,7 +47,7 @@ class base_language_export(osv.osv_memory):
|
|||
mods = map(lambda m: m.name, this.modules) or ['all']
|
||||
mods.sort()
|
||||
buf=cStringIO.StringIO()
|
||||
tools.trans_export(this.lang, mods, buf, this.format, dbname=cr.dbname)
|
||||
tools.trans_export(this.lang, mods, buf, this.format, cr)
|
||||
if this.format == 'csv':
|
||||
this.advice = _("Save this document to a .CSV file and open it with your favourite spreadsheet software. The file encoding is UTF-8. You have to translate the latest column before reimporting it.")
|
||||
elif this.format == 'po':
|
||||
|
|
Loading…
Reference in New Issue