Commit Graph
28264 Commits
Author SHA1 Message Date
Raphael Collet 5b75e199db add portal widgets; they are automatically assigned to users
bzr revid: rco@openerp.com-20110406102534-lutdafmi2vq6uqj1
2011-04-06 12:25:34 +02:00
Raphael Collet f138d76a03 add wizard to add/remove groups to portal users
bzr revid: rco@openerp.com-20110405101712-knepwhu9b0c3vlaj
2011-04-05 12:17:12 +02:00
Raphael Collet 351710fd13 override name_get() and name_search() for portal
bzr revid: rco@openerp.com-20110405085409-eorzrv74iqrlqzxd
2011-04-05 10:54:09 +02:00
Raphael Collet 0be36d2a4d [MERGE] trunk changes
bzr revid: rco@openerp.com-20110404125418-z77911bfushx5h72
2011-04-04 14:54:18 +02:00
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
Raphael Collet b1dfe50e3f remove portal name, and use the group name instead
bzr revid: rco@openerp.com-20110404113036-rqa2bv4c1pz2rt6r
2011-04-04 13:30:36 +02:00
Antony Lesuisse 9ad770a2da [MERGE] xmo viewmanager
bzr revid: al@openerp.com-20110404112535-pa3ss7ymj6mr97r1
2011-04-04 13:25:35 +02:00
Raphael Collet cb2137c5da add group to created menuitem, and bug fix in call to write()
bzr revid: rco@openerp.com-20110404090535-o0gzcakbo7f7z4t7
2011-04-04 11:05:35 +02:00
Raphael Collet 3a65fdf1f1 rename and improve create_parent_menu()
bzr revid: rco@openerp.com-20110404084550-s3cb11pged5hk3x8
2011-04-04 10:45:50 +02:00
Raphael Collet 59c12749e0 user interface cleanup
bzr revid: rco@openerp.com-20110404081403-puhk9066y2qdvlxb
2011-04-04 10:14:03 +02:00
Raphael Collet 509044d5bd fix __openerp__.py, 'web':True is wrong because there is no web stuff
bzr revid: rco@openerp.com-20110401134003-cb3s1zfl0c8a02q0
2011-04-01 15:40:03 +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
Raphael Collet 42e0b9e9b8 [MERGE] trunk changes
bzr revid: rco@openerp.com-20110401091952-10uqumzq7wmtmpdb
2011-04-01 11:19:52 +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
Raphael Collet e3fb801e9e update the users list when the group changes
bzr revid: rco@openerp.com-20110401080620-hxumvekj26qgpb2k
2011-04-01 10:06:20 +02:00
Raphael Collet 7dbc2ba0b4 change model: use one group to define portal users
bzr revid: rco@openerp.com-20110401074039-37rycjq90ryhbfv4
2011-04-01 09:40:39 +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