Commit Graph
27691 Commits
Author SHA1 Message Date
Fabien Meghazi 65745d5142 [FIX] Do not compute modifiers for aggregates in list view.
lp bug: https://launchpad.net/bugs/865188 fixed

bzr revid: fme@openerp.com-20111005153202-4ao575zh3885ukuy
2011-10-05 17:32:02 +02:00
Antony Lesuisse 77a3624fa1 [IMP] set module category to Hidden
bzr revid: al@openerp.com-20111005143607-7p5z3gn4ddt3pios
2011-10-05 16:36:07 +02:00
Xavier Morel d801f21146 [REV] 1150, broke filter_domain in case of empty field
bzr revid: xmo@openerp.com-20111005130252-oovrpbo4a1pjavwd
2011-10-05 15:02:52 +02:00
Xavier Morel 072bb3d8ec [FIX] viewmanageraction loading: auto_search is the default, not the exception
this means if the auto_search attribute is missing, search automatically. Search should only
be prevented if auto_search is precisely false

bzr revid: xmo@openerp.com-20111005111210-qju8ocbhvqahczsz
2011-10-05 13:12:10 +02:00
Xavier Morel 68cd9188b9 [FIX] handling of value and default domain in search m2o
bzr revid: xmo@openerp.com-20111005105731-9431uvhay91bt10c
2011-10-05 12:57:31 +02:00
Fabien Meghazi 19b7493711 [FIX] When reaching ir_actions_act_window_close without dialog, call on_closed if any
The static homepage do not reload the page when the module installed have no configuration actions (eg: returning direcly ir_actions_act_window_close)

bzr revid: fme@openerp.com-20111005101714-s5jy3gslni00a5jo
2011-10-05 12:17:14 +02:00
niv-openerp 708802c357 [fix] problem with the idea module trying to override the 'active_id' context key, which it should not
bzr revid: nicolas.vanhoren@openerp.com-20111005095633-v53hjz3fkwlb3fso
2011-10-05 11:56:33 +02:00
niv-openerp 1bbe15f634 [fix] referencing a field in a domain that is not loaded in the view
bzr revid: nicolas.vanhoren@openerp.com-20111005093600-xjyqrmpoqywy1ztq
2011-10-05 11:36:00 +02:00
niv-openerp 2b7b51e0b3 [fix] problem in web client not supporting graph view in one2many
bzr revid: nicolas.vanhoren@openerp.com-20111005093237-22dbe1jwbkqk18pt
2011-10-05 11:32:37 +02:00
Xavier Morel ae0ba95861 [REM] @string on in-field filter
bzr revid: xmo@openerp.com-20111005090518-3ht49k8s6vtrxhwl
2011-10-05 11:05:18 +02:00
Fabien Meghazi ec23334891 [FIX] Fix calendar view when no date_delay neither date_stop are specified
lp bug: https://launchpad.net/bugs/865945 fixed

bzr revid: fme@openerp.com-20111005083656-f5bq8v1km25s4orx
2011-10-05 10:36:56 +02:00
Fabien Meghazi a33bd2344c [IMP] Improved styling of labels
bzr revid: fme@openerp.com-20111005083521-ofyfzdp8olzpjnbd
2011-10-05 10:35:21 +02:00
Antony Lesuisse 69b916b144 [MERGE] fetchmail local mta option by stw
bzr revid: al@openerp.com-20111004222640-ako0cjw414c5lz72
2011-10-05 00:26:40 +02:00
niv-openerp 15a6b81dbe [fix] just return a promise where necessary
bzr revid: nicolas.vanhoren@openerp.com-20111004161116-6pylm16ty6v69szu
2011-10-04 18:11:16 +02:00
Xavier Morel 318ec9998b [IMP] use .children(selector) rather than .find('> ' + selector)
bzr revid: xmo@openerp.com-20111004155918-c2vy0rwkesvdkmli
2011-10-04 17:59:18 +02:00
Xavier Morel 49de0f4640 [FIX] stupidity: if insert a line in a list with more than 5 records (no padding), since the new line does not have a @data-id yet it's going to remove it immediately.
select line to remove before inserting new one

bzr revid: xmo@openerp.com-20111004155746-q13ieg0q6lsy1uf7
2011-10-04 17:57:46 +02:00
Xavier Morel 74db7dd027 [FIX] correctly handle insertion in empty editable list
bzr revid: xmo@openerp.com-20111004154650-hx56g1lmefhzgf21
2011-10-04 17:46:50 +02:00
Xavier Morel 72b852c2c6 [FIX] insertion position of new lines (in editable lists) in case of lists padded to 5 (empty) lines
bzr revid: xmo@openerp.com-20111004154246-7o1cw016cf9ygem3
2011-10-04 17:42:46 +02:00
Xavier Morel f164496dc4 [FIX] correctly call form field's update_dom in all cases in editable listview
Form fields are extended/replaced in editable list view in order to
handle @invisible and @tree_invisible correctly in editable-list-form
context (base semantics of @invisible are different between listview
and formview, formview's @invisible is listview's @tree_invisible, and
instead of removing element from visible DOM listview's @invisible
only hides the element but it keeps the space it's taking).

As a result, listview editable needs to override Widget.update_dom for
pretty much all form widgets, in order to manage this difference in
behavior.

In case of @tree_invisible, it did so correctly setting and unsetting
its stuff and calling this.super() to execute the widget's actual
update_dom triggers **but it did not do so when the element was really
visible**.

As a result, in editable listview elements would never appear required
(blue background), invalid (red background) or disabled (gray),
although they were correctly set up, because the display layer was
never updated.

bzr revid: xmo@openerp.com-20111004151031-65o0q8e86op7kdks
2011-10-04 17:10:31 +02:00
Vaibhav (OpenERP) cb05cf6ce2 [FIX] exception error message.
bzr revid: vda@tinyerp.com-20111004133753-kptuu127azazrmg6
2011-10-04 19:07:53 +05:30
Xavier Morel fb2e7a4a06 [FIX] have form widget elements behave correctly in case of classes with dots. Thanks valentin
bzr revid: xmo@openerp.com-20111004132854-sg8vo4m3b4bvtecf
2011-10-04 15:28:54 +02:00
Xavier Morel 780179e016 [FIX] fetch display mode from calendar view
bzr revid: xmo@openerp.com-20111004124125-34rjj54k2fe0locu
2011-10-04 14:41:25 +02:00
Xavier Morel 29cef016f9 [FIX] re-rendering of a given list's row (e.g. onchange, edition, etc...): 'view' needs to be in the context so the row's color can be computed
bzr revid: xmo@openerp.com-20111004104848-277ajqmaud8oc8hn
2011-10-04 12:48:48 +02:00
Xavier Morel 3190884fa1 [FIX] don't perform a search_read when switching view from list to form
I don't remember why I did that originally, it does not seem to serve any purpose and it causes problems in case of records with binary fields

bzr revid: xmo@openerp.com-20111004102115-lz6kgyiw35vp1t99
2011-10-04 12:21:15 +02:00
Valentin Lab 63cf2019e5 [imp] more efficient selector.
bzr revid: valentin.lab@kalysto.org-20111004102050-http3jvu0sf78fmx
2011-10-04 12:20:50 +02:00
Fabien Meghazi f76b2f55ae [MERGE] ViewManager now triggers do_search() in on_mode_switch()
The views doesn't have to worry about the search in do_show().
They just have to listen to do_search() if they are searchable.

bzr revid: fme@openerp.com-20111004094738-at91ab6a2kkxf8bq
2011-10-04 11:47:38 +02:00
Vaibhav (OpenERP) a9c2e07c73 [FIX] Removed exception of events manipulation fields to compute calendar scheduler.
lp bug: https://launchpad.net/bugs/865945 fixed

bzr revid: vda@tinyerp.com-20111004094009-u1vkb6s0u90629rz
2011-10-04 15:10:09 +05:30
Xavier Morel 112710c783 [IMP] move fetching notebook page widget into form widgets registry, thanks Valentin
bzr revid: xmo@openerp.com-20111004085119-ll3x1s2r2akcm8p2
2011-10-04 10:51:19 +02:00
Fabien Meghazi e2b6e03c3c [FIX] Save last search before triggering do_search
bzr revid: fme@openerp.com-20111004075039-n8a30wnuueiwnbwt
2011-10-04 09:50:39 +02:00
Valentin Lab 2bb8cadb4d [imp] notebookpage is now in registry also.
bzr revid: valentin.lab@kalysto.org-20111004074321-b2z121y64yynt948
2011-10-04 09:43:21 +02:00
Valentin Lab 8c1e052007 [fix] use a more solid selector to get $element
bzr revid: valentin.lab@kalysto.org-20111004072424-uwx50578hhafe2xm
2011-10-04 09:24:24 +02:00
Launchpad Translations on behalf of openerp 0a85361db9 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20111004050146-bi1cipzsk35qj5sq
bzr revid: launchpad_translations_on_behalf_of_openerp-20111004050204-nabcu9izdjhcovhd
2011-10-04 05:02:04 +00:00
Fabien Meghazi e80894b775 [FIX] Fixed error for sidebar-less embedded list views
bzr revid: fme@openerp.com-20111003150049-hty30u42ozakevc8
2011-10-03 17:00:49 +02:00
Fabien Meghazi e5e4ab5739 [FIX] Fixed error for sidebar-less embedded list views
bzr revid: fme@openerp.com-20111003150049-n5xtpo0wjibsrhjx
2011-10-03 17:00:49 +02:00
Fabien Meghazi 82006438fe [MERGE] Merge with trunk
bzr revid: fme@openerp.com-20111003135613-8d2ep2fv3bv713t7
2011-10-03 15:56:13 +02:00
Fabien Meghazi 3e1b007478 [IMP] Viewmanager sets dataset's domain & context on_search
bzr revid: fme@openerp.com-20111003135203-d3p18cfdh5jko976
2011-10-03 15:52:03 +02:00
Stephane Wirtel 2810a6ce4a [MERGE] Upstream
bzr revid: stw@openerp.com-20111003132244-7yum8h21osi9zfcu
2011-10-03 15:22:44 +02:00
Xavier Morel d7edda1b3c [FIX] open/close listview sidebar based on records being selected or not
bzr revid: xmo@openerp.com-20111003115502-nla7uqi50s0z6l3i
2011-10-03 13:55:02 +02:00
Xavier Morel 1e50dac2b8 [FIX] open/close listview sidebar based on records being selected or not
bzr revid: xmo@openerp.com-20111003115502-jivrqwcc9kcaa4kb
2011-10-03 13:55:02 +02:00
Xavier Morel d9f58e3aac [FIX] installing a module should trigger the launch of any pending configuration wizard
bzr revid: xmo@openerp.com-20111003102721-ivoioohg83r8tdx3
2011-10-03 12:27:21 +02:00
Xavier Morel 2dae9519d7 [FIX] installing a module should trigger the launch of any pending configuration wizard
lp bug: https://launchpad.net/bugs/859483 fixed

bzr revid: xmo@openerp.com-20111003102721-d3eizbwef5ix18py
2011-10-03 12:27:21 +02:00
Xavier Morel a9da2abd9f [FIX] double-load on successful login
Session#session_restore is automatically called when the client
session is started, and it performs an RPC call. This RPC call is
checked and leads to the opening of the login form iif the user is not
currently logged in (does not have a valid session).

Due to the behavior of Session#rpc_ajax, this failure on grounds of
invalid session leads to the restore continuation being stored for
deferred execution once the user logs in.

Issue is that both Session#session_login and Session#session_restore
call Session#on_session_valid which tries to load all modules. As a
result and because the '_modules_loaded' flag is only set five billion
years after 'load_modules' is called both calls will try to load all
modules in parallel, leading to double downloading and execution of
all JS and CSS files coming from module data (including translation
files).

bzr revid: xmo@openerp.com-20111003090709-ree0luomezw1wzup
2011-10-03 11:07:09 +02:00
Xavier Morel 03e842f672 [FIX] double-load on successful login
Session#session_restore is automatically called when the client
session is started, and it performs an RPC call. This RPC call is
checked and leads to the opening of the login form iif the user is not
currently logged in (does not have a valid session).

Due to the behavior of Session#rpc_ajax, this failure on grounds of
invalid session leads to the restore continuation being stored for
deferred execution once the user logs in.

Issue is that both Session#session_login and Session#session_restore
call Session#on_session_valid which tries to load all modules. As a
result and because the '_modules_loaded' flag is only set five billion
years after 'load_modules' is called both calls will try to load all
modules in parallel, leading to double downloading and execution of
all JS and CSS files coming from module data (including translation
files).

bzr revid: xmo@openerp.com-20111003090709-1izso4hrbzk91sf3
2011-10-03 11:07:09 +02:00
Xavier Morel bb596c1bfc [FIX] al hacks
bzr revid: xmo@openerp.com-20111003084150-6ti0fa221h14wiik
2011-10-03 10:41:50 +02:00
Xavier Morel 013e01a52b [FIX] al hacks
bzr revid: xmo@openerp.com-20111003084150-oz87j979djfng6xb
2011-10-03 10:41:50 +02:00
kbh e2acbb9db7 [FIX] Minor change in issue of open sidebar on checked list record.
bzr revid: kbh@bde-desktop-20111003071807-9rmozt1m9h9tqxci
2011-10-03 12:48:07 +05:30
kbh 335c99fda4 [FIX] Minor change in issue of open sidebar on checked list record.
lp bug: https://launchpad.net/bugs/856376 fixed

bzr revid: kbh@bde-desktop-20111003071807-33zlrcc0vopiahoz
2011-10-03 12:48:07 +05:30
kbh de41cf7234 [FIX] change in listview for sidebar.
bzr revid: kbh@bde-desktop-20111003060239-v92vo8vc0iiq649k
2011-10-03 11:32:39 +05:30
kbh fdfe102cc4 [FIX] change in listview for sidebar.
bzr revid: kbh@bde-desktop-20111003060239-l7bwy55n8t9fkz66
2011-10-03 11:32:39 +05:30
Fabien Pinckaers 56c5b496ba [IMP] useability remove plugins form main menu
bzr revid: fp@tinyerp.com-20111002174215-5ctqdm0ysa988evi
2011-10-02 19:42:15 +02:00