Olivier Dony (OpenERP) (odo) has assigned this bug to you for OpenERP GTK
Client:
To reproduce, on Windows:
1) Install GTK client V6.0.x or V6.1
2) Add a system environment variable in Windows: LANG=nl_NL
3) Start GTK client, connect to a server. Observe: menu is in Dutch now.
4) Try to export any data to Excel. Observe: you get a csv export instead.
Notice the dropdown that allows you to select the export to Excel: it should
say "Openen in Excel".
Cause:
The file bin/modules/gui/window/win_export.py contains the following code:
if self.wid_action.get_active_text() == "Open in Excel":
open_excel(fields2, result)
else:....
However, when LANG=nl_NL, self.wid_action.get_active_text() equals
"Openen in Excel".
The code above contains a language-specific string that breaks when the
translation is not "Open in Excel".
On a Windows systems configured with Dutch as the default language, the
export breaks without setting an environment variable. Workaround: add a
system environment variable LANG=en_US. The client menu will be in
English now.
** Affects: openobject-client
Importance: Low
Assignee: OpenERP sa GTK client R&D (openerp-dev-gtk)
Status: Confirmed
--
No Excel export when lang not en_US
https://bugs.launchpad.net/bugs/787840
You received this bug notification because you are a member of OpenERP sa GTK
client R&D, which is a bug assignee.
_______________________________________________
Mailing list: https://launchpad.net/~openerp-dev-gtk
Post to : [email protected]
Unsubscribe : https://launchpad.net/~openerp-dev-gtk
More help : https://help.launchpad.net/ListHelp