Commit Graph

28224 Commits

Author SHA1 Message Date
Launchpad Translations on behalf of openerp 838512af0b Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20110401044755-ox0af9npzekocmtk
bzr revid: launchpad_translations_on_behalf_of_openerp-20110402045547-u88jxku3jz7ejycg
bzr revid: launchpad_translations_on_behalf_of_openerp-20110403044009-x9bqq57ukyqvp6ia
bzr revid: launchpad_translations_on_behalf_of_openerp-20110404044757-3uw7ib92gpv7ezu1
bzr revid: launchpad_translations_on_behalf_of_openerp-20110405044706-ew5moemiz1wxra7h
2011-04-05 04:47:06 +00:00
Antony Lesuisse a3718ca395 jquery patch to get stack trace back in webkit
bzr revid: al@openerp.com-20110404200829-61780xapqq043pcr
2011-04-04 22:08:29 +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
Fabien Meghazi e9b3548c11 [ADD] Partial pager in form view
bzr revid: fme@openerp.com-20110404160936-4uk9pywwdbv6qj9f
2011-04-04 18:09:36 +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
Fabien Meghazi 6dd76ea8f6 [FIX] Simplified dataset. Plugged form view.
bzr revid: fme@openerp.com-20110404150619-z8tc382ujdfw89ji
2011-04-04 17:06:19 +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
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
Fabien Meghazi 3cc735cc2c [IMP] Improved date widget styling
bzr revid: fme@openerp.com-20110404090047-yvmbfnnt910b553n
2011-04-04 11:00:47 +02:00
Fabien Meghazi 1c07f1dd53 [FIX] Fix dataset testsuite that I broke in rev #4648
bzr revid: fme@openerp.com-20110404082842-i95u0pg31xj8vy1t
2011-04-04 10:28:42 +02:00
Xavier Morel 05a3ee3b46 [IMP] nicely style search date field (with little calendar icon)
bzr revid: xmo@openerp.com-20110401152833-p4f4r1vecdfkae4i
2011-04-01 17:28:33 +02:00
Xavier Morel b42333b86f [FIX] correctly format result of date picker, otherwise search blows up
bzr revid: xmo@openerp.com-20110401152649-mpjug9jdp4qvap0i
2011-04-01 17:26:49 +02:00
Xavier Morel ac649d5ccc [ADD] date search widget
bzr revid: xmo@openerp.com-20110401151735-hdxo0289ilmik1go
2011-04-01 17:17:35 +02:00
Xavier Morel efbeb7e50d [REF] move custom fields search below normal fields and inputs
bzr revid: xmo@openerp.com-20110401125313-xizmsalj4gf1mjur
2011-04-01 14:53:13 +02:00
Olivier Dony 11e1097c61 [FIX] ir.actions: fixed and documented a bit the function field computing views for actions
The previous implementation had numerous flaws and edge cases where it would
not have any useful result. The new implementation is backwards compatible
with the valid combinations of view_id, view_modes and view_id.
A unique constraint was also added to make sure that it is not possible to
specify multiple views of the same type for the same action. This was never
used, but should be prevented completely so that clients can rely on this
fact. Also a little bit of documentation was added to explain what the field
is doing.

bzr revid: odo@openerp.com-20110401124852-r0i6cclc80acoegj
2011-04-01 14:48:52 +02:00
Xavier Morel f40d778c2e [FIX] some domains and contexts have leading or trailing slashes, need to strip them before evaluation
bzr revid: xmo@openerp.com-20110401094835-k1w7xlgdcyppt7io
2011-04-01 11:48:35 +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
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
Fabien Meghazi 6de5177cf3 [ADD] calendar image
bzr revid: fme@openerp.com-20110331160309-0jybr51uf03ygizh
2011-03-31 18:03:09 +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
Fabien Meghazi 79ce2be95e [IMP] DataSet has no more notion of fields. These are now inherent to the views.
bzr revid: fme@openerp.com-20110331151441-z5xtn0j4kohi72ja
2011-03-31 17:14:41 +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
Xavier Morel 7d1de96569 [IMP] fix a pair of warnings, remove some pointless code in custom filters, use registry
bzr revid: xmo@openerp.com-20110331133117-epdpu0sw18zslstb
2011-03-31 15:31:17 +02:00
Xavier Morel 369278902a [FIX] warnings, trailing commas
bzr revid: xmo@openerp.com-20110331132552-4jjb1mgn5myn1gzh
2011-03-31 15:25:52 +02:00
Xavier Morel b57ca94e49 [IMP] remove fallback in extended search
bzr revid: xmo@openerp.com-20110331132226-95hd2vesl2xe281o
2011-03-31 15:22:26 +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
Xavier Morel 1c39367b54 [IMP] use registry for widgets
Re-introduced 'char' fallback, but other sections (form and search) log an error and proceed blissfully unaware, I should probably do that here

bzr revid: xmo@openerp.com-20110331124127-4dfjdxv5ottlb4vo
2011-03-31 14:41:27 +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 651e311119 [FIX] add correct toString for KeyNotFound and ObjectNotFound
bzr revid: xmo@openerp.com-20110331122018-kd6oz5942pvd6bgu
2011-03-31 14:20:18 +02:00
Xavier Morel 1acde8ff13 [IMP] move operators to field classes, add datetime field stub
bzr revid: xmo@openerp.com-20110331120627-yu28osuqd0r568i1
2011-03-31 14:06:27 +02:00
Fabien Meghazi 3180df7f6c [FIX] Wrong result variable used for fields
bzr revid: fme@openerp.com-20110331120515-ugge893xkjmhoflf
2011-03-31 14:05:15 +02:00
Xavier Morel a95012dea9 [IMP] simplify templates a bit, rename set_selected to select_field for clarity
bzr revid: xmo@openerp.com-20110331120010-vsxxmo1ec4mtstac
2011-03-31 14:00:10 +02:00
Xavier Morel 8bd00f390e [FIX] not (ilike) is (not ilike), not (not like)
bzr revid: xmo@openerp.com-20110331113610-e0wjfbcterqmx30h
2011-03-31 13:36:10 +02:00
Xavier Morel f86d1acc51 [FIX] don't needlessly prevent events from bubbling
bzr revid: xmo@openerp.com-20110331113545-ig0kcaxzi8x2g4c1
2011-03-31 13:35:45 +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
Xavier Morel 878df7ff9d [IMP] use registry object for search view
bzr revid: xmo@openerp.com-20110331104012-6etgbo83b528wziv
2011-03-31 12:40:12 +02:00
Xavier Morel e5466507ec [ADD] Registry object to record extensible mappings of objects (e.g. views or widgets)
bzr revid: xmo@openerp.com-20110331102023-iovd7s7ktk6zgb45
2011-03-31 12:20:23 +02:00
Xavier Morel ab3a266640 [FIX] typo in object path
bzr revid: xmo@openerp.com-20110331101636-8m9sx42byclm8vgm
2011-03-31 12:16:36 +02:00