Commit Graph

56 Commits

Author SHA1 Message Date
Xavier Morel fa02db060d [FIX] don't send a domain called 'false' if the action has no domain...
bzr revid: xmo@openerp.com-20110412074529-ganfpzhailq2k1zs
2011-04-12 09:45:29 +02:00
Xavier Morel ef9880931c [FIX] add the action's context to the search contexts as well
bzr revid: xmo@openerp.com-20110412072750-8338yfl549glz5wz
2011-04-12 09:27:50 +02:00
Xavier Morel 8fb463acae [FIX] don't forget the action's domain when performing a search
bzr revid: xmo@openerp.com-20110412072356-gcbuv9ybi6ohx9uz
2011-04-12 09:23:56 +02:00
Antony Lesuisse a2c60d598c controller rework based on niv widget and xmo registry part1
bzr revid: al@openerp.com-20110410001222-pxar6n4szuy1zvzv
2011-04-10 02:12:22 +02:00
Antony Lesuisse 39c554b192 [MERGE] niv sidebar action
bzr revid: al@openerp.com-20110409201421-9dk19e0jbt25oh9b
2011-04-09 22:14:21 +02:00
niv-openerp 66a79b7e3f [MERGE]
bzr revid: nicolas.vanhoren@openerp.com-20110408161023-barazui14iowxptr
2011-04-08 18:10:23 +02:00
niv-openerp 29ed9f9be3 [IMP] Action wip - popup is working.
bzr revid: nicolas.vanhoren@openerp.com-20110408152508-5mes2key0yzq9avq
2011-04-08 17:25:08 +02:00
Xavier Morel 6da197456f [FIX] warnings & stuff, unbreak unlink notification on dataset
bzr revid: xmo@openerp.com-20110408103736-i8kju5dippuw9af4
2011-04-08 12:37:36 +02:00
Fabien Meghazi 16b7ad769f [FIX] Use deffered for views#do_show()
bzr revid: fme@openerp.com-20110407133644-7dzjpg761cibudmi
2011-04-07 15:36:44 +02:00
niv-openerp 3b4a87a731 [IMP] wip
bzr revid: nicolas.vanhoren@openerp.com-20110407124518-sp9rn78cdvapngmx
2011-04-07 14:45:18 +02:00
niv-openerp c8e100f8cd [MERGE]
bzr revid: nicolas.vanhoren@openerp.com-20110407101319-5axkyl54kts7u7n4
2011-04-07 12:13:19 +02:00
niv-openerp 0cab8e6972 [IMP] Actions handling wip
bzr revid: nicolas.vanhoren@openerp.com-20110407095912-r6cqswx9pvo684ek
2011-04-07 11:59:12 +02:00
Antony Lesuisse a65ac8c709 dataset split, crashmanager
bzr revid: al@openerp.com-20110406211037-uzn3n0uravuy900q
2011-04-06 23:10:37 +02:00
niv-openerp 448e551276 [FIX] typo
bzr revid: nicolas.vanhoren@openerp.com-20110406152615-0s00pfvbl8mhjb8x
2011-04-06 17:26:15 +02:00
niv-openerp a7db336065 [IMP] Changed way the sidebar is created.
bzr revid: nicolas.vanhoren@openerp.com-20110406144751-or0o86gvqe5sa21h
2011-04-06 16:47:51 +02:00
Antony Lesuisse d85a600824 split viewmanager and dataset
bzr revid: al@openerp.com-20110406005136-6w992t10sr2588c6
2011-04-06 02:51:36 +02:00
niv-openerp b933b7129f [FIX] Css problems with sidebar.
bzr revid: nicolas.vanhoren@openerp.com-20110405125944-8l2kzfn2qlvrrydr
2011-04-05 14:59:44 +02:00
Antony Lesuisse 6d0da8ce13 [MERGE] niv sidebar
bzr revid: al@openerp.com-20110405122047-n9xlbtsi10owtzxm
2011-04-05 14:20:47 +02:00
niv-openerp 240ba15e22 [IMP] Implemented theorical handling of sidebar actions.
bzr revid: nicolas.vanhoren@openerp.com-20110405110210-4dhwdydxh1ttik1k
2011-04-05 13:02:10 +02:00
Antony Lesuisse 788121150d o2m viewmanager split setup
bzr revid: al@openerp.com-20110405102440-5tpyzjphdwlx9yi5
2011-04-05 12:24:40 +02:00
niv-openerp df3257a741 [MERGE]
bzr revid: nicolas.vanhoren@openerp.com-20110404160926-f1uwddcknsezvamr
bzr revid: nicolas.vanhoren@openerp.com-20110405101739-iubtgou4lrnftmi2
2011-04-05 12:17:39 +02:00
Antony Lesuisse 3b3b7009bb o2m viewmanager reorder
bzr revid: al@openerp.com-20110405101008-ym8ssk6gem0lsf96
2011-04-05 12:10:08 +02:00
Antony Lesuisse 9cccfd1350 o2m part1
bzr revid: al@openerp.com-20110405100450-afm9b23vdyfwbfis
2011-04-05 12:04:50 +02:00
Fabien Meghazi 70b995bb54 [ADD] Added do_show & do_hide in other views
bzr revid: fme@openerp.com-20110405081134-gavp25ezsqfrc63d
2011-04-05 10:11:34 +02:00
Antony Lesuisse f59a134519 cosmetic changes, remove debug div
bzr revid: al@openerp.com-20110404195216-mp01qygi4er4k9yh
2011-04-04 21:52:16 +02:00
niv-openerp 26951a725e [IMP] Sidebar wip
bzr revid: nicolas.vanhoren@openerp.com-20110404160813-kxfvmj5bn6giuwei
2011-04-04 18:08:13 +02:00
Antony Lesuisse 04969e8bf1 base_diagram
bzr revid: al@openerp.com-20110404155209-muckezl9xvm8ocxl
2011-04-04 17:52:09 +02:00
Fabien Meghazi 345496d9a3 [ADD] Added do_show and do_hide in views
bzr revid: fme@openerp.com-20110404153426-2vlz4n0s4v69b5o5
2011-04-04 17:34:26 +02:00
niv-openerp 00188c2980 [MERGE]
bzr revid: nicolas.vanhoren@openerp.com-20110404142640-bgdhe7jcwdug4qq2
2011-04-04 16:26:40 +02:00
niv-openerp 19a8432167 [IMP] Added populate sidebar.
bzr revid: nicolas.vanhoren@openerp.com-20110404134705-rmzbxlobntfoblub
2011-04-04 15:47:05 +02:00
Antony Lesuisse 1865a1dae0 typo
bzr revid: al@openerp.com-20110404113803-hme1ls2rxahxa64w
2011-04-04 13:38:03 +02:00
Antony Lesuisse 9ad770a2da [MERGE] xmo viewmanager
bzr revid: al@openerp.com-20110404112535-pa3ss7ymj6mr97r1
2011-04-04 13:25:35 +02:00
niv-openerp 63bf45372b [IMP] Initialisation of the sidebar.
bzr revid: nicolas.vanhoren@openerp.com-20110401121042-abg9zo1ldgwde0ht
2011-04-01 14:10:42 +02:00
Xavier Morel f880ecb5d9 [FIX] race condition on auto_search due to desynchronized loading of search view and {any default main view}
If loading of search view completes before loading of content view, do_search is immediately called on search view and forwarded to content view which is *not* ready yet and therefore blows up.

Solved by having start() methods return a promise object (or a non-promise object taken as a fulfilled promise) which the viewmanager can use (from both search view and initial content view) to synchronize when both are ready and it's possible to start a search

bzr revid: xmo@openerp.com-20110401115005-inceqsj7qn4k3b8e
2011-04-01 13:50:05 +02:00
Xavier Morel 0a5a8cd81a [IMP] show and hide search view based on whether the currently displayed view is searchable
Note: searchability is *opt-out*, a view is searchable until it unambiguously states 'do not search me'

bzr revid: xmo@openerp.com-20110401104500-n7g6so01xb8oow3n
2011-04-01 12:45:00 +02:00
Antony Lesuisse 96e08cf3d1 action handling proposal
bzr revid: al@openerp.com-20110401104454-djtm0728azy66g76
2011-04-01 12:44:54 +02:00
Xavier Morel a806fe63cc [ADD] fake views init in order to check the views are correctly instantiated
bzr revid: xmo@openerp.com-20110401094030-jysoq5gj9k20ulrd
2011-04-01 11:40:30 +02:00
Xavier Morel 52fb7adc66 [IMP] reverse logic for handling view-switching buttons so it's more efficient and straightforward
bzr revid: xmo@openerp.com-20110401091117-v2q0s57qp2xny7cx
2011-04-01 11:11:17 +02:00
Xavier Morel de1912d2a1 [IMP] enabling/disabling of switcher buttons on view switch
bzr revid: xmo@openerp.com-20110401090653-jr21w79p5e5pdfts
2011-04-01 11:06:53 +02:00
Xavier Morel 11bdbfef5c [MERGE] view manager redo from proto-61
Full of timing bugs ;_;

bzr revid: xmo@openerp.com-20110401090249-kxp4xkm92sqkxu1e
2011-04-01 11:02:49 +02:00
Xavier Morel baf8d2d9a9 [IMP] server behavior fix: split tree view mode into tree and list based on view_type, nuke view_type
bzr revid: xmo@openerp.com-20110331152531-cpff6js0k8v4dtk9
2011-03-31 17:25:31 +02:00
Xavier Morel 16d580a573 [FIX] generify view management using a registry
bzr revid: xmo@openerp.com-20110331145432-qg0kigi1xtgxvk1i
2011-03-31 16:54:32 +02:00
Fabien Meghazi 4d76991c55 [FIX] Search is now done by the view and not by the viewmanager
bzr revid: fme@openerp.com-20110331144422-34wmf2bauc0lmz7d
2011-03-31 16:44:22 +02:00
Xavier Morel 95bd1d1237 [IMP] have action manager correctly stop the view manager
bzr revid: xmo@openerp.com-20110331134346-bn5fuq62ypcjs0fz
2011-03-31 15:43:46 +02:00
Fabien Meghazi f64b7d3b8c [IMP] Lazy loading of views
bzr revid: fme@openerp.com-20110331132058-w6g87wsxof3kyiqv
2011-03-31 15:20:58 +02:00
Fabien Meghazi 911af887b9 [IMP] do_action really switch to first view in sequence
bzr revid: fme@openerp.com-20110331123519-uk4pkd5azix545ji
2011-03-31 14:35:19 +02:00
Fabien Meghazi 4722165efb [REM] Removed wrong action reference in action manager
bzr revid: fme@openerp.com-20110331122542-gnlxfg2unxvlqut8
2011-03-31 14:25:42 +02:00
Fabien Meghazi 7fed892684 [ADD] retain currently activated view
bzr revid: fme@openerp.com-20110331122522-3v7coio2wpnzsszn
2011-03-31 14:25:22 +02:00
Xavier Morel 9979c52ac6 [FIX] warnings
bzr revid: xmo@openerp.com-20110331080335-u3vxmxr2cn7vx3nf
2011-03-31 10:03:35 +02:00
Antony Lesuisse affa119a48 playing with folding part2
bzr revid: al@openerp.com-20110330235743-7if1cog3dafmjtve
2011-03-31 01:57:43 +02:00