Olivier Dony
085bf6d02f
[FIX] share: share users with multi-shares should keep same home action
...
Previously they were assigned the generic menu as home action
but that is not very relevant because it does not contain their
shortcuts most of the time, and also this breaks the web client
in v6.0 as it does not support the Menu as home action.
bzr revid: odo@openerp.com-20110505170720-k0p7pjfkyadzc4pg
2011-05-05 19:07:20 +02:00
Olivier Dony
17eb9f1997
[FIX] share: use empty domain for shared actions, as ir.rules do enforce the filtering.
...
We must not use a normal domain for the shared action,
because it may be constructed with records the user may
not see (e.g. sharing tasks from a certain project does
not give right to see the project itself.)
Evaluating the domain of an action requires rights that
the user will not have. Moreover, this is useless because
ir.rules are created with each share access to filter
appropriately the records, and they are evaluated as
root user without risk of failed access right.
bzr revid: odo@openerp.com-20110505170623-62zlf9mchq5zvqw2
2011-05-05 19:06:23 +02:00
Olivier Dony
ae4d224302
[FIX] share: multi-sharing with an empty filter was not working
...
An empty share filter should be translated as a dummy ir.rule
to make sure it is properly combined with other rules after
multiple shared access are granted to the same user.
bzr revid: odo@openerp.com-20110505170525-obqif2mxnsod5mvo
2011-05-05 19:05:25 +02:00
Olivier Dony
0870f6e3d5
[FIX] share: avoid crash in web addon with empty share filter
...
bzr revid: odo@openerp.com-20110505170312-zft5wiszaxng8n6q
2011-05-05 19:03:12 +02:00
Olivier Dony
3cd35d5586
[FIX] share: web: fix share icon position for form views
...
bzr revid: odo@openerp.com-20110412000512-yanrte303scj0ort
2011-04-12 02:05:12 +02:00
Olivier Dony
3b5aa70813
[FIX] share: typo
...
bzr revid: odo@openerp.com-20110411235216-3tij6tlw7064dn7s
2011-04-12 01:52:16 +02:00
Olivier Dony
7373327366
[IMP] portal: missing access rights
...
bzr revid: odo@openerp.com-20110411090222-i8heuh5lgp2e3eju
2011-04-11 11:02:22 +02:00
Olivier Dony
d3974cfc84
[IMP] share: bumped up version to reflect latest changes
...
bzr revid: odo@openerp.com-20110408224423-obhcg3upj37dbpvl
2011-04-09 00:44:23 +02:00
Olivier Dony
b078bf4dbe
[IMP] portal: put shared menus at 3rd level instead of 2nd for web
...
bzr revid: odo@openerp.com-20110408224104-s1ta5fjs0rxmn0km
2011-04-09 00:41:04 +02:00
Olivier Dony
c4928562da
[IMP] portal: implement global menu filter for portal users
...
This is necessary with web client 6.0 which does not respect the
menu_action that can be set on users.
bzr revid: odo@openerp.com-20110408215726-k3d68u5s6pcgewvz
2011-04-08 23:57:26 +02:00
Olivier Dony
006f8bae78
[FIX] portal: corrected access rights
...
bzr revid: odo@openerp.com-20110408215551-ihu5y5qpfm7ist1t
2011-04-08 23:55:51 +02:00
Olivier Dony
0a6b44e6ca
[IMP] portal: inherit share wizard to auto-create the menu
...
bzr revid: odo@openerp.com-20110408150951-q41mksjz1khb5zp8
2011-04-08 17:09:51 +02:00
Olivier Dony
b1bd44df42
[FIX] portal: error during portal creation
...
bzr revid: odo@openerp.com-20110408150934-syexdxv49u573m61
2011-04-08 17:09:34 +02:00
Olivier Dony
84d5cf2189
[ADD] portal: manager group and access rights
...
bzr revid: odo@openerp.com-20110408141558-bw97q3lztrxwl2rn
2011-04-08 16:15:58 +02:00
Olivier Dony
e165096efd
[MERGE] merged RCO portal branch, including more recent trunk
...
bzr revid: odo@openerp.com-20110408133800-ts9t3tne7ixm09gz
2011-04-08 15:38:00 +02:00
Olivier Dony
6922668a77
[IMP] share: improved shared wizard
...
New features: can share to groups if user has "Share / User (Extended)"
group. Warning message if user does not have email and cannot share by
email. Names of sharing groups are now hidden in ORM access denied messages.
Better error reporting.
UI: more user-friendly labels, titles. More visibible button in web client.
Bugfixes: better handling of sharing objects with _inherits, can combine
ir.rules if already exist for same (object,group). Button is now hidden
in web client if user is not in "Share/User" group.
bzr revid: odo@openerp.com-20110408133608-vmdrzfeo0dz28wer
2011-04-08 15:36:08 +02:00
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