Commit Graph
4368 Commits
Author SHA1 Message Date
Launchpad Translations on behalf of openerp c55438e695 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20121023044839-5p7b9e93zpxmpfpv
bzr revid: launchpad_translations_on_behalf_of_openerp-20121023050546-in29ajkb3zkyg3za
2012-10-23 05:05:46 +00:00
Antonin Bourguignon e4461f0c27 [MERGE] add a rule to hide the create incentive in list view
this patch would deserve to be extented to the kanban view, as soon as the 'cannot_create' css class will be handled over there

bzr revid: abo@openerp.com-20121022165159-1mi42eq265c21nqz
2012-10-22 18:51:59 +02:00
Antonin Bourguignon 2f4bf4641e [IMP] parse SASS and update CSS
bzr revid: abo@openerp.com-20121022164914-vqaivy1eyplo13e8
2012-10-22 18:49:14 +02:00
Antonin Bourguignon 9ed87abad0 [IMP] add a rule to hide the create incentive in list view
this patch would deserve to be extented to the kanban view

bzr revid: abo@openerp.com-20121022164642-csadhjemb8zyzag6
2012-10-22 18:46:42 +02:00
Antonin Bourguignon c88b77a7c8 [IMP] remove whitespaces
bzr revid: abo@openerp.com-20121022162708-a3q25ul0rnbtfnqv
2012-10-22 18:27:08 +02:00
Fabien Meghazi 6280e223be [REV] Not my fault afterall.
bzr revid: fme@openerp.com-20121022161611-d4gik77mk1fvtojb
2012-10-22 18:16:11 +02:00
niv-openerp 3b5b24b72e [FIX] m2o switches correctly its button
bzr revid: nicolas.vanhoren@openerp.com-20121022161426-1oqwa8e3n6kh7pba
2012-10-22 18:14:26 +02:00
Xavier Morel 6972b34029 [REM] stuff in list view, may or may not still work. It's all fme's fault anyway
FME MA TUER

bzr revid: xmo@openerp.com-20121022160134-yaze6n43h98c193t
2012-10-22 18:01:34 +02:00
niv-openerp db54c70650 [FIX] resolved problem with buttons in views, also removed default Close button in wizards
bzr revid: nicolas.vanhoren@openerp.com-20121022152257-yxcz0j73b4azeqr1
2012-10-22 17:22:57 +02:00
niv-openerp 1da06f3bfe [FIX] better fix for previous m2m kanban problem
bzr revid: nicolas.vanhoren@openerp.com-20121022144021-h1oqgb0d0h6aepfl
2012-10-22 16:40:21 +02:00
Fabien Meghazi a1364bde20 [FIX] m2m kanban use it's own value as is in order to fill dataset.ids
bzr revid: fme@openerp.com-20121022142459-9so19ypfwhxwhuc3
2012-10-22 16:24:59 +02:00
Xavier Morel 955ebc8c67 [FIX] reorderable listview clone/placeholder positioning
In some cases (tables?) jquery-ui sortable apparently breaks down if
any parent of the element being positioned (and the generated helper
element) is in position: relative.

Remove all of the position:relative in the way, they seem to not be
used anymore (including the one in jquery-ui, testing in IE9 doesn't
seem to expose any bug and jquery-ui references one, might have been
an issue in IE<=8 which was fixed since).

Maybe an assertion should be added to the code, which would call
#getComputedStyle() on all the #parents() of the element being made
sortable and error out if one of them has
#getPropertyValue('position') == 'relative'?

bzr revid: xmo@openerp.com-20121022131624-n8a43vgl8k4gsqk9
2012-10-22 15:16:24 +02:00
niv-openerp c6eaa8beb8 [FIX] problem in read_group, caused an exception "cannot read 'lang' in undefined" in a lot of views
bzr revid: nicolas.vanhoren@openerp.com-20121022124935-mxfzx2wg431bqhm9
2012-10-22 14:49:35 +02:00
Fabien Meghazi b631b13742 [FIX] Forgot two occurencies during do_action() refactoring
refactoring was done in Revision: 3261 revid:fme@openerp.com-20121017145548-oc9s6oadhwzbr78m

bzr revid: fme@openerp.com-20121022124135-ifaj0mm1vd2zjxyo
2012-10-22 14:41:35 +02:00
Xavier Morel 8a3a92bbfc [IMP] readonly sortable o2m
The making of the column invisible would happen after the header was
rendered (?), and the header would not be re-rendered afterwards. So
there would be a missing chunk of table. Make the cells invisible
instead. It's all going to be changed looks-wise anyway so meh.

bzr revid: xmo@openerp.com-20121022103935-78bm40gfotpt1ds6
2012-10-22 12:39:35 +02:00
Launchpad Translations on behalf of openerp f6722a220c Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20121022044010-tkjn0fvu96n808v4
bzr revid: launchpad_translations_on_behalf_of_openerp-20121021050338-615erhjvleexew7i
bzr revid: launchpad_translations_on_behalf_of_openerp-20121022044616-8jhkr6k3sv7fa29h
2012-10-22 04:46:16 +00:00
niv-openerp 268d1856cd [FIX] problem with exec_workflow in dataset: does not return the expected result format
bzr revid: nicolas.vanhoren@openerp.com-20121019165211-n6oh82sv4uc6jfsg
2012-10-19 18:52:11 +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