summaryrefslogtreecommitdiff
path: root/addons/base_import/static/src/xml/import.xml
AgeCommit message (Collapse)Author
2016-07-07[MOV] base_import: module directory organizationHitesh Trivedi
Note: move test models file in models to not import tests directory, which breaks the mute_logger of test cases
2016-06-08[MERGE] forward port of branch saas-10 up to 2f948c7Christophe Simonis
2016-06-02[FIX] base_import: t-if does not work with t-jqueryXudong Yang
Not evaluated, move the condition to the button Closes #12230
2016-04-07[REF] base_import: simplify import by reducing choice for the columns based ↵Cedric Snauwaert
on heuristic 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.
2015-12-18[IMP] base_import: add FAQ entry about CSV date formatsXavier Morel
task 21446
2015-10-01[ADD] client-side CSRF supportXavier Morel
* 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...
2015-08-26[ADD] base_import: support for XLS and ODS filesXavier Morel
* 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 <rba@odoo.com> Mohammed Shekha <msh@openerp.com> Task 10792 Closes #7285
2015-07-29[IMP] base_import file selection show only .csv filesAntony Lesuisse
2015-07-29[IMP] base_import: ControlPanelMixin and new design compatibilityAaron Bohy
- 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.
2015-07-29[FIX] base_import: action button 'Import'Aaron Bohy
Adapt the template according to the refactoring of the parent commit.
2015-03-20[IMP] Web et al.: ControlPanel extracted from ViewManagerAaron Bohy
The ControlPanel is still instantiated by the ViewManager. Changes details: * web: views.js: Code related to views header is extracted from the ViewManager to a new Widget named ControlPanel. Also uses the headless flag to tell the inner view not to put its buttons (use case: kanban) or pager (use case: list) in the header as it is hidden. * web: view_form.js, base.xml: Uses the headless flag at initialization of the One2ManyViewManager widget instead of extending the ViewManager template (which doesn't handle the header anymore). * web: view_list.js: Test on this.options.$pager instead of this.options.$buttons when dealing with pager. Note: the behavior for list view is unchanged and has a bug. If there are more then 80 records to display, only the 80th first are display, and as there is no pager, there is no way to see the remaining ones. A fix for this would be to use a light ControlPanel in One2Many views as well. With this, there won't be duplicated .oe-'view'-buttons/sidebar/pager anymore. * web: view_graph.js, view_pivot.js: Only render buttons in non-headless mode * web_dashboard: dashboard.js: Fix some references that were broken with ControlPanel extraction * web_view_editor: web_view_editor.js: Extend ControlPanel instead of ViewManager * Changes in selector of ControlPanel elements in several addons: * base_import * mail * web
2015-02-26[FIX] base_import: typosFabrice Henrion
closes #5478
2014-07-18[REF] OpenERP --> Odoo in various UI textsrlu-odoo
Rebranding has been done in: - data/demo files - html templates - help notices - comments - logger messages - and other various messages (Commit taken from odoo-dev:8.0-improve-openerp-odoo-rlu at rev 7deaa08) Closes #1260
2014-05-22Add div tag and oe_padding class to display the questionYogesh Parekh
2014-05-12[IMP] mail, base_import: context key disabling history trackingXavier Morel
* added a ``tracking_disable`` context key used by mail to completely disable subscriptions setup and events generation during create and write operations * added import option to optionally set up that context key and speed up imports at the cost of not setting up subscriptions and not sending create/update events bzr revid: xmo@openerp.com-20140512100400-d1axjam2d0i2y0tf
2014-03-25[FIX] IE9 - Move the placeholder in base_import from view to js, to use the ↵Kersten Jeremy
mechanism of select2 and not the jquery.placeholder. Else, jq.placeholder override the select2 value, because the style option is in reality an input in dom. bzr revid: jke@openerp.com-20140325173205-n2q0dw1kynlkint7
2013-01-22[FIX] Replace csv file.chirag patel
bzr revid: cpa@tinyerp.com-20130122133520-0m3gmxdh3ytgor0s
2012-12-21[MERGE] *: improved english wording, suggestions courtesy of OpenERP CommunityOlivier Dony
bzr revid: odo@openerp.com-20121221164808-kdjrtcbgma4dr3on
2012-11-06[FIX] base_import: only allow reloading the current file if there *is* a ↵Xavier Morel
current file loaded bzr revid: xmo@openerp.com-20121106084353-npwkbkg6r0wkwdrg
2012-11-02[IMP] Import wizard, better explanationsFabien Pinckaers
bzr revid: fp@tinyerp.com-20121102103624-64vd1o41qq1tez2r
2012-11-02Add a sql file and their link.Vijaykumar Baladaniya
bzr revid: vba@tinyerp.com-20121102063350-ce4q6cq38n84jz70
2012-11-02[IMP]Improve content.Vijaykumar Baladaniya
bzr revid: vba@tinyerp.com-20121102060710-x5p5yl39n5qpe7ii
2012-11-01Add a proper file.Vijaykumar Baladaniya
bzr revid: vba@tinyerp.com-20121101124315-30vw1xc6c4ajp3i5
2012-11-01[IMP]Improve Code and add a csv file.Vijaykumar Baladaniya
bzr revid: vba@tinyerp.com-20121101111004-no023s4rzpze3i50
2012-10-29[IMP]Import functionality in kanban views. and add a Frequently Asked Questions.Vijaykumar Baladaniya
bzr revid: vba@tinyerp.com-20121029131746-ndc4qmd76xpne9ww
2012-10-29[IMP]View ImprovementVijaykumar Baladaniya
bzr revid: vba@tinyerp.com-20121029092750-tc6mm0xj1eiiwrqh
2012-10-29[MERGE]Merge with latest.Vijaykumar Baladaniya
bzr revid: vba@tinyerp.com-20121029091942-s97xuoorvcywiped
2012-10-29[IMP]Improve view.Vijaykumar Baladaniya
bzr revid: vba@tinyerp.com-20121029090141-eapggkys3ltbyquh
2012-10-29[IMP]put a tooltip on the refresh button.Vijaykumar Baladaniya
bzr revid: vba@tinyerp.com-20121029045026-lqvpzryidxjd9z3b
2012-10-25[IMP]View improvement.Vijaykumar Baladaniya
bzr revid: vba@tinyerp.com-20121025134121-jn73k1lxta13idcg
2012-10-17[IMP] css: improved csv import cssFrédéric van der Essen
bzr revid: fva@openerp.com-20121017165646-8u35781nm8skhulh
2012-10-10[IMP] base_import: simplify styling of looks buttonXavier Morel
bzr revid: xmo@openerp.com-20121010112731-flw3bkijm229mr53
2012-10-10[ADD] reload file button next to the file input, as webkit browsers and MSIE ↵Xavier Morel
don't trigger change when a file input is re-set to thee same file Using other events (e.g. 'click') is not kosher as the event is triggered long before the file is picked, the alternative is to use the File API and regularly check the file in the input to see if it's been altered (by storing a crc) and re-pushing it if the hash is different. Of course this has other issues (risks catching the file mid-edition...) A third alternative is, once a file has been uploaded, to clear and re-insert the corresponding file input. This means the file input will *always* be empty bzr revid: xmo@openerp.com-20121010101836-qtqmcc5n5zblgmcp
2012-10-08[IMP] base_import: always open CSV link in new windowXavier Morel
bzr revid: xmo@openerp.com-20121008130856-fw0p92lofx7u27b2
2012-10-04[IMP] move file format options from below preview table to below file fieldXavier Morel
bzr revid: xmo@openerp.com-20121004102236-auj053d38tp5fpvy
2012-10-03[IMP] highlight toggling between validation and import buttonsXavier Morel
bzr revid: xmo@openerp.com-20121003121619-e6nbd78mfa5owycp
2012-10-03[IMP] make import into a full-scene client actionXavier Morel
* Correctly handle back (via history_back) * Disable buttons when no file has been loaded yet * Highlight import when a validation has yield no message bzr revid: xmo@openerp.com-20121003121137-xo7lu5m5y0s7gyo1
2012-10-01[IMP] base_import: better warnings when the file parsing has very likely failedXavier Morel
bzr revid: xmo@openerp.com-20121001142227-v1iypgjgfcq4pgo7
2012-10-01[FIX] link [CSV] to wikipediaXavier Morel
bzr revid: xmo@openerp.com-20121001110303-xkjjuhuxcb378cyx
2012-09-27[ADD] unstyled and incomplete handling of @moreinfoXavier Morel
action triggering is still missing bzr revid: xmo@openerp.com-20120927074845-pb3osgymmtddglc0
2012-09-26[IMP] warning and error reporting during importXavier Morel
bzr revid: xmo@openerp.com-20120926165052-7eq4ne62h63zbqqm
2012-09-11[IMP] re-introduce Import button/link when base_import is installedXavier Morel
bzr revid: xmo@openerp.com-20120911063849-xqw380wglzxviojf
2012-09-06[FIX] field-selection UI in import table: replace jquery-autocomplete by select2Xavier Morel
* jQuery autocomplete requires complex hacks to work out and look select-ish * select2 is more straightforward to use for people expecting <select> as it's styled similarly to a (non-standard) select * select2 includes built-in support for groups, no need to hack it via interspersed fake options * select2 provides a nice [x] button to remove the current choice without having to e.g. manually remove the content of the input Why select2 instead of Chosen? Because Chosen isn't really setup to work from array data, it wants selects serialized in the DOM, and while the webkit bug I'd identified previously (see web client revid:xmo@openerp.com-20110922085812-3u1esk6czraskm01) seems fixed in the very latest webkits, it's still present in e.g. Safari 5.1 which I'm using. So there. And chosen's APIDoc is almost as bad as OpenERP's. bzr revid: xmo@openerp.com-20120906103516-h94e6hd76w41bmyx
2012-08-30[IMP] add encoding csv optionXavier Morel
and generify handling of options a bit, imprive styling, and rename 'quote' to 'quoting' bzr revid: xmo@openerp.com-20120830141226-exli9s1hh4vij6sd
2012-08-30[IMP] Make CSV options (quoting and separator) customizableXavier Morel
Also autogen input ids so labels work correctly without collision risks, and make toggling links more flexible bzr revid: xmo@openerp.com-20120830125232-d7g7s5oid4qivaq2
2012-08-14[ADD] blahblahblahblahXavier Morel
also basic CSS effects bzr revid: xmo@openerp.com-20120814172322-1hx09qqh90umjdcq
2012-08-14[ADD] actual importing, no fields matching yetXavier Morel
also no error pinpointing because API does not allow for it currently bzr revid: xmo@openerp.com-20120814141456-zh9kdbjy8wj1sxys
2012-08-14[ADD] error reporting to user during previewXavier Morel
bzr revid: xmo@openerp.com-20120814124835-9nkqni98ie2eyt5r
2012-08-14[ADD] base import logic: implement creating an import, uploading a file and ↵Xavier Morel
displaying the preview bzr revid: xmo@openerp.com-20120814121610-j2rpg7u5zh4h93j1