Commit Graph
1428 Commits
Author SHA1 Message Date
Fabien Meghazi d6f406191a [FIX] reloading of menu should keep active menu hidden when folded
bzr revid: fme@openerp.com-20120131100324-xajoh1esyvj31zs0
2012-01-31 11:03:24 +01:00
Xavier Morel d5cac24bc8 [IMP] right-align labels in db-management screens
bzr revid: xmo@openerp.com-20120131094441-cmou5jfes0e9o3k5
2012-01-31 10:44:41 +01:00
Xavier Morel 73c1d7c3de [FIX] handling of being denied access to the list of databases in the database-management screen
lp bug: https://launchpad.net/bugs/922024 fixed

bzr revid: xmo@openerp.com-20120131094326-1am82v8u6f9fefuv
2012-01-31 10:43:26 +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
Xavier Morel 94240c8a04 [IMP] remove [Invalid Username or Password] note as soon as a new login is submit, don't wait for page reload while checking for login correctness
lp bug: https://launchpad.net/bugs/921575 fixed

bzr revid: xmo@openerp.com-20120130115255-dt39hk25ri9u0whu
2012-01-30 12:52:55 +01:00
Xavier Morel ceaf203ce9 [IMP] remove fixed todo
bzr revid: xmo@openerp.com-20120130095339-x3cmsfrzxpwtl8u6
2012-01-30 10:53:39 +01:00
Xavier Morel b50afe59fb [FIX] don't forget to set py.bool in context of py.eval/py.evaluate
py.eval really needs to automatically have builtins in its evaluation context...

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

bzr revid: xmo@openerp.com-20120130085557-oqmjs0owgdrwshu0
2012-01-30 09:55:57 +01:00
Xavier Morel 05b60e8afb [IMP] only protect crashmanager creation as other children are destroyed and recreated every time
bzr revid: xmo@openerp.com-20120127164332-4mw5pxzoep0newgo
2012-01-27 17:43:32 +01:00
Xavier Morel 2c073283df [FIX] don't initialize common controls twice in WebClient root, causes duplicated error popups if going through login page
lp bug: https://launchpad.net/bugs/922296 fixed

bzr revid: xmo@openerp.com-20120127163446-a2i3vfzzxz0yaujn
2012-01-27 17:34:46 +01:00
Antony Lesuisse cb750d4121 [FIX] always show model in url
bzr revid: al@openerp.com-20120127132438-nth4lyqq1xp55hfc
2012-01-27 14:24:38 +01:00
Xavier Morel eaa1fbca72 [FIX] strange draggable behavior in Chrome 15/Linux
dragging any other row than the first one in a sortable table (table with sequences)
has the row going way to the right of the table, in both editable list views (e.g.
tasks) and relational fields (e.g. Accounting > Configuration > Financial Accounting
> Taxes > Taxes[form] > Child Tax Accounts

bzr revid: xmo@openerp.com-20120127091938-z79e7aj6wjcmfmmz
2012-01-27 10:19:38 +01:00
niv-openerp 32eaff93d3 [imp] added doc
bzr revid: nicolas.vanhoren@openerp.com-20120126152911-s5idtdwgp454v8i5
2012-01-26 16:29:11 +01:00
niv-openerp 7760df3d44 [fix] problem with date and time parsing
bzr revid: nicolas.vanhoren@openerp.com-20120126152822-z98udmqoj1qc9cx6
2012-01-26 16:28:22 +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 0a692eb7de [FIX] Changed tooltip plugin that caused problems under firefox
bzr revid: fme@openerp.com-20120126141408-zdkf21qqjxx019pq
2012-01-26 15:14:08 +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
Xavier Morel d0141aa5ce [FIX] race condition on selecting saved filters
Deferreds can't "go through" al callbacks, so even when searchviews
correctly wait on this.on_clear it can't get the information on when
the other view is done clearing, and it lauches two concurrent views.

In this precise case though, there's no need to launch a search after
this clear, just want to remove all searchview state.

bzr revid: xmo@openerp.com-20120126092304-fe79ulj6txkgy411
2012-01-26 10:23:04 +01:00
Xavier Morel 1059bb758d [IMP] clear search after deselecting a filter
bzr revid: xmo@openerp.com-20120126085636-3mja4a43yhywd6ga
2012-01-26 09:56:36 +01:00
Xavier Morel a01106ca30 [IMP] don't reset filters select after selecting a saved filter
bzr revid: xmo@openerp.com-20120126085526-21rjfs2beykv00rv
2012-01-26 09:55:26 +01:00
Fabien Meghazi df0dde74a6 [FIX] Using the "id" field in a view used in pop-up creates errors
lp bug: https://launchpad.net/bugs/919184 fixed

bzr revid: fme@openerp.com-20120125150506-g84vyw5pmsk59l9s
2012-01-25 16:05:06 +01:00
Xavier Morel 7f1c184bb4 [IMP] invert sorting arrows
http://notes.ericjiang.com/posts/456

bzr revid: xmo@openerp.com-20120125150201-82vkms4pxyn2qbsu
2012-01-25 16:02:01 +01:00
Xavier Morel f854b4b9f8 [IMP] only set auto_search on flags if not already set, so flags can be used to override action's auto_search
bzr revid: xmo@openerp.com-20120125142043-o9znm8qphrm9rlsp
2012-01-25 15:20:43 +01:00
Xavier Morel e90d6ac735 [FIX] front page kanban: incorrect boolean conversion of action.auto_search to flag
bzr revid: xmo@openerp.com-20120125141945-ifyboezexfanw9hi
2012-01-25 15:19:45 +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
Vaibhav (OpenERP) a93daf3b98 [FIX] helper clone for dragged element.
lp bug: https://launchpad.net/bugs/920349 fixed

bzr revid: vda@tinyerp.com-20120125131528-twjtq49lhzr214vr
2012-01-25 18:45:28 +05:30
niv-openerp 921543ab32 [merge]
bzr revid: nicolas.vanhoren@openerp.com-20120125131453-sblhwsshiahe4qsw
2012-01-25 14:14:53 +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
Fabien Meghazi ac61e2bcfa [FIX] Notifications z-index is lower than dialogs
lp bug: https://launchpad.net/bugs/916352 fixed

bzr revid: fme@openerp.com-20120125092423-jy4wgabvsfgx1sh7
2012-01-25 10:24:23 +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 fa10430e25 [REM] unused view_help file
bzr revid: xmo@openerp.com-20120125084641-glyiqqemy41b4k23
2012-01-25 09:46:41 +01:00
Xavier Morel a6d883ee05 [FIX] trailing comma, breaks IE <= 8
bzr revid: xmo@openerp.com-20120125084459-eysc6e80l0mdeuqm
2012-01-25 09:44:59 +01:00
Xavier Morel 627fe9fed9 [IMP] use @deprecated on OldWidget
bzr revid: xmo@openerp.com-20120125084244-wcok11mlyagh1ck1
2012-01-25 09:42:44 +01:00
niv-openerp 31cdf276a2 [merge]
bzr revid: nicolas.vanhoren@openerp.com-20120124152239-yjtsn0j2yt4gif5e
2012-01-24 16:22:39 +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
niv-openerp ac845b1bfa [imp] nivified extended search
bzr revid: nicolas.vanhoren@openerp.com-20120124143318-pw8eka0zvrh7n3mt
2012-01-24 15:33:18 +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
Fabien Meghazi b39e6ae7f1 [ADD] Added View Log (perm_read) option in debug select box
lp bug: https://launchpad.net/bugs/914277 fixed

bzr revid: fme@openerp.com-20120124170111-i35l4qclarypsrh1
2012-01-24 18:01:11 +01:00
niv-openerp af30dcba24 [fix] problem in Widget
bzr revid: nicolas.vanhoren@openerp.com-20120124154246-bl3ulzt1luhyl9jb
2012-01-24 16:42:46 +01:00
niv-openerp fb8255576c [imp] added documentation
bzr revid: nicolas.vanhoren@openerp.com-20120124152708-iuid1mrw0zvmmy8x
2012-01-24 16:27:08 +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 4bfd2047aa [FIX] template rendering issues in IE8
bzr revid: xmo@openerp.com-20120124101155-b52f8b3jd6otn7j9
2012-01-24 11:11:55 +01:00
Xavier Morel aebe04d321 [FIX] typo in comment
bzr revid: xmo@openerp.com-20120124101043-f8mgwbtj3zrao5na
2012-01-24 11:10:43 +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 f1d323157d [MERGE] typo fix, courtesy of florent x
bzr revid: xmo@openerp.com-20120123145438-m92gff6xdlmqnokn
2012-01-23 15:54:38 +01:00
Xavier Morel ac8532f801 [FIX] pressing [ESC] while in an editable listview in a dialog should not close the dialog
bzr revid: xmo@openerp.com-20120123143614-c2cw93asd6n5qfqs
2012-01-23 15:36:14 +01:00
Florent Xicluna e624e8b9b4 [FIX] typo in js property_widget.
bzr revid: florent.xicluna@gmail.com-20120123130510-k1udncnop5t9d661
2012-01-23 14:05:10 +01:00
Antony Lesuisse 7d22e1eb8c [FIX] revert html_template is used by other modules. commit 2012 revid:nicolas.vanhoren@openerp.com-20120118161735-2yuxisndfq92ctoi
bzr revid: al@openerp.com-20120122233202-moq81q35qddjtlw8
2012-01-23 00:32:02 +01:00
Xavier Morel 48459b568a [FIX] get_value called on readonly reference widget before its name_get has had the time to run
lp bug: https://launchpad.net/bugs/919225 fixed

bzr revid: xmo@openerp.com-20120120153046-fkq105mmzooo58q5
2012-01-20 16:30:46 +01:00