Commit Graph

13 Commits

Author SHA1 Message Date
Christophe Simonis 98c1a82e68 [FIX] mail, share: correct module update.
a6eac0f08e introduced a new `res.groups`
belonging to the "Sharing" category.
As this group has the flag `shared`, it is ignore when generating the
group's user view (and its virtual fields).

When updating `mail` module, the `share` module (which depend on mail)
is not loaded yet. This mean this new group is taken into account when
getting the `res.users` virtual fields.
As this group belong to the same category as the `share.group_share_user`
group but dont have an inheritance link between them (`implied_ids`),
they are generated as `boolean` instead of a single entry `selection`
field. This create a missmatch between the fields and the previously
generated view, which forbid inheritance application.

Force view regeneration, to avoid it.

Also change the group's category as this group is purely technical and
must be hidden anyway.
2015-03-17 19:29:54 +01:00
Denis Ledoux a6eac0f08e [FIX] share: share feature compatibility with Odoo 8.0
Since rev. 1ce0b70a02, ir.ui.menu
was readable for employees and portal users only

Since rev. 74aa7406bf, the navigation menus
were displayed for employees and portal users only.

Therefore, when sharing a record with the share feature, nothing was
displayed when following the link.

This rev. introduces a new group "Shared group", implied for all shared groups
created through the share feature.
Read access to menus is given to this group
The possibility to display the webclient navigation menus as well.
2015-02-06 14:01:59 +01:00
Alexis de Lattre 5101771cd9 Harmonize the noupdate flag on security XML files :
- ir.rule objects are noupdate="1"
- all other objects are noupdate="0"

bzr revid: alexis@via.ecp.fr-20120713170838-pjsysliyt6twazrc
2012-07-13 19:08:38 +02:00
Raphael Collet ba1454149c [IMP] groups: remove auto-inclusion of admin in groups, and make the inclusion explicit in groups
bzr revid: rco@openerp.com-20120404090830-nteimn2kvz8nkk7h
2012-04-04 11:08:30 +02:00
Raphael Collet 00fbd705f6 [IMP] sale, sale_crm, share, stock: add group categories
bzr revid: rco@openerp.com-20111212141131-5yhvgd2pjx60seo1
2011-12-12 15:11:31 +01:00
Olivier Dony 2fc274eced [IMP] portal,share: moved option for group share to portal module + existing users option. Fixed obj1/2/3 classes to skip obj0 during processing of relationships.
bzr revid: odo@openerp.com-20110617092305-2c55z5hs2uickv5o
2011-06-17 11:23:05 +02:00
Olivier Dony aa2285d3a0 [IMP] share: add optional message, simplify screens, auto-send email
bzr revid: odo@openerp.com-20110614110718-b1g040q5mk17htrj
2011-06-14 13:07:18 +02:00
Olivier Dony e9ef1c6ab6 [IMP] share: renamed extended group for usability
bzr revid: odo@openerp.com-20110601130745-isgkoo68eufckon4
2011-06-01 15:07:45 +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
rpa (Open ERP) 6caca89f87 [IMP]: Moved reference of demo user from *_security.xml to demo file
bzr revid: rpa@tinyerp.com-20101119102525-8gyj1gmm1w29rwxu
2010-11-19 15:55:25 +05:30
aag (OpenERP) eeaa68471d [IMP] IN ALL: the demo user should be in all applications name user groups, Task id: 1771
bzr revid: aag@tinyerp.co.in-20101111131855-v07piwfyp33wlmng
2010-11-11 18:48:55 +05:30
rpa (Open ERP) 2ca04d347f [ADD,REM,IMP]: hr_payroll_account, share, crm_profiling: Improvements for security warnings
bzr revid: rpa@tinyerp.com-20101020122032-3zxovx028cpm093g
2010-10-20 17:50:32 +05:30
Olivier Dony ad15fa3385 [IMP] share: much more complete implementation of share wizard, pending some improvements + web widget creation
bzr revid: odo@openerp.com-20101017051319-p4xi0epaqmgvwdmr
2010-10-17 07:13:19 +02:00