summaryrefslogtreecommitdiff
path: root/odoo/tools
diff options
context:
space:
mode:
authorNidhi Patel <nia@odoo.com>2020-05-22 10:56:41 +0000
committerYannick Tivisse <yti@odoo.com>2020-06-17 13:20:30 +0000
commit0871c10717d641af141973d25e0cddf4cc0c1463 (patch)
tree0b5d93c9e85b4080c58994c3a57076b2303785c5 /odoo/tools
parentdc1bb36d376cac6dd0942f46480a39a20b6303e9 (diff)
[FIX] hr_expense: Fix traceback on access of expense view.
Currently, when a user created with default access rights, but doesn't have employee linked with user then it will generate a traceback because if user is not linked with employee then it will return null so due to that while rednering the template error was generated. So in this commit, fix the treaceback by returning default values if the current user had no employee closes odoo/odoo#53161 Taskid: 2262636 Closes: #51687 X-original-commit: 96de35eda1a8e6e5086eb8221e939f3f737a9a6c Signed-off-by: Yannick Tivisse (yti) <yti@odoo.com>
Diffstat (limited to 'odoo/tools')
0 files changed, 0 insertions, 0 deletions