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
vta vta@openerp.com
dd539643e6
[FIX] Added the context of the action when evaluating the domain.
...
bzr revid: vta@openerp.com-20121204093326-plc4pf4qszok1rw6
2012-12-04 10:33:26 +01:00
tsabi
76ca47d4fd
[MERGE] trunk
...
bzr revid: csaba.toth@i3rendszerhaz.hu-20121129114132-gfe3sn1p5t0mzofm
2012-11-29 12:41:32 +01:00
Xavier Morel
bf29cecca3
[FIX] if an action descriptor is precisely ``false``, treat it as an ir_action_close ~/projects/tiny/web/current
...
Can be seen in e.g. Quotations > [More sidebar] > Sale: Mark Unread:
it's a server action which just returns ``False``, the handler
resulted in a noop but also produced an error message in the browser
console ("No type for action false").
Convert ``false`` (identity-tested) into an ir_action_close in
do_action, before actually mucking into the action descriptor.
bzr revid: xmo@openerp.com-20121129101137-g01nd49hnlg2odfs
2012-11-29 11:11:37 +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
Xavier Morel
8431c69016
[FIX] sidebar activation: put original context before action context in eval sequence
...
bzr revid: xmo@openerp.com-20121128161311-u3e3oqhutt043mzq
2012-11-28 17:13:11 +01:00
Xavier Morel
628ed49fff
[FIX] correctly return deferreds from all action type handlers
...
bzr revid: xmo@openerp.com-20121128152524-xrh6zqty0huqb732
2012-11-28 16:25:24 +01:00
Xavier Morel
5aa800ef42
[IMP] simplify action handlers: no need to eval_domains_and_contexts as do_action will evaluate them if and when needed
...
bzr revid: xmo@openerp.com-20121127154121-rsr4hxgmwmdrpdt7
2012-11-27 16:41:21 +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
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
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