From e8301cacb74175f4cb897e3dd2bc29192ab1a686 Mon Sep 17 00:00:00 2001 From: Romeo Fragomeli Date: Wed, 25 Sep 2019 13:12:37 +0000 Subject: [PATCH] [FIX] account: missing fields in invoice line form view on mobile MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Due to the merge of account.invoice.line and account.move.line some views doesn't exist anymore. On desktop, we only need editable list view to do the job but it's not the case on mobile! On mobile, the kanban view is loaded instead of "tree" and the form view is opened when we add a record. Before this commit, the corresponding form view wasn't usable on mobile and some fields were hidden like product_id. As kanban view and form view are important on mobile, we get them back like on saas-12.3. So the workflow is quite similar as before. Steps to reproduce: * Open Odoo in mobile * Go Accounting App * Create a new record * Add a new line * There is no product field (BUG) Task ID : 2061797 closes odoo/odoo#37424 Signed-off-by: Adrien Dieudonné (adr) --- addons/account/views/account_move_views.xml | 80 +++++++++++++++++++++ 1 file changed, 80 insertions(+) diff --git a/addons/account/views/account_move_views.xml b/addons/account/views/account_move_views.xml index b07b8ea717a..52cff171917 100644 --- a/addons/account/views/account_move_views.xml +++ b/addons/account/views/account_move_views.xml @@ -733,6 +733,86 @@ + + + + + + + + + + + +
+ +
+
+ +
+
+ + + + + +
+ Quantity: + + +
+
+ Unit Price: + +
+ + + + + + +
+
+
+ +
+
+ + + +
+
+
+
+
+
+
+
+ + + + + + + + + + + + + + + + + + + + +