Commit Graph

44 Commits

Author SHA1 Message Date
Denis Ledoux 34de1c0f78 [FIX] web: display error message when export fail. 2015-01-21 17:05:55 +01:00
Olivier Dony 2694ed1472 [MERGE] Forward-port saas-3 up to b9275da 2014-08-13 17:33:12 +02:00
Olivier Dony b9275da8a5 [MERGE] Forward-port 7.0 up to 23cffab 2014-08-13 17:30:06 +02:00
Denis Ledoux 8276fb5853 [FIX] export: add the context in the export
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-13 14:52:01 +02:00
Cédric Snauwaert af03a3e4e0 [FIX] export: make the 'Close' button works fine with modal
bzr revid: mat@openerp.com-20140430115650-334th9boorlb80aw
2014-04-30 13:56:50 +02:00
Cedric Snauwaert e95ca69113 [REF]add bootstrap modal window based, cleaned, refactored from trunk-ui-to-boostrap-modal branch
bzr revid: csn@openerp.com-20140410100631-5v6a71oi5wyunbda
2014-04-10 12:06:31 +02:00
Christophe Simonis acb010a985 [MERGE] forward port of branch 7.0 up to revid 4162 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-18 12:27:43 +01:00
Martin Trigaux 22f86f097a [MERGE] [FIX] export wizard: better behaviour when saving new fields list
- 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
2014-03-05 11:08:43 +01:00
Thibault Delavallée 3333c5c329 [IMP] data_export: when exporting on active_domain instead of
selected ids, display a message to tell the user what
he is doing.

bzr revid: tde@openerp.com-20131017094457-q1b7j3927eeoy4fo
2013-10-17 11:44:57 +02:00
niv-openerp baef37aec6 [IMP] Removed old JavaScript module loading system in the 'web' addons. Still has some retro-compatibility for other addons.
bzr revid: nicolas.vanhoren@openerp.com-20130806125022-bzjbtn0nqk40ak4g
2013-08-06 14:50:22 +02:00
Thibault Delavallée 7aec524456 [CLEAN] data_export: removed a not-completely-deleted line
bzr revid: tde@openerp.com-20130726105801-2sh62ew7kpn7qudp
2013-07-26 12:58:01 +02:00
Thibault Delavallée 47d72f7a0f [IMP] export: delegated ids computation to the python side, the js gives ids or the domain to use; + fixed statically export formats
bzr revid: tde@openerp.com-20130725155740-g9a76z08ogjejp86
2013-07-25 17:57:40 +02:00
Thibault Delavallée 27735a2b85 [IMP] export: work on selected_ids or all_ids if header is selected; ugly hack to solve issue when exporting
bzr revid: tde@openerp.com-20130725153114-6rjhktvuz1k1qrnb
2013-07-25 17:31:14 +02:00
niv-openerp c767a0d34c Added semicolons
bzr revid: nicolas.vanhoren@openerp.com-20130725103301-65nld10p1if7k0zt
2013-07-25 12:33:01 +02:00
niv-openerp 42e493e73e Added Gruntfile with jshint and corrected most js errors
bzr revid: nicolas.vanhoren@openerp.com-20130725100749-0i82gf3k3nvt4r44
2013-07-25 12:07:49 +02:00
Mohammed Shekha 7a9ca47e21 [FIX]Fixed the issue of save selected fields list in export.
bzr revid: msh@openerp.com-20130618120154-o0cj17snpn00mh38
2013-06-18 17:31:54 +05:30
Xavier Morel c0807b34b1 [IMP] export view: use events hash
bzr revid: xmo@openerp.com-20130530100420-8zsa03ssom8ox2g4
2013-05-30 12:04:20 +02:00
Xavier Morel 398f570e69 [IMP] code cleanup, better use of jquery
bzr revid: xmo@openerp.com-20130530095827-ondsza16ze29neel
2013-05-30 11:58:27 +02:00
Xavier Morel 03b80e154e [IMP] option to only export selected records
lp bug: https://launchpad.net/bugs/900385 fixed

bzr revid: xmo@openerp.com-20130530094525-1ub1yhdqsag6xxzq
2013-05-30 11:45:25 +02:00
Xavier Morel c063ef4109 [FIX] linting warnings in export
bzr revid: xmo@openerp.com-20130530090823-7l75tasejwt5ywb9
2013-05-30 11:08:23 +02:00
Fabien Meghazi ceae7544ca [FIX] Fixed Export dialog buttons. Cleanup openerp.web.Dialog
bzr revid: fme@openerp.com-20121120095042-6f4tyiap3t6cxk9e
2012-11-20 10:50:42 +01:00
Fabien Meghazi ca6c49becf [IMP] jQuery deferred API changes refactoring. Changed 'then's in 'done'/'fail' and 'pipe's in 'then'
bzr revid: fme@openerp.com-20121030140630-gf20ye8fou1ebxft
2012-10-30 15:06:30 +01:00
Antony Lesuisse 55bcd978af [MERGE] callback2deferred session.rpc
bzr revid: al@openerp.com-20121006163238-7ni5r324c0yqi5a0
2012-10-06 18:32:38 +02:00
Tejas Tank 6427f6b4d4 [FIX] Data exporting wizard crashes & Export wizard buttons.
bzr revid: tta@openerp.com-20121003125629-x6jxmerj5tqc65xp
2012-10-03 18:26:29 +05:30
ggh-openerp 30069a0239 [IMP]In rpc method remove callback and modify relate code
bzr revid: ggh@tinyerp.com-20121003122836-36g8ijxdcjwgntjl
2012-10-03 17:58:36 +05:30
niv-openerp 5e338c591a [IMP] made a whole-application replace of $element by $el
bzr revid: nicolas.vanhoren@openerp.com-20120824182707-vt91ef40ieeudwyw
2012-08-24 20:27:07 +02:00
niv-openerp b98723a1fe [IMP] improved throbber
bzr revid: nicolas.vanhoren@openerp.com-20120724141220-1u0odsgsxzjtc5xn
2012-07-24 16:12:20 +02:00
niv-openerp ac4b895a41 [imp] refactored data_export.js
bzr revid: nicolas.vanhoren@openerp.com-20120417115637-533ls7fxw0okk7ly
2012-04-17 13:56:37 +02:00
Xavier Morel 20e0358e9c [FIX] finish implementing xmo@openerp.com-20120116095337-ko0y6xha6oqx4vw1 for real
bzr revid: xmo@openerp.com-20120117085812-gh3cowtxfcs84sss
2012-01-17 09:58:12 +01:00
Xavier Morel d09c6bcfe5 [FIX] small issue in xmo@openerp.com-20120116095337-ko0y6xha6oqx4vw1
bzr revid: xmo@openerp.com-20120116101631-ln5oa2fdlt670rqi
2012-01-16 11:16:31 +01:00
Xavier Morel 33b25edc78 [FIX] fetching of export data after reloading from saved list in a different 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-16 10:53:37 +01:00
Xavier Morel c89d45b658 [IMP] display a warning and disable excel export option when XLWT is not installed
lp bug: https://launchpad.net/bugs/915347 fixed

bzr revid: xmo@openerp.com-20120113090611-lmiu5y7y7b9td8hg
2012-01-13 10:06:11 +01:00
Fabien Meghazi e9ca86dd63 [IMP] More dataset refactoring
bzr revid: fme@openerp.com-20120110165451-pvchn668y0b1p645
2012-01-10 17:54:51 +01:00
Xavier Morel b0bada3db5 [FIX] don't trigger blockUI before displaying potential alerts
bzr revid: xmo@openerp.com-20120110133020-etejse7odvr8ancj
2012-01-10 14:30:20 +01:00
Vaibhav (OpenERP) 9c85ae387a [FIX] block ui before rpc call.
bzr revid: vda@tinyerp.com-20120110125914-04oy2rilkdq793w0
2012-01-10 18:29:14 +05:30
Vaibhav (OpenERP) e71cb3a173 [FIX] translation,return on no export.
lp bug: https://launchpad.net/bugs/908723 fixed

bzr revid: vda@tinyerp.com-20111226104725-0ob6e71f8elppu95
2011-12-26 16:17:25 +05:30
Fabien Meghazi 41cd88bfad [FIX] Reworked dialogs
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-21 14:43:06 +01:00
Xavier Morel b5a797ba0a [IMP] mark a bunch of dialog stuff as exportable (mostly buttons, but also dialog titles)
bzr revid: xmo@openerp.com-20111215104031-h2xjkf0zwf8x8zjk
2011-12-15 11:40:31 +01:00
Xavier Morel 611705d7f1 [FIX] do not display reverse fields of o2ms in import compat
bzr revid: xmo@openerp.com-20111109163232-w9oda8eqo3gyin4q
2011-11-09 17:32:32 +01:00
Fabien Meghazi e0eec18342 [IMP] Removed global QWeb. Now instanciate a QWeb2.Engine for each session: instance.web.qweb
bzr revid: fme@openerp.com-20110907093743-k0224c5qjb74hxvb
2011-09-07 11:37:43 +02:00
Xavier Morel fa8dd41b45 [FIX] breakage when trying to reload a just-saved exports list
bzr revid: xmo@openerp.com-20110905153255-g2apg93e6gvmuthh
2011-09-05 17:32:55 +02:00
Xavier Morel dbd5acb460 [IMP] don't mess up ordering of fields saved in an exports list
bzr revid: xmo@openerp.com-20110905152442-wcczebz4rk9g7tjd
2011-09-05 17:24:42 +02:00
Xavier Morel 748086e678 [MERGE] bunch of speed and code improvements to import, also make import more flexible (pluggable)
bzr revid: xmo@openerp.com-20110905142455-1nt310pqzyzk69cp
2011-09-05 16:24:55 +02:00
Antony Lesuisse bedfc48dcf rename base into web part1
bzr revid: al@openerp.com-20110905110309-egx167t1ni1fzho1
2011-09-05 13:03:09 +02:00