<feed xmlns='http://www.w3.org/2005/Atom'>
<title>Odoo/addons/base_import/static/src/xml/import.xml, branch 14.0</title>
<subtitle>The current checkout of upstream Odoo</subtitle>
<link rel='alternate' type='text/html' href='http://erp.ceuconsult.com:9000/Odoo/'/>
<entry>
<title>[MOV] base_import: module directory organization</title>
<updated>2016-07-07T12:44:10+00:00</updated>
<author>
<name>Hitesh Trivedi</name>
<email>htr@openerp.com</email>
</author>
<published>2015-09-24T13:28:58+00:00</published>
<link rel='alternate' type='text/html' href='http://erp.ceuconsult.com:9000/Odoo/commit/?id=cf3e8324f1f4119347ec685abc5cced3a1cf02a9'/>
<id>cf3e8324f1f4119347ec685abc5cced3a1cf02a9</id>
<content type='text'>
Note: move test models file in models to not import tests
directory, which breaks the mute_logger of test cases
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Note: move test models file in models to not import tests
directory, which breaks the mute_logger of test cases
</pre>
</div>
</content>
</entry>
<entry>
<title>[MERGE] forward port of branch saas-10 up to 2f948c7</title>
<updated>2016-06-08T10:19:23+00:00</updated>
<author>
<name>Christophe Simonis</name>
<email>chs@odoo.com</email>
</author>
<published>2016-06-08T10:19:23+00:00</published>
<link rel='alternate' type='text/html' href='http://erp.ceuconsult.com:9000/Odoo/commit/?id=ac5023060c1cd356ceb39dd1b17de7df7f2eaf43'/>
<id>ac5023060c1cd356ceb39dd1b17de7df7f2eaf43</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>[FIX] base_import: t-if does not work with t-jquery</title>
<updated>2016-06-02T15:56:23+00:00</updated>
<author>
<name>Xudong Yang</name>
<email>fanderous@gmail.com</email>
</author>
<published>2016-05-31T03:37:14+00:00</published>
<link rel='alternate' type='text/html' href='http://erp.ceuconsult.com:9000/Odoo/commit/?id=f558c049d03d822394b6edf844d8ab862cdb1115'/>
<id>f558c049d03d822394b6edf844d8ab862cdb1115</id>
<content type='text'>
Not evaluated, move the condition to the button
Closes #12230
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Not evaluated, move the condition to the button
Closes #12230
</pre>
</div>
</content>
</entry>
<entry>
<title>[REF] base_import: simplify import by reducing choice for the columns based on heuristic</title>
<updated>2016-04-07T07:42:23+00:00</updated>
<author>
<name>Cedric Snauwaert</name>
<email>csn@openerp.com</email>
</author>
<published>2016-02-15T11:01:07+00:00</published>
<link rel='alternate' type='text/html' href='http://erp.ceuconsult.com:9000/Odoo/commit/?id=841f208b226587d9276b14c481378eeda52b6f30'/>
<id>841f208b226587d9276b14c481378eeda52b6f30</id>
<content type='text'>
automatically try to detect type of columns from the first 10 rows of file:
If column only contains integer, only show, int, float, monetary, m2o, o2m, m2m fields in wizard
If column only contains true/false values, only show boolean fields in wizard
etc

add an advanced mode which is the same as previous import (show all fields)

Support different date format and float value with currency as well as float value with parenthesis to reprensent negative value.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
automatically try to detect type of columns from the first 10 rows of file:
If column only contains integer, only show, int, float, monetary, m2o, o2m, m2m fields in wizard
If column only contains true/false values, only show boolean fields in wizard
etc

add an advanced mode which is the same as previous import (show all fields)

Support different date format and float value with currency as well as float value with parenthesis to reprensent negative value.
</pre>
</div>
</content>
</entry>
<entry>
<title>[IMP] base_import: add FAQ entry about CSV date formats</title>
<updated>2015-12-18T13:42:54+00:00</updated>
<author>
<name>Xavier Morel</name>
<email>xmo@odoo.com</email>
</author>
<published>2015-12-18T13:33:22+00:00</published>
<link rel='alternate' type='text/html' href='http://erp.ceuconsult.com:9000/Odoo/commit/?id=d1dea6119f132acdfdf89c35ab58398a25d54e67'/>
<id>d1dea6119f132acdfdf89c35ab58398a25d54e67</id>
<content type='text'>
task 21446
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
task 21446
</pre>
</div>
</content>
</entry>
<entry>
<title>[ADD] client-side CSRF support</title>
<updated>2015-09-30T23:36:50+00:00</updated>
<author>
<name>Xavier Morel</name>
<email>xmo@odoo.com</email>
</author>
<published>2015-09-23T13:55:24+00:00</published>
<link rel='alternate' type='text/html' href='http://erp.ceuconsult.com:9000/Odoo/commit/?id=cea29e0c0176657f094ab80b460be503affe8a1b'/>
<id>cea29e0c0176657f094ab80b460be503affe8a1b</id>
<content type='text'>
* add CSRF token as core.csrf_token
* add CSRF tokens to client-generated and/or JS-submitted forms
* remove broken "compatibility" mode of web.ajax.post

  /cc @dmo-odoo I've no idea how that was supposed to work, from looking
  things up all modern browsers seem to support FormData, and old IEs
  which don't don't support fallbacks either and would require
  submitting an actual form as fallback so...
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* add CSRF token as core.csrf_token
* add CSRF tokens to client-generated and/or JS-submitted forms
* remove broken "compatibility" mode of web.ajax.post

  /cc @dmo-odoo I've no idea how that was supposed to work, from looking
  things up all modern browsers seem to support FormData, and old IEs
  which don't don't support fallbacks either and would require
  submitting an actual form as fallback so...
</pre>
</div>
</content>
</entry>
<entry>
<title>[ADD] base_import: support for XLS and ODS files</title>
<updated>2015-08-26T14:50:09+00:00</updated>
<author>
<name>Xavier Morel</name>
<email>xmo@odoo.com</email>
</author>
<published>2015-08-26T14:04:14+00:00</published>
<link rel='alternate' type='text/html' href='http://erp.ceuconsult.com:9000/Odoo/commit/?id=f5a1693f064c4a85b7cbc71dc27d72bfcb5e66bf'/>
<id>f5a1693f064c4a85b7cbc71dc27d72bfcb5e66bf</id>
<content type='text'>
* added intermediate ``_read_file`` step dispatching between CSV, ODS
  and XLS(X) parsing
  - primary dispatch on mime type, secondary on file extension:
    + OS may not provide a relevant mime type if no software locally
      installed for the filetype (e.g. Windows sends excel files as
      application/octet-stream if excel is not installed, and ODS files as
      zip if OpenOffice/LibreOffice isn't installed)
    + applications may re-register extensions to non-standard mimetypes
      breaking the dispatcher

    So if the mimetype is found trust it, otherwise try with the
    filename's extension (if any)
  - all readers skip lines with only empty cells in their output
  - ODS and XLS content are "CSVified", rows are converted to arrays of
    unicode strings
* UI altered to not assume CSV files everywhere, and avoid returning
  garbage preview data for non-CSV imports

Various:
* added a ``can_import`` utility function to tests.common, can be used
  to skip tests if an optional Python dependency is not installed (but
  one would like tests to run if the dependency is available)
* fixed datetime issue in ir_fields
* added converter for monetary fields (iso float)
* spreadsheet don't have integers, twiddling required to ensure integral
  values won't be serialized as floats (breaking conversion back to
  Python)
* improved some tests by asserting no error is generated (bonus: logs
  the error message if there is one, rather than just saying the result
  is blown)
* because some systems only provide elderly versions of
  XLRD (e.g. current debian stable provides 0.9.2 from April 2013)
  - keep using xldate_as_tuple instead of 0.9.3's xldate_as_datetime,
    workaround is simple
  - check for xlrd.xlsx in case of pre-0.8 XLRD

Authorship:
Ronak Baxi &lt;rba@odoo.com&gt;
Mohammed Shekha &lt;msh@openerp.com&gt;

Task 10792
Closes #7285
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* added intermediate ``_read_file`` step dispatching between CSV, ODS
  and XLS(X) parsing
  - primary dispatch on mime type, secondary on file extension:
    + OS may not provide a relevant mime type if no software locally
      installed for the filetype (e.g. Windows sends excel files as
      application/octet-stream if excel is not installed, and ODS files as
      zip if OpenOffice/LibreOffice isn't installed)
    + applications may re-register extensions to non-standard mimetypes
      breaking the dispatcher

    So if the mimetype is found trust it, otherwise try with the
    filename's extension (if any)
  - all readers skip lines with only empty cells in their output
  - ODS and XLS content are "CSVified", rows are converted to arrays of
    unicode strings
* UI altered to not assume CSV files everywhere, and avoid returning
  garbage preview data for non-CSV imports

Various:
* added a ``can_import`` utility function to tests.common, can be used
  to skip tests if an optional Python dependency is not installed (but
  one would like tests to run if the dependency is available)
* fixed datetime issue in ir_fields
* added converter for monetary fields (iso float)
* spreadsheet don't have integers, twiddling required to ensure integral
  values won't be serialized as floats (breaking conversion back to
  Python)
* improved some tests by asserting no error is generated (bonus: logs
  the error message if there is one, rather than just saying the result
  is blown)
* because some systems only provide elderly versions of
  XLRD (e.g. current debian stable provides 0.9.2 from April 2013)
  - keep using xldate_as_tuple instead of 0.9.3's xldate_as_datetime,
    workaround is simple
  - check for xlrd.xlsx in case of pre-0.8 XLRD

Authorship:
Ronak Baxi &lt;rba@odoo.com&gt;
Mohammed Shekha &lt;msh@openerp.com&gt;

Task 10792
Closes #7285
</pre>
</div>
</content>
</entry>
<entry>
<title>[IMP] base_import file selection show only .csv files</title>
<updated>2015-07-29T12:40:54+00:00</updated>
<author>
<name>Antony Lesuisse</name>
<email>al@openerp.com</email>
</author>
<published>2015-07-29T12:39:01+00:00</published>
<link rel='alternate' type='text/html' href='http://erp.ceuconsult.com:9000/Odoo/commit/?id=78c54c3d98795e4986a85c6c8eac2fcceef20714'/>
<id>78c54c3d98795e4986a85c6c8eac2fcceef20714</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>[IMP] base_import: ControlPanelMixin and new design compatibility</title>
<updated>2015-07-29T06:41:03+00:00</updated>
<author>
<name>Aaron Bohy</name>
<email>aab@odoo.com</email>
</author>
<published>2015-07-24T14:12:11+00:00</published>
<link rel='alternate' type='text/html' href='http://erp.ceuconsult.com:9000/Odoo/commit/?id=e56bdb731d90feaa41c218f529d331463980e293'/>
<id>e56bdb731d90feaa41c218f529d331463980e293</id>
<content type='text'>
- Use the ControlPanelMixin in the Import view;
- Adapt the stylesheet to fit with both community and enterprise editions;
- Convert the css into less, use mixins and variables defined in web;
- Return the reload() deferred in the on_reverse_breadcrumb callback so that the
  previous action waits to be properly reloaded before being shown.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
- Use the ControlPanelMixin in the Import view;
- Adapt the stylesheet to fit with both community and enterprise editions;
- Convert the css into less, use mixins and variables defined in web;
- Return the reload() deferred in the on_reverse_breadcrumb callback so that the
  previous action waits to be properly reloaded before being shown.
</pre>
</div>
</content>
</entry>
<entry>
<title>[FIX] base_import: action button 'Import'</title>
<updated>2015-07-29T06:41:03+00:00</updated>
<author>
<name>Aaron Bohy</name>
<email>aab@odoo.com</email>
</author>
<published>2015-07-24T07:12:19+00:00</published>
<link rel='alternate' type='text/html' href='http://erp.ceuconsult.com:9000/Odoo/commit/?id=a21fe28b8deb931850a2e1c2fcd095abe170f0d4'/>
<id>a21fe28b8deb931850a2e1c2fcd095abe170f0d4</id>
<content type='text'>
Adapt the template according to the refactoring of the parent commit.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Adapt the template according to the refactoring of the parent commit.
</pre>
</div>
</content>
</entry>
</feed>
