Xavier Morel
ccd607aae5
[IMP] cleanup and simplify graph view implementation, update underscore.string
...
bzr revid: xmo@openerp.com-20110929075550-o58x8sxa165sky1r
2011-09-29 09:55:50 +02:00
niv-openerp
62a8080818
[fix] problem with context keys not passed correctly in some cases, here the invoice created from a sale order
...
bzr revid: nicolas.vanhoren@openerp.com-20110928164428-07tzfmcip03xspjq
2011-09-28 18:44:28 +02:00
niv-openerp
e43790f7f2
[imp] refactoring to improve the way the components are destroyed
...
bzr revid: nicolas.vanhoren@openerp.com-20110928151613-8suxvi1rzn9t40gd
2011-09-28 17:16:13 +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
niv-openerp
3400e13621
[fix] problem in o2m, not restoring correctly the status of some o2m which caused problem in chart of account wizard
...
bzr revid: nicolas.vanhoren@openerp.com-20110928115537-8fa3lls2e04b3fau
2011-09-28 13:55:37 +02:00
Antony Lesuisse
0ecd9811b3
[MERGE] login nivified
...
bzr revid: al@openerp.com-20110928094122-qvlqcxya0ba3u7p7
2011-09-28 11:41:22 +02:00
Fabien Meghazi
ad8a70c763
[FIX] Context of actions loaded by buttons were not properly evaluated
...
bzr revid: fme@openerp.com-20110928093553-571zsugcocpkk1hm
2011-09-28 11:35:53 +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
b223c0a650
merge upstream
...
bzr revid: chs@openerp.com-20110928085150-nkupuglnbrrzixyy
2011-09-28 10:51:50 +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
Antony Lesuisse
5dfc14d359
[IMP] web_preload js part
...
bzr revid: al@openerp.com-20110927111402-teb8bpavj4atghle
2011-09-27 13:14:02 +02:00
Christophe Simonis
567cd953ca
[IMP] nivification of Login widget
...
bzr revid: chs@openerp.com-20110927093232-j6rdzec2k1u6g2h1
2011-09-27 11:32:32 +02:00
Christophe Simonis
1d2d17a365
[MERGE] merge upstream + code adaptation to revid:al@openerp.com-20110927001435-vttw23epyru5gm0b
...
bzr revid: chs@openerp.com-20110927085435-pipko7w752conp3a
2011-09-27 10:54:35 +02:00
Xavier Morel
56c026fbc4
[UP] underscore.string to version 1.1.6
...
bzr revid: xmo@openerp.com-20110926162529-n0ok06nmh0yowoms
2011-09-26 18:25:29 +02:00
niv-openerp
78cdb8d1ab
[fix] problem in o2m form view with read only fields, now saves result of default_get
...
bzr revid: nicolas.vanhoren@openerp.com-20110926160057-zss7934ji5hhtq44
2011-09-26 18:00:57 +02:00
niv-openerp
02549a9c0e
[imp] refactoring of form view to allow recursize save for o2m
...
bzr revid: nicolas.vanhoren@openerp.com-20110926123929-35bespquay2qxmfe
2011-09-26 14:39:29 +02:00
Christophe Simonis
4261f1ad11
merge upstream
...
bzr revid: chs@openerp.com-20110926112623-q68d3tebr80qt6l9
2011-09-26 13:26:23 +02:00
Xavier Morel
47094e8adb
[ADD] import
...
bzr revid: xmo@openerp.com-20110926101440-y5j45bgie4xnhmqf
2011-09-26 12:14:40 +02:00
Xavier Morel
7fd9078fed
[ADD] basic auto-matching of imported file columns to model fields
...
todo: if exact equality with field name and field string fail, a levenshtein distance test
with the field string would be pretty cool (mostly for importing stuff)
bzr revid: xmo@openerp.com-20110926100744-1mcucy3njp9fd3r5
2011-09-26 12:07:44 +02:00
Xavier Morel
60207baf44
[FIX] prevent setting a field name which does not exist in the list
...
bzr revid: xmo@openerp.com-20110926093024-et5kvpvvq1vm811h
2011-09-26 11:30:24 +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
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
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
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