Commit Graph

178 Commits

Author SHA1 Message Date
Fabien Meghazi 0354c117a1 [ADD] Add resize_textarea option to FirmView and use it for Edit View debug feature
Note: resize_textarea can also be an integer forcing maximal height

bzr revid: fme@openerp.com-20111221171602-rbpe76f7s7hwmapz
2011-12-21 18:16:02 +01:00
Xavier Morel 01fdd9420f [FIX] reload form (and list) views after sidebar actions
bzr revid: xmo@openerp.com-20111221141953-zovj4tpwse9tfvm9
2011-12-21 15:19:53 +01:00
Christophe Simonis 1448318b2f [FIX] handle model in url
bzr revid: chs@openerp.com-20111221141826-82m2bwitidm3okwi
2011-12-21 15:18:26 +01:00
Antony Lesuisse 6a58ba526a [IMP] action with menu_id
bzr revid: al@openerp.com-20111221114904-x8s6xqs70utrnsim
2011-12-21 12:49:04 +01:00
Christophe Simonis 65627b4359 [FIX] only append "Search" prefix if view has search view
bzr revid: chs@openerp.com-20111221104616-217iwi25jgyk4e23
2011-12-21 11:46:16 +01:00
Xavier Morel 7a06082c9f [FIX] add a flag to action descriptors to know when it went through a menu (and we should display the shortcut toggle)
lp bug: https://launchpad.net/bugs/906785 fixed

bzr revid: xmo@openerp.com-20111220164903-iakb397pbb96q1nh
2011-12-20 17:49:03 +01:00
Christophe Simonis 5168ac754c [FIX] show/hide views when there are loaded
bzr revid: chs@openerp.com-20111220173742-cel6khizmlrv9qom
2011-12-20 18:37:42 +01:00
Xavier Morel 265d9e1ef4 [ADD] translatable name to views
lp bug: https://launchpad.net/bugs/904989 fixed

bzr revid: xmo@openerp.com-20111216112054-xys9q3ap6dcatppr
2011-12-16 12:20:54 +01:00
Christophe Simonis 160801b0e6 [IMP] handle url for list views
bzr revid: chs@openerp.com-20111215153134-tdwy5y8j7ktm1dzv
2011-12-15 16:31:34 +01:00
Christophe Simonis af2e4fe2b5 [FIX] url handling of record id
bzr revid: chs@openerp.com-20111215142939-j2lz1irzoj10fy3v
2011-12-15 15:29:39 +01:00
Xavier Morel b5a797ba0a [IMP] mark a bunch of dialog stuff as exportable (mostly buttons, but also dialog titles)
bzr revid: xmo@openerp.com-20111215104031-h2xjkf0zwf8x8zjk
2011-12-15 11:40:31 +01:00
Antony Lesuisse 4b67791920 [FIX] working urls
bzr revid: al@openerp.com-20111214180442-51bny4wq12qs4okk
2011-12-14 19:04:42 +01:00
Antony Lesuisse 7991d820f5 [MERGE] trunk
bzr revid: al@openerp.com-20111214172434-u2i6im40bviq229q
2011-12-14 18:24:34 +01:00
Antony Lesuisse d1ddc1ee78 [IMP] factorise View.do_show do_hide
bzr revid: al@openerp.com-20111214171811-c4bka4nwylp3wn21
2011-12-14 18:18:11 +01:00
niv-openerp 91909f1927 [imp] now closes dialogs when using client actions
bzr revid: nicolas.vanhoren@openerp.com-20111214170356-znxja2f0jekb63a9
2011-12-14 18:03:56 +01:00
Christophe Simonis 99ffc0507f [WIP] better url management, only views are allowed to call this.do_push_state
bzr revid: chs@openerp.com-20111214160958-fb0dtboz2smakb6p
2011-12-14 17:09:58 +01:00
Fabien Meghazi 72aa0f74cd [IMP] Move flags to ViewManager level so it can be passed to its constructor
bzr revid: fme@openerp.com-20111214152903-7vzv503w3e1axtwh
2011-12-14 16:29:03 +01:00
Antony Lesuisse 99808af722 [FIX] url handling
bzr revid: al@openerp.com-20111213142608-bgbo5wkuf5xqbrvq
2011-12-13 15:26:08 +01:00
Fabien Meghazi 4c7068b5fc [IMP] Improved view debugging
bzr revid: fme@openerp.com-20111213113521-vd7lylwaxu0ob3r2
2011-12-13 12:35:21 +01:00
Antony Lesuisse d34a0d0e17 [IMP] url handling by chs
bzr revid: al@openerp.com-20111213105908-740uk5jf0r64lsdb
2011-12-13 11:59:08 +01:00
Christophe Simonis 68914b311b [FIX] remove unused variable
bzr revid: chs@openerp.com-20111213105009-otpfr3db20wakdtb
2011-12-13 11:50:09 +01:00
Christophe Simonis 3c9a0d91f0 [FIX] cleanup do_load_state methods
bzr revid: chs@openerp.com-20111213104100-qxvyqnr84bm1x6x5
2011-12-13 11:41:00 +01:00
Christophe Simonis 12ce718088 [IMP] limit the hash managment to the actionmanager of the webclient (and its viewmanager and views)
bzr revid: chs@openerp.com-20111212164455-44l31w1jr1sm2mg0
2011-12-12 17:44:55 +01:00
Christophe Simonis 642c8e040a [FIX] cleaning url managment
bzr revid: chs@openerp.com-20111212142012-cb5p5oxu2fzmcil2
2011-12-12 15:20:12 +01:00
Xavier Morel e688de835f [FIX] correctly take in account default group_by (from action context)
group_by are alternative: use the one from the search view if there is one
otherwise use the one from the action
and default is no group by

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

bzr revid: xmo@openerp.com-20111212141656-w41nnfhzw9kcu93k
2011-12-12 15:16:56 +01:00
Antony Lesuisse 900c2e2daa [IMP] action ir.ui.menu
bzr revid: al@openerp.com-20111212103905-6zjkkou9cquxs2ys
2011-12-12 11:39:05 +01:00
Fabien Meghazi 17b76fdc7e [ADD] action.flags.default_view defines default view to switch on when viewmanager is created.
bzr revid: fme@openerp.com-20111212094152-26eto8s1k9wlhxne
2011-12-12 10:41:52 +01:00
Christophe Simonis 607fa699d6 [IMP] fire the bbq
bzr revid: chs@openerp.com-20111209163114-23c0orpwbqom4js9
2011-12-09 17:31:14 +01:00
Xavier Morel bdb4582586 [FIX] failure to switch view due to switching to a non-existant view should not crash the viewmanager anymore
bzr revid: xmo@openerp.com-20111209144638-ppoxxlcn19sezyri
2011-12-09 15:46:38 +01:00
Vidhin Mehta (OpenERP) 76ec7bea05 [IMP]used pipe instead of then,
bzr revid: vme@tinyerp.com-20111209134809-l7rh0th8lgk5gz2i
2011-12-09 19:18:09 +05:30
Vidhin Mehta (OpenERP) 57aecd6bb1 [MERGE]merge with main branch.
bzr revid: vme@tinyerp.com-20111209055746-gel0yr4aum3gb76k
2011-12-09 11:27:46 +05:30
Vidhin Mehta (OpenERP) a84247b3f2 [IMP]improved code.
bzr revid: vme@tinyerp.com-20111209055146-sbj4z1fb203yknop
2011-12-09 11:21:46 +05:30
Fabien Meghazi 24148e721c [IMP] Add action buttons to debug view editing popup
Note: it causes an error because it wants to switch to page view but saves anyway.

bzr revid: fme@openerp.com-20111208150332-hf6kndst4wo0f3mt
2011-12-08 16:03:32 +01:00
Vidhin Mehta (OpenERP) b93b2f4025 [fix]fix code according to suggestion.
bzr revid: vme@tinyerp.com-20111208055909-coh3vxbbqxo7j250
2011-12-08 11:29:09 +05:30
Xavier Morel 22fb18bcbf [ADD] special case: creating a record from list goes back to page view, not list view
bzr revid: xmo@openerp.com-20111207153101-kzpolvmvmxnjl20m
2011-12-07 16:31:01 +01:00
Fabien Meghazi e9a54a5c11 [IMP] Raise console.error when no action.type defined
I see this error from times to times but never had a chance to reproduce it.
console.error will give a traceback + action object in order to fix the issue

bzr revid: fme@openerp.com-20111207161353-vnp6dm21xyedxgeg
2011-12-07 17:13:53 +01:00
Fabien Meghazi c635bebcfc [IMP] Update special case for dashboard
bzr revid: fme@openerp.com-20111207155913-o5e9rpthflfw2z10
2011-12-07 16:59:13 +01:00
Fabien Meghazi 2c0a365da8 [IMP] Debug "Edit Model" --> Sidebar "Customize Object"
bzr revid: fme@openerp.com-20111207151757-ww6kva60tudecf3l
2011-12-07 16:17:57 +01:00
Fabien Meghazi a464639221 [IMP] Improved debugging infos in sidebar and for debug View#xxx button
bzr revid: fme@openerp.com-20111207145514-s0yisb191841utp6
2011-12-07 15:55:14 +01:00
Fabien Meghazi 43373001a6 [FIX] Removed unused code
bzr revid: fme@openerp.com-20111207143518-mq3dma93nu8khpqx
2011-12-07 15:35:18 +01:00
Vidhin Mehta (OpenERP) 2d61e51473 [merge]merge with main branch.
bzr revid: vme@tinyerp.com-20111207125814-gq5edmjo5upfcofc
2011-12-07 18:28:14 +05:30
Vidhin Mehta (OpenERP) c4655794a1 [fix]fix code.
bzr revid: vme@tinyerp.com-20111207125200-qhcbvs557cjerg4x
2011-12-07 18:22:00 +05:30
Xavier Morel aa93c2ca39 [IMP] hide res.log messages when doing view switches (e.g. edit/save/cancel/whatever)
bzr revid: xmo@openerp.com-20111207110408-qa2lv1mw4oxa3qpa
2011-12-07 12:04:08 +01:00
niv-openerp d30c1d8c4f [imp] changed behavior when clicking on a root menu item wihout dashboard to be more consistent
bzr revid: nicolas.vanhoren@openerp.com-20111207105008-bt3m5vytpb2r06lh
2011-12-07 11:50:08 +01:00
Xavier Morel f3c671cbd8 [ADD] push/pop API for views
lp bug: https://launchpad.net/bugs/900225 fixed

bzr revid: xmo@openerp.com-20111207104503-gcy0gbin36s4uudh
2011-12-07 11:45:03 +01:00
Xavier Morel f16cb14ba1 [ADD] page view
bzr revid: xmo@openerp.com-20111207095005-kycj19uv5gpka6xx
2011-12-07 10:50:05 +01:00
Xavier Morel edcbc3830e [MERGE] trunk
bzr revid: xmo@openerp.com-20111207091404-1zdmhmsnvhveq7c4
2011-12-07 10:14:04 +01:00
Fabien Meghazi a4f6a4d725 [FIX] ViewManager should trigger SearchView#do_search only when it is ready
lp bug: https://launchpad.net/bugs/901070 fixed

bzr revid: fme@openerp.com-20111207090354-y4gr795g6pqx8iv6
2011-12-07 10:03:54 +01:00
Fabien Meghazi 6e33fed3b5 [ADD] Add support for custom arguments in View#do_execute_action
bzr revid: fme@openerp.com-20111206173142-4z2ysaqf456zbcig
2011-12-06 18:31:42 +01:00
Fabien Meghazi b12525e31a [ADD] Added deferred for view manager controllers
bzr revid: fme@openerp.com-20111206140452-m17hb2xb6ef3j4bg
2011-12-06 15:04:52 +01:00