From f9f2c561bd7a3ecaae33aee0f81234b273cb547f Mon Sep 17 00:00:00 2001 From: Victor Feyens Date: Tue, 30 Jun 2020 15:37:18 +0000 Subject: [PATCH] [FIX] various: remove duplicate fields definition in kanban views preface Remove duplicate fields in tree views / kanban (outside of templates). A field should not be present twice in a kanban view. If one of the nodes has custom attributes behavior of other nodes is somehow unpredicatable. Having field present only once gives a more coherent behavior. Xpaths could also lead to weird results if fields are present several times. Notably adding a field in the view preface instead of inside the view template itself (see b63043e for example of fix). 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: 90f8e9255fa46c408763346ed135d9e561ae7fd5 --- addons/account/views/account_move_views.xml | 1 - addons/mail/views/mail_message_views.xml | 1 - addons/maintenance/views/maintenance_views.xml | 1 - 3 files changed, 3 deletions(-) diff --git a/addons/account/views/account_move_views.xml b/addons/account/views/account_move_views.xml index 92d8578c576..664e151df21 100644 --- a/addons/account/views/account_move_views.xml +++ b/addons/account/views/account_move_views.xml @@ -778,7 +778,6 @@ -
diff --git a/addons/mail/views/mail_message_views.xml b/addons/mail/views/mail_message_views.xml index 193bcf7e099..f0405ea3fec 100644 --- a/addons/mail/views/mail_message_views.xml +++ b/addons/mail/views/mail_message_views.xml @@ -142,7 +142,6 @@ - diff --git a/addons/maintenance/views/maintenance_views.xml b/addons/maintenance/views/maintenance_views.xml index 4a2d20f3cd8..1c63dd09f32 100644 --- a/addons/maintenance/views/maintenance_views.xml +++ b/addons/maintenance/views/maintenance_views.xml @@ -422,7 +422,6 @@ -