Rifakat (OpenERP) has proposed merging
lp:~openerp-dev/openobject-client/6.0-OPW-51173-rha into
lp:openobject-client/6.0.
Requested reviews:
Xavier ALT (OpenERP) (xal-openerp)
For more details, see:
https://code.launchpad.net/~openerp-dev/openobject-client/6.0-OPW-51173-rha/+merge/94122
Hello,
While doing export in Windows, Excel file is not directly opening when we
choose option "Open in excel", instead it pops up the file saving prompt if the
language is other than en_US.
Kindly review it.
Thanks,
Rifakat
--
https://code.launchpad.net/~openerp-dev/openobject-client/6.0-OPW-51173-rha/+merge/94122
Your team OpenERP R&D Team is subscribed to branch
lp:~openerp-dev/openobject-client/6.0-OPW-51173-rha.
=== modified file 'bin/modules/gui/window/win_export.py'
--- bin/modules/gui/window/win_export.py 2011-07-26 09:59:01 +0000
+++ bin/modules/gui/window/win_export.py 2012-02-22 11:18:18 +0000
@@ -349,7 +349,7 @@
result = result.get('datas',[])
if import_comp:
fields2 = fields
- if self.wid_action.get_active_text() == "Open in Excel":
+ if len(self.wid_action.get_model()) > 1 and self.wid_action.get_active() == 0:
open_excel(fields2, result)
else:
fname = common.file_selection(_('Save As...'),
_______________________________________________
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