Commit Graph
238 Commits
Author SHA1 Message Date
Xavier Morel 5b7ecef331 [IMP] add @for to import options labels, some help on skip
bzr revid: xmo@openerp.com-20110922153026-742c7cc76zv9f2t6
2011-09-22 17:30:26 +02:00
Xavier Morel 6a931ae104 [ADD] checkbox for the user to specify that his file does *not* have column headers
bzr revid: xmo@openerp.com-20110922152704-lu36gl07ijnkd3sl
2011-09-22 17:27:04 +02:00
Xavier Morel 2187a3e3dd [IMP] extract duplicate fields discovery routine to its own method, to make the validation process clearer
bzr revid: xmo@openerp.com-20110922121327-zqenx9bisr8pe4kd
2011-09-22 14:13:27 +02:00
Xavier Morel c3a0d98e13 [FIX] don't declare the file is importable when there are duplicate columns selected
bzr revid: xmo@openerp.com-20110922120810-2fcmntd4w6yh9zvy
2011-09-22 14:08:10 +02:00
Xavier Morel a250e39ad3 [FIX] required fields check, maybe
bzr revid: xmo@openerp.com-20110922120328-h9eh9gl6wf28xbzd
2011-09-22 14:03:28 +02:00
Xavier Morel 0b8cfc4c26 [IMP] attempt to slighly improve duplicate field match handling in import
bzr revid: xmo@openerp.com-20110922105948-oms4h0t4uyl0qnm6
2011-09-22 12:59:48 +02:00
Xavier Morel 01fd5a7fb6 [FIX] onchange call for data import fields
bzr revid: xmo@openerp.com-20110922095409-xxqb0l3mirralwps
2011-09-22 11:54:09 +02:00
Xavier Morel 099b18ace6 [REM] redundant call to do_check_req_field: it's already called from on_change_check
bzr revid: xmo@openerp.com-20110922094058-yhy6re1l679fg42m
2011-09-22 11:40:58 +02:00
Xavier Morel 51dbb70b8d [FIX] mitigate horrendous performance issues inserting options in Webkit
In some cases, at least with complex-enough views, inserting many
options in a document in a row will get progressively slower.

In import, this issue is hit on trying to import partners: partners
have a humongous number of fields (direct and on their o2m), ~940,
which yields a correspondingly huge number of options in the
selection.

A basic partner export also has quite high a number of columns (~50
without exporting o2m fields), so this list of 940 options is inserted
50 times in a row (literally too, they're all in the same table row)..

While not all that fast, Firefox 5/6 has no significant issue with
this (~18ms/insertion, where an insertion is a full select with all
its options). Webkit browsers (Chrome and Safari) on the other hand
start out fair (~10ms/insertion), but get slower and slower until they
end up at 3~5 *seconds* for each insertion (3s if inserting a
DocumentFragment, 5s if inserting text via innerHTML). This means the
preview table takes up to *two minutes* to display, even the best
cases (pre-generating everything that can be and optimizing everything
I could think of) take 75 *seconds* for the insertions (the
pregeneration of a given select and its options is ~100ms, the base
template rendering is ~20ms).

rendering divs or inputs does not have this issue, I did not manage to
reduce or fix the issue directly so I replaced the options by
jQuery-ui's autocomplete widget. This is not issues-free: when tabbing
through the fields lists, when reaching the edge of the popup the
browser will automatically scroll the field back into view. However,
this is done *after* autocomplete's popup has opened, and as a result
the popup opens in the wrong place (at the popup's edge, instead of
under the now-moved field).

bzr revid: xmo@openerp.com-20110922085812-3u1esk6czraskm01
2011-09-22 10:58:12 +02:00
Xavier Morel b4722d4564 [IMP] build a sequence of buttons to initialize dialog for localization (future), simplify enabling and disabling of import button
bzr revid: xmo@openerp.com-20110921112556-0qv8h9jldlmd799a
2011-09-21 13:25:56 +02:00
Xavier Morel 519eed06a0 [IMP] guard checks as early returns to reduce nesting
bzr revid: xmo@openerp.com-20110921101436-m24gccn4isew8hwo
2011-09-21 12:14:36 +02:00
Xavier Morel 09716cac9f [IMP] style fixes
* White space between tokens
* Remove unused variables

bzr revid: xmo@openerp.com-20110921101320-7hr2nla3km3yhgfj
2011-09-21 12:13:20 +02:00
Xavier Morel db0cb54ec6 [REM] redundant code
bzr revid: xmo@openerp.com-20110921100900-e86bcmyi7fn3whiz
2011-09-21 12:09:00 +02:00
Kunal Chavda (OpenERP) 288b0336cc [MERGE]Merge with trunk upto revision no 1054.
bzr revid: kch@tinyerp.com-20110919052218-lpz4jy6k2bu1inxv
2011-09-19 10:52:18 +05:30
Kunal Chavda (OpenERP) 0e2d998e48 [FIX]Remove unnecessary on_click method and passing parameter.
bzr revid: kch@tinyerp.com-20110916133515-6he9cdw3cjsf24hl
2011-09-16 19:05:15 +05:30
niv-openerp 21e7164400 [imp] removed logging message that made errors
bzr revid: nicolas.vanhoren@openerp.com-20110916124433-367munzzhjehjzr5
2011-09-16 14:44:33 +02:00
niv-openerp 3db8df9e85 [imp] put back widget documentation, parce que je le vaux bien
bzr revid: nicolas.vanhoren@openerp.com-20110916120053-wbxyl4rjvai9one7
2011-09-16 14:00:53 +02:00
niv-openerp 47f152d499 [imp] modified wsgi loading according to vmt indications
bzr revid: nicolas.vanhoren@openerp.com-20110916110347-1ep18zoyskz9kysz
2011-09-16 13:03:47 +02:00
niv-openerp 08143aaab5 [fix] partially solve problem when restituting session and problem with server (disconnected, database dropped, etc...)
bzr revid: nicolas.vanhoren@openerp.com-20110916102555-myvdxf30fl7jpb3a
2011-09-16 12:25:55 +02:00
Kunal Chavda (OpenERP) 8511d9986b [FIX]Remove unnecessary code which affects in importing data.
bzr revid: kch@tinyerp.com-20110915122420-90lur8b4mdjw5bpx
2011-09-15 17:54:20 +05:30
Kunal Chavda (OpenERP) b8a01047ae [IMP]rename openerp to db.
bzr revid: kch@tinyerp.com-20110915070730-8jira5yy107s99vf
2011-09-15 12:37:30 +05:30
Kunal Chavda (OpenERP) 50567fcb63 [MERGE]Merge with trunk upto revision no 1043.
bzr revid: kch@tinyerp.com-20110915070222-1sw9bpp36s42nvt2
2011-09-15 12:32:22 +05:30
Kunal Chavda (OpenERP) 4eb0672324 [FIX]Fixed code for select same column or imported file has same column its shows message and field will red coloration.
bzr revid: kch@tinyerp.com-20110915064753-mij2danikyv9iouh
2011-09-15 12:17:53 +05:30
Antony Lesuisse 79440f2b7b [IMP] rename openerp into db in views.js (obsessive–compulsive rename disorder)
bzr revid: al@openerp.com-20110914215403-vu110701a9701nip
2011-09-14 23:54:03 +02:00
Fabien Meghazi 5189b91d8e [ADD] Add form dirty confirmation dialog
bzr revid: fme@openerp.com-20110914210902-z08taar5woqmxnts
2011-09-14 23:09:02 +02:00
Fabien Meghazi eadb161a38 [IMP] Improved dirty state in form view
bzr revid: fme@openerp.com-20110914210445-ul8aax7g1q5b47c6
2011-09-14 23:04:45 +02:00
Antony Lesuisse 3ef575744d [IMP] prefix view (obsessive–compulsive rename disorder)
bzr revid: al@openerp.com-20110914204057-cg8y5yy3py70ge62
2011-09-14 22:40:57 +02:00
Antony Lesuisse 17f64b27e3 [FIX] remove openerplib.openerplib
bzr revid: al@openerp.com-20110914175711-9e5x85f4r9wd4q6w
2011-09-14 19:57:11 +02:00
Fabien Meghazi 87b23c05d2 [REVERT] Revert revid:fme@openerp.com-20110907074810-17ssgepzpc11u7bd causing problems in search view
bzr revid: fme@openerp.com-20110914160040-1bvgewarlh5x3tsq
2011-09-14 18:00:40 +02:00
Fabien Meghazi b17ae5506b [IMP] Form: date and datetime widgets are correctly formatted/parsed
bzr revid: fme@openerp.com-20110914154610-hlha0bp28197xg1m
2011-09-14 17:46:10 +02:00
Xavier Morel 2b72220d84 [FIX] weird offset bug I completely missed in listview d&d
bzr revid: xmo@openerp.com-20110914154608-gkyh0n74xejryxmr
2011-09-14 17:46:08 +02:00
Xavier Morel e05e41ccf8 [IMP] restrict droppable targets
bzr revid: xmo@openerp.com-20110914153707-i4xycxgo1qdl5vtl
2011-09-14 17:37:07 +02:00
Xavier Morel c57bb71be1 [ADD] listview padding to 5 visible rows at all time
bzr revid: xmo@openerp.com-20110914150352-jxnom223gdmtys2n
2011-09-14 17:03:52 +02:00
niv-openerp 716632b80c [fix] problem in reports
bzr revid: nicolas.vanhoren@openerp.com-20110915131201-c9j9y7gy4ludsxtp
2011-09-15 15:12:01 +02:00
niv-openerp 692cb79400 [imp] simplified field status
bzr revid: nicolas.vanhoren@openerp.com-20110915123754-iun1kwli7kzl9lm5
2011-09-15 14:37:54 +02:00
niv-openerp 66ebc7708c [fix] problem in m2o
bzr revid: nicolas.vanhoren@openerp.com-20110915100808-e2pizj8zgc07zgao
2011-09-15 12:08:08 +02:00
niv-openerp c5bbc31cac [fix] form view was broken
bzr revid: nicolas.vanhoren@openerp.com-20110915100101-ez65927vcycbgtjq
2011-09-15 12:01:01 +02:00
niv-openerp 4e4105aa31 [merge]
bzr revid: nicolas.vanhoren@openerp.com-20110915095610-rt3c97230mzcb0ce
2011-09-15 11:56:10 +02:00
niv-openerp f6c3577708 [fix] forgot to convert search view
bzr revid: nicolas.vanhoren@openerp.com-20110915095214-13k5zgjz87xis8el
2011-09-15 11:52:14 +02:00
niv-openerp 2836c157d4 [imp] changed init of most views + the places were we init them
bzr revid: nicolas.vanhoren@openerp.com-20110915094944-7l229rjknptr5vcl
2011-09-15 11:49:44 +02:00
niv-openerp eddd4a8827 [imp] added this._super() in all views
bzr revid: nicolas.vanhoren@openerp.com-20110915094246-6v6imml9bf3y4ycj
2011-09-15 11:42:46 +02:00
Fabien Meghazi 10a724d65a [FIX] Fixed typo introduced in Revision:1041 revid:fme@openerp.com-20110914210445-ul8aax7g1q5b47c6
bzr revid: fme@openerp.com-20110915093857-rk9p682xpfoiy304
2011-09-15 11:38:57 +02:00
niv-openerp eb45de7805 [merge]
bzr revid: nicolas.vanhoren@openerp.com-20110915093144-0ix1tdc8mcmx6l9p
2011-09-15 11:31:44 +02:00
Xavier Morel 81e6707b91 [IMP] make filtergroups [OR] their component filters instead of [AND]-ing them
bzr revid: xmo@openerp.com-20110915084626-9rxv8jv65uxtq9ga
2011-09-15 10:46:26 +02:00
Fabien Meghazi 6af24261ba [ADD] Added duplicate feature to FormView
bzr revid: fme@openerp.com-20110915081241-3q4us9bweru4iyx1
2011-09-15 10:12:41 +02:00
niv-openerp 8d9285375d [merge]
bzr revid: nicolas.vanhoren@openerp.com-20110914155127-yc7nnjeo9nx4qdtu
2011-09-14 17:51:27 +02:00
niv-openerp e95fec5e99 [fix] problem with editable list
bzr revid: nicolas.vanhoren@openerp.com-20110914154951-yf91qchnm1wxsblr
2011-09-14 17:49:51 +02:00
niv-openerp c480712023 [imp] refactored list view usage
bzr revid: nicolas.vanhoren@openerp.com-20110914152208-bh3oonajuxgln7i9
2011-09-14 17:22:08 +02:00
niv-openerp 4099cc67cd [imp] converted many usages of form view
bzr revid: nicolas.vanhoren@openerp.com-20110914151459-xlle0blh7u506b0m
2011-09-14 17:14:59 +02:00
niv-openerp 4e033738d0 [imp] nivified list view
bzr revid: nicolas.vanhoren@openerp.com-20110914143028-bwjnpw8vbubjc90k
2011-09-14 16:30:28 +02:00