diff options
| author | Thibault Delavallée <tde@openerp.com> | 2013-03-18 13:09:05 +0100 |
|---|---|---|
| committer | Thibault Delavallée <tde@openerp.com> | 2013-03-18 13:09:05 +0100 |
| commit | 027c419181c2287a640b51ed6d4f4a41797ccdf8 (patch) | |
| tree | 6cb93fd23bc44411ad1df71d7410a00a3f233d3b /addons/analytic_user_function | |
| parent | 8e3ba8e34eadc1e7e9aee8534f34227f0b350790 (diff) | |
| parent | 7602819aa36d19491c14f7951e970f87ba0f0936 (diff) | |
[MERGE] 'Invite & Quick Create User' update. The server branch holds in res_users.create() the support of key in context, allowing to put xml_ids of user groups in the context of relational fields linking to res.users. The purpose of this modification is to quick-create users that will have the access rights related to the functional meaning of the field. For example creating an user in the 'Responsible' field of a task should add him in the group related to project management.
Example of use : <field name="user_id" string="Project Manager" context="{'default_groups_ref': ['base.group_user', 'project.group_project_manager']}"/> will add Employee (base.group_user) and Project Manager (project.group_project_manager) groups, as well as implied groups.
res_users:
- [add] added support of key in context of default_get. It contains a list of xml_ids of user groups; those groups, if found, are added to the newly created user,
- [ref] refactored simplified (quick create) view that is now more like a contact card, with login and email required because of the login email that will be send to the user
bzr revid: tde@openerp.com-20130318120905-1w9xpoyppnj62wlj
Diffstat (limited to 'addons/analytic_user_function')
0 files changed, 0 insertions, 0 deletions
