summaryrefslogtreecommitdiff
path: root/addons/web/static/tests
diff options
context:
space:
mode:
authorjem-odoo <jem@openerp.com>2019-06-06 06:57:36 +0000
committerjem-odoo <jem@openerp.com>2019-06-06 09:28:22 +0000
commit8a1037df67c76de055d8caa6db4223a1c8ed69cf (patch)
tree58d20da4164423818d10476d501a79b4f49fe5c6 /addons/web/static/tests
parent20f3290eab2bb8044fcddc4111f7206e57f05c24 (diff)
[FIX] sale_timesheet: SO line editable only for salesman
This commit makes the sale line field on task editable and clickable only for salesperson. As task can be read by any employee (depending on project visibility), a non salesman user can see the 'name_get' of the sale line, but get an access error when clicking on it. This fix duplicate the field and only display the correct version (editable or readonly) according to current user access rights. Task-1999673 closes odoo/odoo#33320 Signed-off-by: Jérome Maes (jem) <jem@openerp.com>
Diffstat (limited to 'addons/web/static/tests')
0 files changed, 0 insertions, 0 deletions