From f9e7b5130bc0f609a701b2dbc91debe924ef8051 Mon Sep 17 00:00:00 2001 From: Victor Feyens Date: Wed, 3 Jun 2020 12:01:48 +0000 Subject: [PATCH 1/5] [REM] account: remove empty files Simply remove dead files. Task ID-2329114 PR odoo/odoo#56946 X-original-commit: c8910e20f633b6bccc5aeb122144c1a08aaf41da --- addons/account/__manifest__.py | 2 -- addons/account/views/account_end_fy.xml | 6 ------ addons/account/views/account_tip_data.xml | 6 ------ 3 files changed, 14 deletions(-) delete mode 100644 addons/account/views/account_end_fy.xml delete mode 100644 addons/account/views/account_tip_data.xml diff --git a/addons/account/__manifest__.py b/addons/account/__manifest__.py index e9b7b6ff1b6..0a77f1600f4 100644 --- a/addons/account/__manifest__.py +++ b/addons/account/__manifest__.py @@ -48,11 +48,9 @@ You could use this simplified accounting in case you work with an (external) acc 'views/account_report.xml', 'data/mail_template_data.xml', 'wizard/account_validate_move_view.xml', - 'views/account_end_fy.xml', 'views/res_company_views.xml', 'views/product_view.xml', 'views/account_analytic_view.xml', - 'views/account_tip_data.xml', 'views/account.xml', 'views/report_invoice.xml', 'report/account_invoice_report_view.xml', diff --git a/addons/account/views/account_end_fy.xml b/addons/account/views/account_end_fy.xml deleted file mode 100644 index 04decacb705..00000000000 --- a/addons/account/views/account_end_fy.xml +++ /dev/null @@ -1,6 +0,0 @@ - - - - - - diff --git a/addons/account/views/account_tip_data.xml b/addons/account/views/account_tip_data.xml deleted file mode 100644 index 8a71be77756..00000000000 --- a/addons/account/views/account_tip_data.xml +++ /dev/null @@ -1,6 +0,0 @@ - - - - - - From e261cddd73e59886fb453a6c14deae263dfc3f56 Mon Sep 17 00:00:00 2001 From: Victor Feyens Date: Thu, 25 Jun 2020 10:43:00 +0000 Subject: [PATCH 2/5] [FIX] various: remove duplicate fields in tree views Remove duplicate fields in tree views / kanban (outside of templates). A field should not be present twice in a tree view. If one of the nodes has custom attributes then behavior of other nodes is somehow unpredictable. Having field present only once gives a more coherent behavior. Xpaths could also lead to weird results if fields are present several times as developers generally do not expect fields to be present several times in a view. An heuristic to detect duplicate fields will land soon in master. As this commit targets a stable version only view fixes are provided. Task ID-2329114 PR odoo/odoo#56946 X-original-commit: 977c2b9d12419fba3bada1ebefcca15f051ca565 --- addons/account/views/account_move_views.xml | 4 ++-- addons/hr_holidays/views/hr_leave_views.xml | 1 - addons/mass_mailing/views/mailing_mailing_views.xml | 1 - addons/stock/views/stock_move_views.xml | 1 - addons/stock/views/stock_orderpoint_views.xml | 1 - 5 files changed, 2 insertions(+), 6 deletions(-) diff --git a/addons/account/views/account_move_views.xml b/addons/account/views/account_move_views.xml index f16e766cf11..92d8578c576 100644 --- a/addons/account/views/account_move_views.xml +++ b/addons/account/views/account_move_views.xml @@ -286,7 +286,8 @@ primary - + + @@ -294,7 +295,6 @@ - diff --git a/addons/hr_holidays/views/hr_leave_views.xml b/addons/hr_holidays/views/hr_leave_views.xml index 98de5bbbbfc..705ca75d31a 100644 --- a/addons/hr_holidays/views/hr_leave_views.xml +++ b/addons/hr_holidays/views/hr_leave_views.xml @@ -460,7 +460,6 @@ -