From 9664c698253958712e83aa4ed761eb4f5167bbb4 Mon Sep 17 00:00:00 2001 From: jvm-odoo Date: Wed, 1 Apr 2020 08:28:24 +0000 Subject: [PATCH] [FIX] account: fix report invoice edit with Studio Issue - Install Accounting & Studio - Accounting > Open studio - Reports > Invoices - Add a Field Column in the table and drag it after "Description" Some elements are shifted, which causes inconsistency in the table Cause In 924ca78068548078 we added a th "source document" with a td containing the value. In bc131c0cfb51c953 we removed the td but not the th. Studio adds hook after each th & td. Since there is th but no td, there is an inconsistency in the hooks. Solution Remove the th from the view to avoid having a useless hook. OPW-2226726 closes odoo/odoo#48798 X-original-commit: 351355c8cb8c64927b5f82d4c1e1deca74353305 Signed-off-by: Nicolas Lempereur (nle) --- addons/account/views/report_invoice.xml | 1 - 1 file changed, 1 deletion(-) diff --git a/addons/account/views/report_invoice.xml b/addons/account/views/report_invoice.xml index 534106cc12f..3f05b224856 100644 --- a/addons/account/views/report_invoice.xml +++ b/addons/account/views/report_invoice.xml @@ -50,7 +50,6 @@ Description - Source Document Quantity Unit Price