From 00d0789bd9d5147c39bd7d4fd42d042efb0fb68b Mon Sep 17 00:00:00 2001 From: MaxLarue Date: Thu, 6 Jun 2019 07:47:51 +0000 Subject: [PATCH] [IMP] hr_expense: reduce employee visibility on report creation MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit When creating or editing an expense report, we have to select the corresponding expenses. Since it is constrained that these expenses belong to the same employee as the one from the report, it is not practical to see other expenses in the dialog when adding them. This commit extend the domai of the field in the expense report form so that it doesn't show expenses from other employees. task #1999537 closes odoo/odoo#33932 Signed-off-by: Jérome Maes (jem) --- addons/hr_expense/views/hr_expense_views.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/hr_expense/views/hr_expense_views.xml b/addons/hr_expense/views/hr_expense_views.xml index 3fcf76099c6..38a24ab8541 100644 --- a/addons/hr_expense/views/hr_expense_views.xml +++ b/addons/hr_expense/views/hr_expense_views.xml @@ -506,7 +506,7 @@ - +