Commit Graph

603 Commits

Author SHA1 Message Date
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
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
vta vta@openerp.com cc2e7a55bb [FIX] Set Login params.token. Added action_notify and action_warn
bzr revid: vta@openerp.com-20130102094608-tgqdgk31lpsbx05s
2013-01-02 10:46:08 +01:00
Fabien Meghazi d2076aece3 [FIX] webclient returns to database manager after 1st database creation
lp bug: https://launchpad.net/bugs/1151767 fixed

bzr revid: fme@openerp.com-20130319154345-9xal244vuehl9vbw
2013-03-19 16:43:45 +01:00
Fabien Meghazi 0272bd4aec [IMP] Take menu out of the rendering flow during the window resize
bzr revid: fme@openerp.com-20121219095550-8imsql4rl4up1hw2
2012-12-19 10:55:50 +01:00
Fabien Meghazi 7fc896564b [IMP] Use _.debounce helper for lazy reflow
bzr revid: fme@openerp.com-20121219093557-g1of11sh45rn05xg
2012-12-19 10:35:57 +01:00
Fabien Meghazi fe84395127 [MERGE] trunk
bzr revid: fme@openerp.com-20121219090128-m5z0l5rlee8mu6hj
2012-12-19 10:01:28 +01:00
Antony Lesuisse 7826bd85f8 [MERGE] trunk
bzr revid: al@openerp.com-20121219025047-og0v9r8x09y0wmd3
2012-12-19 03:50:47 +01:00
Antony Lesuisse 3e1bce4bad minor fixes
bzr revid: al@openerp.com-20121219024946-6ezbvcizf09w8lio
2012-12-19 03:49:46 +01:00
Holger Brunn 30d7711cfe [FIX] lp:1091759
lp bug: https://launchpad.net/bugs/1091759 fixed

bzr revid: hbrunn@therp.nl-20121218170649-cbe91ycxmkv05jcm
2012-12-18 18:06:49 +01:00
Fabien Meghazi fcf4d4040f [ADD] Allow admin to edit the company logo
bzr revid: fme@openerp.com-20121218111734-wu02xaifqyqz1g20
2012-12-18 12:17:34 +01:00
niv-openerp af3dbd598d [FIX] supposed problem in menu when a client action fails
bzr revid: nicolas.vanhoren@openerp.com-20121217150005-xucbt5xvysl85768
2012-12-17 16:00:05 +01:00
Fabien Meghazi c3e74781ca [IMP] Renamed variable $li to $topmenu_items
bzr revid: fme@openerp.com-20121217132108-o1q31cvovpoeou91
2012-12-17 14:21:08 +01:00
Fabien Meghazi 318418a402 [IMP] Consistend jquery api usage
bzr revid: fme@openerp.com-20121217123658-wq046m8j5q9qw7xy
2012-12-17 13:36:58 +01:00
Fabien Meghazi 3a2a2823c7 [FIX] global jquery selectors
bzr revid: fme@openerp.com-20121217123256-43dkvg2sl6mjilbb
2012-12-17 13:32:56 +01:00
Fabien Meghazi c1e9e6f12e [MERGE] trunk
bzr revid: fme@openerp.com-20121217113842-j3a013i7xrsb5a69
2012-12-17 12:38:42 +01:00
vta vta@openerp.com 1260f7059f [FIX] argh
bzr revid: vta@openerp.com-20121217095323-p9r0p2jps01i8orl
2012-12-17 10:53:23 +01:00
vta vta@openerp.com 5e2a77f589 [FIX] remove previous change
bzr revid: vta@openerp.com-20121217093249-vilaitfirtnc7mvw
2012-12-17 10:32:49 +01:00
vta vta@openerp.com b897974d61 [FIX] do not show timezone if anonymous
bzr revid: vta@openerp.com-20121217090857-m2ye3pm0bjdm341d
2012-12-17 10:08:57 +01:00
Antony Lesuisse 3e914abf80 [MERGE] customizable web logo by chs
bzr revid: al@openerp.com-20121215192659-g5psibisxvyl8adw
2012-12-15 20:26:59 +01:00
niv-openerp 906ceba948 [IMP] lot of small improvements to better detect when a view has finished loading
bzr revid: nicolas.vanhoren@openerp.com-20121213140914-8d1u01h17r2x4fpu
2012-12-13 15:09:14 +01:00
Fabien Meghazi a724c43257 [REM] Removed unused code
bzr revid: fme@openerp.com-20121213134100-cw8igmyvxvabex8x
2012-12-13 14:41:00 +01:00
Fabien Meghazi e38a9501a4 [IMP] Add doc to Menu#reflow()
bzr revid: fme@openerp.com-20121213130118-mg3nrl7twqa24plc
2012-12-13 14:01:18 +01:00
Fabien Meghazi 5e91c00683 [FIX] Move single toplevel element exception in reflow code
bzr revid: fme@openerp.com-20121213122634-li7j4pvpcw02lchx
2012-12-13 13:26:34 +01:00
Fabien Meghazi 66e925213e [IMP] Hide menu during resize
bzr revid: fme@openerp.com-20121213114555-bhimmbx8i11hqahn
2012-12-13 12:45:55 +01:00
Fabien Meghazi c50dd48396 [FIX] reflow on window resize
bzr revid: fme@openerp.com-20121213113220-y6smha0sjp7bagk3
2012-12-13 12:32:20 +01:00
Fabien Meghazi e611e759ce [FIX] remaining width computing
bzr revid: fme@openerp.com-20121213110432-crxrhp4xc08bixql
2012-12-13 12:04:32 +01:00
Fabien Meghazi 5bf6176b43 [WIP] relflow
bzr revid: fme@openerp.com-20121213105821-i2f5o693fyljpc9n
2012-12-13 11:58:21 +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
Fabien Meghazi d63db5ef0a [FIX] Once DB Manager's 'Back to Login' button is used, logging in won't show application.
bzr revid: fme@openerp.com-20121211151824-ywcuhi4hdcvphn7g
2012-12-11 16:18:24 +01:00
Christophe Simonis 060ef93268 [IMP] show company logo in chrome
bzr revid: chs@openerp.com-20121211111824-dj2ienybj2rxwhjj
2012-12-11 12:18:24 +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
Christophe Simonis 8b4f341c94 merge upstream
bzr revid: chs@openerp.com-20121205150654-c7ps8cygsx1zk1ua
bzr revid: chs@openerp.com-20121207104954-xz35sdqgya18pgus
bzr revid: chs@openerp.com-20121210140847-yoobt0twf9kg9yau
2012-12-10 15:08:47 +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
Antony Lesuisse 0c3f9f691b [FIX] chrome template use a template url for the logo, needed for demo
bzr revid: al@openerp.com-20121205124218-0qdvqed5td9mh84k
2012-12-05 13:42:18 +01:00
Olivier Dony ab39c09a7b [MERGE] Less intrusive timezone offset warning (comes with corresponding server branch)
bzr revid: odo@openerp.com-20121130175658-r3zvuhx75iqa5sus
2012-11-30 18:56:58 +01:00
Xavier Morel 5d313f1754 [FIX] styllistic fixes
bzr revid: xmo@openerp.com-20121130103638-8r77jpmb3hhmo8dt
2012-11-30 11:36:38 +01:00
Fabien Meghazi 55b76fca12 [IMP] Do not dismiss systray icon
It will be automatically done once the user fills is a correct timezon (webclient reloads)

bzr revid: fme@openerp.com-20121129222242-zcipil8lr0xct72g
2012-11-29 23:22:42 +01:00
Fabien Meghazi ddf04c8a2b [IMP] wording
bzr revid: fme@openerp.com-20121129214919-1gypag36heyum97g
2012-11-29 22:49:19 +01:00
Fabien Meghazi 3d75ca8741 [IMP] Use a systray icon for timezone notification (less intrusive)
bzr revid: fme@openerp.com-20121129213743-w79fh583icui2h2l
2012-11-29 22:37:43 +01:00
Fabien Meghazi bd5c3aa90c [IMP] tz_offset is no longer in context
bzr revid: fme@openerp.com-20121129210436-d4umqkb04me1tliu
2012-11-29 22:04:36 +01:00
Thibault Delavallée a5ca416f05 [IMP] needaction counters: moved rpc call on the trigger menu_loaded, to be able to reload the needaction counters through this trigger.
bzr revid: tde@openerp.com-20121129164253-j2vol27w0libpdsd
2012-11-29 17:42:53 +01:00
Thibault Delavallée 0de15c9bbf [CLEAN] Moved needaction html into a dedicated template.
bzr revid: tde@openerp.com-20121129161428-usvgdoykg0g0etr7
2012-11-29 17:14:28 +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
Christophe Simonis da574605c7 merge upstream
bzr revid: chs@openerp.com-20121129145039-mzj8b1vpdu48budl
2012-11-29 15:50:39 +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
Antony Lesuisse a34f0ef51c [MERGE] trunk-timezone-notification-fme
if res.users and browser timezone offset differs we display a warning.
openerp-web relies on the browser for datetime manipulations so we need both to be in sync.

bzr revid: al@openerp.com-20121128160344-1iae73w47ocot9ib
2012-11-28 17:03:44 +01:00
Christophe Simonis 79b2e72f07 merge upstream
bzr revid: chs@openerp.com-20121123165044-n5l5nqtm678abb2s
bzr revid: chs@openerp.com-20121128135644-iuiynfijiue67uth
2012-11-28 14:56:44 +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
Paramjit Singh Sahota 77ac04efd8 [FIX][trunk] display dbname if len(db_list())>1 [chs]
lp bug: https://launchpad.net/bugs/1059320 fixed

bzr revid: psa@tinyerp.com-20121127083630-odwky5bdy24gxoa4
2012-11-27 14:06:30 +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
niv-openerp aa2a42dc13 [IMP] Removed unused feature in Dialog and deprecated an other.
bzr revid: nicolas.vanhoren@openerp.com-20121126100501-n6qd32x5sxqv5bp7
2012-11-26 11:05:01 +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
niv-openerp b77d7d20ae [FIX] minor modif of openerp logo
bzr revid: nicolas.vanhoren@openerp.com-20121123111603-55zlx8thwcgk8mxn
2012-11-23 12:16:03 +01:00
Fabien Meghazi 04ee649855 [ADD] When application starts, warn the user if it's timezone does not match it's browser's timezone
bzr revid: fme@openerp.com-20121122151125-a8fybzmqyw8uvr7h
2012-11-22 16:11:25 +01:00
niv-openerp c2bcf50d98 [IMP] Made the logo a simple link.
bzr revid: nicolas.vanhoren@openerp.com-20121122130220-z9h2kezgxnh02vlj
2012-11-22 14:02:20 +01:00
niv-openerp 7e13ccb265 [FIX] typo in doc
bzr revid: nicolas.vanhoren@openerp.com-20121122100953-2z1vbvqqmn1jsz88
2012-11-22 11:09:53 +01:00
niv-openerp 425ea97a39 [IMP] Corrected small stuff in Dialog widget and added documentation.
bzr revid: nicolas.vanhoren@openerp.com-20121122100738-8hi8lcsnh5yf7xwt
2012-11-22 11:07:38 +01:00
Christophe Simonis e7b2ec50fe merge upstream
bzr revid: chs@openerp.com-20121120162812-wb04dwv62v25evtj
2012-11-20 17:28:12 +01:00
Fabien Meghazi c9de04d796 [FIX] Fixed wrong width computing in Dialog. Removed extraneous call to init_dialog(). Remove Dialog#$buttons dom manipulation hack.
bzr revid: fme@openerp.com-20121120141807-pvdryoib39eqh1u7
2012-11-20 15:18:07 +01:00
Jiten (OpenERP) beeaf61b21 [MERGE] Merged trunk.
bzr revid: jra@tinyerp.com-20121120123652-ezrem00a8t8xbi7c
2012-11-20 18:06:52 +05:30
Fabien Meghazi ceae7544ca [FIX] Fixed Export dialog buttons. Cleanup openerp.web.Dialog
bzr revid: fme@openerp.com-20121120095042-6f4tyiap3t6cxk9e
2012-11-20 10:50:42 +01:00
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
Raphael Collet 4dcede9044 [IMP] web: add 'widget: self' in rendering environment of openerp.web.Client
bzr revid: rco@openerp.com-20121119100734-dtprbdm9bypid8bk
2012-11-19 11:07:34 +01:00
Vishmita e97d0843c3 [IMP]Minor Change
bzr revid: vja@tinyerp.com-20121119071142-8z4tyac5t8614dde
2012-11-19 12:41:42 +05:30
Vishmita df369bd8c0 [Merge]Merge lp:~openerp-dev/openerp-web/trunk-improve-change-password-dialog
bzr revid: vja@tinyerp.com-20121119070614-yri2ytotkzx47mj9
2012-11-19 12:36:14 +05:30
Christophe Simonis 4aa5e76174 merge upstream
bzr revid: chs@openerp.com-20121116183212-1ke59kde4ilicw6d
2012-11-16 19:32:12 +01:00
Vishmita 5e948944a0 [IMP]Improve code for change password dialog
bzr revid: vja@tinyerp.com-20121116110838-zqwt9mkx5prooqzq
2012-11-16 16:38:38 +05:30
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
niv-openerp 76cce62c99 [IMP] Added feature in the rpc() method to be able to perform a call without triggering the loading messages.
bzr revid: nicolas.vanhoren@openerp.com-20121116094200-q4cby6jofcrk87hd
2012-11-16 10:42:00 +01:00
Christophe Simonis 801927cb14 [FIX] make root menu links works
bzr revid: chs@openerp.com-20121115171201-76y7ul1jhjyi2e78
2012-11-15 18:12:01 +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 6227e4b5c0 [FIX] CrashManager do not have destroy() method
bzr revid: chs@openerp.com-20121115120331-ltujwzobh19muygl
2012-11-15 13:03:31 +01:00
Christophe Simonis c637a44316 merge upstream
bzr revid: chs@openerp.com-20121115103244-lezama0ao1f2cgrh
2012-11-15 11:32:44 +01:00
Antony Lesuisse 7629191431 [MERGE] manual merge parts of chs owp
bzr revid: al@openerp.com-20121114233743-u9499fa3eugw94zi
2012-11-15 00:37:43 +01:00
Christophe Simonis abdbd41a90 [FIX] embed client: use done()
bzr revid: chs@openerp.com-20121114224426-nbp1zb9c2r2tcnn4
2012-11-14 23:44:26 +01:00
Christophe Simonis a161d749f8 merge upstream
bzr revid: chs@openerp.com-20121114223538-qp233873r33uh3e3
2012-11-14 23:35:38 +01:00
Christophe Simonis eb5a5bf838 [IMP] add method session.url() to generate correct url
bzr revid: chs@openerp.com-20121114174150-9nhj50vftt4lrf0k
2012-11-14 18:41:50 +01:00
Antony Lesuisse 36e4ed47b7 [FIX] login params
bzr revid: al@openerp.com-20121114151714-i0hsz4lyfmps307x
2012-11-14 16:17:14 +01:00
Vo Minh Thu 1ba3ae959f [MERGE] merged trunk.
bzr revid: vmt@openerp.com-20121114113528-t6ed04bv1d5p7h31
2012-11-14 12:35:28 +01:00
Olivier Dony 524c3d500d [FIX] chrome.js: leftover typo after renaming of URL `action_id` param, new `action` param was being ignored
bzr revid: odo@openerp.com-20121114111923-x2qs3zdfzmezt5z8
2012-11-14 12:19:23 +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
ggh-openerp 0452790388 [IMP] Improve Change Password dailog
bzr revid: ggh@tinyerp.com-20121112130756-jtj6u56pcvxorxcr
2012-11-12 18:37:56 +05:30
Antony Lesuisse 1b80c5bd52 [IMP] monodb helper
bzr revid: al@openerp.com-20121111163243-bhj3jzhuk99sklwo
2012-11-11 17:32:43 +01:00
Antony Lesuisse 27c872cef3 remove CallbackEnabled
The on_/do_ binding still happens in Widget.init, but as we now use ES5 bind()
it doesnt clutter stack traces anymore. However the fate of this automatic binding
feature remains uncertain.

bzr revid: al@openerp.com-20121110193440-78mpwamqx7iwq2ux
2012-11-10 20:34:40 +01:00
Christophe Simonis 6436f75513 merge upstream
bzr revid: chs@openerp.com-20121108163458-wk7p4mf7fyh3winl
2012-11-08 17:34:58 +01:00
vta vta@openerp.com 2576cd9d5c [MERGE] Latest trunk.
bzr revid: vta@openerp.com-20121108132049-7ape10oz1gvz4vi8
2012-11-08 14:20:49 +01:00
Fabien Meghazi e2766b6690 [FIX] Restore dialog buttons
bzr revid: fme@openerp.com-20121108104248-fqv98fv45n35q8qf
2012-11-08 11:42:48 +01:00
Christophe Simonis c8e1d47799 :%s/_relocate/redirect/g
bzr revid: chs@openerp.com-20121107171820-v7hryce3opnzuf0i
2012-11-07 18:18:20 +01:00
Christophe Simonis c09a6600a5 merge upstream
bzr revid: chs@openerp.com-20121106164149-hgj1250avzf12u68
2012-11-06 17:41:49 +01:00
Fabien Meghazi 1e85ca1bbe [FIX] openerp.web.Dialog checks data() before dialog('close')
bzr revid: fme@openerp.com-20121106100816-6v331a0jg2pjavp0
2012-11-06 11:08:16 +01:00
Fabien Meghazi 8821c77158 [MERGE] trunk (jquery api changes in place then's -> done's)
bzr revid: fme@openerp.com-20121105201717-91w9gwlumkvellmw
2012-11-05 21:17:17 +01:00
Fabien Meghazi 6f57449dcd [IMP] Client actions now takes the action as argument. Use action.params for options.
bzr revid: fme@openerp.com-20121105130053-6gdklt6ok4lst6ba
2012-11-05 14:00:53 +01:00
Fabien Meghazi 184ae3dd8e [FIX] jQuery ui 1.9 does not accept dialog methods call when not inited
bzr revid: fme@openerp.com-20121105103617-di2vpb8dird602t3
2012-11-05 11:36:17 +01:00