diff options
| author | Goffin Simon <sig@odoo.com> | 2018-07-25 16:28:48 +0200 |
|---|---|---|
| committer | Goffin Simon <sig@odoo.com> | 2018-07-26 10:34:06 +0200 |
| commit | 418e1460544334d9c74e1261095cba29f359758a (patch) | |
| tree | f45ff00c1588111b2b98fbb59d3bf6e198947b7d /addons/web/static/src/js/fields/basic_fields.js | |
| parent | 8198fb64739a4585adea07ea1675b37512c5e527 (diff) | |
[FIX] sale_timesheet: Leaves manager Access error
When validating a leaves request with a user which is
in group group_hr_holidays_manager(Leaves Manager) and
group_account_invoice (Accounting & Finance Billing), it raised an
access error because the function _validate_leave_request
tried to create an analytic line with a project_id.
Without the rule account_analytic_line_rule_billing_user added by this
commit: https://github.com/odoo/odoo/commit/81218a8, a user which was
in group group_hr_holidays_manager and group_account_invoice had the rights
to validate a leaves request.
opw:1866243
Diffstat (limited to 'addons/web/static/src/js/fields/basic_fields.js')
0 files changed, 0 insertions, 0 deletions
