Skip to content
Snippets Groups Projects
Commit bc421407 authored by Touati Djamel (otd)'s avatar Touati Djamel (otd)
Browse files

[FIX] hr_expense: fix the approval of multiple expense sheet


Steps to reproduce the bug:
- Go to Expenses > Expense Reports to approve
- Select expense reports with different managers
- Click on the Action drop-down button > Approve report

Problem:
Traceback is triggered because we try to access `"self.user_id"` (manager) of expenses as a single element,
While we have several `”user_id”`

Solution:
- Filter the `"hr.expense.sheet"` which must be approved
- Approve each expense separately

opw-2622837

closes odoo/odoo#75093

Signed-off-by: default avatarDjamel Touati <DjamelTouati@users.noreply.github.com>
parent 81bd6a58
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