summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js/views/basic/basic_controller.js
diff options
context:
space:
mode:
authorJérome Maes <jem@odoo.com>2019-05-22 13:53:43 +0000
committerJulien Castiaux <juc@odoo.com>2019-05-22 14:37:50 +0000
commit937d929b74163c4061e75ab28d439accf0e831da (patch)
tree1635881a6033ac4a7b460b35a0c298c430cda182 /addons/web/static/src/js/views/basic/basic_controller.js
parentd92e0cb1cf0e8697fc7dddbf307bd8181e491b34 (diff)
[FIX] sale_timesheet: allow billing user in journal entries
Since a timesheet is an analytic line, access rights are mixed for timesheet manager and billing user, when hr_timesheet is installed. Group mecanism use logical 'OR' between none global rules, so timesheet access restrict the one of billing user. The ir.rule of sale_timesheet tries to restore the access of billing user (which can thus modified timesheet. This point is unfixable, unfortunately). This commit completely restore (even for 'read' access) the rule for billing user, otherwise such user can not validate an invoice if they are timesheet user. opw-2001421 closes odoo/odoo#33575 Signed-off-by: Jérome Maes (jem) <jem@openerp.com>
Diffstat (limited to 'addons/web/static/src/js/views/basic/basic_controller.js')
0 files changed, 0 insertions, 0 deletions