Commit Graph

60 Commits

Author SHA1 Message Date
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
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) 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
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 692cb79400 [imp] simplified field status
bzr revid: nicolas.vanhoren@openerp.com-20110915123754-iun1kwli7kzl9lm5
2011-09-15 14:37:54 +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
niv-openerp 8d9285375d [merge]
bzr revid: nicolas.vanhoren@openerp.com-20110914155127-yc7nnjeo9nx4qdtu
2011-09-14 17:51:27 +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
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
Xavier Morel c5c689a21c [IMP] when hiding a given menu tip, hide for the length of the web client session
bzr revid: xmo@openerp.com-20110914101531-ci5c8z7rearvycyh
2011-09-14 12:15:31 +02:00
Xavier Morel e70ebcab8d [ADD] ability to hide menu help, only this or all help sections
bzr revid: xmo@openerp.com-20110914100833-fo4arcaa92zu1361
2011-09-14 12:08:33 +02:00
Xavier Morel 45d13bbe1d [ADD] menu tips on ViewManagerAction
bzr revid: xmo@openerp.com-20110914093409-1hc5skp9mn17ieir
2011-09-14 11:34:09 +02:00
Xavier Morel a84f8fac3e [IMP] move action name display to ViewManagerAction, move form's debug (display view code button) to viewmanageraction as well
bzr revid: xmo@openerp.com-20110914091319-o1941w689183wivt
2011-09-14 11:13:19 +02:00
Kunal Chavda (OpenERP) d7c967689a [FIX]Fixed code for removing unnecessary t-attributes and tabels.
bzr revid: kch@tinyerp.com-20110913093756-2z6g8p059lgjxpxq
2011-09-13 15:07:56 +05:30
Xavier Morel 7a31d4258b [FIX] application content moving around the content area if the secondary menu is closed
lp bug: https://launchpad.net/bugs/842793 fixed

bzr revid: xmo@openerp.com-20110913073730-caukax89lhgwqpch
2011-09-13 09:37:30 +02:00
Kunal Chavda (OpenERP) df1edc236b [MERGE]Merge with trunk upto revision no 1011.
bzr revid: kch@tinyerp.com-20110913054406-yrjafv0qdzzijizz
2011-09-13 11:14:06 +05:30
Kunal Chavda (OpenERP) 55e3e34872 [FIX]Fixed code for problems in previous commit.
bzr revid: kch@tinyerp.com-20110912125900-flvro2f4qsllik14
2011-09-12 18:29:00 +05:30
Xavier Morel ab6f81825c [FIX] avoid shortcut-star appearing in o2m fields
lp bug: https://launchpad.net/bugs/842545 fixed

bzr revid: xmo@openerp.com-20110912130518-kmvebgjdwzz30ibj
2011-09-12 15:05:18 +02:00
Vaibhav (OpenERP) 0f9c39acdb [FIX] Indentation.cleanup space,tabs.
bzr revid: vda@tinyerp.com-20110912125738-ngubj1wpfp6t7s4u
2011-09-12 18:27:38 +05:30
Vaibhav (OpenERP) bbea51f5e7 [FIX] element ref.
bzr revid: vda@tinyerp.com-20110912105654-h8s5xvwbdn3nqe8a
2011-09-12 16:26:54 +05:30
Vaibhav (OpenERP) 61e6bd9348 [FIX] Inherit template.load right template.
bzr revid: vda@tinyerp.com-20110912105325-0e7f9jmt79ztao5w
2011-09-12 16:23:25 +05:30
Vaibhav (OpenERP) 7635658034 [FIX] Override viewmanager,show stars when called from actionmanager.
bzr revid: vda@tinyerp.com-20110912082426-snwh0cc5ac75g7xz
2011-09-12 13:54:26 +05:30
Kunal Chavda (OpenERP) 555610e41b [FIX]Fixed code for javascript problems as par review.
bzr revid: kch@tinyerp.com-20110909114933-4f0zgiedo9dp865h
2011-09-09 17:19:33 +05:30
Xavier Morel bd92c1282b [REV] base.xml changes of xmo@openerp.com-20110908125510-fb7vcjsixj5sqhpz: new version was simpler, it was also completely broken
issue here is that <tr> element bears a foreach, which we have to keep, so can't just insert new tds in the row (they'll get repeated), we can't remove the tr (not without grafting the old attributes), etc...

it's really kind-of a pain.

Basically, the replaceAll() is used to make the <t> just created replace the <tr> matched, the unwrapAll removes the <table> around it all, resulting in a <t> with the buttons inserted before and after it, all landed in the editable-listview-generated-row

bzr revid: xmo@openerp.com-20110909134244-mbf5sf4to09fvsyi
2011-09-09 15:42:44 +02:00
niv-openerp 7987d3a2f6 [imp] added possibility to only show some states in status widget
bzr revid: nicolas.vanhoren@openerp.com-20110908163536-bewx1817u96t11rc
2011-09-08 18:35:36 +02:00
niv-openerp ec24f26ca6 [imp] improved css of status widget
bzr revid: nicolas.vanhoren@openerp.com-20110908160451-gh5josp0nmn3vn7u
2011-09-08 18:04:51 +02:00
niv-openerp c2ad26f34c [imp] now status widget correctly highlights the selected item
bzr revid: nicolas.vanhoren@openerp.com-20110908154551-oti347kv6f7h0q2y
2011-09-08 17:45:51 +02:00
niv-openerp 38df96f124 [imp] now status widget list possible selections
bzr revid: nicolas.vanhoren@openerp.com-20110908153715-k3ur78w85kb24iv7
2011-09-08 17:37:15 +02:00
niv-openerp 40d3b9cb49 [imp] added selected indication in status widget
bzr revid: nicolas.vanhoren@openerp.com-20110908152337-6xsfyicntnm6t7mx
2011-09-08 17:23:37 +02:00
niv-openerp 9cf066a790 [imp] put first example of status field with css
bzr revid: nicolas.vanhoren@openerp.com-20110908151153-7jiqei1abo90q6sx
2011-09-08 17:11:53 +02:00
niv-openerp e63c4a5fea [imp] improved status widget templates behavior
bzr revid: nicolas.vanhoren@openerp.com-20110908150932-kfyot4ivb6auhnod
2011-09-08 17:09:32 +02:00
niv-openerp c5ac762b20 [imp] setup of templates for status widget
bzr revid: nicolas.vanhoren@openerp.com-20110908150645-uqj6f9f5icnsf3jx
2011-09-08 17:06:45 +02:00
Kunal Chavda (OpenERP) a8467f7b3c [MERGE]Merge with trunk upto revision no 970.
bzr revid: kch@tinyerp.com-20110908103919-0elkj4hdhhgpvx6o
2011-09-08 16:09:19 +05:30
Xavier Morel bba27daf04 [FIX] don't display non-searchable (non-stored without a fnct_search) function fields
lp bug: https://launchpad.net/bugs/823049 fixed

bzr revid: xmo@openerp.com-20110908101406-f6r8bgt155nq65in
2011-09-08 12:14:06 +02:00
Fabien Meghazi 9b18066adc [FIX] Fixed FieldSelection problems with false values
lp bug: https://launchpad.net/bugs/838924 fixed

bzr revid: fme@openerp.com-20110907163315-b014e9pulr3nsqt4
2011-09-07 18:33:15 +02:00
Xavier Morel 32bccb877b [IMP] look of non-selectable or non-editable editable list views when a row is being edited
dynamically add and remove padding rows

lp bug: https://launchpad.net/bugs/842644 fixed

bzr revid: xmo@openerp.com-20110908125510-fb7vcjsixj5sqhpz
2011-09-08 14:55:10 +02:00
Kunal Chavda (OpenERP) a9446c53f9 [MERGE]Merge with trunk upto revision no 931.
bzr revid: kch@tinyerp.com-20110906125440-turixz49exf0po30
2011-09-06 18:24:40 +05:30
niv-openerp 71cb3b3bc3 [imp] put new link in about again
bzr revid: nicolas.vanhoren@openerp.com-20110905160246-4ihfm83ciasubjsx
2011-09-05 18:02:46 +02:00
niv-openerp ff8901dbed [imp] removed useless link in about
bzr revid: nicolas.vanhoren@openerp.com-20110905160206-7f2mcaiicggsms18
2011-09-05 18:02:06 +02:00
niv-openerp 8038c79e21 [imp] Added link in about
bzr revid: nicolas.vanhoren@openerp.com-20110905160142-7ejecycad72seynn
2011-09-05 18:01:42 +02:00
niv-openerp da1a7e8a61 [imp] changed about message
bzr revid: nicolas.vanhoren@openerp.com-20110905155935-u68a6vo9n8z4xq92
2011-09-05 17:59:35 +02:00