Commit Graph

16 Commits

Author SHA1 Message Date
Antony Lesuisse 9ad770a2da [MERGE] xmo viewmanager
bzr revid: al@openerp.com-20110404112535-pa3ss7ymj6mr97r1
2011-04-04 13:25:35 +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 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
Antony Lesuisse 0d9a590970 [MERGE] fme viewmanager updates
bzr revid: al@openerp.com-20110331172258-vzrkxqeo4rk2lsvx
2011-03-31 19:22:58 +02:00
Fabien Meghazi 6910a9c19a [ADD] Activated simple datepicker on date field
bzr revid: fme@openerp.com-20110331160323-opcovdlczzi6ugxs
2011-03-31 18:03:23 +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 359e2443d4 [IMP] use Registry in forms
bzr revid: xmo@openerp.com-20110331105751-aib329cpnpigbpu3
2011-03-31 12:57:51 +02:00
Fabien Meghazi e74ff91f19 [ADD] Put form widgets in instance.base.form{}
bzr revid: fme@openerp.com-20110331082838-d27ekbdfjtfahsmo
2011-03-31 10:28:38 +02:00
Xavier Morel 9979c52ac6 [FIX] warnings
bzr revid: xmo@openerp.com-20110331080335-u3vxmxr2cn7vx3nf
2011-03-31 10:03:35 +02:00
Antony Lesuisse c7e2d214ad renames part6 partially working
bzr revid: al@openerp.com-20110330143556-yogu79hyy5oojdvq
2011-03-30 16:35:56 +02:00
Antony Lesuisse dcb9634cea renames part4
bzr revid: al@openerp.com-20110330140048-qm5m28ns44hkqzvn
2011-03-30 16:00:48 +02:00
Antony Lesuisse 561070589e renames part2
bzr revid: al@openerp.com-20110330135909-7vrkihfqubcg9tmz
2011-03-30 15:59:09 +02:00
Antony Lesuisse 2283e03546 reorganize directories
bzr revid: al@openerp.com-20110330135619-9lcvg2mijzxud8gr
2011-03-30 15:56:19 +02:00