Commit Graph

92 Commits

Author SHA1 Message Date
Xavier Morel 6bb8d8ea85 [ADD] readonly & movable form view
bzr revid: xmo@openerp.com-20110930081247-wl1d0i7hz206244o
2011-09-30 10:12:47 +02:00
Xavier Morel 3cde15fe01 [ADD] evaluator proof of concept: colors in list rows
bzr revid: xmo@openerp.com-20110929144036-7u2w6pf6lwkvzck0
2011-09-29 16:40:36 +02:00
niv-openerp b41131cdc6 [fix] problem with al making refactorings like a baraki de kermesse
bzr revid: nicolas.vanhoren@openerp.com-20110928123746-xudpsdgx353s2fnz
2011-09-28 14:37:46 +02:00
Christophe Simonis a578747e53 [FIX] wrap Login template
bzr revid: chs@openerp.com-20110928091958-3pbgyvug309bfmb1
2011-09-28 11:19:58 +02:00
Christophe Simonis e4c2cfb4ba [FIX] nivification of Login Widget
bzr revid: chs@openerp.com-20110927155347-dcqeg7hlyaq5djis
2011-09-27 17:53:47 +02:00
Xavier Morel 47094e8adb [ADD] import
bzr revid: xmo@openerp.com-20110926101440-y5j45bgie4xnhmqf
2011-09-26 12:14:40 +02:00
Xavier Morel c94872fc02 [ADD] basic colors support to listview via py.parse
bzr revid: xmo@openerp.com-20110925180407-n0asxrrjeb1oo5a4
2011-09-25 20:04:07 +02:00
Xavier Morel 25c38ca653 [IMP] move more import logic to javascript
bzr revid: xmo@openerp.com-20110923122202-hnp6o1ybwgugive4
2011-09-23 14:22:02 +02:00
Xavier Morel f42cacc5c1 [IMP] handle lines to skip in import preview
bzr revid: xmo@openerp.com-20110923095609-ogxc6q3wnd0tez8v
2011-09-23 11:56:09 +02:00
Xavier Morel 8d0a65ec94 [IMP] handle switch indicating whether the CSV file being imported has headers
bzr revid: xmo@openerp.com-20110923094500-0jn0tb3fgix9j8wg
2011-09-23 11:45:00 +02:00
Xavier Morel a7a71dea83 [IMP] split import check result in two different templates, wait before everything's ready to setup autocompletes and check required fields & al
bzr revid: xmo@openerp.com-20110923092346-007j09xf5wfzq9zo
2011-09-23 11:23:46 +02:00
Xavier Morel 99cd8a01a3 [REM] most of the fields-manipulation crapola of Import.detect_data, have headers be a simple list(str)
bzr revid: xmo@openerp.com-20110923085924-4gq1g660mcmb8bus
2011-09-23 10:59:24 +02:00
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
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 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 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
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
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
Fabien Meghazi 873cc6f5e0 [FIX] Many fixes
bzr revid: fme@openerp.com-20110920134142-jccggvzzu46708kx
2011-09-20 15:41:42 +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
Fabien Meghazi 4b5f671582 [IMP] Improved menu
bzr revid: fme@openerp.com-20110919214904-5vxnkt80rx48shjo
2011-09-19 23:49:04 +02:00
Fabien Meghazi a195b6912b [IMP] Improved float submenu positioning
bzr revid: fme@openerp.com-20110919211045-6kqn99p5d8lece6t
2011-09-19 23:10:45 +02:00
Fabien Meghazi 744be5db04 [ADD] Float menu (WIP)
bzr revid: fme@openerp.com-20110919155943-fdx57kbr0q9a2ywe
2011-09-19 17:59:43 +02:00
Xavier Morel 7b98c70f75 [ADD] hacky toggle between readonly and editable form modes
bzr revid: xmo@openerp.com-20110919151549-olblr39dlhtryfj0
2011-09-19 17:15:49 +02:00
Fabien Meghazi 3efa2e0a1a [ADD] Menu folding (WIP)
bzr revid: fme@openerp.com-20110919144631-b534cjz9iw598f3j
2011-09-19 16:46:31 +02:00
Xavier Morel 412effa9ad [IMP] move readonly stuff to their own widgets, in a registry inheriting from form's
bzr revid: xmo@openerp.com-20110919135717-jt4t5315nmoatleb
2011-09-19 15:57:17 +02:00
Xavier Morel 566f9a43e8 [ADD] readonly branch to a bunch of form widgets
bzr revid: xmo@openerp.com-20110919122416-h773tyz1kogazyy0
2011-09-19 14:24:16 +02:00
Xavier Morel ea6299dae6 [FIX] form.FieldOne2Many, nesting itself inside itself, breaking the self-matcher
bzr revid: xmo@openerp.com-20110919115746-16jz8hajcdgl010f
2011-09-19 13:57:46 +02:00
niv-openerp 135926d920 [fix] desactivated href in header
bzr revid: nicolas.vanhoren@openerp.com-20110919115735-38avdhvgrxnprbei
2011-09-19 13:57:35 +02:00
Fabien Meghazi 7e1dbfa3e8 [MERGE] Merge with trunk
bzr revid: fme@openerp.com-20110919081022-ia2aotnw7t28oedl
2011-09-19 10:10:22 +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
Xavier Morel ac3e971ea6 [REM] element_id from notebooks
bzr revid: xmo@openerp.com-20110916142458-qb36lxnro3fr1t0q
2011-09-16 16:24:58 +02:00
Xavier Morel 0ee38e29ad [IMP] convert form widgets to use a root class to find themselves back in the rendered dom, instead of a root id
bzr revid: xmo@openerp.com-20110916132228-h2qszo33q6z289qf
2011-09-16 15:22:28 +02:00
Fabien Meghazi 6a281e2d3f [IMP] Use unicode font for arrows
bzr revid: fme@openerp.com-20110915210818-15hrzmv24xdimisu
2011-09-15 23:08:18 +02:00
Fabien Meghazi c0936ac657 [IMP] Get rid of jQuery accordion. Improved menu (WIP). Now all levels are working
bzr revid: fme@openerp.com-20110915202209-5rp3ltzz86msaajz
2011-09-15 22:22:09 +02:00
niv-openerp eb45de7805 [merge]
bzr revid: nicolas.vanhoren@openerp.com-20110915093144-0ix1tdc8mcmx6l9p
2011-09-15 11:31:44 +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
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
niv-openerp 8d9285375d [merge]
bzr revid: nicolas.vanhoren@openerp.com-20110914155127-yc7nnjeo9nx4qdtu
2011-09-14 17:51:27 +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
niv-openerp 4e033738d0 [imp] nivified list view
bzr revid: nicolas.vanhoren@openerp.com-20110914143028-bwjnpw8vbubjc90k
2011-09-14 16:30:28 +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
Xavier Morel 284f7467fa [ADD] low_profile action flag used by viewmanager to know if it needs to render the help menu (used by e.g. dashboards)
bzr revid: xmo@openerp.com-20110914131635-qyvwgvw2y67h9pu0
2011-09-14 15:16:35 +02:00
Xavier Morel 74d0339fb0 [ADD] base res_log display
bzr revid: xmo@openerp.com-20110914121305-mcey8e3t36omkr2k
2011-09-14 14:13:05 +02:00