diff --git a/golem_admin/__init__.py b/golem_admin/__init__.py new file mode 100644 index 0000000..9dd702d --- /dev/null +++ b/golem_admin/__init__.py @@ -0,0 +1,16 @@ +# -*- coding: utf-8 -*- + +# Copyright 2018 Fabien Bourgeois +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU Affero General Public License as +# published by the Free Software Foundation, either version 3 of the +# License, or (at your option) any later version. +# +# 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 Affero General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see . diff --git a/golem_admin/__manifest__.py b/golem_admin/__manifest__.py new file mode 100644 index 0000000..a306c20 --- /dev/null +++ b/golem_admin/__manifest__.py @@ -0,0 +1,34 @@ +# -*- coding: utf-8 -*- + +# Copyright 2018 Fabien Bourgeois +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU Affero General Public License as +# published by the Free Software Foundation, either version 3 of the +# License, or (at your option) any later version. +# +# 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 Affero General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see . + +{ + 'name': 'GOLEM Admin module', + 'summary': 'GOLEM Admin module', + 'description': '''GOLEM Admin module : + - New application on top menu ; + - Management of users and groups, companies ; + - Good default access / rights to do. ''', + 'version': '10.0.0.1.0', + 'category': 'GOLEM', + 'author': 'Fabien Bourgeois', + 'license': 'AGPL-3', + 'application': True, + 'installable': True, + 'depends': ['base'], + 'data': ['security/ir.model.access.csv', + 'views/golem_admin_views.xml'] +} diff --git a/golem_admin/i18n/fr.po b/golem_admin/i18n/fr.po new file mode 100644 index 0000000..b8f5140 --- /dev/null +++ b/golem_admin/i18n/fr.po @@ -0,0 +1,37 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * golem_admin +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2018-07-20 15:54+0000\n" +"PO-Revision-Date: 2018-07-20 15:54+0000\n" +"Last-Translator: <>\n" +"Language-Team: \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: \n" + +#. module: golem_admin +#: model:ir.ui.menu,name:golem_admin.res_company_menu +msgid "Companies" +msgstr "Sociétés" + +#. module: golem_admin +#: model:ir.ui.menu,name:golem_admin.res_groups_menu +msgid "Groups" +msgstr "Groupes" + +#. module: golem_admin +#: model:ir.ui.menu,name:golem_admin.security_menu +msgid "Security" +msgstr "Sécurité" + +#. module: golem_admin +#: model:ir.ui.menu,name:golem_admin.res_users_menu +msgid "Users" +msgstr "Utilisateurs" + diff --git a/golem_admin/i18n/golem_admin.pot b/golem_admin/i18n/golem_admin.pot new file mode 100644 index 0000000..3187cc7 --- /dev/null +++ b/golem_admin/i18n/golem_admin.pot @@ -0,0 +1,37 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * golem_admin +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2018-07-20 15:54+0000\n" +"PO-Revision-Date: 2018-07-20 15:54+0000\n" +"Last-Translator: <>\n" +"Language-Team: \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: \n" + +#. module: golem_admin +#: model:ir.ui.menu,name:golem_admin.res_company_menu +msgid "Companies" +msgstr "" + +#. module: golem_admin +#: model:ir.ui.menu,name:golem_admin.res_groups_menu +msgid "Groups" +msgstr "" + +#. module: golem_admin +#: model:ir.ui.menu,name:golem_admin.security_menu +msgid "Security" +msgstr "" + +#. module: golem_admin +#: model:ir.ui.menu,name:golem_admin.res_users_menu +msgid "Users" +msgstr "" + diff --git a/golem_admin/security/ir.model.access.csv b/golem_admin/security/ir.model.access.csv new file mode 100644 index 0000000..d9a9b5b --- /dev/null +++ b/golem_admin/security/ir.model.access.csv @@ -0,0 +1,6 @@ +id,name,model_id:id,group_id:id,perm_read,perm_write,perm_create,perm_unlink +access_res_company_group_golem_manager,Access Companies GOLEM Manager,base.model_res_company,golem_base.group_golem_manager,1,1,0,0 +access_res_users_group_golem_manager,Access Users GOLEM Manager,base.model_res_users,golem_base.group_golem_manager,1,1,1,1 +access_res_groups_group_golem_manager,Access Groups GOLEM Manager,base.model_res_groups,golem_base.group_golem_manager,1,1,0,0 +access_ir_module_category_group_golem_manager,Access IR Module Category GOLEM Manager,base.model_ir_module_category,golem_base.group_golem_manager,1,0,0,0 +access_ir_ui_view_group_golem_manager,Access IR UI View GOLEM Manager,base.model_ir_ui_view,golem_base.group_golem_manager,1,1,0,0 diff --git a/golem_admin/static/description/icon.png b/golem_admin/static/description/icon.png new file mode 100644 index 0000000..2687d5a Binary files /dev/null and b/golem_admin/static/description/icon.png differ diff --git a/golem_admin/views/golem_admin_views.xml b/golem_admin/views/golem_admin_views.xml new file mode 100644 index 0000000..baf2a48 --- /dev/null +++ b/golem_admin/views/golem_admin_views.xml @@ -0,0 +1,38 @@ + + + + + + + + + + + + + + +