From 3cc7a0915c5f65e69094318f57f771c7fd54eb20 Mon Sep 17 00:00:00 2001 From: "Maxime Chambreuil - http://www.savoirfairelinux.com" Date: Fri, 26 Sep 2014 12:01:19 -0400 Subject: [PATCH] [FIX] hr_expense: Allow using contract in expense with form view In the tree view, the domain for the field `analytic_account` was already `[('type','in',['normal','contract'])]` It's therefore normal to apply the same domain for this field in the form view. Closes #2733 --- addons/hr_expense/hr_expense_view.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/hr_expense/hr_expense_view.xml b/addons/hr_expense/hr_expense_view.xml index 8e91312c9d4..607ab91211a 100644 --- a/addons/hr_expense/hr_expense_view.xml +++ b/addons/hr_expense/hr_expense_view.xml @@ -93,7 +93,7 @@ - +