summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js/data_import.js
AgeCommit message (Collapse)Author
2012-09-11[REM] import from core, moving to moduleXavier Morel
bzr revid: xmo@openerp.com-20120911063607-xvhyjqohptynro30
2012-08-24[IMP] made a whole-application replace of $element by $elniv-openerp
bzr revid: nicolas.vanhoren@openerp.com-20120824182707-vt91ef40ieeudwyw
2012-08-02[IMP] Mass rename \t to 4 spacesniv-openerp
bzr revid: nicolas.vanhoren@openerp.com-20120802144623-ykl5te005ytnv584
2012-06-27[CHG] Ashes to ashes, dashes to underscores.Fabien Meghazi
bzr revid: fme@openerp.com-20120627141249-o10e2htxqtio72l7
2012-06-25[MERGE] 6.1 changes and trunkXavier Morel
bzr revid: xmo@openerp.com-20120625135215-az1927llmk0vw655
2012-06-06[MERGE] OPW 574895: fix incorrect matching of column headers when importing ↵Olivier Dony
CSV files - required fields may sometimes be provided by alternative columns, and all the alternatives are therefore not required (e.g. for a m2o the CSV can provide m2o or m2o/id columns) - when fields share the same label, precedence when matching column headers should be given to the field with the exact same name, rather than just the first one encountered bzr revid: odo@openerp.com-20120606174043-f1nmkad3p17mccyy
2012-05-30[FIX] web: data import: correctly handle 'required' many2one - user can ↵Xavier ALT
provided any of base fieldname or with the '/id' bzr revid: xal@openerp.com-20120530101715-oe86b3vk6qynp29e
2012-05-30[FIX] web: data import: fields matching have to be done first on ↵Xavier ALT
exactfieldname, then only on string bzr revid: xal@openerp.com-20120530101608-8al6jw332oz0v2c0
2012-05-25[FIX] data_import: allow importing m2o via name_search() on top of their XML IDOlivier Dony
We do default to exporting the XML ID, but there are many cases where completely new data needs to be imported and there is no XML ID available to do so. In that case allowing name_search() to be used as in 6.0 is a life-saver. This patch simply makes the m2o field itself visible during import, so users can use it in their CSV file or manually select it. Some trivial examples: - you need to import 2000 new leads with their countries, obviously you can't guess that base.be should be used for country Belgium - you need to update 2000 unassigned leads in the system and assign them to some of the salemen... but you don't have their XML IDs and even if you had, the match is quite hard to do. bzr revid: odo@openerp.com-20120525070859-y4q3bnamvag2pzcq
2012-05-16[FIX]Refixed the translation issue in import.msh-openerp
bzr revid: msh@tinyerp.com-20120516120946-bxroqa9tiwhqxbpo
2012-04-17[imp] refactored data_import.jsniv-openerp
bzr revid: nicolas.vanhoren@openerp.com-20120417115726-5zwzwyp1lzdjxwh7
2012-04-04[FIX]Fixed the issue of translation in data_import.msh-openerp
bzr revid: msh@tinyerp.com-20120404085243-69cx9zr4915eb6kz
2012-02-21[imp] renammed stop()niv-openerp
bzr revid: nicolas.vanhoren@openerp.com-20120221162912-zheko30qoh84hcoq
2012-02-21[imp] renamed widget_parent to getParent()niv-openerp
bzr revid: nicolas.vanhoren@openerp.com-20120221153023-cqs66neaddtuf7km
2012-02-17[fix] added openerp class to all dialogsniv-openerp
bzr revid: nicolas.vanhoren@openerp.com-20120217114357-5jeue9292eg2zoqf
2012-02-16[FIX] xmo@openerp.com-20120209090214-84d6jjr1jnf32kpi excluded too many fieldsXavier Morel
previous change would exclude all fields with @readonly, but @state can remove @readonly from fields and means fields are importable again (pretty much). Need to add that, otherwise it's almost impossible to import stuff bzr revid: xmo@openerp.com-20120216163155-wh8uory00i2qifxy
2012-02-09[CNG] don't filter out function fields from import or export, only readonly ↵Xavier Morel
fields bzr revid: xmo@openerp.com-20120209090214-84d6jjr1jnf32kpi
2012-01-10[IMP] More dataset refactoringFabien Meghazi
bzr revid: fme@openerp.com-20120110165451-pvchn668y0b1p645
2011-12-21[FIX] Reworked dialogsFabien Meghazi
lp bug: https://launchpad.net/bugs/892248 fixed lp bug: https://launchpad.net/bugs/885507 fixed bzr revid: fme@openerp.com-20111221134306-k5w0g0oih3uvhy34
2011-12-16[FIX] exclude function fields from import_compatible export and from all importsXavier Morel
bzr revid: xmo@openerp.com-20111216114941-fr6wsfabxfqf86xw
2011-12-15[IMP] mark a bunch of dialog stuff as exportable (mostly buttons, but also ↵Xavier Morel
dialog titles) bzr revid: xmo@openerp.com-20111215104031-h2xjkf0zwf8x8zjk
2011-12-01[IMP] move sections of import_result around to make flow clearerXavier Morel
bzr revid: xmo@openerp.com-20111201110140-ozkrhoxt0ug5qcnj
2011-12-01[REM] misleading (and incorrect) validation message after import failure due ↵Xavier Morel
to server error lp bug: https://launchpad.net/bugs/898547 fixed bzr revid: xmo@openerp.com-20111201110007-sy3fj347ga7pj7d8
2011-11-14[IMP] mark a bunch of strings as translatable in searchview JSXavier Morel
bzr revid: xmo@openerp.com-20111114101221-905mu3id02o3n2li
2011-10-24[FIX] automatically open options box if the file fails to parse entirelyXavier Morel
bzr revid: xmo@openerp.com-20111024142744-zeal912gqf9bvrrp
2011-10-24[ADD] open/close arrow next to import optionsXavier Morel
bzr revid: xmo@openerp.com-20111024141737-bk2rg08wvll1hgno
2011-10-24[IMP] import: only show second step once file has been uploadedXavier Morel
bzr revid: xmo@openerp.com-20111024140658-8t9csv9i6gd30luj
2011-10-24[ADD] dropdown arrow next to import autocompletesXavier Morel
bzr revid: xmo@openerp.com-20111024135521-aikh791r9j94moal
2011-10-19[FIX] failure to auto-match 'inner' fields of o2m records when importingXavier Morel
lp bug: https://launchpad.net/bugs/878005 fixed bzr revid: xmo@openerp.com-20111019134936-xfo9zt1ivgocbffr
2011-10-19[FIX] always add external ids to the list of importable fieldsXavier Morel
lp bug: https://launchpad.net/bugs/878005 fixed bzr revid: xmo@openerp.com-20111019103822-lx0gldsmxbqb87dr
2011-10-18[FIX] columns with default values should not be marked as required during importXavier Morel
bzr revid: xmo@openerp.com-20111018102108-2c1uixgbeb3t6wkx
2011-10-17[FIX] import :- change variable name.Yogesh (OpenERP)
bzr revid: ysa@tinyerp.com-20111017131849-u034vkz20cw8e31t
2011-10-17[IMP] Import :- improve code.Yogesh (OpenERP)
bzr revid: ysa@tinyerp.com-20111017061602-6sv4m5ew70by57yx
2011-10-12[FIX] import :- default value set on required field then remove this field ↵Yogesh (OpenERP)
on required fields list. lp bug: https://launchpad.net/bugs/871625 fixed bzr revid: ysa@tinyerp.com-20111012080540-1m6x6npy7e0jaoif
2011-09-26[ADD] basic auto-matching of imported file columns to model fieldsXavier Morel
todo: if exact equality with field name and field string fail, a levenshtein distance test with the field string would be pretty cool (mostly for importing stuff) bzr revid: xmo@openerp.com-20110926100744-1mcucy3njp9fd3r5
2011-09-26[FIX] prevent setting a field name which does not exist in the listXavier Morel
bzr revid: xmo@openerp.com-20110926093024-et5kvpvvq1vm811h
2011-09-23[FIX] moved a self around so import window did not close correctlyXavier Morel
bzr revid: xmo@openerp.com-20110923130943-293wxucafwjloxwh
2011-09-23[IMP] fixup field names since we only ever export xmlids anymoreXavier Morel
might have to change that, or something bzr revid: xmo@openerp.com-20110923124634-sk9ka293ugc159gu
2011-09-23[IMP] move more import logic to javascriptXavier Morel
bzr revid: xmo@openerp.com-20110923122202-hnp6o1ybwgugive4
2011-09-23[REM] selector on an element which does not existXavier Morel
bzr revid: xmo@openerp.com-20110923110605-vw82lm018q6b2grt
2011-09-23[IMP] handle lines to skip in import previewXavier Morel
bzr revid: xmo@openerp.com-20110923095609-ogxc6q3wnd0tez8v
2011-09-23[IMP] handle switch indicating whether the CSV file being imported has headersXavier Morel
bzr revid: xmo@openerp.com-20110923094500-0jn0tb3fgix9j8wg
2011-09-23[IMP] split import check result in two different templates, wait before ↵Xavier Morel
everything's ready to setup autocompletes and check required fields & al bzr revid: xmo@openerp.com-20110923092346-007j09xf5wfzq9zo
2011-09-23[IMP] move fetching of fields for import to javascript. Also extraction of ↵Xavier Morel
required fields bzr revid: xmo@openerp.com-20110923083341-xa3sg2t053zonlsm
2011-09-22[REM] table of no use whatsoeverXavier Morel
bzr revid: xmo@openerp.com-20110922155751-rkch0vpmhpolihxa
2011-09-22[IMP] extract duplicate fields discovery routine to its own method, to make ↵Xavier Morel
the validation process clearer bzr revid: xmo@openerp.com-20110922121327-zqenx9bisr8pe4kd
2011-09-22[FIX] don't declare the file is importable when there are duplicate columns ↵Xavier Morel
selected bzr revid: xmo@openerp.com-20110922120810-2fcmntd4w6yh9zvy
2011-09-22[FIX] required fields check, maybeXavier Morel
bzr revid: xmo@openerp.com-20110922120328-h9eh9gl6wf28xbzd
2011-09-22[IMP] attempt to slighly improve duplicate field match handling in importXavier Morel
bzr revid: xmo@openerp.com-20110922105948-oms4h0t4uyl0qnm6
2011-09-22[FIX] onchange call for data import fieldsXavier Morel
bzr revid: xmo@openerp.com-20110922095409-xxqb0l3mirralwps