From ccb8896fe348b99ca64efd741140dae104f7793e Mon Sep 17 00:00:00 2001 From: "Lucas Perais (lpe)" Date: Thu, 4 Jul 2019 15:34:48 +0000 Subject: [PATCH] [FIX] account: introduce a form view for account.move.line for mobile On a small display, go to accounting > journal entries > create In the (now kanban) list of account move lines, click ADD Then, try to choose an account Before this commit: The list of accounts was empty. This was because the form view spawned was the automatic generic one The generated view did not have thr necessary structure to get fields' value from the parent form view. In this case, the domain of the name_search for account.account was wrong After this commit: The flow works on mobile as on desktop. The form view's arch is a 1 to 1 copy of the list view in terms of fields and their definition OPW 2030837 closes odoo/odoo#34601 Signed-off-by: Lucas Perais (lpe) --- addons/account/views/account_view.xml | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/addons/account/views/account_view.xml b/addons/account/views/account_view.xml index c24518e15b8..f14a7701011 100644 --- a/addons/account/views/account_view.xml +++ b/addons/account/views/account_view.xml @@ -1623,6 +1623,27 @@ + +
+ + + + + + + + + + + + + + + + + + +