Commit Graph

643 Commits

Author SHA1 Message Date
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
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
Christophe Simonis e70d879acc [FIX] add option to avoid actions to be pushed as state. Used for login and action extracted from hash. Full state of client actions is pushed.
bzr revid: chs@openerp.com-20121012125418-jbw3iut85riepz47
2012-10-12 14:54:18 +02:00
Vishmita 15974eb2e0 [IMP]replace callenabled for on_loaded
bzr revid: vja@tinyerp.com-20121012114534-qx7y6dzmqkw7t7px
2012-10-12 17:15:34 +05:30
vta vta@openerp.com fb865d1871 [MERGE] Latest trunk.
bzr revid: vta@openerp.com-20121012092939-a90zcuh4r605n7en
2012-10-12 11:29:39 +02:00
Vishmita f5216c706a [FIX]move the trigger function
bzr revid: vja@tinyerp.com-20121012085417-rrql4iyrevscyt80
2012-10-12 14:24:17 +05:30
vta vta@openerp.com d0c88ce9cb [MERGE] Latest trunk.
bzr revid: vta@openerp.com-20121012065521-838keuv5tdk1w3qg
2012-10-12 08:55:21 +02:00
Antony Lesuisse 2f31d1a2ed [FIX] revert client action params in url
bzr revid: al@openerp.com-20121011164114-3y7rfbdrg5hdg39c
2012-10-11 18:41:14 +02:00
Christophe Simonis 5f55a091fa [FIX] push_state of client actions: push also params
bzr revid: chs@openerp.com-20121011151948-82zk0icmw8zoyfis
2012-10-11 17:19:48 +02:00
Vishmita 8b2731d819 [FIX]Improve code
bzr revid: vja@tinyerp.com-20121011133031-83azb0qwjpq1b0aq
2012-10-11 19:00:31 +05:30
Vishmita 126b8b6d4f [FIX]Improve code
bzr revid: vja@tinyerp.com-20121011132005-78twkqav8k2ovde2
2012-10-11 18:50:05 +05:30
Vidhin Mehta (OpenERP) d1edeee7f3 [IMP]replace callbackenable method.
bzr revid: vme@tinyerp.com-20121011130011-haovxmxr3pj10unp
2012-10-11 18:30:11 +05:30
Vishmita b13ee21296 [IMP]replace callenabled for on_controller_inited
bzr revid: vja@tinyerp.com-20121011104341-7r4fr4l687bn9qqe
2012-10-11 16:13:41 +05:30
ggh-openerp 6454fd1590 [IMP] Remove add_last in on_search method
bzr revid: ggh@tinyerp.com-20121010132349-n3gdg0jhtyjfufma
2012-10-10 18:53:49 +05:30
Antony Lesuisse 4c7f416dd4 [FIX] switch_view
bzr revid: al@openerp.com-20121010113025-qpz12d28uob7hab9
2012-10-10 13:30:25 +02:00
vta vta@openerp.com f1981217e0 [MERGE] Merged trunk-trigger-on_mode_switch.
bzr revid: vta@openerp.com-20121010094915-29fy09rwsqxhlbmo
2012-10-10 11:49:15 +02:00
vta vta@openerp.com 12c35d031d [FIX] Fixed on_mode_switch.
bzr revid: vta@openerp.com-20121010093737-0kheus1v0kdj5tk7
2012-10-10 11:37:37 +02:00
vta vta@openerp.com fe07dc2e6d [FIX] Fixed on_switch_mode tirggering.
bzr revid: vta@openerp.com-20121009145113-8sazhfrp3xaan5cq
2012-10-09 16:51:13 +02:00
Vishmita 1b7d002922 [IMP]replace callenabled for on_mode_switch
bzr revid: vja@tinyerp.com-20121009101028-z5andmt2pi0973za
2012-10-09 15:40:28 +05:30
vta vta@openerp.com 3bd6faabc0 [FIX] Fixed more r.result issues.
bzr revid: vta@openerp.com-20121008104047-sfsni7u3eugeepoz
2012-10-08 12:40:47 +02:00
Antony Lesuisse 55bcd978af [MERGE] callback2deferred session.rpc
bzr revid: al@openerp.com-20121006163238-7ni5r324c0yqi5a0
2012-10-06 18:32:38 +02:00
Antony Lesuisse ef56fc10d0 [MERGE] callback2deferred dataset.call
bzr revid: al@openerp.com-20121006162030-s5moj83dzegxlron
2012-10-06 18:20:30 +02:00
vta vta@openerp.com dcb8a9e441 [FIX] Fixed more r.result issues.
bzr revid: vta@openerp.com-20121005113046-mwgb0pvm4bcgf875
2012-10-05 13:30:46 +02:00
Fabien Meghazi c69757aae1 [ADD] Add on_reverse_breadcrumb callback
bzr revid: fme@openerp.com-20121004132832-7qllln1awi4fcot1
2012-10-04 15:28:32 +02:00
vta vta@openerp.com c51c904e7d [FIX] Fixed bug in 'SelectCreatePopup', it didn't returned the corrrect stuff (r.result->r).
bzr revid: vta@openerp.com-20121004070055-dq6kvaqlph6q1ei6
2012-10-04 09:00:55 +02:00
ggh-openerp 30069a0239 [IMP]In rpc method remove callback and modify relate code
bzr revid: ggh@tinyerp.com-20121003122836-36g8ijxdcjwgntjl
2012-10-03 17:58:36 +05:30
Xavier Morel 10513dc524 [IMP] client actions: allow functions, not just widgets
bzr revid: xmo@openerp.com-20121003114258-vp3mg1yqps4qfkyp
2012-10-03 13:42:58 +02:00
Xavier Morel b0d1ba9c00 [IMP] split code specific to resp. client and window action out of action_common
there's little reason to have this absolutely-non-common code shoved
into common. And it makes common less specific to boot.

So pass that stuff in from the caller, which is the actual action
handler.

bzr revid: xmo@openerp.com-20121003110112-y57quir59xj838ju
2012-10-03 13:01:12 +02:00
Xavier Morel a83724caae [REM] weird al stuff nobody understands
not even him

bzr revid: xmo@openerp.com-20121003102955-rkqo31dmb575bvf1
2012-10-03 12:29:55 +02:00
Antony Lesuisse c5bcb0e53f [MERGE] callback2deferred dataset.call_button (and fix exec_workflow)
bzr revid: al@openerp.com-20120930151538-ka35fozw40v99e71
2012-09-30 17:15:38 +02:00
Vidhin Mehta (OpenERP) c768a2f226 [IMP]remove callback from exec_workflow method and update related code.
bzr revid: vme@tinyerp.com-20120928094423-r7zpurqq0dbr6cyr
2012-09-28 15:14:23 +05:30
Vidhin Mehta (OpenERP) 7730c14855 [IMP]remove callback from call_button and improve related code.
bzr revid: vme@tinyerp.com-20120928063558-roez0oayft9l3y4n
2012-09-28 12:05:58 +05:30
Fabien Pinckaers b565f90df0 [MERGE] Global attachments are visible only if you nstall document module
bzr revid: fp@tinyerp.com-20120927173854-8tdlr6yclci015z1
2012-09-27 19:38:54 +02:00
Christophe Simonis f7255ac0b3 [FIX] clear breadcrumbs for client actions
bzr revid: chs@openerp.com-20120924115344-rbtaus7a48pr56ka
2012-09-24 13:53:44 +02:00
RGA(OpenERP) f4237e82fc [IMP] remove attachment from top toolbar, it should be only appear after document module install
bzr revid: rgaopenerp-20120924071739-kmtr48m64xk82use
2012-09-24 12:47:39 +05:30
Jiten (OpenERP) be7cb463ee [FIX] Fix the issue if clear_breadcrumbs is not defined.
bzr revid: jra@tinyerp.com-20120914095921-302lgm4439cei0hn
2012-09-14 15:29:21 +05:30
Antony Lesuisse 56429967c2 [MERGE] developper mode print workflow for nel
bzr revid: al@openerp.com-20120913192759-f1t3r9j58zwvba10
2012-09-13 21:27:59 +02:00
Jigar Amin - OpenERP 188eff46ec [merge] lp:openerp-web
bzr revid: jam@tinyerp.com-20120913043644-t41gs5n4kp8a0j0e
2012-09-13 10:06:44 +05:30
Fabien Meghazi f49b54b2e0 [FIX] Fixed breadcrumb exception when two breadcrumbs are on the same object
bzr revid: fme@openerp.com-20120912162911-q3yml2a5x96rmarp
2012-09-12 18:29:11 +02:00
Jigar Amin - OpenERP 14ed53e196 [FIX] Should not print workflow in non standard views
bzr revid: jam@tinyerp.com-20120912131951-6virlw8v8a8mccov
2012-09-12 18:49:51 +05:30
Jigar Amin - OpenERP ac2608d3dd [FIX] Passing right datas and ids to print the report
bzr revid: jam@tinyerp.com-20120912130309-3jr2fe2yl7hgllwx
2012-09-12 18:33:09 +05:30
Fabien Meghazi 5592158727 [IMP] Crop breadcrumb items
bzr revid: fme@openerp.com-20120912125445-kuk7knes2a9ogzd5
2012-09-12 14:54:45 +02:00
ajay javiya (OpenERP) 5a9c2544ef [IMP]: Print workflow report
bzr revid: aja@tinyerp.com-20120912104214-z34o1hyk2qt67jhu
2012-09-12 16:12:14 +05:30
Bhumi Thakkar (Open ERP) 84ae2ce144 [IMP] Pass parameter for clear_breadcrumbs with server action.
bzr revid: bth@tinyerp.com-20120911094508-eby3d04wo4cevhzn
2012-09-11 15:15:08 +05:30
Xavier Morel 5848e72d42 [REM] import from core, moving to module
bzr revid: xmo@openerp.com-20120911063607-xvhyjqohptynro30
2012-09-11 08:36:07 +02:00
Jigar Amin - OpenERP 6c542b0330 [IMP] Added the Print workflow option for the debug view
bzr revid: jam@tinyerp.com-20120911044231-15aoi4ow7dtc1gfx
2012-09-11 10:12:31 +05:30
Fabien Meghazi 90e82478a4 [MERGE] Dirty form notification
bzr revid: fme@openerp.com-20120906151443-52a4ifdfe0dfwu5n
2012-09-06 17:14:43 +02:00
Fabien Pinckaers 0c5c00d86d [IMP] launch tests from the debugger mode
bzr revid: fp@tinyerp.com-20120906102952-zu0l39kk39s3sm7b
2012-09-06 12:29:52 +02:00
Fabien Meghazi c43e9bce27 [IMP] Refactored has_uncommitted_changes in order to use trigger_children
bzr revid: fme@openerp.com-20120906102526-vthdib9qfeijywo8
2012-09-06 12:25:26 +02:00
Fabien Meghazi 404acf222c [ADD] Implement dirty form check at the breadcrumbs level
bzr revid: fme@openerp.com-20120905150341-1188kodv77bys922
2012-09-05 17:03:41 +02:00
Fabien Meghazi b675eb40de [ADD] Revert menu in case do_action fails
bzr revid: fme@openerp.com-20120905134553-k6ryuelp5fhsw6z9
2012-09-05 15:45:53 +02:00
Fabien Meghazi 604bd9fa4d [WIP] Notification on do_action and on_mode_switch
bzr revid: fme@openerp.com-20120905123532-oskxl7srmoabkqr5
2012-09-05 14:35:32 +02:00
Raphael Collet b339be1450 [MERGE] trunk-access-ui-jam (hide buttons or disable actions to create/edit/delete that are not permitted to user)
bzr revid: rco@openerp.com-20120905093859-oh1udej3kgyghudy
2012-09-05 11:38:59 +02:00
Raphael Collet d6dc264ea2 [IMP] web, web_diagram: improve code formatting
bzr revid: rco@openerp.com-20120904145017-qw6n8clak9byw1w3
2012-09-04 16:50:17 +02:00
Raphael Collet 14e87c09f3 [IMP] rename method _is_action_enabled to is_action_enabled
bzr revid: rco@openerp.com-20120904141155-288vwhonbt07dfcs
2012-09-04 16:11:55 +02:00
Fabien Meghazi 06469d039f [MOV] Moved Technical Translation to debug select box
bzr revid: fme@openerp.com-20120903132923-uqjz5j7h562g3ji9
2012-09-03 15:29:23 +02:00
Raphael Collet 3e5c6a4d95 [IMP] fix code spacing and indentation
bzr revid: rco@openerp.com-20120831153758-3l46jbvtifix5s9v
2012-08-31 17:37:58 +02:00
Raphael Collet 0304a1eada [MERGE] from trunk
bzr revid: jam@tinyerp.com-20120831045217-xoy25yc9ignfi94v
bzr revid: rco@openerp.com-20120831145305-4wf3sl8un59k61he
2012-08-31 16:53:05 +02:00
Fabien Meghazi 42f184bf6f [REM] Removed TranslateDialog. Use ir.translation#translate() instead
bzr revid: fme@openerp.com-20120830161237-twthb37lkbv6yn3t
2012-08-30 18:12:37 +02:00
Fabien Meghazi a1e474fa81 [IMP] TranslateDialog#on_btn_save should return its mutex
bzr revid: fme@openerp.com-20120830102746-hqrzn8vh0rlsdvyu
2012-08-30 12:27:46 +02:00
Fabien Meghazi 060baf72f9 [FIX] TranslateDialog#start() should return a deferred
bzr revid: fme@openerp.com-20120830094811-p88qbd8tiesu8ry2
2012-08-30 11:48:11 +02:00
Fabien Meghazi 03383c7408 [IMP] If any attachment on a record, display 'X Attachment(s)' in sidebar
bzr revid: fme@openerp.com-20120828144613-6a47a4o5iwqb8t0o
2012-08-28 16:46:13 +02:00
Jigar Amin - OpenERP 548672a2c3 merge lp:openerp-web
bzr revid: jam@tinyerp.com-20120827044256-engs2hibz5x5fnwh
2012-08-27 10:12:56 +05:30
niv-openerp 5e338c591a [IMP] made a whole-application replace of $element by $el
bzr revid: nicolas.vanhoren@openerp.com-20120824182707-vt91ef40ieeudwyw
2012-08-24 20:27:07 +02:00
Jigar Amin - OpenERP 6ace7578fa merge lp:openerp-web
bzr revid: jam@tinyerp.com-20120817044830-kex9wpcxvcntj6y0
2012-08-17 10:18:30 +05:30
Antony Lesuisse 3378eed4ca [FIX] action manager dont change url for dialog
bzr revid: al@openerp.com-20120816235545-5af63loazx25fsbg
2012-08-17 01:55:45 +02:00
Jigar Amin - OpenERP e0ba6465ea [MEGRE] lp:openerp-web
bzr revid: jam@tinyerp.com-20120816041219-xjdh003bs6zmc62h
2012-08-16 09:42:19 +05:30
Jigar Amin - OpenERP 9c04845999 [IMP] Addded the common view attrib check method for the access ui support
bzr revid: jam@tinyerp.com-20120814133242-y7ofa6oy59gj0uj4
2012-08-14 19:02:42 +05:30
Xavier Morel b7a5629052 [FIX] invocation of import and export dialogs
bzr revid: xmo@openerp.com-20120814143003-ss974ub0yym09gyt
2012-08-14 16:30:03 +02:00
Antony Lesuisse 683edea774 [IMP] inlineview and minor cleanups
bzr revid: al@openerp.com-20120811175852-kde116e50scn9ugs
2012-08-11 19:58:52 +02:00
Christophe Simonis ec210651be [IMP] merge action_id and client_action state arguments into action
bzr revid: chs@openerp.com-20120808141641-0kdb3s463tb7em88
2012-08-08 16:16:41 +02:00
Fabien Meghazi 7527c01df0 [FIX] Restore translatable fields
bzr revid: fme@openerp.com-20120808094743-gw5boichxy3ka737
2012-08-08 11:47:43 +02:00
Fabien Meghazi b950d2c785 [FIX] Fixed breadcrumb's history_back
bzr revid: fme@openerp.com-20120806103242-p3mhze2rgmmwchdx
2012-08-06 12:32:42 +02:00
Fabien Meghazi 6510cdb047 [ADD] Added breadcrumb history_back. Fix create/discard
bzr revid: fme@openerp.com-20120806091609-1klmk7gwreumwszg
2012-08-06 11:16:09 +02:00
Christophe Simonis 1f88244a68 [FIX] correct load_state of client actions
bzr revid: chs@openerp.com-20120803170301-i01mz04mtzr32ii5
2012-08-03 19:03:01 +02:00
Fabien Meghazi 84f258b4f1 [ADD] Added breadcrumb history_back. Fix create/discard
bzr revid: fme@openerp.com-20120802165440-zl6lonpv7uvw67k6
2012-08-02 18:54:40 +02:00
niv-openerp 2c57c15491 [IMP] Mass rename \t to 4 spaces
bzr revid: nicolas.vanhoren@openerp.com-20120802144623-ykl5te005ytnv584
2012-08-02 16:46:23 +02:00
Fabien Meghazi c2ad177f93 [FIX] Fix bug in breadcrumb when a client action is present in the breadcrumb items
bzr revid: fme@openerp.com-20120802143246-7pgeueme3i6h1emc
2012-08-02 16:32:46 +02:00
Fabien Meghazi b56849da72 [MERGE] vieweditor extraction
bzr revid: fme@openerp.com-20120801145907-16oe3cu5jb04phmv
2012-08-01 16:59:07 +02:00
Vidhin Mehta (OpenERP) 19d4364884 [REM]remove view editor unnecessary code.
bzr revid: vme@tinyerp.com-20120801111929-1cwbovhzskpwmf9f
2012-08-01 16:49:29 +05:30
Antony Lesuisse 574f3891a5 [MERGE] trunk
bzr revid: al@openerp.com-20120801104657-cinfl0svpnc8njs5
2012-08-01 12:46:57 +02:00
Vidhin Mehta (OpenERP) ed0d89e659 [IMP] override on_debug_changed method.
bzr revid: vme@tinyerp.com-20120731134406-6pornq9phwnahia3
2012-07-31 19:14:06 +05:30
Jiten (OpenERP) 97554eef3b [MERGE] Merge trunk.
bzr revid: jra@tinyerp.com-20120731123532-id7botmens4tvwlh
2012-07-31 18:05:32 +05:30
Fabien Meghazi f2ee1381ca [IMP] Breadcrumb: avoid having the same title twice (Eg: confirm quotation)
bzr revid: fme@openerp.com-20120730135800-a0zotamtoez3ur5e
2012-07-30 15:58:00 +02:00
Vidhin Mehta (OpenERP) 8e5a0fa9b0 [IMP]removed view editor from web to web addons.
bzr revid: vme@tinyerp.com-20120730091815-scj8dt3j1tr1jpvx
2012-07-30 14:48:15 +05:30
Vo Minh Thu 45951a0a49 [FIX] I AM IN YUR TRNK FIXIN YUR BUGS.
bzr revid: vmt@openerp.com-20120727093401-fao4a7dvpa3fkcjn
2012-07-27 11:34:01 +02:00
Christophe Simonis 9128e37231 [REF] refactor action popup
bzr revid: chs@openerp.com-20120726161638-zt8x0kfpxvst998r
2012-07-26 18:16:38 +02:00
Xavier Morel 7ccf2ad2a5 [FIX] if value may not be a promise, return the wrapped value if wrapping it anyway
bzr revid: xmo@openerp.com-20120726143141-4wbrqq29qqhvwhqw
2012-07-26 16:31:41 +02:00
Antony Lesuisse 678eab6132 [IMP] convert login and database manager into client actions
bzr revid: al@openerp.com-20120726013628-23xi8czcxl8jymbn
2012-07-26 03:36:28 +02:00
Antony Lesuisse 3a793019b6 [FIX] client action urls
bzr revid: al@openerp.com-20120726004227-w9vqt8jv6gtn7l9p
2012-07-26 02:42:27 +02:00
niv-openerp b98723a1fe [IMP] improved throbber
bzr revid: nicolas.vanhoren@openerp.com-20120724141220-1u0odsgsxzjtc5xn
2012-07-24 16:12:20 +02:00
Antony Lesuisse 07fb6d88b9 [MERGE] trunk
bzr revid: al@openerp.com-20120723173450-2yxayvyoiiiw9tcw
2012-07-23 19:34:50 +02:00
niv-openerp 8218e1cc80 [FIX] another problem with translation wizard
bzr revid: nicolas.vanhoren@openerp.com-20120723152224-pmll06c6j3hk1hjd
2012-07-23 17:22:24 +02:00
Fabien Pinckaers 7d1d504036 [IMP] remove menu_tips old code
bzr revid: fp@openerp.com-20120717064431-qtn1zooodo71iezt
2012-07-17 08:44:31 +02:00
Fabien Pinckaers 8ef6167ec1 [IMP] breadcrum separator fade, cause lots of sequence have slash in the prefix 'PO/001'
bzr revid: fp@tinyerp.com-20120716173117-znn02l6ida07pt15
2012-07-16 19:31:17 +02:00
Fabien Pinckaers 01d15a2812 [IMP] dialogs
bzr revid: fp@openerp.com-20120714000519-ksf14svlnp6xljri
2012-07-14 02:05:19 +02:00
Antony Lesuisse 71a5c53072 [IMP] allow xml ids for action_id
bzr revid: al@openerp.com-20120713145740-xkwp0hxy7kou61f0
2012-07-13 16:57:40 +02:00
Fabien Pinckaers 2b6cce2c7c [IMP] modal dialogs
bzr revid: fp@tinyerp.com-20120713114737-hqieh0oi6nnnbjqh
2012-07-13 13:47:37 +02:00
Xavier Morel e431cda2d3 [MERGE} from trunk
bzr revid: xmo@openerp.com-20120711112959-tcb9epdfc9frt6ux
2012-07-11 13:29:59 +02:00
niv-openerp 24a54675ee [FIX] problem with css classes of view managers
bzr revid: nicolas.vanhoren@openerp.com-20120710091821-qpc49vwq60k1xt3f
2012-07-10 11:18:21 +02:00
Xavier Morel 039cf85e32 [TEST] start adding some testing to new editable listview, validate structure of editionView in Editor
bzr revid: xmo@openerp.com-20120704095626-j7wtbgdmoti0kjie
2012-07-04 11:56:26 +02:00
niv-openerp 50413828c5 [FIX] problem in m2o due to wrong element destruction in dialogs
bzr revid: nicolas.vanhoren@openerp.com-20120703095311-4p3g3btqlsn4z0bl
2012-07-03 11:53:11 +02:00
Fabien Meghazi 89b2b1e307 [CHG] Applied new rules to oe_highlight. Added action.target to oe_view_manager class
oe_highlight depend on target of the action
    current: readonly: red, editmode: dont apply
    inline : always red
    new: always red
and save is always red (so no dirty anymore but keep the class just in case)

bzr revid: fme@openerp.com-20120628143252-r9jxckyet9v1qn1l
2012-06-28 16:32:52 +02:00
Fabien Meghazi ce7fb5bb37 [CHG] Ashes to ashes, dashes to underscores.
bzr revid: fme@openerp.com-20120627141249-o10e2htxqtio72l7
2012-06-27 16:12:49 +02:00
Xavier Morel 54a8f9e193 [MERGE] 6.1 changes and trunk
bzr revid: xmo@openerp.com-20120625135215-az1927llmk0vw655
2012-06-25 15:52:15 +02:00
Fabien Meghazi f1a2b708ac [WIP] Replaced cropdown by dropdown
bzr revid: fme@openerp.com-20120620151453-9g32rrbv3x0b1v8p
2012-06-20 17:14:53 +02:00
Fabien Meghazi 135be629b1 [FIX] Sidebar dropdown
bzr revid: fme@openerp.com-20120620102126-nax3dlhuj9ja2x2w
2012-06-20 12:21:26 +02:00
Fabien Meghazi 3caa74a80c [FIX] ViewManager: show/hide views containers
bzr revid: fme@openerp.com-20120618113659-2fsu4o9jw4vm2n6f
2012-06-18 13:36:59 +02:00
niv-openerp e26aafb46d [IMP] Added specific class to global view manager
bzr revid: nicolas.vanhoren@openerp.com-20120615155425-4vmtwcbx0glb8wxg
2012-06-15 17:54:25 +02:00
Christophe Simonis d8a5c516fa [FIX] client_action from url: use params from state and not from query string (avoid reloading web page)
bzr revid: chs@openerp.com-20120614165345-lla5x0a0pb0e7gsq
2012-06-14 18:53:45 +02:00
Christophe Simonis 752fe6171f [FIX] allow excution of client actions from url
bzr revid: chs@openerp.com-20120614164141-s8hm4wj5xoswh9ym
2012-06-14 18:41:41 +02:00
Fabien Meghazi c735159794 [IMP] Improved sidebar dropdowns
bzr revid: fme@openerp.com-20120614134819-rmfanstzir8kpyo3
2012-06-14 15:48:19 +02:00
Fabien Meghazi 784bec95fd [ADD] Recovered delete icon for the attachments
bzr revid: fme@openerp.com-20120613161712-91h2yvg0rykwun2j
2012-06-13 18:17:12 +02:00
Fabien Meghazi 8401b686b6 [FIX] Brought back attachments
bzr revid: fme@openerp.com-20120613141016-8m2mj4b7d9zzk7a5
2012-06-13 16:10:16 +02:00
Olivier Dony 068a4e7e5a [MERGE] Missing tab title made multi-tab use of OpenERP quite difficult - now fixed.
bzr revid: odo@openerp.com-20120612141943-ukcwg62lsm3auy0d
2012-06-12 16:19:43 +02:00
Fabien Meghazi c9f66e1efc [FIX] Bug in action manager. AFAIK, the parent of a ViewManager should be it's ActionManager
The bug could be experienced with action target new (Eg: debug Edit this Form)

bzr revid: fme@openerp.com-20120712163143-s1nbf88lqz011uhi
2012-07-12 18:31:43 +02:00
Fabien Meghazi 048d96fa63 [IMP] Improved jsdoc
bzr revid: fme@openerp.com-20120712150548-w1m47j9op8p46xpy
2012-07-12 17:05:48 +02:00
Fabien Meghazi 279c349344 [IMP] Do not edit in place pushed breadcrumb items
bzr revid: fme@openerp.com-20120712144623-ttfejkrxv7ep4y12
2012-07-12 16:46:23 +02:00
Fabien Meghazi 87cf418d78 [FIX] Fixed loop bug
bzr revid: fme@openerp.com-20120712121246-m16bo4d0cw7o7oz4
2012-07-12 14:12:46 +02:00
Fabien Meghazi b4b5321738 [ADD] Added jsdoc
bzr revid: fme@openerp.com-20120712102725-fjd8izjibbbe0ljg
2012-07-12 12:27:25 +02:00
Fabien Meghazi 0aaa773395 [REM] Removed useless argument causing problem in case of buggy load_state
bzr revid: fme@openerp.com-20120712095654-32pj8yrwubf2up1w
2012-07-12 11:56:54 +02:00
Fabien Meghazi 76c0b26198 [ADD] Added doc to breadcrumb items callback
bzr revid: fme@openerp.com-20120712095517-itzfdh52fd0zuzi4
2012-07-12 11:55:17 +02:00
Fabien Meghazi bdd6d0e599 [IMP] Use _.defaults
bzr revid: fme@openerp.com-20120712093708-b5p58jzdn8y78xy4
2012-07-12 11:37:08 +02:00
Fabien Meghazi 7bc9127239 [FIX] Hide only last item on push
bzr revid: fme@openerp.com-20120712091756-g8gsmdxuvte9phse
2012-07-12 11:17:56 +02:00
Fabien Meghazi 571648e4cf [WIP] Merge breadcrumb to actionmanager
bzr revid: fme@openerp.com-20120711133830-677ug7jcoz2y1zoe
2012-07-11 15:38:30 +02:00
Fabien Meghazi 7564a0c1b1 [WIP] Renamed dialog_viewmanager to dialog_widget
bzr revid: fme@openerp.com-20120711130525-qpmsh7qtmtbl65xw
2012-07-11 15:05:25 +02:00
Fabien Meghazi 1144a72e14 [WIP] Move view manager addClass to ViewManagerAction#start
bzr revid: fme@openerp.com-20120711130252-i9erdzo93p6siteq
2012-07-11 15:02:52 +02:00
Fabien Meghazi 4f51eac392 [WIP] Removed content_stop()
bzr revid: fme@openerp.com-20120711125511-b5ku6gigunx2csgz
2012-07-11 14:55:11 +02:00
Fabien Meghazi 88a8f5b5bd [WIP] Rename client_widget and inner_viewmanager to inner_widget
bzr revid: fme@openerp.com-20120711124743-subh6412gul0v0k9
2012-07-11 14:47:43 +02:00
Fabien Meghazi d17a664875 [WIP] Clean code
bzr revid: fme@openerp.com-20120710164344-pnnvl7ygs7e96pnx
2012-07-10 18:43:44 +02:00
Fabien Meghazi 14c66c7376 [WIP] Refactor again
bzr revid: fme@openerp.com-20120710162913-6gyda8y3e6vu86ph
2012-07-10 18:29:13 +02:00
Fabien Meghazi 5ae60d10df [MERGE] trunk
bzr revid: fme@openerp.com-20120710095847-3ug1vdagysc2licl
2012-07-10 11:58:47 +02:00
Fabien Meghazi f6d6f85a08 [WIP] breakpoint
bzr revid: fme@openerp.com-20120710083633-ti8s1qg5s0tuhwla
2012-07-10 10:36:33 +02:00
Fabien Meghazi 6077308509 [WIP] Pop breadcrumb on mode switch != form
bzr revid: fme@openerp.com-20120709103215-bemcmt5silu5u4je
2012-07-09 12:32:15 +02:00
Fabien Meghazi 648ea3e7ca [WIP] Breadcrumb: compact code, fix client actions
bzr revid: fme@openerp.com-20120705192701-3lzkdadaqtjo7wm0
2012-07-05 21:27:01 +02:00
Fabien Meghazi 4f04c1b80b [WIP] Refactor views title managment + lazy loading
bzr revid: fme@openerp.com-20120705192227-r4hu0kcq3ngqsud4
2012-07-05 21:22:27 +02:00
Fabien Meghazi 17b09849fb [WIP] Breakpoint commit. Gonna refactor everything
bzr revid: fme@openerp.com-20120705142246-yelkx5eqxxzyf45i
2012-07-05 16:22:46 +02:00
Fabien Meghazi 1a2c33faa2 [WIP] breadcrumb
bzr revid: fme@openerp.com-20120705080450-j1o7p0vebjtd4ch3
2012-07-05 10:04:50 +02:00
Fabien Meghazi 575455c135 [WIP] Breadcrumb
bzr revid: fme@openerp.com-20120704145311-k7akbzz0gv9lf3ps
2012-07-04 16:53:11 +02:00
Fabien Meghazi 7af6fa7e8f [WIP] breadcrumb
bzr revid: fme@openerp.com-20120704095655-kxdhcsb5n7i0i7i6
2012-07-04 11:56:55 +02:00
Fabien Meghazi 6b6cd67196 [WIP] Breadcrumb
bzr revid: fme@openerp.com-20120703161720-kiavze0kmxs6v5uq
2012-07-03 18:17:20 +02:00
Fabien Meghazi 0cc5148b8c [ADD] Add 'options' to do_switch_view() piped to do_show()
bzr revid: fme@openerp.com-20120607160801-z86cgeo00epiyq61
2012-06-07 18:08:01 +02:00
Fabien Meghazi 55bbd5f290 [IMP] Hide Sidebar section when item list is empty
bzr revid: fme@openerp.com-20120607144935-csiijcfoir2z362o
2012-06-07 16:49:35 +02:00
Fabien Meghazi a6a4f8e752 [MOV] Moved SideBar 'import' and 'export' to list view only
bzr revid: fme@openerp.com-20120607143926-a0p7quqguz130iwd
2012-06-07 16:39:26 +02:00
Xavier Morel 5dd4134e24 [FIX] Error while deleting a record when there is only one record in pageview
bzr revid: xmo@openerp.com-20120607110503-exd0yhx8cqsimxer
2012-06-07 13:05:03 +02:00
Amit Dodiya 902694cf86 [FIX] Error while deleting a record when there is only one record in pageview
bzr revid: ado@openerp.com-20120607065207-jwu8qlvo9i5c59jo
2012-06-07 12:22:07 +05:30
Amit Dodiya 60d2e6878c [FIX] Error while deleting a record when there is only one record in pageview
bzr revid: ado@openerp.com-20120607064823-wpwvgq3ep7ufiui4
2012-06-07 12:18:23 +05:30
Amit Dodiya 7c38280c50 [FIX] Error while deleting a record when there is only one record in pageview
bzr revid: ado@openerp.com-20120607064431-2r2gbh0hav11ojeg
2012-06-07 12:14:31 +05:30
Amit Dodiya 7c87017fc2 [FIX] Error while deleting a record when there is only one record in pageview
bzr revid: ado@openerp.com-20120607063146-h22emjasnj0ararc
2012-06-07 12:01:46 +05:30