Commit Graph

353 Commits

Author SHA1 Message Date
Xavier Morel 7acadc00c6 [FIX] unwarranted assumption that name_get(ids) and read(ids) will return the same records in the same order
There is actually no such guarantee, neither name_get nor read
guarantee they'll return records in input order, let alone in the same
order as one another, and both are free to skip records as they see
fit (kinda).

=> convert the name_get result to a dict, and then fill in the
display_name for each record returned by read() using get()

bzr revid: xmo@openerp.com-20121213130548-x1h6czyru5nc6wwm
2012-12-13 14:05:48 +01:00
Olivier Dony 55419f063c [IMP] menu loading: simplify/optimize menu loading mechanism and de-duplicate need_action load, use child_of, skip useless calls, update tests
bzr revid: odo@openerp.com-20121212205120-qa8gq86hh6f26bdk
2012-12-12 21:51:20 +01:00
Christophe Matthieu 389b865d54 [MERGE] catch and display error when there are an error in an attachment. Add title with creator and date for attachments on the sidebar.
bzr revid: chm@openerp.com-20121211152455-nrx74yqs0ui1hsmr
2012-12-11 16:24:55 +01:00
Christophe Matthieu f817cd3f38 [IMP] web: move controler download_attachment into mail. change render into _t
bzr revid: chm@openerp.com-20121211144551-9uryi1z1sxe9daxv
2012-12-11 15:45:51 +01:00
Fabien Meghazi c124fc3281 [FIX] Roundtrips binary field value if not bin size
lp bug: https://launchpad.net/bugs/1082616 fixed

bzr revid: fme@openerp.com-20121211103357-csqirmhxehmszyu4
2012-12-11 11:33:57 +01:00
Antony Lesuisse f83bfeff0b [IMP] cleanup menu method mess
do_* were introduce for testing this is not needed anymore

bzr revid: al@openerp.com-20121211021338-8s3jqpfraku1tmsj
2012-12-11 03:13:38 +01:00
niv-openerp aee4b7fb92 [IMP] modified chrome frame message to display better in IE8
bzr revid: nicolas.vanhoren@openerp.com-20121210155021-5b7j4626p52uz1ei
2012-12-10 16:50:21 +01:00
Thibault Delavallée 5d2d4dea2c [MERGE] Needaction loading update.
This web revision modifies the way needaction are loaded. Now they are loaded independently of the menus. After having loaded and displayed the various menus, a call to the server is done to avoid a long latency between the login and the display of menus. Needaction counter will be displayed as soon as they are available.

bzr revid: tde@openerp.com-20121210131658-pgy3t9t71f0z2yd5
2012-12-10 14:16:58 +01:00
Thibault Delavallée 1ca5e68b1f [MERGE] Sync with trunk.
bzr revid: tde@openerp.com-20121130093732-i8y10ayjqiaq5t7p
bzr revid: tde@openerp.com-20121204142854-pauouyapnw7z8zwj
bzr revid: tde@openerp.com-20121205101544-k4ui6thr0ibzw0vx
bzr revid: tde@openerp.com-20121210125423-81wbh4af9sxdqjki
2012-12-10 13:54:23 +01:00
Christophe Matthieu 5944b6c6d6 [IMP] web: add controler /web/binary/download_attachment with arguments: model, id, method and attachment_id
bzr revid: chm@openerp.com-20121210112712-at23yy7kls6phu9v
2012-12-10 12:27:12 +01:00
Christophe Matthieu 94c9801ac7 [MERGE] from trunk
bzr revid: chm@openerp.com-20121207081026-3edlt0698csc6gk8
2012-12-07 09:10:26 +01:00
Christophe Matthieu 98e87a51ae [IMP] attachment: sidebar rendering of tipsy in html mode, and error fix
bzr revid: chm@openerp.com-20121207080946-f7zr853hvdhdrsk0
2012-12-07 09:09:46 +01:00
Fabien Meghazi 58b44d5082 [IMP] Removed fields_view_get from controllers. Add a helper client side.
bzr revid: fme@openerp.com-20121204163948-pctxvy55w34e1pg9
2012-12-04 17:39:48 +01:00
Thibault Delavallée f0087538ac [IMP] as ir_ui_menu.needaction_enabled is back as store=True, we can filter the initial search for needaction_counters.
bzr revid: tde@openerp.com-20121129155801-0wxdogo9o9emk6i4
2012-11-29 16:58:01 +01:00
Thibault Delavallée 5fc19e0454 [MERGE] Sync with trunk.
bzr revid: tde@openerp.com-20121129151120-e6ovaugw0pkccyuu
2012-11-29 16:11:20 +01:00
tsabi 76ca47d4fd [MERGE] trunk
bzr revid: csaba.toth@i3rendszerhaz.hu-20121129114132-gfe3sn1p5t0mzofm
2012-11-29 12:41:32 +01:00
Thibault Delavallée 7461f88473 [MERGE] Sync with trunk.
bzr revid: tde@openerp.com-20121129114105-0akr0d6nji08g750
2012-11-29 12:41:05 +01:00
Xavier Morel e00cb36f41 [MERGE] from trunk
bzr revid: xmo@openerp.com-20121129091038-0fexjx8o12drjbga
2012-11-29 10:10:38 +01:00
tsabi 92e87f7e6f Mark strings to be translated.
Maybe some missed, but most of them marked.

bzr revid: tsabi-20121129002200-20tppzvh0ap5tfwe
2012-11-29 01:22:00 +01:00
Thibault Delavallée 10ba4e5e60 [IMP] [TMP] controller: search for all menus to have their needaction info, because currently needaction_enabled is not searchable (non stored function field). Revert this revision when the column is back as stored.
bzr revid: tde@openerp.com-20121128110520-wijh1sr5qvsch7b8
2012-11-28 12:05:20 +01:00
Thibault Delavallée 920fd89e05 [MERGE] Sync with trunk.
bzr revid: tde@openerp.com-20121128081853-t1efdxd9s6owrb5o
2012-11-28 09:18:53 +01:00
Thibault Delavallée c5d3036674 [IMP] Needaction: couters are not counter with the menu anymore.
Web-side: a call to get_needaction_data is performed to have action counters.
Menus are then updated synchronously with this value.

bzr revid: tde@openerp.com-20121127142944-m17zo62er5rh2lvg
2012-11-27 15:29:44 +01:00
Xavier Morel 908c986ce8 [FIX] onchange for client-side evaluation: use regular method calls
bzr revid: xmo@openerp.com-20121127133435-ss3g97sm43mrtbla
2012-11-27 14:34:35 +01:00
Vishmita 71c8b58581 [FIX]Fixed the issue of raised exception not displayed when adding attachment to object if create of ir.attachment raises exception.
bzr revid: vja@tinyerp.com-20121127100210-krziqgqh1t1063ry
2012-11-27 15:32:10 +05:30
Xavier Morel 4a5cb1ebc4 [REM] EVALPOCALYPSE PART 2: no more python-side eval
trigger an error if a nonliteral context is pushed to the server (through a new object_hook)

bzr revid: xmo@openerp.com-20121126140525-ni2x5m56upss610b
2012-11-26 15:05:25 +01:00
Xavier Morel eb9a1c7d55 [REM] EVALPOCALYPSE PART ONE
bzr revid: xmo@openerp.com-20121126105450-0f6xowd3dhj4jmbl
2012-11-26 11:54:50 +01:00
Fabien Pinckaers 456dd91064 [IMP] improved change password dialog
bzr revid: fp@tinyerp.com-20121126084339-10z9t97tbc3izmm6
2012-11-26 09:43:39 +01:00
Xavier Morel 709f2506ff [REM] server-side eval_domain_and_context
bzr revid: xmo@openerp.com-20121123113932-siz0u2vp2u7z6wk2
2012-11-23 12:39:32 +01:00
niv-openerp 59505d3a5a [FIX] problem in export with ID
bzr revid: nicolas.vanhoren@openerp.com-20121122131517-ys8dkdzfmoa4sgpz
2012-11-22 14:15:17 +01:00
Christophe Simonis 1782d61e44 [FIX] web: pass env in login_and_redirect
bzr revid: chs@openerp.com-20121120180933-ktarob0a3ll4ccsn
2012-11-20 19:09:33 +01:00
Jiten (OpenERP) beeaf61b21 [MERGE] Merged trunk.
bzr revid: jra@tinyerp.com-20121120123652-ezrem00a8t8xbi7c
2012-11-20 18:06:52 +05:30
Vishmita b8836ee809 [IMP]Set Priority to display warning messages for change password dialog
bzr revid: vja@tinyerp.com-20121120123131-9boe1y6ki0sy2h3c
2012-11-20 18:01:31 +05:30
niv-openerp ade1a5df87 [IMP] allows to specify a specific eval domain in /web/action/load
bzr revid: nicolas.vanhoren@openerp.com-20121120110748-5idnflvmxx0jibwe
2012-11-20 12:07:48 +01:00
Vishmita 3b07266500 [IMP]Minor Changes related to terminology for Change Password dialog pop-up
bzr revid: vja@tinyerp.com-20121120072957-rrjlbwkn6tkdmqkc
2012-11-20 12:59:57 +05:30
Olivier Dony 1a8acb73b3 [IMP] monodb bootstrap: support @db query string param to force monodb mode
Allows a.o. to let auth_signup URLs works even if multiple DBs
exist

bzr revid: odo@openerp.com-20121119170042-iprc0u159qpf8ll2
2012-11-19 18:00:42 +01:00
Antony Lesuisse bcfa7c49cc [IMP] minify cache
bzr revid: al@openerp.com-20121116135822-xduk3jnvuhvtorll
2012-11-16 14:58:22 +01:00
Xavier Morel 0d85c24ae3 [MERGE] from trunk, fix/adapt some tests
bzr revid: xmo@openerp.com-20121116100840-yyr9b4oru3zdftld
2012-11-16 11:08:40 +01:00
Fabien Meghazi cace9f7887 [IMP] Centralized 'openerp' class on top level elements. Also add openerp_ie class for MSIE
bzr revid: fme@openerp.com-20121115164132-i6a0u8zk3knm1zkv
2012-11-15 17:41:32 +01:00
Christophe Simonis 69f385414a [FIX] manifest_glob return path with / for web part
bzr revid: chs@openerp.com-20121115151228-xzrlpjxwkspf5fgz
2012-11-15 16:12:28 +01:00
Frédéric van der Essen b7bb7e6246 [IMP] added a .ie class on <html> when using ie <= 9
bzr revid: fva@openerp.com-20121115143047-utonsnq0iadbvmyt
2012-11-15 15:30:47 +01:00
Vo Minh Thu 1ba3ae959f [MERGE] merged trunk.
bzr revid: vmt@openerp.com-20121114113528-t6ed04bv1d5p7h31
2012-11-14 12:35:28 +01:00
Vo Minh Thu a219c013f1 [IMP] controllers/main.py: removed unneeded tupling/splatting.
bzr revid: vmt@openerp.com-20121114110053-9vovll5tvjobjuka
2012-11-14 12:00:53 +01:00
Fabien Meghazi 9114457d71 [REV] Revision 3408 revid:al@openerp.com-20121114005029-41tkuo2g93vbnz60 does not pass runbot tests
bzr revid: fme@openerp.com-20121114090731-hrw2eh6b1and8soc
2012-11-14 10:07:31 +01:00
Antony Lesuisse d639ae250c [MERGE] menu possible to reload only a submenu
bzr revid: al@openerp.com-20121114005029-41tkuo2g93vbnz60
2012-11-14 01:50:29 +01:00
Christophe Matthieu 0cf93f912b [IMP] mail & web menu: code review for reload menu
bzr revid: chm@openerp.com-20121113160248-1p2003uc9f5nnxnm
2012-11-13 17:02:48 +01:00
Christophe Matthieu 82cba0604f [IMP] web menu: add a context value for reload one submenus of a parent id menu. If no default_menu, load all menus
bzr revid: chm@openerp.com-20121113143220-zhwo06j7pl8rt2wi
2012-11-13 15:32:20 +01:00
Christophe Simonis fa16b8910e [ADD] req.lang property to get preferred lang for the current request
bzr revid: chs@openerp.com-20121112181033-b17zj2io47me04kk
2012-11-12 19:10:33 +01:00
Xavier Morel 9e11c51843 [MERGE] from trunk
bzr revid: xmo@openerp.com-20121112164136-sfyfxdcjx3ps086b
2012-11-12 17:41:36 +01:00
Xavier Morel e001c965a5 [REM] unused import controller
bzr revid: xmo@openerp.com-20121112124904-4ubf9d17d2whq1ln
2012-11-12 13:49:04 +01:00
Thibault Delavallée 4ca42f9968 [MERGE] Sync with trunk.
bzr revid: tde@openerp.com-20121112104931-jvcn0853jx08do7n
2012-11-12 11:49:31 +01:00