From 37c44ffbde13d4385ae1a18454a705b98b5cc1cf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Krier?= Date: Wed, 25 Sep 2024 12:33:56 +0200 Subject: [PATCH] Add simple list view for company and employee The views have only the record name field so they can be used in Many2Many to not display extra information. --- modules/company/company.xml | 15 +++++++++++++++ modules/company/view/company_list_simple.xml | 6 ++++++ modules/company/view/employee_list_simple.xml | 6 ++++++ modules/company/view/user_form.xml | 4 ++-- 4 files changed, 29 insertions(+), 2 deletions(-) create mode 100644 modules/company/view/company_list_simple.xml create mode 100644 modules/company/view/employee_list_simple.xml diff --git a/modules/company/company.xml b/modules/company/company.xml index fef4ded50e..7bf38e5ea2 100644 --- a/modules/company/company.xml +++ b/modules/company/company.xml @@ -51,6 +51,13 @@ this repository contains the full copyright notices and license terms. --> company_list + + company.company + tree + + company_list_simple + + Companies company.company @@ -128,9 +135,17 @@ this repository contains the full copyright notices and license terms. --> company.employee tree + employee_tree + + company.employee + tree + + employee_list_simple + + Employees company.employee diff --git a/modules/company/view/company_list_simple.xml b/modules/company/view/company_list_simple.xml new file mode 100644 index 0000000000..0f329e5fa2 --- /dev/null +++ b/modules/company/view/company_list_simple.xml @@ -0,0 +1,6 @@ + + + + + diff --git a/modules/company/view/employee_list_simple.xml b/modules/company/view/employee_list_simple.xml new file mode 100644 index 0000000000..6979c7a7c3 --- /dev/null +++ b/modules/company/view/employee_list_simple.xml @@ -0,0 +1,6 @@ + + + + + diff --git a/modules/company/view/user_form.xml b/modules/company/view/user_form.xml index fc90581ce9..85c065b587 100644 --- a/modules/company/view/user_form.xml +++ b/modules/company/view/user_form.xml @@ -3,8 +3,8 @@ this repository contains the full copyright notices and license terms. --> - - + +