summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js/data_export.js
AgeCommit message (Collapse)Author
2015-03-18[REF] web: add module system to the web clientGéry Debongnie
This commit introduces a new module system for the javascript code. Instead of using global (namespaced) variables everywhere (like openerp.web.whatever, ...), each file declare one (or more) module with its dependencies. Each module will be loaded after its dependencies, and will be given a reference to the return values. This change is a massive departure from the way the client worked previously. It will sadly break some/most history, but I am sure that the future git ecosystem will allow you to easily browse the history past this revision (one can dream). This commit feature: * main namespace is now odoo instead of openerp * a way to define modules and dependencies (inspired by requirejs) * many files have been splitted in simpler subfiles * basic support for debugging in odoo.__DEBUG__ * no global variable (i.e. nothing in window.openerp) * many bug fixes, many new bugs Future vision: this modularization should simplify future code development, simplify debugging and will allow a serious testing effort
2015-01-22[MERGE] forward port of branch 8.0 up to 3735394Christophe Simonis
2015-01-21[FIX] web: display error message when export fail.Denis Ledoux
2014-09-05[MERGE] forward port of branch 8.0 up to ed1c173Christophe Simonis
2014-08-13[MERGE] Forward-port saas-3 up to b9275daOlivier Dony
2014-08-13[MERGE] Forward-port 7.0 up to 23cffabOlivier Dony
2014-08-13[FIX] export: add the context in the exportDenis Ledoux
In some cases, the data dispalyed in a list depends on the context This context needs to be passed to the export method, so the exported data reflects correctly the data from the list view
2014-08-12[IMP] web: order fields in export wizardrba-odoo
(Closes #1645)
2014-04-30[FIX] export: make the 'Close' button works fine with modalCédric Snauwaert
bzr revid: mat@openerp.com-20140430115650-334th9boorlb80aw
2014-04-10[REF]add bootstrap modal window based, cleaned, refactored from ↵Cedric Snauwaert
trunk-ui-to-boostrap-modal branch bzr revid: csn@openerp.com-20140410100631-5v6a71oi5wyunbda
2014-03-18[MERGE] forward port of branch 7.0 up to revid 4162 ↵Christophe Simonis
launchpad_translations_on_behalf_of_openerp-20140318062141-rdiqz2ptnz3qmxd0 bzr revid: chs@openerp.com-20140129095637-mbfz82r5pyz4dctc bzr revid: dle@openerp.com-20140210140818-5mtk1qhheo219bm1 bzr revid: dle@openerp.com-20140214114445-krexrwm9o2nrxepk bzr revid: mat@openerp.com-20140219111353-cxo860z7ctz7om30 bzr revid: dle@openerp.com-20140221120519-1pj3wc8kqgkr5uda bzr revid: chs@openerp.com-20140318112743-tqv492026y2pnbff
2014-03-05[MERGE] [FIX] export wizard: better behaviour when saving new fields listMartin Trigaux
- Show the fields list once we save the first one - When delete a list, remove the selected fields - When add a list, do not remove the selected fields bzr revid: mat@openerp.com-20140305100843-ircqtucf1pkn3wzd
2013-10-17[IMP] data_export: when exporting on active_domain instead ofThibault Delavallée
selected ids, display a message to tell the user what he is doing. bzr revid: tde@openerp.com-20131017094457-q1b7j3927eeoy4fo
2013-08-06[IMP] Removed old JavaScript module loading system in the 'web' addons. ↵niv-openerp
Still has some retro-compatibility for other addons. bzr revid: nicolas.vanhoren@openerp.com-20130806125022-bzjbtn0nqk40ak4g
2013-07-26[CLEAN] data_export: removed a not-completely-deleted lineThibault Delavallée
bzr revid: tde@openerp.com-20130726105801-2sh62ew7kpn7qudp
2013-07-25[IMP] export: delegated ids computation to the python side, the js gives ids ↵Thibault Delavallée
or the domain to use; + fixed statically export formats bzr revid: tde@openerp.com-20130725155740-g9a76z08ogjejp86
2013-07-25[IMP] export: work on selected_ids or all_ids if header is selected; ugly ↵Thibault Delavallée
hack to solve issue when exporting bzr revid: tde@openerp.com-20130725153114-6rjhktvuz1k1qrnb
2013-07-25Added semicolonsniv-openerp
bzr revid: nicolas.vanhoren@openerp.com-20130725103301-65nld10p1if7k0zt
2013-07-25Added Gruntfile with jshint and corrected most js errorsniv-openerp
bzr revid: nicolas.vanhoren@openerp.com-20130725100749-0i82gf3k3nvt4r44
2013-06-18[FIX]Fixed the issue of save selected fields list in export.Mohammed Shekha
bzr revid: msh@openerp.com-20130618120154-o0cj17snpn00mh38
2013-05-30[IMP] export view: use events hashXavier Morel
bzr revid: xmo@openerp.com-20130530100420-8zsa03ssom8ox2g4
2013-05-30[IMP] code cleanup, better use of jqueryXavier Morel
bzr revid: xmo@openerp.com-20130530095827-ondsza16ze29neel
2013-05-30[IMP] option to only export selected recordsXavier Morel
lp bug: https://launchpad.net/bugs/900385 fixed bzr revid: xmo@openerp.com-20130530094525-1ub1yhdqsag6xxzq
2013-05-30[FIX] linting warnings in exportXavier Morel
bzr revid: xmo@openerp.com-20130530090823-7l75tasejwt5ywb9
2012-11-20[FIX] Fixed Export dialog buttons. Cleanup openerp.web.DialogFabien Meghazi
bzr revid: fme@openerp.com-20121120095042-6f4tyiap3t6cxk9e
2012-10-30[IMP] jQuery deferred API changes refactoring. Changed 'then's in ↵Fabien Meghazi
'done'/'fail' and 'pipe's in 'then' bzr revid: fme@openerp.com-20121030140630-gf20ye8fou1ebxft
2012-10-06[MERGE] callback2deferred session.rpcAntony Lesuisse
bzr revid: al@openerp.com-20121006163238-7ni5r324c0yqi5a0
2012-10-03[FIX] Data exporting wizard crashes & Export wizard buttons.Tejas Tank
bzr revid: tta@openerp.com-20121003125629-x6jxmerj5tqc65xp
2012-10-03[IMP]In rpc method remove callback and modify relate codeggh-openerp
bzr revid: ggh@tinyerp.com-20121003122836-36g8ijxdcjwgntjl
2012-08-24[IMP] made a whole-application replace of $element by $elniv-openerp
bzr revid: nicolas.vanhoren@openerp.com-20120824182707-vt91ef40ieeudwyw
2012-07-24[IMP] improved throbberniv-openerp
bzr revid: nicolas.vanhoren@openerp.com-20120724141220-1u0odsgsxzjtc5xn
2012-04-17[imp] refactored data_export.jsniv-openerp
bzr revid: nicolas.vanhoren@openerp.com-20120417115637-533ls7fxw0okk7ly
2012-01-17[FIX] finish implementing xmo@openerp.com-20120116095337-ko0y6xha6oqx4vw1 ↵Xavier Morel
for real bzr revid: xmo@openerp.com-20120117085812-gh3cowtxfcs84sss
2012-01-16[FIX] small issue in xmo@openerp.com-20120116095337-ko0y6xha6oqx4vw1Xavier Morel
bzr revid: xmo@openerp.com-20120116101631-ln5oa2fdlt670rqi
2012-01-16[FIX] fetching of export data after reloading from saved list in a different ↵Xavier Morel
mode than original If a field name can not be found in the `records` mapping, use it as-is. May fail in some cases (for nested id fields) but will generally work better when reloading a list created in "all" mode while in "export compatible" mode, as there may be saved fields missing from the currently available list. Better fixes would be: * Ignore (gray out?) unavailable fields for this mode (and re-allow when the mode changes) * Display an error message of some sort and refuse to load the list * Pre-load all export lists and filter selectable ones by mode lp bug: https://launchpad.net/bugs/915245 fixed bzr revid: xmo@openerp.com-20120116095337-ko0y6xha6oqx4vw1
2012-01-13[IMP] display a warning and disable excel export option when XLWT is not ↵Xavier Morel
installed lp bug: https://launchpad.net/bugs/915347 fixed bzr revid: xmo@openerp.com-20120113090611-lmiu5y7y7b9td8hg
2012-01-10[IMP] More dataset refactoringFabien Meghazi
bzr revid: fme@openerp.com-20120110165451-pvchn668y0b1p645
2012-01-10[FIX] don't trigger blockUI before displaying potential alertsXavier Morel
bzr revid: xmo@openerp.com-20120110133020-etejse7odvr8ancj
2012-01-10[FIX] block ui before rpc call.Vaibhav (OpenERP)
bzr revid: vda@tinyerp.com-20120110125914-04oy2rilkdq793w0
2011-12-26[FIX] translation,return on no export.Vaibhav (OpenERP)
lp bug: https://launchpad.net/bugs/908723 fixed bzr revid: vda@tinyerp.com-20111226104725-0ob6e71f8elppu95
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-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-11-09[FIX] do not display reverse fields of o2ms in import compatXavier Morel
bzr revid: xmo@openerp.com-20111109163232-w9oda8eqo3gyin4q
2011-09-07[IMP] Removed global QWeb. Now instanciate a QWeb2.Engine for each session: ↵Fabien Meghazi
instance.web.qweb bzr revid: fme@openerp.com-20110907093743-k0224c5qjb74hxvb
2011-09-05[FIX] breakage when trying to reload a just-saved exports listXavier Morel
bzr revid: xmo@openerp.com-20110905153255-g2apg93e6gvmuthh
2011-09-05[IMP] don't mess up ordering of fields saved in an exports listXavier Morel
bzr revid: xmo@openerp.com-20110905152442-wcczebz4rk9g7tjd
2011-09-05[MERGE] bunch of speed and code improvements to import, also make import ↵Xavier Morel
more flexible (pluggable) bzr revid: xmo@openerp.com-20110905142455-1nt310pqzyzk69cp
2011-09-05rename base into web part1Antony Lesuisse
bzr revid: al@openerp.com-20110905110309-egx167t1ni1fzho1