summaryrefslogtreecommitdiff
path: root/addons/mail/static/src/models/thread_cache
diff options
context:
space:
mode:
authorXavier BOL (xbo) <xbo@odoo.com>2021-01-21 16:58:41 +0000
committerXavier BOL (xbo) <xbo@odoo.com>2021-01-22 08:26:07 +0000
commitd63614035c84d0c0ab564102c65541d1b2b08277 (patch)
tree7790357e235b4c52727d4bacdce7baaf408deadd /addons/mail/static/src/models/thread_cache
parent342dd5ffb8281cb5c37fea4fb96db2b570c30122 (diff)
[FIX] sale_timesheet: review views inherited from project.task model
Before this commit, when the user with no access right to Timesheet App wants to see the tasks in a project and sale_timesheet module is installed, the user has a traceback saying remaining_hours field is not find in the parent view of `sale_timesheet.view_task_form2_inherit_sale_timesheet`. This traceback is raised because the `hr_timesheet.view_task_form2_inherited` is not used if the user has no access right to Timesheet App and then remaining_hours field is not defined for this user because this field is appeared in the view in hr_timesheet module. This commit revises the views inherited from the project.task model to give the user without access rights in Timesheet the possibility to see the tasks in any project he can see. opw-2429662 closes odoo/odoo#64900 Signed-off-by: Simon Goffin (sig) <sig@openerp.com>
Diffstat (limited to 'addons/mail/static/src/models/thread_cache')
0 files changed, 0 insertions, 0 deletions