diff options
| author | jem-odoo <jem@openerp.com> | 2019-06-06 06:57:36 +0000 |
|---|---|---|
| committer | jem-odoo <jem@openerp.com> | 2019-06-06 09:28:22 +0000 |
| commit | 8a1037df67c76de055d8caa6db4223a1c8ed69cf (patch) | |
| tree | 58d20da4164423818d10476d501a79b4f49fe5c6 /addons/web/static/src | |
| parent | 20f3290eab2bb8044fcddc4111f7206e57f05c24 (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/src')
0 files changed, 0 insertions, 0 deletions
