From 4e207420a2aeb1225e9f92dab3c834671fef74e4 Mon Sep 17 00:00:00 2001 From: Fabien BOURGEOIS Date: Wed, 15 Nov 2017 16:14:24 +0100 Subject: [PATCH] Revert "[REF][WIP]Modularisation basic structure" for V2 This reverts commit 6601bed446150fcf17d1768058eeaac518b60431. --- coworking_app/__init__.py => __init__.py | 0 .../__manifest__.py => __manifest__.py | 0 coworking_base/__init__.py | 3 -- coworking_base/__manifest__.py | 31 ------------------- coworking_coworker/__init__.py | 3 -- coworking_coworker/__manifest__.py | 31 ------------------- coworking_event/__init__.py | 3 -- coworking_event/__manifest__.py | 31 ------------------- coworking_event/models/__init__.py | 4 --- coworking_event/security/ir.model.access.csv | 4 --- .../models => models}/__init__.py | 0 .../models => models}/coworker.py | 0 {coworking_event/models => models}/event.py | 0 .../security => security}/ir.model.access.csv | 0 .../views => views}/coworker_views.xml | 0 .../views => views}/coworking_menu.xml | 0 .../views => views}/event_menu.xml | 0 .../views => views}/event_views.xml | 0 18 files changed, 110 deletions(-) rename coworking_app/__init__.py => __init__.py (100%) rename coworking_app/__manifest__.py => __manifest__.py (100%) delete mode 100644 coworking_base/__init__.py delete mode 100644 coworking_base/__manifest__.py delete mode 100644 coworking_coworker/__init__.py delete mode 100644 coworking_coworker/__manifest__.py delete mode 100644 coworking_event/__init__.py delete mode 100644 coworking_event/__manifest__.py delete mode 100644 coworking_event/models/__init__.py delete mode 100644 coworking_event/security/ir.model.access.csv rename {coworking_coworker/models => models}/__init__.py (100%) rename {coworking_coworker/models => models}/coworker.py (100%) rename {coworking_event/models => models}/event.py (100%) rename {coworking_coworker/security => security}/ir.model.access.csv (100%) rename {coworking_coworker/views => views}/coworker_views.xml (100%) rename {coworking_coworker/views => views}/coworking_menu.xml (100%) rename {coworking_event/views => views}/event_menu.xml (100%) rename {coworking_event/views => views}/event_views.xml (100%) diff --git a/coworking_app/__init__.py b/__init__.py similarity index 100% rename from coworking_app/__init__.py rename to __init__.py diff --git a/coworking_app/__manifest__.py b/__manifest__.py similarity index 100% rename from coworking_app/__manifest__.py rename to __manifest__.py diff --git a/coworking_base/__init__.py b/coworking_base/__init__.py deleted file mode 100644 index cde864b..0000000 --- a/coworking_base/__init__.py +++ /dev/null @@ -1,3 +0,0 @@ -# -*- coding: utf-8 -*- - -from . import models diff --git a/coworking_base/__manifest__.py b/coworking_base/__manifest__.py deleted file mode 100644 index 87c735d..0000000 --- a/coworking_base/__manifest__.py +++ /dev/null @@ -1,31 +0,0 @@ -# -*- coding: utf-8 -*- - -# Copyright 2017 Firstname Lastname -# -# 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': 'Coworking', - 'summary': 'yaltik coworking module simplify your coworking gerance', - 'description': """ yaltik coworking module simplify your coworking gerance """, - 'version': '10.0.0.0.1', - 'category': 'Useless', - 'author': 'Yaltik', - 'license': 'AGPL-3', - 'application': False, - 'installable': True, - 'data': ['views/coworking_menu.xml', 'views/coworker_views.xml', - 'security/ir.model.access.csv', 'views/event_menu.xml', 'views/event_views.xml'], - 'depends': ['base'] -} diff --git a/coworking_coworker/__init__.py b/coworking_coworker/__init__.py deleted file mode 100644 index cde864b..0000000 --- a/coworking_coworker/__init__.py +++ /dev/null @@ -1,3 +0,0 @@ -# -*- coding: utf-8 -*- - -from . import models diff --git a/coworking_coworker/__manifest__.py b/coworking_coworker/__manifest__.py deleted file mode 100644 index 87c735d..0000000 --- a/coworking_coworker/__manifest__.py +++ /dev/null @@ -1,31 +0,0 @@ -# -*- coding: utf-8 -*- - -# Copyright 2017 Firstname Lastname -# -# 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': 'Coworking', - 'summary': 'yaltik coworking module simplify your coworking gerance', - 'description': """ yaltik coworking module simplify your coworking gerance """, - 'version': '10.0.0.0.1', - 'category': 'Useless', - 'author': 'Yaltik', - 'license': 'AGPL-3', - 'application': False, - 'installable': True, - 'data': ['views/coworking_menu.xml', 'views/coworker_views.xml', - 'security/ir.model.access.csv', 'views/event_menu.xml', 'views/event_views.xml'], - 'depends': ['base'] -} diff --git a/coworking_event/__init__.py b/coworking_event/__init__.py deleted file mode 100644 index cde864b..0000000 --- a/coworking_event/__init__.py +++ /dev/null @@ -1,3 +0,0 @@ -# -*- coding: utf-8 -*- - -from . import models diff --git a/coworking_event/__manifest__.py b/coworking_event/__manifest__.py deleted file mode 100644 index 87c735d..0000000 --- a/coworking_event/__manifest__.py +++ /dev/null @@ -1,31 +0,0 @@ -# -*- coding: utf-8 -*- - -# Copyright 2017 Firstname Lastname -# -# 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': 'Coworking', - 'summary': 'yaltik coworking module simplify your coworking gerance', - 'description': """ yaltik coworking module simplify your coworking gerance """, - 'version': '10.0.0.0.1', - 'category': 'Useless', - 'author': 'Yaltik', - 'license': 'AGPL-3', - 'application': False, - 'installable': True, - 'data': ['views/coworking_menu.xml', 'views/coworker_views.xml', - 'security/ir.model.access.csv', 'views/event_menu.xml', 'views/event_views.xml'], - 'depends': ['base'] -} diff --git a/coworking_event/models/__init__.py b/coworking_event/models/__init__.py deleted file mode 100644 index 7f37d89..0000000 --- a/coworking_event/models/__init__.py +++ /dev/null @@ -1,4 +0,0 @@ -# -*- coding: utf-8 -*- -"""dd""" -from . import coworker -from . import event diff --git a/coworking_event/security/ir.model.access.csv b/coworking_event/security/ir.model.access.csv deleted file mode 100644 index 7b1f30b..0000000 --- a/coworking_event/security/ir.model.access.csv +++ /dev/null @@ -1,4 +0,0 @@ -id,name,model_id:id,group_id:id,perm_read,perm_write,perm_create,perm_unlink -acess_coworker_group_user,Access COWORKER Member User,model_coworking_coworker,base.group_user,1,1,1,0 -acess_coworker_group_manager,Access COWORKER Member Manager,model_coworking_coworker,base.group_partner_manager,1,1,1,1 -acess_coworker_group_user,Access COWORKER Member User,model_coworking_event,base.group_user,1,1,1,1 diff --git a/coworking_coworker/models/__init__.py b/models/__init__.py similarity index 100% rename from coworking_coworker/models/__init__.py rename to models/__init__.py diff --git a/coworking_coworker/models/coworker.py b/models/coworker.py similarity index 100% rename from coworking_coworker/models/coworker.py rename to models/coworker.py diff --git a/coworking_event/models/event.py b/models/event.py similarity index 100% rename from coworking_event/models/event.py rename to models/event.py diff --git a/coworking_coworker/security/ir.model.access.csv b/security/ir.model.access.csv similarity index 100% rename from coworking_coworker/security/ir.model.access.csv rename to security/ir.model.access.csv diff --git a/coworking_coworker/views/coworker_views.xml b/views/coworker_views.xml similarity index 100% rename from coworking_coworker/views/coworker_views.xml rename to views/coworker_views.xml diff --git a/coworking_coworker/views/coworking_menu.xml b/views/coworking_menu.xml similarity index 100% rename from coworking_coworker/views/coworking_menu.xml rename to views/coworking_menu.xml diff --git a/coworking_event/views/event_menu.xml b/views/event_menu.xml similarity index 100% rename from coworking_event/views/event_menu.xml rename to views/event_menu.xml diff --git a/coworking_event/views/event_views.xml b/views/event_views.xml similarity index 100% rename from coworking_event/views/event_views.xml rename to views/event_views.xml