-
- Downloads
[FIX] hr_expense: add employee_id to expense list on expense sheet form
Issue:
On expense sheet form:
- Choose an employee not like current user.
- Create an expense from expense list.
- Edit expense list and save expense sheet.
=> Error: "You cannot add expenses of another employee."
Purpose:
- Expense list has not `employee_id`.
- When save form, `employee_id` on expense list is current user.
Solution:
- Add `employee_id` on expense list.
closes odoo/odoo#109399
Signed-off-by:
Kevin Baptiste <kba@odoo.com>