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
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
Xavier Morel
8d3fd60178
[REV] reordering broken if widget=handle
...
bzr revid: xmo@openerp.com-20121017102603-w70q44d5h5l1xss7
2012-10-17 12:26:03 +02:00
Xavier Morel
3c8a9159de
[REM] xhr vector
...
bzr revid: xmo@openerp.com-20121017102410-67m598a8e4orsjsc
2012-10-17 12:24:10 +02:00
niv-openerp
73950424bb
[FIX] removed dirty hack to put buttons in footer of dialogs with an official dirty feature
...
bzr revid: nicolas.vanhoren@openerp.com-20121016125627-vevqllvshay5fpv4
2012-10-16 14:56:27 +02:00
niv-openerp
35df43c491
[FIX] modified action manager to use the $buttons of Dialog when it instantiate a ViewManager in a Dialog
...
bzr revid: nicolas.vanhoren@openerp.com-20121016124135-xkll7ugawv9ae6bq
2012-10-16 14:41:35 +02:00
niv-openerp
18a4297544
[MERGE] Modified Form Fields to able to set their value before they are rendered
...
bzr revid: nicolas.vanhoren@openerp.com-20121016123559-g3gjf73uzqz4u1xv
2012-10-16 14:35:59 +02:00
niv-openerp
886e1fcdd9
[FIX] put back old behavior about save and readonly fields in form view
...
bzr revid: nicolas.vanhoren@openerp.com-20121016123101-huzasphtqujf87b3
2012-10-16 14:31:01 +02:00
niv-openerp
7894d2cfb2
[IMP] Made $buttons in dialogs work all the time
...
bzr revid: nicolas.vanhoren@openerp.com-20121016103252-njyt4rxk96fy5w6r
2012-10-16 12:32:52 +02:00
niv-openerp
97cb5f4dc4
[FIX] small problems in dialog actions
...
bzr revid: nicolas.vanhoren@openerp.com-20121016095824-woasfpauu7unye5n
2012-10-16 11:58:24 +02:00
Fabien Meghazi
5a6158bb5f
[FIX] Broken Dataset#unlink
...
bzr revid: fme@openerp.com-20121016093834-ulhdzbhvasw9msp5
2012-10-16 11:38:34 +02:00
niv-openerp
8743b1f85a
[FIX] problem with field status
...
bzr revid: nicolas.vanhoren@openerp.com-20121016085249-2qpvp31br5kd4knk
2012-10-16 10:52:49 +02:00