From 7d0eb87eea054b1b4d71e443b55d8742ca1b6b9f Mon Sep 17 00:00:00 2001 From: Damien Bouvy Date: Fri, 5 Aug 2022 15:49:08 +0000 Subject: [PATCH] [IMP] hr_expense: show 'split expense' button for draft records The domain "id = False" for the visibility of the "Split Expense" was set because I (wrongfully) thought it was necessary to save the record before the wizard could use it. That is not the case, as the button call will first save the record anyway - it was weird not to have this button immediately and made the feature hard to discover. I also changed the "create report" button for the same reason - there is no need to restrict its usage to "saved" records (unlike the "attach receipt" button which is a specific widget that needs the record to exist in database to work). closes odoo/odoo#97634 Signed-off-by: Kevin Baptiste --- addons/hr_expense/views/hr_expense_views.xml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/addons/hr_expense/views/hr_expense_views.xml b/addons/hr_expense/views/hr_expense_views.xml index 312f7dc0320..41b8b748626 100644 --- a/addons/hr_expense/views/hr_expense_views.xml +++ b/addons/hr_expense/views/hr_expense_views.xml @@ -110,13 +110,13 @@
-