Commit Graph

490 Commits

Author SHA1 Message Date
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
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
niv-openerp e1d6502f7c [FIX] problem with sidebar_eval_context
bzr revid: nicolas.vanhoren@openerp.com-20121122094347-q8evcsk7np2ja8xb
2012-11-22 10:43:47 +01:00
Fabien Meghazi c0bb84a3fe [IMP] Move 'Set Defaults' from sidebar's 'More' menu to advanced debug box
bzr revid: fme@openerp.com-20121122090754-d8hl9c7jtobgstxj
2012-11-22 10:07:54 +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
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
niv-openerp 999c0b2cab [FIX] Modified behavior when we click on an action in the 'More' menu.
Since revision 1517, when using the sidebar from a form view, it merged all the fields of the form view in the context of the action.
It was modified to avoid that context pollution, now it only uses those fields to evaluate the context of that action. So it allows
specifying contexts like "{'invoice_id': invoice_id}", but invoice_id will not be propagated any more to the new action context if not
explicitely specified.

bzr revid: nicolas.vanhoren@openerp.com-20121120100620-ig4e02uctysk7oj8
2012-11-20 11:06:20 +01:00
Fabien Meghazi 09a2f24398 [FIX] push_state() broken after closing a wizard
bzr revid: fme@openerp.com-20121119111130-7xubnqvvhp3q1jds
2012-11-19 12:11:30 +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 8a3d2c4744 [FIX] For act window target new, always use a new dialog object
Buttons footer hack in dialogs makes reusability of dialog impossible

bzr revid: fme@openerp.com-20121115151046-0r8xz85racjta7p3
2012-11-15 16:10:46 +01:00
Fabien Meghazi f842d8dba1 [FIX] When action returns other value than an action, close current dialog if any
bzr revid: fme@openerp.com-20121115134207-n0q1vae1wuga5jc7
2012-11-15 14:42:07 +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 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
Fabien Meghazi 4fb15efb59 [FIX] IE does not accept custom button@type attribute
Added one more step in views serialization historic hell

bzr revid: fme@openerp.com-20121114164413-wrnxlbuh9zj924yk
2012-11-14 17:44:13 +01:00
Xavier Morel 67115184f8 [FIX] references to renamed/removed methods in event handler bindings
bzr revid: xmo@openerp.com-20121114130600-2qf8egm0r9bwno1n
2012-11-14 14:06:00 +01:00
Xavier Morel 7d18be69a5 [FIX] form shortcuts being somewhat active in listview leading to strange behaviors
added a predicate and a decorator to View, so that views can easily
check if they are the active view and only execute relevant actions
when they are.

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

bzr revid: xmo@openerp.com-20121113153610-7yogikfyg4rxwsjp
2012-11-13 16:36:10 +01:00
Christophe Simonis 71fdd4fdb3 [FIX] do_load_state: highlight right menu when loading action using xmlid
bzr revid: chs@openerp.com-20121113140002-gq330rwod0c7qf5m
2012-11-13 15:00:02 +01:00
Christophe Simonis a824da4be3 [FIX] do_load_state: propagate _push_me flag
bzr revid: chs@openerp.com-20121108175910-qd2xho4srhhbjs5q
2012-11-08 18:59:10 +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 ca6c49becf [IMP] jQuery deferred API changes refactoring. Changed 'then's in 'done'/'fail' and 'pipe's in 'then'
bzr revid: fme@openerp.com-20121030140630-gf20ye8fou1ebxft
2012-10-30 15:06:30 +01:00
Xavier Morel 04282ff00e [IMP] port search test to new framework, add handling of web.{submodule} dependencies
bzr revid: xmo@openerp.com-20121026084543-fobkc3ta5q2jc3q6
2012-10-26 10:45:43 +02:00
Xavier Morel 99a2dd3938 [ADD] first 90% of non-sucky testing API, last 90% left
also all existing tests shoud now be completely broken and need to be fixed

bzr revid: xmo@openerp.com-20121025154745-rw2gktfd6tp68k2m
2012-10-25 17:47:45 +02:00
niv-openerp 098b23d76b [FIX] wrong refactoring about do_switch_view
bzr revid: nicolas.vanhoren@openerp.com-20121025092814-d3tpt9lfkn6b9w80
2012-10-25 11:28:14 +02:00
Fabien Meghazi f50c720f3e [ADD] Add menu_id in url state
bzr revid: fme@openerp.com-20121023122833-l9a520bkpe2yty2r
2012-10-23 14:28:33 +02:00
Fabien Meghazi 957c187bb1 [IMP] Make 'oe_list_cannot_*' css classes generic
bzr revid: fme@openerp.com-20121023095559-63exp0dyf5zsd3qw
2012-10-23 11:55:59 +02:00
Xavier Morel 41fba390b2 [IMP] cleanup View.load_view a bit
and remove unused variables in ViewManagerAction#switch_view

bzr revid: xmo@openerp.com-20121023085220-h7lwft0nilng1q4y
2012-10-23 10:52:20 +02:00
Fabien Meghazi 6280e223be [REV] Not my fault afterall.
bzr revid: fme@openerp.com-20121022161611-d4gik77mk1fvtojb
2012-10-22 18:16:11 +02:00
Xavier Morel 6972b34029 [REM] stuff in list view, may or may not still work. It's all fme's fault anyway
FME MA TUER

bzr revid: xmo@openerp.com-20121022160134-yaze6n43h98c193t
2012-10-22 18:01:34 +02:00
niv-openerp db54c70650 [FIX] resolved problem with buttons in views, also removed default Close button in wizards
bzr revid: nicolas.vanhoren@openerp.com-20121022152257-yxcz0j73b4azeqr1
2012-10-22 17:22:57 +02:00
Fabien Meghazi b631b13742 [FIX] Forgot two occurencies during do_action() refactoring
refactoring was done in Revision: 3261 revid:fme@openerp.com-20121017145548-oc9s6oadhwzbr78m

bzr revid: fme@openerp.com-20121022124135-ifaj0mm1vd2zjxyo
2012-10-22 14:41:35 +02:00
niv-openerp 5743dca47d [IMP] Remove some useless code
bzr revid: nicolas.vanhoren@openerp.com-20121019133851-xqgt8vuktawy58gm
2012-10-19 15:38:51 +02:00
niv-openerp d715d39440 [FIX] Problem with wizards: when the dialog is closed the view is not destroyed
bzr revid: nicolas.vanhoren@openerp.com-20121019132827-y3tp1298w1h359kh
2012-10-19 15:28:27 +02:00
vta vta@openerp.com 59aaa765a6 [FIX] Fixed event name.
bzr revid: vta@openerp.com-20121018124607-rifo06nfx7jo134e
2012-10-18 14:46:07 +02:00
vta vta@openerp.com 98431bccd9 [MERGE] Latest trunk.
bzr revid: vta@openerp.com-20121018122324-hf4y784k49s0vsye
2012-10-18 14:23:24 +02:00
vta vta@openerp.com 1e70837161 [FIX] Fixed on_loaded in all different views.
bzr revid: vta@openerp.com-20121018114950-svqy0gje04vw2ysc
2012-10-18 13:49:50 +02:00
vta vta@openerp.com bd049325f0 [MERGE] Latest trunk.
bzr revid: vta@openerp.com-20121015095120-slieowls1jkkeguj
bzr revid: vta@openerp.com-20121018070252-l2r83wkj5mfuu5y0
2012-10-18 09:02:52 +02:00
Fabien Meghazi 080994c31c [IMP] Make breadcrumb use deferred returned by switch_view()
bzr revid: fme@openerp.com-20121017155525-jf4vdbo8r183vi94
2012-10-17 17:55:25 +02:00
Fabien Meghazi 31b316577c [IMP] Use an 'options' dict as second arg for ActionManager#do_action()
bzr revid: fme@openerp.com-20121017145548-oc9s6oadhwzbr78m
2012-10-17 16:55:48 +02:00
Fabien Meghazi a901ecf288 [FIX] breadcrumb does not restore url state
bzr revid: fme@openerp.com-20121017135510-wtye34kd1rkagqtr
2012-10-17 15:55:10 +02:00
Fabien Meghazi dbe8bd71de [IMP] Breadcrumb always reload views on history back
bzr revid: fme@openerp.com-20121017110421-l19e5a397umi66k8
2012-10-17 13:04:21 +02:00
niv-openerp 73950424bb [FIX] removed dirty hack to put buttons in footer of dialogs with an official dirty feature
bzr revid: nicolas.vanhoren@openerp.com-20121016125627-vevqllvshay5fpv4
2012-10-16 14:56:27 +02:00
niv-openerp 35df43c491 [FIX] modified action manager to use the $buttons of Dialog when it instantiate a ViewManager in a Dialog
bzr revid: nicolas.vanhoren@openerp.com-20121016124135-xkll7ugawv9ae6bq
2012-10-16 14:41:35 +02:00
niv-openerp 97cb5f4dc4 [FIX] small problems in dialog actions
bzr revid: nicolas.vanhoren@openerp.com-20121016095824-woasfpauu7unye5n
2012-10-16 11:58:24 +02:00
niv-openerp 04353719e9 [IMP] removed on_close in Dialog
bzr revid: nicolas.vanhoren@openerp.com-20121015135236-r5809kwwbcqo67tj
2012-10-15 15:52:36 +02:00
niv-openerp ed445ff91a [REVERT] revert commit 3224 because it didn't reproduced the original behavior and some on_close were forgotten
bzr revid: nicolas.vanhoren@openerp.com-20121015133815-hmkz6h1bkhnbq7up
2012-10-15 15:38:15 +02:00
vta vta@openerp.com 68cf1f2d6a [MERGE] Latest trunk.
bzr revid: vta@openerp.com-20121015082458-rudm5r0718ky7829
2012-10-15 10:24:58 +02:00
Antony Lesuisse 496d203512 [FIX] client action only serialize scalar values
bzr revid: al@openerp.com-20121012140858-mzkv5ef8ozqqxq13
2012-10-12 16:08:58 +02:00
vta vta@openerp.com 9f3198d00a [MERGE] Latest trunk.
bzr revid: vta@openerp.com-20121012131427-rr9cl2ausnraogfg
2012-10-12 15:14:27 +02:00
vta vta@openerp.com 48118a7afe [IMP] Improved on close code.
bzr revid: vta@openerp.com-20121012130254-kthondab91jph64x
2012-10-12 15:02:54 +02:00