summaryrefslogtreecommitdiff
path: root/bin/addons/base/module/wizard
diff options
context:
space:
mode:
authorVo Minh Thu <vmt@openerp.com>2011-01-10 09:53:35 +0100
committerVo Minh Thu <vmt@openerp.com>2011-01-10 09:53:35 +0100
commit66a453bf7d26daa11f2d3b3362c2c6cea9a962b4 (patch)
treea0f7636dcc8dd53477bc204c359e9b546e5a2933 /bin/addons/base/module/wizard
parentf8c860f789fe0606f9ef2930040c1db264c3940b (diff)
[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
Diffstat (limited to 'bin/addons/base/module/wizard')
-rw-r--r--bin/addons/base/module/wizard/base_export_language.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/addons/base/module/wizard/base_export_language.py b/bin/addons/base/module/wizard/base_export_language.py
index 1b43b561ac3..86683bbcc4f 100644
--- a/bin/addons/base/module/wizard/base_export_language.py
+++ b/bin/addons/base/module/wizard/base_export_language.py
@@ -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':
@@ -86,4 +86,4 @@ class base_language_export(osv.osv_memory):
}
base_language_export()
-# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4: \ No newline at end of file
+# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4: