Commit Graph
5482 Commits
Author SHA1 Message Date
Jiten (OpenERP) d51feac91a [MERGE] Merge from openerp-web.
bzr revid: jra@tinyerp.com-20110926054324-4j7ae515cue29hx8
2011-09-26 11:13:24 +05:30
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
Antony Lesuisse 124fcbbd9b [FIX] temporary web module heuristics use static/
bzr revid: al@openerp.com-20110925114051-y3eex2xnn4guu3d0
2011-09-25 13:40:51 +02:00
Antony Lesuisse da30237801 [FIX] local backend catch exceptions
bzr revid: al@openerp.com-20110925104234-plzpwopgcdxgni8m
2011-09-25 12:42:34 +02:00
Antony Lesuisse adc30aa10f [IMP] web.common.dispatch only load module with controllers
bzr revid: al@openerp.com-20110925015054-1223jdthddb1wrah
2011-09-25 03:50:54 +02:00
Antony Lesuisse cd95f48ee7 [IMP] dbfilter option from openerp-server in embedded mode
bzr revid: al@openerp.com-20110925005523-krlap0jdgc5ukott
2011-09-25 02:55:23 +02:00
Antony Lesuisse 895a60f322 [IMP] web runs nicely in the server, That s one small commit for a man, a giant leap for openerp
bzr revid: al@openerp.com-20110924234416-b9pzbhpqfxi319te
2011-09-25 01:44:16 +02:00
Antony Lesuisse c845bef206 [IMP] web.common.sesion local backend part2
bzr revid: al@openerp.com-20110924165705-c0wd7hcup9ib74ry
2011-09-24 18:57:05 +02:00
Antony Lesuisse 0a02a38739 [IMP] web.common.sesion local backend part1
bzr revid: al@openerp.com-20110924163828-gbys8t65gyz0qkcu
2011-09-24 18:38:28 +02:00
Antony Lesuisse bf06ac9e85 [FIX] remove debugging crap
bzr revid: al@openerp.com-20110923163803-b4bjtzzkat0qpyot
2011-09-23 18:38:03 +02:00
Xavier Morel 6fb2e928ac [FIX] moved a self around so import window did not close correctly
bzr revid: xmo@openerp.com-20110923130943-293wxucafwjloxwh
2011-09-23 15:09:43 +02:00
Vidhin Mehta (OpenERP) d558fa620e [IMP]include main xml tag in main_object for up down posisition of node.
bzr revid: vme@tinyerp.com-20110923130406-3h1r41v6z768zkqt
2011-09-23 18:34:06 +05:30
Xavier Morel fc83119e60 [IMP] fixup field names since we only ever export xmlids anymore
might have to change that, or something

bzr revid: xmo@openerp.com-20110923124634-sk9ka293ugc159gu
2011-09-23 14:46:34 +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 633c27ab79 [REM] selector on an element which does not exist
bzr revid: xmo@openerp.com-20110923110605-vw82lm018q6b2grt
2011-09-23 13:06:05 +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 baf367d0e1 [IMP] move fetching of fields for import to javascript. Also extraction of required fields
bzr revid: xmo@openerp.com-20110923083341-xa3sg2t053zonlsm
2011-09-23 10:33:41 +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
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
Jiten (OpenERP) dbe1e67f92 [MERGE] Merge from openerp-web.
bzr revid: jra@tinyerp.com-20110922101617-u1gz39qnnopj016r
2011-09-22 15:46:17 +05:30
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