Xavier Morel
e7fbd7290f
[IMP] add a doc blurb to testing.section and testing.case
...
bzr revid: xmo@openerp.com-20121029120426-xdk03e5gvv1n03jw
2012-10-29 13:04:26 +01:00
Xavier Morel
a9f1489fd0
[FIX] typos
...
bzr revid: xmo@openerp.com-20121029120004-d8tv0hks9d6684az
2012-10-29 13:00:04 +01:00
Xavier Morel
21e776a56b
[IMP] document test runner global conf keys
...
bzr revid: xmo@openerp.com-20121029110902-ob21050di74vcyqc
2012-10-29 12:09:02 +01:00
Xavier Morel
bf4a26d3e8
[ADD] actual-RPC tests, with UI. Bump QUnit timeout to 10s so RPC can run at all
...
bzr revid: xmo@openerp.com-20121029110154-5927gaix8k0ijl0c
2012-10-29 12:01:54 +01:00
Xavier Morel
108d617507
[MERGE] duplicate temp branch
...
bzr revid: xmo@openerp.com-20121026120215-vztkxmvjghhrs2yk
2012-10-26 14:02:15 +02:00
Xavier Morel
6abc1134f5
[IMP] port list-edition tests to new framework
...
bzr revid: xmo@openerp.com-20121026100452-8s4j9g0mxzfuy834
2012-10-26 12:04:52 +02:00
Xavier Morel
a130035409
[IMP] port basic/existing tests to new framework, apart from editor stuff
...
bzr revid: xmo@openerp.com-20121026092144-0arxx2v9oi28e3d6
2012-10-26 11:21:44 +02:00
Xavier Morel
04282ff00e
[IMP] port search test to new framework, add handling of web.{submodule} dependencies
...
bzr revid: xmo@openerp.com-20121026084543-fobkc3ta5q2jc3q6
2012-10-26 10:45:43 +02:00
Xavier Morel
99a2dd3938
[ADD] first 90% of non-sucky testing API, last 90% left
...
also all existing tests shoud now be completely broken and need to be fixed
bzr revid: xmo@openerp.com-20121025154745-rw2gktfd6tp68k2m
2012-10-25 17:47:45 +02:00
Xavier Morel
1cf9b2a60d
[REM] test_support controller
...
bzr revid: xmo@openerp.com-20121024110146-bzuf19sfptew0dn0
2012-10-24 13:01:46 +02:00
niv-openerp
5743dca47d
[IMP] Remove some useless code
...
bzr revid: nicolas.vanhoren@openerp.com-20121019133851-xqgt8vuktawy58gm
2012-10-19 15:38:51 +02:00
niv-openerp
d715d39440
[FIX] Problem with wizards: when the dialog is closed the view is not destroyed
...
bzr revid: nicolas.vanhoren@openerp.com-20121019132827-y3tp1298w1h359kh
2012-10-19 15:28:27 +02:00
Xavier Morel
61b74914aa
[FIX] Opera: programmatic .focus() on contenteditable element only works if element also has a tabindex
...
bzr revid: xmo@openerp.com-20121019114605-pa441vc9nhsi3pxm
2012-10-19 13:46:05 +02:00
vta vta@openerp.com
877957819e
[FIX] Fixed a forgotten add(), SearchView#on_invalid().
...
bzr revid: vta@openerp.com-20121019111558-zu8hzh7u61srew2e
2012-10-19 13:15:58 +02:00
Xavier Morel
a060b1400b
[FIX] SelectCreatePopup: append search view at the right position in the DOM
...
Old error had added the list and the search at the same place of the
popup, leading to strange interactions as the search view is floated
to the right: in Firefox the search view would be hidden behind the
list (completely), in Chrome the search view would be visible but
"overlaid" with a transparent section of the list, and (tentative)
clicks on the search view would have no effect as they'd actually be
done on and in the list view.
bzr revid: xmo@openerp.com-20121019110804-3kg91rro91isp771
2012-10-19 13:08:04 +02:00
Vo Minh Thu
83a0a252b9
[IMP] database management: added duplicate operation.
...
bzr revid: vmt@openerp.com-20121019101259-f32m2wlf6xugk2vi
2012-10-19 12:12:59 +02:00
Xavier Morel
3be621b9bc
[IMP] hack-ish hack to make reorderable lists non-reorderable in readonly o2m
...
* Technically this is done by the the setup_reseq override
* the filtering added to FieldOne2Many is for UI improvement
bzr revid: xmo@openerp.com-20121019100725-izotstggoxpfjk6k
2012-10-19 12:07:25 +02:00
Antony Lesuisse
4755454c2a
[FIX] remove console.log
...
bzr revid: al@openerp.com-20121018203118-ufstntp8wshs3fjj
2012-10-18 22:31:18 +02:00
Antony Lesuisse
75735ea1c5
[DIE] callbackenabled
...
bzr revid: al@openerp.com-20121018155837-lr90ldzrnwd06ueu
2012-10-18 17:58:37 +02:00
Fabien Meghazi
6e04399945
[FIX] m2o#focus() does nothing when readonly
...
bzr revid: fme@openerp.com-20121018154755-a9hurjb0664l03x2
2012-10-18 17:47:55 +02:00
Xavier Morel
b5be361c55
[FIX] various listview issues
...
bzr revid: xmo@openerp.com-20121018150108-althdcxk3jc2bkun
2012-10-18 17:01:08 +02:00
Xavier Morel
4223b1e786
[IMP] add overridable dimension-setting method on form fields
...
bzr revid: xmo@openerp.com-20121018145712-am4y6bdnz2x14i2c
2012-10-18 16:57:12 +02:00
Fabien Meghazi
adb172b7cb
[IMP] Binary fields, use html5 api if available
...
bzr revid: fme@openerp.com-20121018143730-2qoalz6uye5ggbn5
2012-10-18 16:37:30 +02:00
niv-openerp
77415e7f77
[IMP] Finally allow to call set() with 2 arguments.
...
bzr revid: nicolas.vanhoren@openerp.com-20121018141607-jpow2bu1dlvdriyd
2012-10-18 16:16:07 +02:00
Xavier Morel
6782c33a32
[FIX] only reload m2m listview once after adding n records to it (via dialog)
...
The listview does not support concurrent reload requests, either wait
for the previous reload to finish before sending the new one, or just
send a single reload.
For m2m, can wait and do a single reload so do that.
bzr revid: xmo@openerp.com-20121018134123-ox2ccq0wm3r5jwas
2012-10-18 15:41:23 +02:00
vta vta@openerp.com
94cc99925c
[MERGE] Merge trunk-trigger-on_search.
...
bzr revid: vta@openerp.com-20121018125745-23he1va0dpj5jrfk
2012-10-18 14:57:45 +02:00
vta vta@openerp.com
59aaa765a6
[FIX] Fixed event name.
...
bzr revid: vta@openerp.com-20121018124607-rifo06nfx7jo134e
2012-10-18 14:46:07 +02:00
Xavier Morel
f910bc6780
[FIX] don't trigger search twice when a facet is removed from the query due to its values becoming empty
...
The facet removal from its last value being removed
(`this.remove(facet)` in the 'change' handler of the SearchQuery)
broadcasted its `remove` event, triggering the `do_search` (and
repaint) hook of the SearchView a second time right after the
`change`-triggered search.
Not only is this unnecessary and duplicated work (the `remove` is a
sync operation, so searchview-attached events haven't yet executed by
the time `remove` is called), the listview really doesn't like getting
a ``search`` signal while it's already executing a search.
So fix that.
bzr revid: xmo@openerp.com-20121018124005-6vfi7tqasz32ai8v
2012-10-18 14:40:05 +02:00
Xavier Morel
8b2a07eb55
[REM] dead code
...
bzr revid: xmo@openerp.com-20121018123403-k97t9x0hiie56f2n
2012-10-18 14:34:03 +02:00
vta vta@openerp.com
98431bccd9
[MERGE] Latest trunk.
...
bzr revid: vta@openerp.com-20121018122324-hf4y784k49s0vsye
2012-10-18 14:23:24 +02:00
vta vta@openerp.com
fb52618556
[MERGE] Latest trunk.
...
bzr revid: vta@openerp.com-20121018120920-dvr8wp8tyhngy601
2012-10-18 14:09:20 +02:00
vta vta@openerp.com
ae8efbed06
[FIX] Fixed on_loaded in editable list.
...
bzr revid: vta@openerp.com-20121018115451-vx4i66o75kld3io9
2012-10-18 13:54:51 +02:00
vta vta@openerp.com
1e70837161
[FIX] Fixed on_loaded in all different views.
...
bzr revid: vta@openerp.com-20121018114950-svqy0gje04vw2ysc
2012-10-18 13:49:50 +02:00
niv-openerp
a077619c90
[FIX] memory leak in event dispatcher
...
bzr revid: nicolas.vanhoren@openerp.com-20121018095132-3ew3rbkjfwzgp5r1
2012-10-18 11:51:32 +02:00
vta vta@openerp.com
8b4580ea86
[FIX] Fixed on_loaded in Menu and Search.
...
bzr revid: vta@openerp.com-20121018085028-d0ww48el2jwmtcpg
2012-10-18 10:50:28 +02:00
vta vta@openerp.com
bd049325f0
[MERGE] Latest trunk.
...
bzr revid: vta@openerp.com-20121015095120-slieowls1jkkeguj
bzr revid: vta@openerp.com-20121018070252-l2r83wkj5mfuu5y0
2012-10-18 09:02:52 +02:00
Xavier Morel
0a23335aa7
[IMP] when editing a row, hide the list cells overlaid by form fields
...
* visibility: hidden on the cell itself hides the whole cell including
background and borders, looks terrible
* color: transparent is supported by all supported browsers (even IE
>= 9), and it avoids breaking the cell sizes (which the usual hack —
text-indent -9999px does)
* can probably just apply visibility:hidden to eveything below the
cell itself
bzr revid: xmo@openerp.com-20121018063703-scz1yl87b7nhgx94
2012-10-18 08:37:03 +02:00
Xavier Morel
47fbd98ff2
[FIX] basic inputs (e.g. float) in editable list views having size hardcoded to 7em
...
bzr revid: xmo@openerp.com-20121017155920-lwmzlwbfthfzhluj
2012-10-17 17:59:20 +02:00
Fabien Meghazi
080994c31c
[IMP] Make breadcrumb use deferred returned by switch_view()
...
bzr revid: fme@openerp.com-20121017155525-jf4vdbo8r183vi94
2012-10-17 17:55:25 +02:00
Fabien Meghazi
31b316577c
[IMP] Use an 'options' dict as second arg for ActionManager#do_action()
...
bzr revid: fme@openerp.com-20121017145548-oc9s6oadhwzbr78m
2012-10-17 16:55:48 +02:00
Antony Lesuisse
b85b32fb2b
[IMP] form view set default show invisible fields in conditions
...
bzr revid: al@openerp.com-20121017142835-a6jdps82it12y03b
2012-10-17 16:28:35 +02:00
Fabien Meghazi
a901ecf288
[FIX] breadcrumb does not restore url state
...
bzr revid: fme@openerp.com-20121017135510-wtye34kd1rkagqtr
2012-10-17 15:55:10 +02:00
Xavier Morel
8e54c76845
[FIX] fetching of table cells to match form inputs to
...
Only fetch the table cells of the row being edited *after* having
saved a pending edition.
Otherwise, when re-editing the same record (e.g. click between buttons
or on a readonly field), the cells are saved, the record is refreshed
destroying the cells, and when trying to get the cell positions to
position form fields correctly... the cells which don't exist anymore
return 0, 0 as their position and nothing works correctly.
bzr revid: xmo@openerp.com-20121017134351-lpmz27f1iemmsfoq
2012-10-17 15:43:51 +02:00
Xavier Morel
886767fbaa
[FIX] listview indicator positioning: position relative is UB on table elements
...
bzr revid: xmo@openerp.com-20121017121601-g3kmxqxvoi447mkp
2012-10-17 14:16:01 +02:00
Xavier Morel
fa1aafa97d
[FIX] in-group pagination of list views
...
bzr revid: xmo@openerp.com-20121017115845-9ch6icjjhrzycj84
2012-10-17 13:58:45 +02:00
Xavier Morel
5d5a8e85c2
[FIX] group_by_no_leaf handling
...
bzr revid: xmo@openerp.com-20121017110750-vrtx04b40e4kralm
2012-10-17 13:07:50 +02:00
Fabien Meghazi
dbe8bd71de
[IMP] Breadcrumb always reload views on history back
...
bzr revid: fme@openerp.com-20121017110421-l19e5a397umi66k8
2012-10-17 13:04:21 +02:00
Xavier Morel
90fadfa553
[FIX] unbreak group class hierarchy
...
bzr revid: xmo@openerp.com-20121017105948-lr7s57j1pi0oozou
2012-10-17 12:59:48 +02:00
Xavier Morel
e1c548cae3
[FIX] forgotten DataGroup reference
...
bzr revid: xmo@openerp.com-20121017105257-lab5rc7pu9rd80iw
2012-10-17 12:52:57 +02:00
Xavier Morel
71bbb149fb
[MOVE] datagroup to a private ListView API
...
bzr revid: xmo@openerp.com-20121017105213-sfosutg26zg0w2ax
2012-10-17 12:52:13 +02:00