From 92ae9687e877541b8118eab2f3a084c0b5fb18a1 Mon Sep 17 00:00:00 2001 From: Prakash Prajapati Date: Fri, 7 Jun 2019 06:11:08 +0000 Subject: [PATCH] [IMP] generic: add field company_id on tree view Now that the multi company mode is much more easier to activate, it is needed to display this information on the tree views, to help people to know on which company is set some records in list view. task-1997637 Closes: #3397 closes odoo/odoo#33976 Signed-off-by: Yannick Tivisse (yti) --- addons/account/views/account_move_views.xml | 3 ++- addons/account/views/account_view.xml | 3 +++ addons/account_voucher/views/account_voucher_views.xml | 1 + addons/analytic/views/analytic_account_views.xml | 2 ++ addons/crm/report/crm_activity_report_views.xml | 1 + addons/crm/views/crm_lead_views.xml | 1 + addons/delivery/views/delivery_view.xml | 1 + addons/digest/views/digest_views.xml | 1 + addons/event/views/event_views.xml | 2 ++ addons/fleet/views/fleet_vehicle_views.xml | 1 + addons/hr/views/hr_job_views.xml | 1 + addons/hr_contract/views/hr_contract_views.xml | 1 + addons/hr_expense/views/hr_expense_views.xml | 2 ++ addons/hr_holidays/views/hr_leave_type_views.xml | 1 + addons/hr_recruitment/views/hr_recruitment_views.xml | 1 + addons/lunch/views/lunch_orders_views.xml | 1 + addons/lunch/views/lunch_product_views.xml | 2 ++ addons/maintenance/views/maintenance_views.xml | 4 ++++ addons/membership/views/partner_views.xml | 1 + addons/mrp/views/mrp_bom_views.xml | 1 + addons/mrp/views/mrp_production_views.xml | 1 + addons/payment/views/payment_views.xml | 1 + addons/product/views/product_pricelist_views.xml | 1 + addons/product/views/product_views.xml | 1 + addons/project/views/project_views.xml | 2 ++ addons/repair/views/repair_views.xml | 2 +- addons/sale_coupon/views/sale_coupon_program_views.xml | 1 + addons/sales_team/views/crm_team_views.xml | 1 + addons/snailmail/views/snailmail_views.xml | 1 + addons/stock/views/stock_location_views.xml | 1 + addons/stock/views/stock_quant_views.xml | 2 +- addons/stock/views/stock_rule_views.xml | 1 + addons/stock/views/stock_warehouse_views.xml | 2 ++ addons/stock_landed_costs/views/stock_landed_cost_views.xml | 1 + odoo/addons/base/views/res_partner_views.xml | 1 + odoo/addons/base/views/res_users_views.xml | 1 + 36 files changed, 48 insertions(+), 3 deletions(-) diff --git a/addons/account/views/account_move_views.xml b/addons/account/views/account_move_views.xml index 2ba5e3c33ed..7e8cc182357 100644 --- a/addons/account/views/account_move_views.xml +++ b/addons/account/views/account_move_views.xml @@ -136,6 +136,7 @@ + @@ -152,7 +153,6 @@ - @@ -343,6 +343,7 @@ + diff --git a/addons/account/views/account_view.xml b/addons/account/views/account_view.xml index 372508cefc1..367a1788dd8 100644 --- a/addons/account/views/account_view.xml +++ b/addons/account/views/account_view.xml @@ -182,6 +182,7 @@ + @@ -476,6 +477,7 @@ action = model.setting_init_bank_account_action() + @@ -1257,6 +1259,7 @@ action = model.setting_init_bank_account_action() + diff --git a/addons/account_voucher/views/account_voucher_views.xml b/addons/account_voucher/views/account_voucher_views.xml index 2244c81b3b7..f725c6e0b59 100644 --- a/addons/account_voucher/views/account_voucher_views.xml +++ b/addons/account_voucher/views/account_voucher_views.xml @@ -8,6 +8,7 @@ + diff --git a/addons/analytic/views/analytic_account_views.xml b/addons/analytic/views/analytic_account_views.xml index 33228bdb1a0..ab6cc79ab22 100644 --- a/addons/analytic/views/analytic_account_views.xml +++ b/addons/analytic/views/analytic_account_views.xml @@ -6,6 +6,7 @@ + @@ -74,6 +75,7 @@ + diff --git a/addons/crm/report/crm_activity_report_views.xml b/addons/crm/report/crm_activity_report_views.xml index 4046907df9d..4e2055d55c8 100644 --- a/addons/crm/report/crm_activity_report_views.xml +++ b/addons/crm/report/crm_activity_report_views.xml @@ -32,6 +32,7 @@ + diff --git a/addons/crm/views/crm_lead_views.xml b/addons/crm/views/crm_lead_views.xml index c77a83c1d0e..8785a17fa4e 100644 --- a/addons/crm/views/crm_lead_views.xml +++ b/addons/crm/views/crm_lead_views.xml @@ -701,6 +701,7 @@ + diff --git a/addons/delivery/views/delivery_view.xml b/addons/delivery/views/delivery_view.xml index 226fd7bed1c..2501c9cdf59 100644 --- a/addons/delivery/views/delivery_view.xml +++ b/addons/delivery/views/delivery_view.xml @@ -22,6 +22,7 @@ + diff --git a/addons/digest/views/digest_views.xml b/addons/digest/views/digest_views.xml index 360758066e6..96e26828951 100644 --- a/addons/digest/views/digest_views.xml +++ b/addons/digest/views/digest_views.xml @@ -8,6 +8,7 @@ + diff --git a/addons/event/views/event_views.xml b/addons/event/views/event_views.xml index 79e785e7029..3abd1196a12 100644 --- a/addons/event/views/event_views.xml +++ b/addons/event/views/event_views.xml @@ -292,6 +292,7 @@ + @@ -455,6 +456,7 @@ +