diff options
| author | Olivier Dony <odo@openerp.com> | 2016-03-27 18:42:52 +0200 |
|---|---|---|
| committer | Olivier Dony <odo@openerp.com> | 2016-03-30 03:43:40 +0200 |
| commit | 88594416a6966bba6c291ab271dea627568871ec (patch) | |
| tree | c727b4136a148e175d8f58efcf557710d82a7468 /addons/web/static/src/js/framework/session_instance.js | |
| parent | 04f896b135f3054496b0badc2b07afd2e8f03c19 (diff) | |
[FIX] web: CSV export: avoid triggering formulas
When exporting text data in CSV format, values
beginning with '=', '+' or '-' will usually be
mistaken by spreadsheet applications as formulas
upon CSV import.
That will often cause the cell to display an
error message instead of the actual contents,
such as "#NAME?"
Prefixing them with a single quote makes them
pure text cells. The special single quote
character is usually hidden by the spreadsheet
in that case.
Numbers and other types of values are not affected.
Diffstat (limited to 'addons/web/static/src/js/framework/session_instance.js')
0 files changed, 0 insertions, 0 deletions
