Commit Graph
4811 Commits
Author SHA1 Message Date
Xavier Morel 6bd754060e [REM] table of no use whatsoever
bzr revid: xmo@openerp.com-20110922155751-rkch0vpmhpolihxa
2011-09-22 17:57:51 +02:00
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
Jagdish Panchal (Open ERP) 1d94e954e0 [FIX] clen up.
bzr revid: jap@tinyerp.com-20110922130540-nuru8qifwyym5d0s
2011-09-22 18:35:40 +05:30
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
Jagdish Panchal (Open ERP) cba17940ce [FIX] Workflow buttons in one2many crash due to Name typecasting.
lp bug: https://launchpad.net/bugs/851866 fixed

bzr revid: jap@tinyerp.com-20110922110914-u1cydxz1njcp6h0k
2011-09-22 16:39:14 +05:30
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
Vidhin Mehta (OpenERP) 3e11ca6299 [IMP]implement code for side images in view editor and up-down tag.
bzr revid: vme@tinyerp.com-20110922094513-bhvlvfm9q5bw9dq9
2011-09-22 15:15:13 +05:30
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
Kunal Chavda (OpenERP) b882e30275 [IMP]Implement code for show-hide child node in tree view.
bzr revid: kch@tinyerp.com-20110922090027-9eku05pk3okq26hh
2011-09-22 14:30:27 +05:30
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
niv-openerp 60d9065ff1 [fix] problem with context and default_get
bzr revid: nicolas.vanhoren@openerp.com-20110921160825-6o1ggc0tar1i18j6
2011-09-21 18:08:25 +02:00
niv-openerp 4380f33587 [imp] added reload page in preferences dialog + improved the code in that dialog
bzr revid: nicolas.vanhoren@openerp.com-20110921132232-mmapwk9wp33of5n8
2011-09-21 15:22:32 +02:00
niv-openerp 54014f0473 [fix] problem when user does not enter correct password
bzr revid: nicolas.vanhoren@openerp.com-20110921130549-pbdjgtufjjo5pens
2011-09-21 15:05:49 +02:00
niv-openerp 448e0d6968 [fix] but when will those date widgets finally work??
bzr revid: nicolas.vanhoren@openerp.com-20110921124214-i2qe0zp3schxw2o9
2011-09-21 14:42:14 +02:00
niv-openerp ca01681811 [fix] one more problem with css in date widget
bzr revid: nicolas.vanhoren@openerp.com-20110921123858-l2146cjg1qb10bwc
2011-09-21 14:38:58 +02:00
niv-openerp 2898c77f92 [fix] small regression with dates not getting the whole width in forms
bzr revid: nicolas.vanhoren@openerp.com-20110921123327-0d6aqugcs9xtokp9
2011-09-21 14:33:27 +02:00
niv-openerp 67271d1e91 [imp] simplified formatting functions for dates
bzr revid: nicolas.vanhoren@openerp.com-20110921123139-f57zgqwdghl2qbf7
2011-09-21 14:31:39 +02:00
niv-openerp 1d68e2903e [merge]
bzr revid: nicolas.vanhoren@openerp.com-20110921120434-ds3i74ey8ihc72ml
2011-09-21 14:04:34 +02:00
niv-openerp e281efe866 [imp] used datetime widget in advanced search
bzr revid: nicolas.vanhoren@openerp.com-20110921120347-rx8xhwa4igswtsx7
2011-09-21 14:03:47 +02:00
niv-openerp 7d65aca167 [imp] used datetime widget in search view
bzr revid: nicolas.vanhoren@openerp.com-20110921115054-mgd5ts19sk1olvgu
2011-09-21 13:50:54 +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
niv-openerp 8df96caa72 [imp] refactored datetime components to allow usage in the search view
bzr revid: nicolas.vanhoren@openerp.com-20110921104136-pu8yvny228jyi5so
2011-09-21 12:41:36 +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
Xavier Morel 7b80bd155c [FIX] issues with missing window.console object in Firefox 3.6 when Firebug is not active
bzr revid: xmo@openerp.com-20110921081651-a4usbx7flv91xko5
2011-09-21 10:16:51 +02:00
Xavier Morel cdef8d8f8f [FIX] correctly handle 'false' domain on listview dataset: filter it out
bzr revid: xmo@openerp.com-20110921074509-2gkgp3ai4ly1vwdf
2011-09-21 09:45:09 +02:00
Xavier Morel b9869f9354 [FIX] empty root groups in aggregations
bzr revid: xmo@openerp.com-20110921071925-by8fl0o85v76d6am
2011-09-21 09:19:25 +02:00
Christophe Simonis 01eff42ca2 [ADD] key in manifest allowing auto loading of modules
bzr revid: chs@openerp.com-20110920154358-gpv2ahph6gbtlmiy
2011-09-20 17:43:58 +02:00
Xavier Morel 8cda63a6e8 [FIX] cancelling a row creation: more ugly hacking of the formview in editable search view
bzr revid: xmo@openerp.com-20110920145823-ecvnotgcu6xltrrv
2011-09-20 16:58:23 +02:00
Xavier Morel bf48d88979 [FIX] one more horrible listview hack, to strip out intermediate dom breaking the listview table
lp bug: https://launchpad.net/bugs/851683 fixed

bzr revid: xmo@openerp.com-20110920141334-k95x10gv9tkneeev
2011-09-20 16:13:34 +02:00
Fabien Meghazi 5e1bdbeb26 [MERGE] New menus. Get rid of jQuery accordion. Added folding and floating menus.
bzr revid: fme@openerp.com-20110920134853-te0a54mv2s5dyauv
2011-09-20 15:48:53 +02:00
Xavier Morel 91619c24aa [FIX] do not consider empty domains as domains (ignore them) in FilterGroup domain management
lp bug: https://launchpad.net/bugs/854704 fixed

bzr revid: xmo@openerp.com-20110920134607-lz8d8r4ojbrgihd7
2011-09-20 15:46:07 +02:00
Fabien Meghazi 8bb26a33c5 [IMP] Thin border for float menu
bzr revid: fme@openerp.com-20110920134244-l15jq9y0c3h767a6
2011-09-20 15:42:44 +02:00
Fabien Meghazi 873cc6f5e0 [FIX] Many fixes
bzr revid: fme@openerp.com-20110920134142-jccggvzzu46708kx
2011-09-20 15:41:42 +02:00
Vidhin Mehta (OpenERP) f6a7de7e11 [IMP]created object key,value for parent,child.
bzr revid: vme@tinyerp.com-20110920133911-7jcdqs6sdcwl7bvk
2011-09-20 19:09:11 +05:30
Xavier Morel 78e2374ea2 [FIX] clear enabled_filters searchview state when clearing the search form
lp bug: https://launchpad.net/bugs/851981 fixed

bzr revid: xmo@openerp.com-20110920131945-uonv71pnnfsniapu
2011-09-20 15:19:45 +02:00
Xavier Morel 88c3df671d [FIX] breakage in case of filters without domains: don't blow up when a filter returns a domain of null, just filter it out
bzr revid: xmo@openerp.com-20110920125334-2phr5olecrq9r4n9
2011-09-20 14:53:34 +02:00
Vidhin Mehta (OpenERP) e0724b4c33 [IMP]improve code for edit dialog box in manager view.
bzr revid: vme@tinyerp.com-20110920124302-0nxmhgb0u6tomi37
2011-09-20 18:13:02 +05:30
Xavier Morel 134437d3d1 [IMP] memoize template, add hacky form-repositioning method
bzr revid: xmo@openerp.com-20110920112147-we4sqnc3we1v38lv
2011-09-20 13:21:47 +02:00
Fabien Meghazi 82c7c513b6 [ADD] Add timeout to floated sub menu
bzr revid: fme@openerp.com-20110920111830-fpm2ryla6tfzb23x
2011-09-20 13:18:30 +02:00
Fabien Meghazi e616188971 [IMP] Menu is now working ok in folded mode
bzr revid: fme@openerp.com-20110920102350-je1313hpdtnvg1yp
2011-09-20 12:23:50 +02:00
Xavier Morel f896a2571e [MERGE] trunk improvements
bzr revid: xmo@openerp.com-20110920101957-zl6tiuf49rzc0l2v
2011-09-20 12:19:57 +02:00
Xavier Morel 4334ba4b8b [FIX] if no view_id is provided to the form view, default to 'false'
Otherwise this.view_id === undefined, and keys with value 'undefined' are skipped during JSON serialization

bzr revid: xmo@openerp.com-20110920100823-8osz0ly3eu7vzyba
2011-09-20 12:08:23 +02:00
Fabien Meghazi 9a8013e1cf [ADD] Add Menu#reload() method
bzr revid: fme@openerp.com-20110920081008-9ka8p9pr1z6b0w0l
2011-09-20 10:10:08 +02:00
Fabien Meghazi 4b5f671582 [IMP] Improved menu
bzr revid: fme@openerp.com-20110919214904-5vxnkt80rx48shjo
2011-09-19 23:49:04 +02:00