diff options
| author | Barad Mahendra <mba@openerp.com> | 2017-10-11 12:46:23 +0530 |
|---|---|---|
| committer | Yannick Tivisse <yti@odoo.com> | 2017-12-21 15:09:50 +0100 |
| commit | b1402c6ad51af7e76302605e6892684dcb6cd52c (patch) | |
| tree | 94e0a223cc0ff4fea11b0228e1b02905152e22dd /addons/web/static/src/js/views/basic/basic_model.js | |
| parent | aed97f40426a0f777f98247566b15504c12b2c59 (diff) | |
[FIX] resource: Allow 'Access Rights' users to create companies
Purpose
=======
A 'Access Rights' (group_erp_manager) user can create a company
A 'Settings' (group_system) user can create a resource.calendar
With the resource module, if a resource.calendar is not set on the new company values, a default one is create.
As the 'Access Rights' user can create a company, but can't create a resource calendar, this should be done with sudo.
Diffstat (limited to 'addons/web/static/src/js/views/basic/basic_model.js')
0 files changed, 0 insertions, 0 deletions
