Commit Graph

5399 Commits

Author SHA1 Message Date
Xavier Morel f12b4b2b9e [IMP] jsdoc annotations
bzr revid: xmo@openerp.com-20130305091951-z2p0wi7w7p6b93y0
2013-03-05 10:19:51 +01:00
Xavier ALT b07c1a8461 [FIX] statusbar widget: fix no value display for 'selection' field
* really call initial get_selection() after binding 'change:selection'
 overwise no value are assigned to internal selection list - resulting
 to an empty statusbar when field type is 'selection'

bzr revid: xal@openerp.com-20130304230253-0e959r9sintwsd98
2013-03-05 00:02:53 +01:00
Xavier Morel b921444d6f [FIX] implement forgotten @invisible handling on search view fields
bzr revid: xmo@openerp.com-20130304152047-8xaczg9qdx6ug2p1
2013-03-04 16:20:47 +01:00
Xavier Morel d46c61d784 [FIX] don't store user context properties into custom filter @context
This leads to any subsequent view overwriting the current user's lang
or timezone with the one active when the filter was created,
generating dismay and discontent (e.g. part of the user interface
switching from spanish to english or english to german, depending on
the respective settings of the current user and the filter creator —
at time of filter creation).

bzr revid: xmo@openerp.com-20130304101414-mm6ai1dkltd7ard5
2013-03-04 11:14:14 +01:00
Fabien Meghazi 3d98b97e46 [MERGE] Merge 7.0
bzr revid: fme@openerp.com-20130304093155-dfuyjy66mv4tq13a
2013-03-04 10:31:55 +01:00
Launchpad Translations on behalf of openerp 55e79b4d36 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20130302052300-qobkezoqvnyoi1fl
bzr revid: launchpad_translations_on_behalf_of_openerp-20130304055909-ixg5id5sibsci8s9
2013-03-04 05:59:09 +00:00
Olivier Dony a451cacb91 [MERGE] http.WebRequest: clear db/uid tracking on worker thread to avoid incorrect values during logging
Could happen when a worker thread is reused for another
database but does not go through all the dispatching levels,
e.g. for static resources served by werkzeug itself.

bzr revid: odo@openerp.com-20130301171616-joit5dvjx51ums1y
2013-03-01 18:16:16 +01:00
niv-openerp b62e58d78c Removed changes in main.py
bzr revid: nicolas.vanhoren@openerp.com-20130301144928-tzaos1dblilwbizh
2013-03-01 15:49:28 +01:00
niv-openerp a52d9a3406 Modified to call the placeholder lib in view_form.js
bzr revid: nicolas.vanhoren@openerp.com-20130301144653-6a1z558tjfkvtcar
2013-03-01 15:46:53 +01:00
niv-openerp 77088d339b merge trunk
bzr revid: nicolas.vanhoren@openerp.com-20130301143341-xa55351zb166bl2w
2013-03-01 15:33:41 +01:00
niv-openerp 36d47aebc1 [FIX] small problem with <button confirm="..."/>, didn't confirmed correctly when closing the popup
lp bug: https://launchpad.net/bugs/1095366 fixed

bzr revid: nicolas.vanhoren@openerp.com-20130301140015-67av4zwrdhbh3srh
2013-03-01 15:00:15 +01:00
Xavier Morel 7278305f68 [FIX] O2M record reloading after workflow progress
Evict record from BufferedDataSet cache as is done with button calls,
otherwise when caller reloads record (read) after having executed the
workflow action, it'll get the old one back from the BDS's cache.

bzr revid: xmo@openerp.com-20130301103543-jra87w2wm417tgyc
2013-03-01 11:35:43 +01:00
Xavier Morel ed98418441 [FIX] docstring
bzr revid: xmo@openerp.com-20130301102223-htb9cteh5rjmex38
2013-03-01 11:22:23 +01:00
Olivier Dony ef10c2e3c8 [FIX] http.WebRequest: clear db/uid tracking on worker thread to avoid incorrect values during logging
Could happen when a worker thread is reused for another
database but does not go through all the dispatching levels,
e.g. for static resources served by werkzeug itself.

bzr revid: odo@openerp.com-20130228173530-bs5pun9o09iobosi
2013-02-28 18:35:30 +01:00
Fabien Meghazi 02d4ab6597 [FIX] Make credential autocomplete per database
bzr revid: fme@openerp.com-20130228173444-th4grlsz70lewf9h
2013-02-28 18:34:44 +01:00
niv-openerp b413e00d6a [FIX] Field monetary handles "digits" like the float field.
bzr revid: nicolas.vanhoren@openerp.com-20130228165117-z9r9ua18xohn7rgm
2013-02-28 17:51:17 +01:00
Fabien Meghazi 686e919b8d [FIX] Also check dbname in session_is_valid()
bzr revid: fme@openerp.com-20130228161901-8ff2t1km24t1im3b
2013-02-28 17:19:01 +01:00
Fabien Meghazi cb9c598ca4 [FIX] correctly set cookie for last used database
bzr revid: fme@openerp.com-20130228161757-le1halu03kesu3fa
2013-02-28 17:17:57 +01:00
Fabien Meghazi d6e460d9e7 [FIX] Correctly handles db param in url. Home controller redirects on db if more than one db
bzr revid: fme@openerp.com-20130228161537-cen2lyknfifqtyu0
2013-02-28 17:15:37 +01:00
Fabien Meghazi 301d63b8c9 [WIP] wip , lots of troubles !
bzr revid: fme@openerp.com-20130228101614-zn4prwhi6zk0h13d
2013-02-28 11:16:14 +01:00
Antony Lesuisse 1bec18f5f8 [FIX] view_list limits more sensible values
bzr revid: al@openerp.com-20130227212507-ag6ibb9x3nz5deko
2013-02-27 22:25:07 +01:00
Fabien Meghazi 8f56c19ad4 [FIX] Kanban: Can't drag and drop in the last column position under IE9
bzr revid: fme@openerp.com-20130227210715-p2rqb0pa81078nms
2013-02-27 22:07:15 +01:00
Christophe Simonis dd6a60e2bc [FIX] web: saved_action must start at index 1
bzr revid: chs@openerp.com-20130227172829-zxksmvky3hwltt7l
2013-02-27 18:28:29 +01:00
niv-openerp 5c3eebcb4d [FIX] crash in editable list o2m when a record is saved
bzr revid: nicolas.vanhoren@openerp.com-20130227141941-phigsnt3x3rj0atu
2013-02-27 15:19:41 +01:00
Fabien Meghazi d6975ff37f [FIX] Remove url timestamps in debug mode
The chrome cache bug seems to be gone with newer versions.
Moreover, the cutting edge features of the webkit developper tools
won't work if url changes upon reload.

bzr revid: fme@openerp.com-20130227114134-nlv7g5jjvvd037p2
2013-02-27 12:41:34 +01:00
niv-openerp 5a9bf08f46 [FIX] lot of potential bugs, mainly due to quickly clicking on menu items
bzr revid: nicolas.vanhoren@openerp.com-20130227113132-m2kr9slpxp1pogaz
2013-02-27 12:31:32 +01:00
niv-openerp 1b4337f8e6 [IMP] Added utility method to better handle asynchronous calls and destruction of objects.
Critical to help solve many bugs.

bzr revid: nicolas.vanhoren@openerp.com-20130227111619-dwhjt84tz8wpd6vp
2013-02-27 12:16:19 +01:00
niv-openerp 650ff2dd5e [FIX] remove useless debug messages
bzr revid: nicolas.vanhoren@openerp.com-20130227104226-d75fgyg4iu4igftr
2013-02-27 11:42:26 +01:00
Launchpad Translations on behalf of openerp df1e74d633 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20130227050858-h2k1peqmpb4yg13n
bzr revid: launchpad_translations_on_behalf_of_openerp-20130227050905-s46m1zxqy4jdm4as
2013-02-27 05:09:05 +00:00
niv-openerp 07a94ec16a [FIX] too much rendering in FieldStatus
bzr revid: nicolas.vanhoren@openerp.com-20130226174509-3dppgg9b9e9xndlj
2013-02-26 18:45:09 +01:00
Fabien Meghazi fa9143b831 [FIX] m2o's autocomplete in a dialog stay absolute positioned when dialog is scrolled down
bzr revid: fme@openerp.com-20130226093346-jtun7zdmzbin7gl0
2013-02-26 10:33:46 +01:00
Launchpad Translations on behalf of openerp 4a34c70ca8 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20130226053405-w5a9rp5orqi89z9h
bzr revid: launchpad_translations_on_behalf_of_openerp-20130226053445-52kd76xxoxx5x7tt
bzr revid: launchpad_translations_on_behalf_of_openerp-20130226053448-joq378fpfc2p1rwv
2013-02-26 05:34:48 +00:00
Xavier Morel a88586a71b [FIX] @domain not handled on searchview m2o fields
Also injected view context in m2o completion name_search

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

bzr revid: xmo@openerp.com-20130225165314-78e04rewsqw86r5d
2013-02-25 17:53:14 +01:00
Xavier Morel 6803c0048f [IMP] add view's context to m2o completion name_search
bzr revid: xmo@openerp.com-20130225165236-386r8438h4vz6fav
2013-02-25 17:52:36 +01:00
Xavier Morel ece114024f [ADD] @domains handling to searchview m2o field during completion
bzr revid: xmo@openerp.com-20130225164255-y3qkcjozr7rbtz1v
2013-02-25 17:42:55 +01:00
Fabien Meghazi 017d75f6f0 [FIX] Correctly check the id index in dataset
lp bug: https://launchpad.net/bugs/1098508 fixed

bzr revid: fme@openerp.com-20130225161236-8yb98wfzbkawr8yu
2013-02-25 17:12:36 +01:00
Christophe Matthieu 18387d7e0b [FIX] form_view: field url, don't add http for local link
bzr revid: chm@openerp.com-20130225160932-yfoxmpkf8td9hr8k
2013-02-25 17:09:32 +01:00
Xavier Morel 9f45e8970c [ADD] more tests for m2o default values handling
bzr revid: xmo@openerp.com-20130225152324-785ewucir0pv4rmw
2013-02-25 16:23:24 +01:00
Xavier Morel a8d2327cda [FIX] Correctly stop embedded form when switching from editable to non-editable list
When using the ``set_editable`` feature (context key) from filters
(togglable on/off), the list view would not correctly clean up
(destroy) the form when switching from editable with a started editor
(and form) to non-editable, leading to form fields (in this case m2o
fields being in an incorrect state and trying to query a non-started
autocompletion widget on every click anywhere blowing it up).

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

bzr revid: xmo@openerp.com-20130225135629-8k338gw0arsi6m6j
2013-02-25 14:56:29 +01:00
Xavier Morel 021086d5a8 [FIX] Search view's drawer closing unexpectedly when using the date widget
jquery-ui's date picker (at least in currently used version) lets
*some* (but not all) clicks go through. The date picker dialog is
added directly to the page body so capturing clicks in a parent widget
doesn't work, and these "stray" bubbling clicks will trigger the
global bus's "click" event.

Add a capturing (and stopPropagation-ing) of these clicks in our
wrapper to jquery-ui's datepicker to avoid the issue.

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

bzr revid: xmo@openerp.com-20130225110614-p7dmmjd41xdxescy
2013-02-25 12:06:14 +01:00
Olivier Dony 932a63ce36 [FIX] db manager: allow creating databases with a leading digit - useful for naming version-specific databases
bzr revid: odo@openerp.com-20130225102350-u6nywl3vmtopfuaz
2013-02-25 11:23:50 +01:00
Launchpad Translations on behalf of openerp 35bc384f50 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20130223060740-3n0izgt30e6k6j3d
bzr revid: launchpad_translations_on_behalf_of_openerp-20130223060813-35hs9o06qkcrlqme
bzr revid: launchpad_translations_on_behalf_of_openerp-20130224051257-hb610rps76ncuh5l
bzr revid: launchpad_translations_on_behalf_of_openerp-20130224051302-eltcq481gxdfn2gm
2013-02-24 05:13:02 +00:00
Xavier Morel 1e9b03ea99 [FIX] listview: bug in binary column download link rendering
bzr revid: xmo@openerp.com-20130222093621-crdgl79nl93zejvh
2013-02-22 10:36:21 +01:00
Fabien Meghazi 73b99d0932 [FIX] IE9: traceback in Reporting when changing type of view
lp bug: https://launchpad.net/bugs/1091715 fixed

bzr revid: fme@openerp.com-20130221221025-dnqws0lwq0bvwi4o
2013-02-21 23:10:25 +01:00
Fabien Meghazi 94b1c039ce [MERGE] [FIX] Unsupported self closing tags shall not reach FormRenderingEngine
lp bug: https://launchpad.net/bugs/1130650 fixed

bzr revid: fme@openerp.com-20130221183839-wkgla6ldxx96sxi2
2013-02-21 19:38:39 +01:00
Fabien Meghazi 3467d27261 [FIX] Unsupported self closing tags shall not reach FormRenderingEngine
bzr revid: fme@openerp.com-20130221172327-0dydqn548av5vkqo
2013-02-21 18:23:27 +01:00
Olivier Dony 620c7359e8 [FIX] web: avoid translating technical URL in qweb template
lp bug: https://launchpad.net/bugs/1099449 fixed

bzr revid: odo@openerp.com-20130221131006-l8aerp2vg0rqf43d
2013-02-21 14:10:06 +01:00
Vidhin Mehta bbb2900f9a [FIX]
bzr revid: vme@tinyerp.com-20130221094853-24ufyiis0bmqlj41
2013-02-21 15:18:53 +05:30
Vidhin Mehta 1cfbfeb061 [MERGE]7.0
bzr revid: vme@tinyerp.com-20130221094453-dupm500oez98cv13
2013-02-21 15:14:53 +05:30
Vidhin Mehta 5da4bd83b6 [IMP]use debounce to close on scroll.
bzr revid: vme@tinyerp.com-20130221093922-ofzreua1ua4nv0yd
2013-02-21 15:09:22 +05:30
Christophe Simonis 544c8f2dd7 [MERGE] correct hashchange check of current_state to do not coerce values. only push active_ids in state if relevant
bzr revid: chs@openerp.com-20130220174455-gsobu19naslo1h73
2013-02-20 18:44:55 +01:00
Fabien Meghazi f20c884cf5 [IMP] Custom filters: restore checkboxes and make them exclusive
bzr revid: fme@openerp.com-20130220163306-14xwsgvu8rw2ciny
2013-02-20 17:33:06 +01:00
Vidhin Mehta 4212725417 [FIX]select accurate element with use of 'child selector'.
bzr revid: vme@tinyerp.com-20130220132634-6ycdntomequypxfw
2013-02-20 18:56:34 +05:30
Vidhin Mehta ca912e0975 [MERGE]7.0
bzr revid: vme@tinyerp.com-20130220131956-hrnbak55i9qdpe4y
2013-02-20 18:49:56 +05:30
Fabien Meghazi ee4bc76f14 [IMP] Do not push active_ids in state if active_ids == [active_id]
bzr revid: fme@openerp.com-20130220091226-akczbmurjvn5jzjl
2013-02-20 10:12:26 +01:00
Fabien Meghazi 364ea001f9 [FIX] stringify states (patch from chs)
bzr revid: fme@openerp.com-20130220084437-cyb0pi8nw71bl5mx
2013-02-20 09:44:37 +01:00
Fabien Meghazi f559b97ce9 [FIX] Fixed mysterious bug about active_ids in state
This is a temporary fix, I need more time to check the issue.

bzr revid: fme@openerp.com-20130219181519-a1zdkr2y8a43dqgb
2013-02-19 19:15:19 +01:00
Fabien Meghazi 5c8bb9a089 [FIX] FormOpenPopup does not trigger on_button_cancel
bzr revid: fme@openerp.com-20130219143215-68izxr278eu77sn0
2013-02-19 15:32:15 +01:00
Fabien Meghazi ffab924c08 [FIX] FieldStatus does not re-render when view change
bzr revid: fme@openerp.com-20130219141645-3c1avqxnk23gcn1g
2013-02-19 15:16:45 +01:00
Mohammed Shekha 8d02a23ee9 [FIX]Fixed the issue of reload record affter callign exec_workflow for one2many dataset.
bzr revid: msh@openerp.com-20130219101940-uum7iqbvvhg619uk
2013-02-19 15:49:40 +05:30
Fabien Meghazi b68f13d892 [FIX] BufferedDataset ids should not be passed to on_changes
bzr revid: fme@openerp.com-20130218180732-ivdxvenc2flgl32p
2013-02-18 19:07:32 +01:00
Fabien Meghazi b9daa4d837 [MERGE] [FIX] Fixed TWSB (The White Square Bug)
lp bug: https://launchpad.net/bugs/1097219 fixed

bzr revid: fme@openerp.com-20130218133251-mskozjdbm0ry6uee
2013-02-18 14:32:51 +01:00
Fabien Meghazi 98a9bb5376 [FIX] ViewManagerAction's do_create_view() does not pipe _super's deferred.
bzr revid: fme@openerp.com-20130218114911-wpack9pfkr3pn0a2
2013-02-18 12:49:11 +01:00
Fabien Meghazi 1a1d413367 [FIX] Fixed layout
lp bug: https://launchpad.net/bugs/1097219 fixed

bzr revid: fme@openerp.com-20130218110802-1i6esihnb29f5nvh
2013-02-18 12:08:02 +01:00
Xavier Morel 6fe0dd8032 [FIX] prevent dragging click target images of m2o and datetime fields
can get slightly disturbing when missing a click and slightly dragging the image instead, possibly to the input (pasting its URL)

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

bzr revid: xmo@openerp.com-20130218104529-i0i8700v2mwxje4b
2013-02-18 11:45:29 +01:00
Launchpad Translations on behalf of openerp 5dbc1b787e Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20130215052434-vl34xg5zfo9c7wny
bzr revid: launchpad_translations_on_behalf_of_openerp-20130216054019-5mij5aoepxhf3zoy
bzr revid: launchpad_translations_on_behalf_of_openerp-20130216053913-zj2b2x6ll2ok19in
bzr revid: launchpad_translations_on_behalf_of_openerp-20130217052310-9912kfq4cxc7k7fv
bzr revid: launchpad_translations_on_behalf_of_openerp-20130218052538-tly4emi0bggrlp8h
bzr revid: launchpad_translations_on_behalf_of_openerp-20130216054015-2uthx4z6mfqwrbrt
bzr revid: launchpad_translations_on_behalf_of_openerp-20130217052400-07m6wixrfaq58l2k
bzr revid: launchpad_translations_on_behalf_of_openerp-20130218052624-0mh8rmv7upyxmpg9
2013-02-18 05:26:24 +00:00
Xavier Morel e00db293d1 [IMP] move domain section and label to ExtendedSearchProposition.Field
Simplifies and linearizes control flow

bzr revid: xmo@openerp.com-20130214142952-e59q9aoz4ngx9iwb
2013-02-14 15:29:52 +01:00
Xavier Morel fcf4f4443c [FIX] wrong object accessed leading to incorrect show/hide of things
bzr revid: xmo@openerp.com-20130214142545-lbog33w0bzpn354q
2013-02-14 15:25:45 +01:00
Xavier Morel 195fef053e [ADD] re-introduce 'is set' and 'is not set' operators which were added to 6.1 but never ported to 7.0
lp bug: https://launchpad.net/bugs/1013528 fixed

bzr revid: xmo@openerp.com-20130214140637-rk46j7csu0i4an31
2013-02-14 15:06:37 +01:00
Xavier Morel ab816b74fb [FIX] correctly handle invisible or empty groups in total filters count computation
bzr revid: xmo@openerp.com-20130214075906-kg83zi0pan61au1d
2013-02-14 08:59:06 +01:00
Xavier Morel 9852c6ff1e [FIX] missing support for invisible fields and groups in new search view
lp bug: https://launchpad.net/bugs/1122183 fixed

bzr revid: xmo@openerp.com-20130214074302-rwm2hcmv9mpvp9dv
2013-02-14 08:43:02 +01:00
Fabien Meghazi aa6cd343e8 [IMP] Custom filters: make options 'share' and 'default' exclusive
bzr revid: fme@openerp.com-20130213152158-45qlqjh02h7ua2ur
2013-02-13 16:21:58 +01:00
Fabien Meghazi e19a972890 [FIX] Menu need action link's filter is overriden by default custom filters
bzr revid: fme@openerp.com-20130213143953-nb8dqi2n1neaivm2
2013-02-13 15:39:53 +01:00
Xavier Morel 2d87d908e2 [IMP] do not add empty filter groups to the drawer columns
bzr revid: xmo@openerp.com-20130213125606-ykbb2kg9wvfbs2ho
2013-02-13 13:56:06 +01:00
Fabien Meghazi 3cd5a856be [FIX] Properly escape values in templates
bzr revid: fme@openerp.com-20130213104229-jjlhilp355lpi22p
2013-02-13 11:42:29 +01:00
Xavier Morel dfb7493034 [FIX] add support for invisibility to fields (don't complete an invisible field)
bzr revid: xmo@openerp.com-20130213090108-h38emnwscgb5v1pu
2013-02-13 10:01:08 +01:00
Xavier Morel f690a9310c [IMP] prefix searchview tests for easy filtering
bzr revid: xmo@openerp.com-20130213072557-er5xl9xcj17mhuqe
2013-02-13 08:25:57 +01:00
Launchpad Translations on behalf of openerp ead19a73b2 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20130213052157-zdt86kcrn8mbwa23
bzr revid: launchpad_translations_on_behalf_of_openerp-20130213052201-hnwd7qjf3tesspnh
2013-02-13 05:22:01 +00:00
Fabien Meghazi 47959a6889 [END] This is the end of the world
bzr revid: fme@openerp.com-20130212133025-544phlyp83gdabu6
2013-02-12 14:30:25 +01:00
Fabien Meghazi ef7978efde [FIX] support virtual ids
bzr revid: fme@openerp.com-20130212131852-xuq4otkb9ooloc9u
2013-02-12 14:18:52 +01:00
Fabien Meghazi 8d85375835 [IMP] Improved code and doc
bzr revid: fme@openerp.com-20130212115740-riqecuhb1zq22dkq
2013-02-12 12:57:40 +01:00
Fabien Meghazi 8d748498fb [FIX] active_ids list items should be numeric
bzr revid: fme@openerp.com-20130211144241-zvygwtgvsk17szo4
2013-02-11 15:42:41 +01:00
Fabien Meghazi cfcc0e2205 [FIX] use active_id in url states
bzr revid: fme@openerp.com-20130211141056-zjn7xy034r2331gp
2013-02-11 15:10:56 +01:00
Xavier Morel d225c56353 [FIX] typos
bzr revid: xmo@openerp.com-20130211112932-dge2jpftirclci2x
2013-02-11 12:29:32 +01:00
Launchpad Translations on behalf of openerp 669316dd1a Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20130207054042-qpy3b4buygxepdf8
bzr revid: launchpad_translations_on_behalf_of_openerp-20130208052255-nqv9i1j5bc2ql84i
bzr revid: launchpad_translations_on_behalf_of_openerp-20130208052430-ohwjhy6y3lnxqayt
bzr revid: launchpad_translations_on_behalf_of_openerp-20130208052435-47h7svyqwx223e5k
2013-02-08 05:24:35 +00:00
Olivier Dony d0c4cca10e [FIX] web: properly encode db and addons URL parameters
Passing the values unescaped could be a source of errors
and a XSS vector.

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

bzr revid: odo@openerp.com-20130207173439-ud5fos61d4pcoe2d
2013-02-07 18:34:39 +01:00
Launchpad Translations on behalf of openerp b64db1c007 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20130207054227-fy00xo21liqcoqz8
bzr revid: launchpad_translations_on_behalf_of_openerp-20130207054231-c558abx56zwr0mg2
2013-02-07 05:42:31 +00:00
Christophe Matthieu 8aa483f5a1 [IMP] chrome.js: CrashManager.warning replace message by fault_code
bzr revid: chm@openerp.com-20130206152224-e32ww9hdb1mvwa2r
2013-02-06 16:22:24 +01:00
Christophe Matthieu 33ae77e803 [IMP] web usermenu: add Help link
bzr revid: chm@openerp.com-20130206150724-t4sul7d824z498v8
2013-02-06 16:07:24 +01:00
Fabien Meghazi e1726fa1ee [FIX] FormView#do_load_state() do not call @do_show() properly
bzr revid: fme@openerp.com-20130205170556-w9xxre6lmqny33xc
2013-02-05 18:05:56 +01:00
Fabien Meghazi 862882da33 [IMP] Also check the presence of active_ids
bzr revid: fme@openerp.com-20130205120950-f4lwe2ng3ktwr033
2013-02-05 13:09:50 +01:00
Fabien Meghazi 87368f7672 [FIX] When active_id is in context, disable search default custom filters
bzr revid: fme@openerp.com-20130205104326-rab6gx4w51hgjbkb
2013-02-05 11:43:26 +01:00
Fabien Meghazi c9f2a86be5 [FIX] Calendar popup form view_id is not honored. Default form view is used instead.
Added instance.web.ViewManager#get_view_id(view_type)
Fetch the title of the popup from the parent if it's a ViewManagerAction,
    otherwise, use the current's view title.

bzr revid: fme@openerp.com-20130204124348-p79drjm72vt2j2ty
2013-02-04 13:43:48 +01:00
Vijaykumar Baladaniya 5f23b55909 [FIX] passtrough_events name replace with passthrough_events.
bzr revid: vba@tinyerp.com-20130204084307-8qremz8qi1qcwhfe
2013-02-04 14:13:07 +05:30
Launchpad Translations on behalf of openerp ffa1be00e1 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20130201054959-3q99pnpceh0ywrvw
bzr revid: launchpad_translations_on_behalf_of_openerp-20130202060018-lx1r8atxxituupav
bzr revid: launchpad_translations_on_behalf_of_openerp-20130203052931-09m8yy1o8v06eh5q
bzr revid: launchpad_translations_on_behalf_of_openerp-20130202060014-qh8fzkuorbrs0rc2
bzr revid: launchpad_translations_on_behalf_of_openerp-20130203052927-r4fv1lu71yh8hrw9
bzr revid: launchpad_translations_on_behalf_of_openerp-20130204054306-wccng6apw2bmlmdi
2013-02-04 05:43:06 +00:00
Xavier Morel 0ad34228e2 [FIX] small issue with adding an attribute called 'id' to a backbone model
triggers backbone's thinking that the model is 'not new' and trying to sync it with a remote on e.g. removal

bzr revid: xmo@openerp.com-20130131135125-1x7czib7q0kafok8
2013-01-31 14:51:25 +01:00
Xavier Morel 69171aa805 [CHG] allow deselecting a custom filter by clicking on it again in the drawer
as asked in project.task:4837:

> Cannot uncheck a custom filter by clicking on it (it's possible on
> classic filters)

bzr revid: xmo@openerp.com-20130131112617-8vul65bb4lbfbfvk
2013-01-31 12:26:17 +01:00
niv-openerp 0272007aae [FIX] minor css fix
bzr revid: nicolas.vanhoren@openerp.com-20130131104804-2d7fo5iafvrhcklk
2013-01-31 11:48:04 +01:00
Fabien Meghazi 337faa6829 [FIX] Use relative protocol in scripts url in order to avoid mixed content warnings in IE
bzr revid: fme@openerp.com-20130129142638-81uffjq3aiopr8ta
2013-01-29 15:26:38 +01:00
Xavier Morel b87102f22e [FIX] Inject user context in all domain and context evaluation
Custom keys from user context may be used in action contexts (not just
e.g. searchview filters). For instance, have a custom key
context_salesteam (in the user model) and an action defining some
search default as a function of the salesteam.

In that case, the action's context evaluation (view.js:~275) will blow
up.

Ensure that does not happen.

Note: eval_contexts already injects user_context in the reduction of
contexts to evaluate. It should be possible to alter the reduction
function to avoid having to inject instance.session.user_context
through pyeval.context(), maybe by _.extend-ing ``result_context``
into ``evaluation_context`` at the *top* of the reduction function
rather than at its bottom?

bzr revid: xmo@openerp.com-20130128130640-ksyvxvx6rlc4820n
2013-01-28 14:06:40 +01:00
Launchpad Translations on behalf of openerp b7f2a1979a Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20130126053743-gvzlf7q6x7t1epw7
bzr revid: launchpad_translations_on_behalf_of_openerp-20130127051012-oel2zn0owk19akxk
2013-01-27 05:10:12 +00:00
Xavier Morel 8e21d2a847 [FIX] avoid storing new admin password in browser history on database creation, courtesy of Holger Brunn
bzr revid: xmo@openerp.com-20130125114331-yabvigl2qjscnzv5
2013-01-25 12:43:31 +01:00
Holger Brunn e02e396925 [IMP] set _push_me: false to fix lp:1091759
bzr revid: hbrunn@therp.nl-20130125110159-b43murb3dzbp9oib
2013-01-25 12:01:59 +01:00
Xavier Morel 4c46187ebf [IMP] set_content_full_screen code, avoid duplications
bzr revid: xmo@openerp.com-20130125100547-ujawyg4ohnrofl3u
2013-01-25 11:05:47 +01:00
Xavier Morel ac550e4239 [FIX] aggregates not being displayed in list o2ms
A template alteration previously used to remove the bottom pager of
listviews in o2ms now matches aggregate field displays.

bzr revid: xmo@openerp.com-20130125085739-isro8w216gpa038a
2013-01-25 09:57:39 +01:00
Launchpad Translations on behalf of openerp 1558bb732d Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20130125060530-mvl0r5jn2ysf7amp
2013-01-25 06:05:30 +00:00
Xavier Morel e761ab7454 [FIX] domain returned by onchange
The "new" form engine performs a bunch of conversions on the form arch
from json to xml to text to json again (or something), thus the
``node`` attribute on form fields might be json but it's got no more
relation to the form's own arch (and the fields defined therein).

Meanwhile the domains processing for onchange recursively traversed
the *form*'s arch trying to find a node matching the key it had to set
its @domain to what it was given. It long predates the "new" form
engine, and since it alters the *original* arch not a copy the "new"
form engine broke it. And since that's untested, it's been broken for
a bunch of months (probably).

Fix by looking up the field according to the domain key (in
form.fields), and setting the domain in the node of the field, rather
than the node of the form's arch.

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

bzr revid: xmo@openerp.com-20130124144018-0g3sl2nej2aj6syp
2013-01-24 15:40:18 +01:00
Olivier Dony 611ff620ce [FIX] session: properly handle exceptions with unicode messages during dispatching
String formatting with an Exception param will use
str(Exception), raising an error if the exception
has non-ascii characters in the message.

bzr revid: odo@openerp.com-20130124140538-1wjjl4a12xnwn38o
2013-01-24 15:05:38 +01:00
Xavier Morel e7547a13db [REM] noise key in web manifest
bzr revid: xmo@openerp.com-20130124131102-s3342pppi2nhyk9g
2013-01-24 14:11:02 +01:00
Mohammed Shekha 54f58c82ae [FIX]Fixed the issue of sum aggregates not displayed on one2many footer.
bzr revid: msh@openerp.com-20130124120727-hhlrzr7qzk242lw0
2013-01-24 17:37:27 +05:30
Launchpad Translations on behalf of openerp 688bb77d95 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20130124053511-cxfjeh7rfwridjv1
bzr revid: launchpad_translations_on_behalf_of_openerp-20130124053515-bl01lm43wsqnoenv
2013-01-24 05:35:15 +00:00
Xavier Morel 8192977f3c [IMP] add confirmation message when removing a global custom filter
lp bug: https://launchpad.net/bugs/1103410 fixed

bzr revid: xmo@openerp.com-20130123105320-pbmeqoudpb48s87m
2013-01-23 11:53:20 +01:00
Xavier Morel ca038643b9 [FIX] rounding of float_time to the next hour should bump the hour, nor display 60mn
bzr revid: xmo@openerp.com-20130123101557-v63oxes2emrwcz19
2013-01-23 11:15:57 +01:00
Anand Patel (OpenERP) be9f4b43b7 [IMP] Added some test cases for the float_time
bzr revid: pan@tinyerp.com-20130123093155-v9rrnb38hxugv1bt
2013-01-23 15:01:55 +05:30
Xavier Morel d5ab8a4241 [IMP] IE9 supports window.getSelection
remove IE <9 usage of document.selection as we don't support these browsers anyway

bzr revid: xmo@openerp.com-20130123092946-wgtvfz3493l7p7cw
2013-01-23 10:29:46 +01:00
Xavier Morel 01ee5f60ee [FIX] pasting HTML content into the text box, then trying to navigate/alter it
Navigation implementation can only deal with straight text (and
asserts that), if HTML is pasted in a search input
InputView#getSelection will throw errors and refuse to act.

Clean up input content after a paste event, to ensure only plain text
is present so it can be navigated.

Don't forget to correctly re-set the cursor at the end of the input
data, otherwise the user will face various deep DOM errors when trying
to move around the input with the arrow keys (which he would usually
be able to do after a paste).

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

bzr revid: xmo@openerp.com-20130123091600-nd4rwqpin6qj8ult
2013-01-23 10:16:00 +01:00
Xavier Morel e5ad5f8e10 [FIX] move filter added at xmo@openerp.com-20130122135139-s3ui9hb44xd7afba to after map
If the filter is executed first, the "iteratee" is transformed to an
array (from an object) and the "key" is lost, replaced by the indices
to the array (and thus the name of the fields end up as "0", "1", "2",
... instead of their actual logical names)

bzr revid: xmo@openerp.com-20130123084422-tbl05l5j72sx528n
2013-01-23 09:44:22 +01:00
Launchpad Translations on behalf of openerp 3499c33270 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20130123060246-kt475gbzoz4f1703
bzr revid: launchpad_translations_on_behalf_of_openerp-20130123060324-z9zt3oif6p20i6mp
bzr revid: launchpad_translations_on_behalf_of_openerp-20130123060328-e0rnct2yu9lh23vp
2013-01-23 06:03:28 +00:00
Vishmita 227758417a [FIX] correctly remove existing needaction counter on reload
bzr revid: xmo@openerp.com-20130122143842-zv3tpd36glphrutu
2013-01-22 15:38:42 +01:00
Xavier Morel f0e8441130 [FIX] correctly pass context to fields_get of advanced search so fields are correctly translated & localized
bzr revid: xmo@openerp.com-20130122141657-sabov4ht6xp3so1a
2013-01-22 15:16:57 +01:00
Xavier Morel 605c171e5b [IMP] search view: don't list deprecated fields in advanced search
bzr revid: xmo@openerp.com-20130122135139-s3ui9hb44xd7afba
2013-01-22 14:51:39 +01:00
Bhumi Thakkar (Open ERP) 85579d5022 [FIX] Advanced search does not support local language.--fixes:lp1099833
bzr revid: bth@tinyerp.com-20130122121332-9iw75g5ddunzam58
2013-01-22 17:43:32 +05:30
Bhumi Thakkar (Open ERP) ef1e8f54dd [FIX] Date Picker is not translated into local language.--fixes:lp1101072
bzr revid: bth@tinyerp.com-20130122114932-o2jd05u247jlv02c
2013-01-22 17:19:32 +05:30
Xavier Morel 71cf3407f0 [FIX] menu items spilling out of secondary menu and into content area
bzr revid: xmo@openerp.com-20130122112040-4xnqzsz5c61upmji
2013-01-22 12:20:40 +01:00
Bhumi Thakkar (Open ERP) 71b2aecf50 [FIX] Add filter for deprecated in ExtendedSearchProposition.
bzr revid: bth@tinyerp.com-20130122102857-86sbqqvlldxb2zhc
2013-01-22 15:58:57 +05:30
Vidhin Mehta bf8cb150ba [FIX]Auto complete issue of many2one.
bzr revid: vme@tinyerp.com-20130122070310-pi2wfcdota1kn9kg
2013-01-22 12:33:10 +05:30
Anand Patel (OpenERP) 7ae392d316 [FIX][7.0]Fixed float_time widget show wrong format of time.
bzr revid: pan@tinyerp.com-20130122060420-7cho7hewmj80mb16
2013-01-22 11:34:20 +05:30
Vidhin Mehta 0709ca97e8 [FIX]View not redering @ proper position.
bzr revid: vme@tinyerp.com-20130122055856-iby255hebyxb72rs
2013-01-22 11:28:56 +05:30
Launchpad Translations on behalf of openerp f4fd5fd99c Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20130122053126-83zqktwur95krpav
bzr revid: launchpad_translations_on_behalf_of_openerp-20130118071115-y2843mxyuler6hek
bzr revid: launchpad_translations_on_behalf_of_openerp-20130121052757-d35pqy1p2am5fh9m
bzr revid: launchpad_translations_on_behalf_of_openerp-20130122053131-v8w8ndi4bzy750yj
2013-01-22 05:31:31 +00:00
Bhumi Thakkar (Open ERP) 515e6f5cf0 [FIX] hit box of menu items is large and can sometimes overflow the page content on its right.--fixes:lp1098574
bzr revid: bth@tinyerp.com-20130115102141-wnu6rd323laxwhco
2013-01-15 15:51:41 +05:30
Fabien Meghazi 31237c0b58 [ADD] Backward compatibility layer for 7.0
bzr revid: fme@openerp.com-20130114135145-z51tp204vybz0dr3
2013-01-14 14:51:45 +01:00
Fabien Meghazi 8c1f9dc490 [FIX] Fix one custom filter bug (only scratch the surface of this problem)
bzr revid: fme@openerp.com-20130114093014-5sv1sfk5u2uemwlr
2013-01-14 10:30:14 +01:00
vta vta@openerp.com 56e97a98bb [FIX] Fixed issue with testing context in eval.js, due to a previous change in get_session_info (context -> user_context)
bzr revid: vta@openerp.com-20130111094314-odrm9enzrmcrtcu6
2013-01-11 10:43:14 +01:00
Launchpad Translations on behalf of openerp ab20d92da8 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20130110053628-en17csgzy8b6qhla
bzr revid: launchpad_translations_on_behalf_of_openerp-20130110053632-tqct04tynt3d52ok
2013-01-10 05:36:32 +00:00
Fabien Meghazi ca454bcf94 [FIX] html widget: fix cleditor width when the field was invisible before becoming editable
lp bug: https://launchpad.net/bugs/1097638 fixed

bzr revid: odo@openerp.com-20130109164626-1a16vqmwc366n0xf
2013-01-09 17:46:26 +01:00
Frédéric van der Essen 16e1ca6880 [IMP] css: made the fallback color for gradients a mix of the endcolors instead of simply the start. Why? Because it's a better fallback of course.
bzr revid: fva@openerp.com-20130109131848-z3t8ad2qadypcduv
2013-01-09 14:18:48 +01:00
niv-openerp b8180f4c09 [FIX] problem when multiple instances of the web client run in tabs and we disconnect from one tab, now displays a better error message
lp bug: https://launchpad.net/bugs/1093671 fixed

bzr revid: nicolas.vanhoren@openerp.com-20130108164104-7wv2yxlrczqmicvb
2013-01-08 17:41:04 +01:00
Launchpad Translations on behalf of openerp 0f8f807662 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20130108060621-ui1ieo61n4a6evjr
bzr revid: launchpad_translations_on_behalf_of_openerp-20130108060625-j9tf52wfuw30yh8i
2013-01-08 06:06:25 +00:00
Fabien Meghazi 5f7a8b66e0 [FIX] Empty binary fields does not hide filename placeholder
lp bug: https://launchpad.net/bugs/1054111 fixed

bzr revid: fme@openerp.com-20130107161807-fvzdgayqhf8hx92q
2013-01-07 17:18:07 +01:00
Christophe Matthieu 61455bb8b0 [IMP] menu css, don't display active color and need action hover the content document
bzr revid: chm@openerp.com-20130107133848-50ei3eioobx3z0a3
2013-01-07 14:38:48 +01:00
Launchpad Translations on behalf of openerp 3ba106a80f Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20130106053125-9sb5dr03kc8gmvpe
bzr revid: launchpad_translations_on_behalf_of_openerp-20130107054512-8vxs3lzomicfru2z
bzr revid: launchpad_translations_on_behalf_of_openerp-20130107054515-z9gktg07rskvs12r
2013-01-07 05:45:15 +00:00
Fabien Pinckaers 43e6dd2c1e [IMP] french translation
bzr revid: fp@openerp.com-20130105231023-0tn1ta63fmogp2nx
2013-01-06 00:10:23 +01:00
Christophe Matthieu 3be31fa63d [MERGE] trunk-bug-1095257-vja: In IE9,create database page should display in center.
bzr revid: chm@openerp.com-20130104154424-joyb3r3hfa2twslw
2013-01-04 16:44:24 +01:00
Christophe Matthieu a1e39f8d75 [FIX] py.js: add the name of value to display error when debugging.
bzr revid: chm@openerp.com-20130104140000-22t1wj95jp7ro2ho
2013-01-04 15:00:00 +01:00
Launchpad Translations on behalf of openerp 738f2b44a7 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20130104052810-1hc0kz14e6ev38ly
bzr revid: launchpad_translations_on_behalf_of_openerp-20130104052815-90n20ge4a6x22t2o
2013-01-04 05:28:15 +00:00
niv-openerp 3ef0096b5b [FIX] css problem in list view: list arrow appearing when we sort could appear on the text
lp bug: https://launchpad.net/bugs/1095269 fixed

bzr revid: nicolas.vanhoren@openerp.com-20130103174214-zezyx4ieidugnl5q
2013-01-03 18:42:14 +01:00
niv-openerp 4f07a4c7af [IMP] desactivate sorting in list view with function fields with store=false
lp bug: https://launchpad.net/bugs/1095664 fixed

bzr revid: nicolas.vanhoren@openerp.com-20130103144651-qcxmp0bphkylp9s2
2013-01-03 15:46:51 +01:00
niv-openerp 5469b4709b [FIX] exception when logging in the web client and the server was launched using --no-database-list
lp bug: https://launchpad.net/bugs/1094179 fixed

bzr revid: nicolas.vanhoren@openerp.com-20130103141945-11afh6khtpa7tapm
2013-01-03 15:19:45 +01:00
Christophe Matthieu 11db0f89fe [MERGE] trunk-bug-1094839-vja: in listview, sorting arrow disappearing from column header when the user change of the view and return on listview.
bzr revid: chm@openerp.com-20130103092823-jbjhh686vix52ih6
2013-01-03 10:28:23 +01:00
Launchpad Translations on behalf of openerp f659d305f7 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20130103053838-8dc22w7xc4pekn1v
bzr revid: launchpad_translations_on_behalf_of_openerp-20130103053926-saljmu2wubie130o
bzr revid: launchpad_translations_on_behalf_of_openerp-20130103053929-zhnxa8yb58llx12y
2013-01-03 05:39:29 +00:00