Skip to content
Snippets Groups Projects
Commit 7bcd64c5 authored by flvr-odoo's avatar flvr-odoo
Browse files

[FIX] hr_expense: prevent linking of expense with no perm


Previously, a user could link his own expenses to a expense sheet
of someone else.

This would not be allowed upon creation but was allowed when updating
the values of the expense.

This commit add a simple check at the beginning of the write()

closes odoo/odoo#120008

Signed-off-by: default avatarVranckx Florian (flvr) <flvr@odoo.com>
parent 8aefb386
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment