From a29f7f671bc79855136dda64ae0725c564a9c3d2 Mon Sep 17 00:00:00 2001 From: Martin Geubelle Date: Thu, 6 Jul 2017 14:56:42 +0200 Subject: [PATCH] [FIX] *: explicit `color_field` attribute for m2m_tags MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Since the previous commit, the `color_field` needs to be explicitly stated in the options for the tags to be colored. The previous behaviour (always read the field `color`) was leading to server warnings if the field was not present on the comodel. Thìs commit set the `color_field´ for every many2many_tags on fields that have a `color` field on the comodel. --- addons/account/views/account_invoice_view.xml | 12 ++++++------ addons/account/views/account_view.xml | 8 ++++---- addons/account/views/product_view.xml | 4 ++-- .../account_voucher/views/account_voucher_views.xml | 4 ++-- addons/crm/views/crm_lead_views.xml | 4 ++-- addons/delivery/views/delivery_view.xml | 4 ++-- addons/fleet/views/fleet_vehicle_views.xml | 2 +- addons/hr/views/hr_views.xml | 2 +- addons/hr_expense/views/hr_expense_views.xml | 4 ++-- addons/hr_recruitment/views/hr_recruitment_views.xml | 2 +- addons/maintenance/views/maintenance_views.xml | 2 +- addons/mass_mailing/views/mass_mailing_views.xml | 4 ++-- addons/membership/views/product_views.xml | 2 +- addons/mrp/views/mrp_bom_views.xml | 2 +- addons/mrp_repair/views/mrp_repair_views.xml | 8 ++++---- addons/note/views/note_views.xml | 4 ++-- addons/point_of_sale/views/pos_order_view.xml | 8 ++++---- addons/project/views/project_views.xml | 2 +- addons/project_issue/views/project_issue_views.xml | 2 +- addons/purchase/views/purchase_views.xml | 8 ++++---- addons/sale/views/sale_views.xml | 8 ++++---- addons/stock/views/product_views.xml | 2 +- addons/website_customer/views/res_partner_views.xml | 2 +- .../website_event_track/views/event_track_views.xml | 2 +- addons/website_forum/views/forum.xml | 2 +- addons/website_sale/views/product_views.xml | 4 ++-- addons/website_sale_options/views/product_views.xml | 2 +- odoo/addons/base/res/res_partner_view.xml | 2 +- odoo/addons/base/res/res_users_view.xml | 2 +- odoo/addons/test_new_api/views.xml | 4 ++-- 30 files changed, 59 insertions(+), 59 deletions(-) diff --git a/addons/account/views/account_invoice_view.xml b/addons/account/views/account_invoice_view.xml index 7dab7859808..d22030ce7c4 100644 --- a/addons/account/views/account_invoice_view.xml +++ b/addons/account/views/account_invoice_view.xml @@ -268,13 +268,13 @@ domain="[('company_id', '=', parent.company_id), ('internal_type', '=', 'other'), ('deprecated', '=', False)]"/> - + - + @@ -404,13 +404,13 @@ domain="[('company_id', '=', parent.company_id), ('internal_type', '=', 'other')]"/> - + - + diff --git a/addons/account/views/account_view.xml b/addons/account/views/account_view.xml index 134ce6f5e04..8a23e35a578 100644 --- a/addons/account/views/account_view.xml +++ b/addons/account/views/account_view.xml @@ -261,8 +261,8 @@
Keep empty for no control
- - + +
@@ -1892,8 +1892,8 @@ - - + + diff --git a/addons/account/views/product_view.xml b/addons/account/views/product_view.xml index 5dc56426ed3..6543d318260 100644 --- a/addons/account/views/product_view.xml +++ b/addons/account/views/product_view.xml @@ -14,13 +14,13 @@ - + - +
diff --git a/addons/account_voucher/views/account_voucher_views.xml b/addons/account_voucher/views/account_voucher_views.xml index ced7d16a4ef..ea279a24be2 100644 --- a/addons/account_voucher/views/account_voucher_views.xml +++ b/addons/account_voucher/views/account_voucher_views.xml @@ -253,7 +253,7 @@ - + @@ -369,7 +369,7 @@ - + diff --git a/addons/crm/views/crm_lead_views.xml b/addons/crm/views/crm_lead_views.xml index eec99576825..c42d8838b6e 100644 --- a/addons/crm/views/crm_lead_views.xml +++ b/addons/crm/views/crm_lead_views.xml @@ -94,7 +94,7 @@ - + @@ -442,7 +442,7 @@ - + diff --git a/addons/delivery/views/delivery_view.xml b/addons/delivery/views/delivery_view.xml index 0148319cb26..2bc610a97e8 100644 --- a/addons/delivery/views/delivery_view.xml +++ b/addons/delivery/views/delivery_view.xml @@ -107,8 +107,8 @@ - - + + diff --git a/addons/fleet/views/fleet_vehicle_views.xml b/addons/fleet/views/fleet_vehicle_views.xml index 4a5416968d7..34286f2aa81 100644 --- a/addons/fleet/views/fleet_vehicle_views.xml +++ b/addons/fleet/views/fleet_vehicle_views.xml @@ -66,7 +66,7 @@