| Age | Commit message (Collapse) | Author |
|
lp bug: https://launchpad.net/bugs/844625 fixed
bzr revid: fme@openerp.com-20111027124325-ckd8kuujbb591nqu
|
|
rendering to increase coherency amongst templates, courtesy of Valentin Lab
bzr revid: xmo@openerp.com-20111027104517-9u3b8q0e50mboikw
|
|
bzr revid: xmo@openerp.com-20111027061727-0elo0jciwv7lu3mt
|
|
lp bug: https://launchpad.net/bugs/880804 fixed
bzr revid: fme@openerp.com-20111025185030-vw69honpjoaekh2v
|
|
Uses the string of the current view arch by default, overridden with action name by ViewManagerAction.
Mostly of use for/with o2m and m2m fields
bzr revid: xmo@openerp.com-20111025143738-yugscol5kabg8whv
|
|
bzr revid: xmo@openerp.com-20111025105925-7ghxlljq6ugupxx5
|
|
bzr revid: nicolas.vanhoren@openerp.com-20111024152056-2nfx7zk4kc9py17k
|
|
as requested by fp
bzr revid: xmo@openerp.com-20111024151158-7hqox4k6xrjujxnb
|
|
bzr revid: nicolas.vanhoren@openerp.com-20111024151039-k9jlntcj3n56h13d
|
|
bzr revid: xmo@openerp.com-20111024142744-zeal912gqf9bvrrp
|
|
bzr revid: xmo@openerp.com-20111024141737-bk2rg08wvll1hgno
|
|
bzr revid: xmo@openerp.com-20111024140658-8t9csv9i6gd30luj
|
|
bzr revid: xmo@openerp.com-20111024135521-aikh791r9j94moal
|
|
bzr revid: xmo@openerp.com-20111024134413-kgcgemdzquwtn0ns
|
|
bzr revid: kbh@bde-desktop-20111024132959-y9b3scfye91nut1c
|
|
lp bug: https://launchpad.net/bugs/878108 fixed
bzr revid: kbh@bde-desktop-20111024091730-dkzafro2f9e0k7tf
|
|
bzr revid: xmo@openerp.com-20111024084853-kcq2dflsk36r6pby
|
|
the bottom, too
bzr revid: tpa@tinyerp.com-20111024060926-f47bcg8jkmx449z2
|
|
the bottom, too
bzr revid: tpa@tinyerp.com-20111021104441-k2lnnciqalsjii2j
|
|
the bottom, too
lp bug: https://launchpad.net/bugs/878106 fixed
bzr revid: tpa@tinyerp.com-20111021065103-slbb7n124cuyvwhm
|
|
lp bug: https://launchpad.net/bugs/872148 fixed
bzr revid: fme@openerp.com-20111017122335-vov2sy95sdt3dwp9
|
|
bzr revid: fme@openerp.com-20111017100310-sxhudt74oi7eia10
|
|
Normal m2o values are pairs of (id, name) (name_get format, basically)
but in some cases (lazyness & al), APIs (often onchange results) only
return the `id` part, which is not sufficient to display the m2o
as-is, a name_get has to be performed.
Added an intermediate step in displaying a table cell (in list view):
if we're displaying an m2o cell (~a cell for an m2o column) and the
value is a number, then dispatch a name_get and keep trucking (display
the rows without the m2o values).
When the name_get returns, it will simply refresh the row and diplay
the m2o name.
bzr revid: xmo@openerp.com-20111014084310-pv2mmmy28fwwk9sm
|
|
bzr revid: al@openerp.com-20111014003056-3apcizt2i9qeb1ra
|
|
bzr revid: chs@openerp.com-20111013102653-wox1v4o9mfplzt2b
|
|
bzr revid: fme@openerp.com-20111012135735-6o905df1db7tmybh
|
|
bzr revid: xmo@openerp.com-20111011112924-ih7on411mirf5wmi
|
|
m2o needs additional properties from view.
reference template was broken
now hide the m2o widget when no value is selected
lp bug: https://launchpad.net/bugs/871677 fixed
bzr revid: fme@openerp.com-20111011105426-2s4d82185q5ok4ry
|
|
if false.
Will be used for dashboards, wizards, ...
bzr revid: fme@openerp.com-20111010141546-b19g0sr4fzicehss
|
|
bzr revid: chs@openerp.com-20111010123432-619o61elz09jm9sy
|
|
and some incorrect element_id breaking click-on-label behavior
bzr revid: xmo@openerp.com-20111006114127-vc4mbflum68pjlbo
|
|
bzr revid: xmo@openerp.com-20111006095301-98cda38m1y270f3m
|
|
Plan was originally to just ignore this because "it should just work"
but turns out m2o and m2o[@widget=selection] fields have very
different behaviors when it comes to default values, especially
custom domains and contexts:
* An m2o field uses its string value always (behaves like a char
field), for UI and clarity purposes we added an [[name, '=', id]]
case when the user specifically selects an autocompletion value,
but that's not "cannon", when it comes to dealing with custom
domains (filter_domain) and contexts the field always uses its
string value.
* An m2o[@widget=selection] field on the other hand uses its ids
always (behaves like a selection field).
That's not entirely true, really, because it has the converse to
what we implemented on the m2o field in the web client (in the GTK
client): if there is no @filter_domain *and* the user has entered a
value which is not in the dropdown (it's a combobox in the GTK
client), then it falls back on using 'ilike'. This string value is
*not* used in custom domains and custom filters, which simply are
not submitted.
This second section has *not* been implemented so far in the web
client, we'll come round to it if people actually need it.
bzr revid: xmo@openerp.com-20111006063949-fl5rbg3wwubcaay8
|
|
bzr revid: xmo@openerp.com-20110930081247-wl1d0i7hz206244o
|
|
bzr revid: xmo@openerp.com-20110929144036-7u2w6pf6lwkvzck0
|
|
bzr revid: nicolas.vanhoren@openerp.com-20110928123746-xudpsdgx353s2fnz
|
|
bzr revid: chs@openerp.com-20110928091958-3pbgyvug309bfmb1
|
|
bzr revid: chs@openerp.com-20110927155347-dcqeg7hlyaq5djis
|
|
bzr revid: xmo@openerp.com-20110926101440-y5j45bgie4xnhmqf
|
|
bzr revid: xmo@openerp.com-20110925180407-n0asxrrjeb1oo5a4
|
|
bzr revid: xmo@openerp.com-20110923122202-hnp6o1ybwgugive4
|
|
bzr revid: xmo@openerp.com-20110923095609-ogxc6q3wnd0tez8v
|
|
bzr revid: xmo@openerp.com-20110923094500-0jn0tb3fgix9j8wg
|
|
everything's ready to setup autocompletes and check required fields & al
bzr revid: xmo@openerp.com-20110923092346-007j09xf5wfzq9zo
|
|
headers be a simple list(str)
bzr revid: xmo@openerp.com-20110923085924-4gq1g660mcmb8bus
|
|
bzr revid: xmo@openerp.com-20110922155751-rkch0vpmhpolihxa
|
|
bzr revid: xmo@openerp.com-20110922153026-742c7cc76zv9f2t6
|
|
headers
bzr revid: xmo@openerp.com-20110922152704-lu36gl07ijnkd3sl
|
|
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
|
|
bzr revid: nicolas.vanhoren@openerp.com-20110921123858-l2146cjg1qb10bwc
|