summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js/framework/session_instance.js
diff options
context:
space:
mode:
authorDenis Vermylen (dve) <dve@odoo.com>2016-11-28 12:05:42 +0100
committerDenis Vermylen (dve) <dve@odoo.com>2016-11-28 14:50:15 +0100
commita82055c9110ba0737cfdd477535397879a851c68 (patch)
tree0334d0b4345f7e9a72f362103899735fef59b2ec /addons/web/static/src/js/framework/session_instance.js
parentbdf630f9b89a3d47c3826dac6fe9a04e6aa701d5 (diff)
[FIX] hr_*: Make button box visible to employees
The employee form view button box should be enabled for employees, it's up to each button in their respective modules to define more restrictive groups, and in fact they already do (see hr_holidays, hr_timesheet_sheet, hr_contract ...) For example, hr_holidays adds the "Leaves left" smart button which is supposed to be visible for employees looking at their own profile, but it was actually hidden because they couldn't see the entire buttonbox. Also added fixes to buttons that came afterwards and relied on this behavior. fix for https://github.com/odoo/odoo/pull/14164
Diffstat (limited to 'addons/web/static/src/js/framework/session_instance.js')
0 files changed, 0 insertions, 0 deletions