diff --git a/company_hierarchy/README.rst b/company_hierarchy/README.rst new file mode 100644 index 000000000..1deba6a0f --- /dev/null +++ b/company_hierarchy/README.rst @@ -0,0 +1,26 @@ +Company Hierarchy V10 +===================== + +This module will display the companies in the hierarchical structure. So that user can easily understand the +structure of the company very easily. + +Configuration: +-------------- +Install the module. Activate the multi company feature from the General Settings. + +Here is how it works: +--------------------- + * User have to enable multi company feature; + * Then opening the company form view you can define the company structure by defining + the parent for each companies; + * Settings -> Users -> Companies; + * Then to get the Hierarchical view open the company form, click on action -> Company Hierarchy; + * Expand the view by clicking the Arrow; + +Credits +======= +Cybrosys Techno Solutions + +Author +------ +* Niyas Raphy diff --git a/company_hierarchy/__init__.py b/company_hierarchy/__init__.py new file mode 100644 index 000000000..414ca6fe8 --- /dev/null +++ b/company_hierarchy/__init__.py @@ -0,0 +1,22 @@ +# -*- coding: utf-8 -*- +############################################################################## +# +# Cybrosys Technologies Pvt. Ltd. +# Copyright (C) 2017-TODAY Cybrosys Technologies(). +# Author: Niyas Raphy() +# you can modify it under the terms of the GNU LESSER +# GENERAL PUBLIC LICENSE (LGPL v3), Version 3. +# +# It is forbidden to publish, distribute, sublicense, or sell copies +# of the Software or modified copies of the Software. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU LESSER GENERAL PUBLIC LICENSE (LGPL v3) for more details. +# +# You should have received a copy of the GNU LESSER GENERAL PUBLIC LICENSE +# GENERAL PUBLIC LICENSE (LGPL v3) along with this program. +# If not, see . +# +############################################################################## diff --git a/company_hierarchy/__manifest__.py b/company_hierarchy/__manifest__.py new file mode 100644 index 000000000..ffa19b54f --- /dev/null +++ b/company_hierarchy/__manifest__.py @@ -0,0 +1,42 @@ +# -*- coding: utf-8 -*- +############################################################################## +# +# Cybrosys Technologies Pvt. Ltd. +# Copyright (C) 2017-TODAY Cybrosys Technologies(). +# Author: Niyas Raphy() +# you can modify it under the terms of the GNU LESSER +# GENERAL PUBLIC LICENSE (LGPL v3), Version 3. +# +# It is forbidden to publish, distribute, sublicense, or sell copies +# of the Software or modified copies of the Software. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU LESSER GENERAL PUBLIC LICENSE (LGPL v3) for more details. +# +# You should have received a copy of the GNU LESSER GENERAL PUBLIC LICENSE +# GENERAL PUBLIC LICENSE (LGPL v3) along with this program. +# If not, see . +# +############################################################################## +{ + 'name': 'Company Hierarchy', + 'summary': """Hierarchical View For Companies""", + 'version': '10.0.1.0', + 'description': """Companies will be listed in hierarchical structure""", + 'author': 'Cybrosys Techno Solutions', + 'company': 'Cybrosys Techno Solutions', + 'website': 'https://www.cybrosys.com', + 'category': 'Tools', + 'depends': ['base'], + 'license': 'AGPL-3', + 'data': [ + 'views/company_hierarchy.xml', + ], + 'images': ['static/description/banner.jpg'], + 'demo': [], + 'installable': True, + 'auto_install': False, +} + diff --git a/company_hierarchy/static/description/banner.jpg b/company_hierarchy/static/description/banner.jpg new file mode 100644 index 000000000..668e72292 Binary files /dev/null and b/company_hierarchy/static/description/banner.jpg differ diff --git a/company_hierarchy/static/description/company_hierarchy_view.png b/company_hierarchy/static/description/company_hierarchy_view.png new file mode 100644 index 000000000..da43c96db Binary files /dev/null and b/company_hierarchy/static/description/company_hierarchy_view.png differ diff --git a/company_hierarchy/static/description/cybro_logo.png b/company_hierarchy/static/description/cybro_logo.png new file mode 100644 index 000000000..bb309114c Binary files /dev/null and b/company_hierarchy/static/description/cybro_logo.png differ diff --git a/company_hierarchy/static/description/icon.png b/company_hierarchy/static/description/icon.png new file mode 100644 index 000000000..be022ae87 Binary files /dev/null and b/company_hierarchy/static/description/icon.png differ diff --git a/company_hierarchy/static/description/index.html b/company_hierarchy/static/description/index.html new file mode 100644 index 000000000..2bafc5747 --- /dev/null +++ b/company_hierarchy/static/description/index.html @@ -0,0 +1,69 @@ +
+
+

Company Hierarchical View

+

Display the companies in the hierarchical view

+

Cybrosys Technologies

+
+
+ + +
+
+
+

Overview

+

+ The module gives the hierarchical view of the whole company structure. To understand + the company hierarchy, you don't need to open each company form and look parent. Just + install the module and get the company structure at a glance. +

+
+
+
+ + +
+
+
+

+

Hierarchial View

+

+

+
+ Settings -> Users -> Companies
+ Open the Company form
+ Click on Actions -> Company Hierarchy
+
+
+
+ +
+
+
+
+ + +
+

Need Any Help?

+ +
diff --git a/company_hierarchy/views/company_hierarchy.xml b/company_hierarchy/views/company_hierarchy.xml new file mode 100644 index 000000000..a3e2eec1f --- /dev/null +++ b/company_hierarchy/views/company_hierarchy.xml @@ -0,0 +1,41 @@ + + + + + + res.company.tree + res.company + child_ids + + + + + + + + + + + + + + + + Company Hierarchy + ir.actions.act_window + res.company + [('id','in',active_ids)] + tree + + + + + Company Hierarchy + + + action + client_action_multi + res.company + + +