Olivier Dony
b7b2609328
[FIX] base_import: avoid JS error in callback
2016-04-01 20:44:10 +02:00
Olivier Dony
37744cb55f
[FIX] base_import: avoid JS error in callback
2016-04-01 20:30:57 +02:00
Denis Ledoux
2d2028a66c
[MERGE] forward port of branch 9.0 up to b44cb82
2016-03-31 17:57:22 +02:00
Xavier Morel
4a31f85c5a
[FIX] base_import: CSV import error from windows
...
Missing bit from #10374 : because the _read_xls function is a generator
it is *entirely* lazy and Python doesn't execute *any* code when it's
initially called, which means the file is actually (tentatively) parsed
when the first line is requested which happens outside of
_read_file (and thus of the fallback mechanism implemented by #10374 ).
Fix by splitting _read_xls between the opening of the workbook (eager)
and the actual iteration (which remains lazy).
2016-03-25 13:13:23 +01:00
Martin Trigaux
b54b888305
[MERGE] Forwardport of branch 9.0 up to revision 87578177
2016-03-22 14:30:21 +01:00
Christophe Simonis
c9ee5105e9
[MERGE] forward port of branch 8.0 up to df21297
2016-03-21 14:00:17 +01:00
Odoo Translation Bot
f5cc04caa7
[I18N] Update translation terms from Transifex
2016-03-20 02:58:59 +01:00
Odoo Translation Bot
ef026d7cf2
[I18N] Update translation terms from Transifex
2016-03-20 00:32:37 +01:00
Christophe Simonis
1431ba2f9b
[MERGE] forward port of branch 8.0 up to 7b7f3fa
2016-03-16 13:15:30 +01:00
qdp-odoo
71d16a369e
[MERGE] forward port of branch 9.0 up to revision 083e172dd9
2016-03-16 10:08:49 +01:00
Odoo Translation Bot
345c83a9d0
[I18N] Update translation terms from Transifex
2016-03-13 02:59:06 +01:00
Odoo Translation Bot
41c94f6c77
[I18N] Update translation terms from Transifex
2016-03-13 00:33:15 +01:00
Christophe Simonis
3b6c243440
[MERGE] forward port of branch 9.0 up to c169c59
2016-02-24 18:50:09 +01:00
Christophe Simonis
c169c59e69
[FIX] base_import: adapt forward-ported test to v9
2016-02-24 18:45:51 +01:00
Christophe Simonis
dd875ed1a1
[MERGE] forward port of branch saas-6 up to f5ed710
2016-02-24 18:02:53 +01:00
Christophe Simonis
f5ed710c74
[MERGE] forward port of branch 8.0 up to d4e5019
2016-02-24 16:37:41 +01:00
Nicolas Lempereur
d4e5019ec7
[FIX] web: csv export newline for text/html field
...
CSV export was added in f146e2a and since then newline were not
exported.
But new line should be allowed if the string is quoted by " characters
which is done in Odoo.
closes #11005
opw-667853
2016-02-24 11:26:16 +01:00
Odoo Translation Bot
f83c28eb72
[I18N] Update translation terms from Transifex
2016-02-22 11:06:52 +01:00
Odoo Translation Bot
488c693109
[I18N] Update translation terms from Transifex
2016-02-21 02:59:19 +01:00
Christophe Simonis
5be43b8d9a
[MERGE] forward port of branch 9.0 up to 27058c4
2016-02-17 17:48:03 +01:00
Xavier Morel
a4ee8e5723
[IMP] base_import: use mimetype guessing
...
Rather than trust the user-controlled mimetype or extension of imported
files which may be incorrect (because the user is lying, because the
system is misconfigured, because software is not installed, because
software is registering non-standard mimetypes, etc...), start by trying
to guess the mimetype *then* fallback on trying the type/ext.
Of note: CSV is becoming less and less great as it's nigh impossible to
guess for it.
2016-02-17 15:45:11 +01:00
Xavier Morel
97d2b758fe
[FIX] catch exception on incorrect mime type
...
If the user provides a known mimetype which doesn't actually match the
file as far as we're concerned, warn and fallback on extension rather
than blow up.
This comes up when a user installs Excel on Windows: it associates CSV
files with itself and sets their mime type to application/vnd.ms-excel,
which is not correct and leads to us trying to load a CSV with xlrd (an
excel-parsing library).
Fixes #9779
2016-02-17 15:45:11 +01:00
Denis Ledoux
493705bb77
[MERGE] forward port of branch 9.0 up to c40070f
2016-02-15 17:00:11 +01:00
Denis Ledoux
fcd10521e9
[MERGE] forward port of branch 8.0 up to 5401345
2016-02-15 11:37:27 +01:00
Odoo Translation Bot
f35fd798f1
[I18N] Update translation terms from Transifex
2016-02-14 02:59:46 +01:00
Odoo Translation Bot
ee42be5921
[I18N] Update translation terms from Transifex
2016-02-14 00:34:15 +01:00
Denis Ledoux
eb2346ba46
[MERGE] forward port of branch 9.0 up to 0b7990c
2016-02-08 16:08:32 +01:00
Denis Ledoux
fead627dd5
[MERGE] forward port of branch 8.0 up to 3ff4dae
2016-02-08 13:31:27 +01:00
Odoo Translation Bot
3ff4dae5b0
[I18N] Update translation terms from Transifex
2016-02-07 02:58:52 +01:00
Odoo Translation Bot
f2146d360d
[I18N] Update translation terms from Transifex
2016-02-07 00:33:44 +01:00
Christophe Simonis
e765569d04
[MERGE] forward port of branch 9.0 up to f0a63e5
2016-02-02 14:44:39 +01:00
Odoo Translation Bot
3b4bbb8c28
[I18N] Update translation terms from Transifex
2016-01-31 00:33:36 +01:00
Christophe Simonis
50b0b075a9
[MERGE] forward port of branch 8.0 up to ab245fc
2016-01-26 14:04:55 +01:00
Julien Legros
e5e7c4c121
[MERGE] forward port of branch 9.0 up to 6872aae
2016-01-25 11:26:27 +01:00
Odoo Translation Bot
dc48744bf7
[I18N] Update translation terms from Transifex
2016-01-24 03:00:37 +01:00
Odoo Translation Bot
78a0a60b08
[I18N] Update translation terms from Transifex
2016-01-21 06:31:45 +01:00
Julien Legros
ddcc62c6dd
[MERGE] forward port of branch 9.0 up to 365e298
2016-01-19 11:37:27 +01:00
Christophe Simonis
12d9a34cf4
[MERGE] forward port of branch 8.0 up to 1812b8f
2016-01-18 10:40:09 +01:00
Odoo Translation Bot
2efa359e41
[I18N] Update translation terms from Transifex
2016-01-17 03:01:54 +01:00
Odoo Translation Bot
fb7064bf3f
[I18N] Update translation terms from Transifex
2016-01-17 01:29:24 +01:00
Denis Ledoux
474baec1cf
[MERGE] forward port of branch 9.0 up to ddd3e08
2016-01-15 16:46:32 +01:00
Odoo Translation Bot
c7b01fea24
[I18N] Update translation terms from Transifex
2016-01-15 08:54:52 +01:00
Christophe Simonis
7fa6f73302
[MERGE] forward port of branch 9.0 up to cb79297
2016-01-12 15:30:29 +01:00
Odoo Translation Bot
9c911d0364
[I18N] Update translation terms from Transifex
2016-01-10 01:28:32 +01:00
Christophe Simonis
31ce19bd7c
[MERGE] forward port of branch 9.0 up to 97e87a4
2016-01-05 15:51:49 +01:00
Denis Ledoux
0f085db19e
[MERGE] forward port of branch 8.0 up to a4e48d4
2016-01-04 12:36:14 +01:00
Odoo Translation Bot
8000181772
[I18N] Update translation terms from Transifex
2016-01-03 02:54:27 +01:00
Odoo Translation Bot
4dac9f2b73
[I18N] Update translation terms from Transifex
2016-01-03 01:24:45 +01:00
Martin Trigaux
955ed51687
[MERGE] Forwardport of branch 8.0 up to 6efc3712
2015-12-30 11:48:14 +01:00
Martin Trigaux
ddeb90d46e
[I18N] Update translation terms from Transifex
2015-12-29 17:40:57 +01:00