Commit Graph

296 Commits

Author SHA1 Message Date
Xavier Morel b9cb00f8de [IMP] change bounding function of tipsy to try to avoid tooltips being cut off
lp bug: https://launchpad.net/bugs/924286 fixed

bzr revid: xmo@openerp.com-20120131155208-ugzig1m90y4a86gk
2012-01-31 16:52:08 +01:00
Xavier Morel 52fc5d5023 [FIX] double htmlescaping in m2o fields when selecting an autocomplete choice
When providing values to the autocomplete, there are two keys used by
the autocomplete system itself:
* A mandatory label
* An optional value

If the value is not specified, the autocomplete will use the label
*but* it will htmlescape the label's value before setting it on the
input, while the provided label is raw HTML.

While this protects the input, if the label was already htmlescaped
(because it's user-provided data and may contain e.g. ampersands) in
order not to break the autocompletion list, it will end up
double-escaped with e.g. `&` characters replaced by `&` in
user-visible text.

The fix is to use the `value` key and set it to unescaped text data,
the widget will escape it before setting it on the field yielding the
correct user-facing result.

lp bug: https://launchpad.net/bugs/922666 fixed

bzr revid: xmo@openerp.com-20120131090226-8r64u4w3bb36se7n
2012-01-31 10:02:26 +01:00
Fabien Meghazi 1b011182da [FIX] Tooltips stays visible after it's trigger element has been removed
bzr revid: fme@openerp.com-20120126143734-7zl3gczn5x61k2u1
2012-01-26 15:37:34 +01:00
Fabien Meghazi 06061d4872 [FIX] Changed tooltip plugin that caused problems under firefox
bzr revid: fme@openerp.com-20120126132441-wxg1gumrq9uetd70
2012-01-26 14:24:41 +01:00
Fabien Meghazi c0b2ee7dc2 [IMP] Use a different controller for fields @type=id always readonly
bzr revid: fme@openerp.com-20120125140438-rr1bh20st75rq45y
2012-01-25 15:04:38 +01:00
Fabien Meghazi 4ffe5f5545 [FIX] Special case id fields
lp bug: https://launchpad.net/bugs/919184 fixed

bzr revid: fme@openerp.com-20120125111628-vsz6mwptd7bm8hlm
2012-01-25 12:16:28 +01:00
Fabien Meghazi 82b7eb4951 [FIX] on_change not working on reference fields
lp bug: https://launchpad.net/bugs/919225 fixed

bzr revid: fme@openerp.com-20120125100824-s2bof7zm80mith41
2012-01-25 11:08:24 +01:00
Xavier Morel 7ce1aad7ec [IMP] terminate statements, remove extraneous statement terminations
bzr revid: xmo@openerp.com-20120125085310-zzwjrll47n61hw8w
2012-01-25 09:53:10 +01:00
Xavier Morel 084bf9fb3f [FIX] in m2o fields, abort previous name_get when new one (for same field) arrives in order to limit the number of requests in-flight
lp bug: https://launchpad.net/bugs/920884 fixed

bzr revid: xmo@openerp.com-20120124141927-wznbkd2tf3mngq31
2012-01-24 15:19:27 +01:00
niv-openerp c044b70429 [imp] removed identifier_prefix
bzr revid: nicolas.vanhoren@openerp.com-20120124151343-t17b3obenv244io3
2012-01-24 16:13:43 +01:00
niv-openerp 3002bd091f [imp] removed bunch of old stuff in widget
bzr revid: nicolas.vanhoren@openerp.com-20120124145810-lr2y8igt9iqzqepn
2012-01-24 15:58:10 +01:00
Fabien Meghazi c4f06ec837 [FIX] Reference field problem, missing get_selected_ids()
bzr revid: fme@openerp.com-20120124103847-qqui2y5vbrqejey3
2012-01-24 11:38:47 +01:00
Xavier Morel 8bd3c7035e [IMP] add a 'default' key to 'on_prev_view' so switchers can force an other view if needed
bzr revid: xmo@openerp.com-20120124093033-297o9np9mxhm9zpy
2012-01-24 10:30:33 +01:00
Xavier Morel 9b54bdeb18 [ADD] dynamic view: handle setting domains via onchange
lp bug: https://launchpad.net/bugs/911676 fixed

bzr revid: xmo@openerp.com-20120120105608-zjbam8ki4uoqer5v
2012-01-20 11:56:08 +01:00
Xavier Morel 766c664d6d [FIX] extend revid:fme@openerp.com-20120117124417-k3vdiktc93gl99fi to all instances of Firefox
bug randomly happens on FF 9.0.1/OSX as well

bzr revid: xmo@openerp.com-20120119114614-6br6qj4byhy0ct1a
2012-01-19 12:46:14 +01:00
niv-openerp 5182408541 [imp] added id to fields values to please tfr
bzr revid: nicolas.vanhoren@openerp.com-20120118161517-dz9nwcgp49vbqgwj
2012-01-18 17:15:17 +01:00
Xavier Morel 68c97bd36b [FIX] buttons order in dialog confirming actions
bzr revid: xmo@openerp.com-20120117153333-6cuih7w3iuuv1mlk
2012-01-17 16:33:33 +01:00
Xavier Morel 98f0b22d9a [MERGE] qweb casing fix
bzr revid: xmo@openerp.com-20120117140254-ans3ugulji5h61vw
2012-01-17 15:02:54 +01:00
Xavier Morel 07a459f2d4 [FIX] trailing commas
bzr revid: xmo@openerp.com-20120117132843-obecwigtts1rf9ja
2012-01-17 14:28:43 +01:00
Fabien Meghazi 809968ecfd [FIX] Char fields don't correctly retain their values in Firefox 3.6
Unknown bug in old version of firefox :
input type=text onchange event not fired when tootip is shown

Disabled tooltips for gecko version < 2

lp bug: https://launchpad.net/bugs/911327 fixed

bzr revid: fme@openerp.com-20120117124417-k3vdiktc93gl99fi
2012-01-17 13:44:17 +01:00
Xavier Morel ecfcf9c409 [REM] wiki field from form and page
bzr revid: xmo@openerp.com-20120117111938-rmjgsw309q6gltxe
2012-01-17 12:19:38 +01:00
Fabien Meghazi 246fee51c6 [IMP] Updated jquery.tipTip
bzr revid: fme@openerp.com-20120117103217-jmjhm6i1baaljmty
2012-01-17 11:32:17 +01:00
Fabien Meghazi 2606558efa [FIX] some accounting report do not work
lp bug: https://launchpad.net/bugs/914183 fixed

bzr revid: fme@openerp.com-20120116132554-1reoy6gg4lpynsij
2012-01-16 14:25:54 +01:00
Fabien Meghazi 0618ebfe27 [IMP] FormView: Only show invalid field on_ui_change and do_save
bzr revid: fme@openerp.com-20120116111431-8zm8883ull42ljgx
2012-01-16 12:14:31 +01:00
Fabien Meghazi 064a50bcde [FIX] Fields validation is not always triggered.
Eg: in Create a Partner action button from leads form, changing selection then clicking Continue is allowed despite the fact that the second field is invalid.

bzr revid: fme@openerp.com-20120116105258-4kkvr39i3fd3za1w
2012-01-16 11:52:58 +01:00
Fabien Meghazi dad51038e6 [IMP] Parse progress bar show value
lp bug: https://launchpad.net/bugs/900624 fixed

bzr revid: fme@openerp.com-20120116104330-hc5olrw6tiudrj0f
2012-01-16 11:43:30 +01:00
Fabien Meghazi 61b4bedcab [FIX] Problem with DateTimeWidget
bzr revid: fme@openerp.com-20120116090243-ktqate17r1pq39ad
2012-01-16 10:02:43 +01:00
niv-openerp 8c06e573a9 [fix] problem with DateTimeWidget
bzr revid: nicolas.vanhoren@openerp.com-20120113110459-0p2xl3t90j4nasxe
2012-01-13 12:04:59 +01:00
niv-openerp 059a8068f2 [fix] problem with email template preview
bzr revid: nicolas.vanhoren@openerp.com-20120112153419-morwrmy7ozqxup6f
2012-01-12 16:34:19 +01:00
Fabien Meghazi 2ea7dae91f [FIX] Fix default field focus that was broken
bzr revid: fme@openerp.com-20120112151527-peee706mfv7nciye
2012-01-12 16:15:27 +01:00
Fabien Meghazi 301ccd20b2 [REM] Commented out a debug logging
bzr revid: fme@openerp.com-20120112144547-s4vziyeazy1at8ag
2012-01-12 15:45:47 +01:00
Fabien Meghazi 5be2f1123f [REM] Commented out some debug output
bzr revid: fme@openerp.com-20120112124456-yvegpuajefyg26uo
2012-01-12 13:44:56 +01:00
niv-openerp a03bd12a44 [fix] problem in o2m
bzr revid: nicolas.vanhoren@openerp.com-20120111143712-fln5ddnfobp84ieb
2012-01-11 15:37:12 +01:00
Fabien Meghazi 5f3e6fdd9e [IMP] Disable right click on m2o button
bzr revid: fme@openerp.com-20120111140222-cirxtmubrma6qj9b
2012-01-11 15:02:22 +01:00
Fabien Meghazi 946b33ad9c [FIX] Binary Field shouldn't load all base64 data when the object data is loaded
lp bug: https://launchpad.net/bugs/914272 fixed

bzr revid: fme@openerp.com-20120111124911-73ee4heyy8xqq4zp
2012-01-11 13:49:11 +01:00
Fabien Meghazi 37f923fb0f [REM] Refactored Dataset. Removed callbacks for #read_ids, #read_slice, #read_index and #default_get
Added options argument where needed

bzr revid: fme@openerp.com-20120111111539-wr0afax30sf66rmk
2012-01-11 12:15:39 +01:00
Fabien Meghazi fca894050a [IMP] Refactored web.Dialog (again)
bzr revid: fme@openerp.com-20120111110648-thxst5ot0te60fj5
2012-01-11 12:06:48 +01:00
Fabien Meghazi fe4526b2d8 [MERGE] Merge last trunk
bzr revid: fme@openerp.com-20120111085337-u65f0pyr1n60mkaw
2012-01-11 09:53:37 +01:00
Vidhin Mehta (OpenERP) 377b9a81ed [IMP]use CompoundContext class.
bzr revid: vme@tinyerp.com-20120111052401-5vvf6aggna5nfykl
2012-01-11 10:54:01 +05:30
niv-openerp b83ad9acd3 [fix] forgot to rename all references to reload_lock
bzr revid: nicolas.vanhoren@openerp.com-20120110165802-kmt07aa82g14mluq
2012-01-10 17:58:02 +01:00
Fabien Meghazi e9ca86dd63 [IMP] More dataset refactoring
bzr revid: fme@openerp.com-20120110165451-pvchn668y0b1p645
2012-01-10 17:54:51 +01:00
Xavier Morel 8fd07cc0b8 [ADD] handling of binary fields in list views
lp bug: https://launchpad.net/bugs/914267 fixed

bzr revid: xmo@openerp.com-20120110155106-p3g85wbh5g4wlbdi
2012-01-10 16:51:06 +01:00
Fabien Meghazi 0a08bf26e7 [IMP] Improved m2o dialogs
bzr revid: fme@openerp.com-20120110152110-5n4og71gyucnhwte
2012-01-10 16:21:10 +01:00
niv-openerp d764f06196 [fix] added exception in o2m when we query the value and the view is not yet intialized
bzr revid: nicolas.vanhoren@openerp.com-20120110145829-kscrhk88d5t1nkk0
2012-01-10 15:58:29 +01:00
Fabien Meghazi 6b242208c2 [FIX] Fixed m2o dialogs
bzr revid: fme@openerp.com-20120110145129-7akak1kszzpobf37
2012-01-10 15:51:29 +01:00
niv-openerp 7f945253c7 [imp] cosmetic improvements in form view
bzr revid: nicolas.vanhoren@openerp.com-20120110144709-wamuhmj682pa2a07
2012-01-10 15:47:09 +01:00
niv-openerp 756d989a87 [imp] refactored form view some more to use Mutex
bzr revid: nicolas.vanhoren@openerp.com-20120110144420-0bxkguwxgvt2oi9a
2012-01-10 15:44:20 +01:00
niv-openerp 3dbb95ec2b [imp] refactored a part of form view to use Mutex
bzr revid: nicolas.vanhoren@openerp.com-20120110144113-1x67nu7u9q51g7ny
2012-01-10 15:41:13 +01:00
Xavier Morel ee9a9558c0 [IMP] add doc to Binary.saveas, and rename a field for clarity
bzr revid: xmo@openerp.com-20120110143518-ircd8x1feyf5rquf
2012-01-10 15:35:18 +01:00
niv-openerp 53b3529b12 [imp] removed default_get handling in xml views
bzr revid: nicolas.vanhoren@openerp.com-20120110142055-1ocyfzt24f4uuvaf
2012-01-10 15:20:55 +01:00