[REF][WIP]Modularisation basic structure
This commit is contained in:
parent
c8f398e913
commit
6601bed446
3
coworking_base/__init__.py
Normal file
3
coworking_base/__init__.py
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
# -*- coding: utf-8 -*-
|
||||||
|
|
||||||
|
from . import models
|
31
coworking_base/__manifest__.py
Normal file
31
coworking_base/__manifest__.py
Normal file
@ -0,0 +1,31 @@
|
|||||||
|
# -*- coding: utf-8 -*-
|
||||||
|
|
||||||
|
# Copyright 2017 Firstname Lastname <firstname.lastname@company.com>
|
||||||
|
#
|
||||||
|
# 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 <http://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
|
{
|
||||||
|
'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']
|
||||||
|
}
|
3
coworking_coworker/__init__.py
Normal file
3
coworking_coworker/__init__.py
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
# -*- coding: utf-8 -*-
|
||||||
|
|
||||||
|
from . import models
|
31
coworking_coworker/__manifest__.py
Normal file
31
coworking_coworker/__manifest__.py
Normal file
@ -0,0 +1,31 @@
|
|||||||
|
# -*- coding: utf-8 -*-
|
||||||
|
|
||||||
|
# Copyright 2017 Firstname Lastname <firstname.lastname@company.com>
|
||||||
|
#
|
||||||
|
# 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 <http://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
|
{
|
||||||
|
'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']
|
||||||
|
}
|
3
coworking_event/__init__.py
Normal file
3
coworking_event/__init__.py
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
# -*- coding: utf-8 -*-
|
||||||
|
|
||||||
|
from . import models
|
31
coworking_event/__manifest__.py
Normal file
31
coworking_event/__manifest__.py
Normal file
@ -0,0 +1,31 @@
|
|||||||
|
# -*- coding: utf-8 -*-
|
||||||
|
|
||||||
|
# Copyright 2017 Firstname Lastname <firstname.lastname@company.com>
|
||||||
|
#
|
||||||
|
# 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 <http://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
|
{
|
||||||
|
'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']
|
||||||
|
}
|
4
coworking_event/models/__init__.py
Normal file
4
coworking_event/models/__init__.py
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
# -*- coding: utf-8 -*-
|
||||||
|
"""dd"""
|
||||||
|
from . import coworker
|
||||||
|
from . import event
|
4
coworking_event/security/ir.model.access.csv
Normal file
4
coworking_event/security/ir.model.access.csv
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
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
|
|
Loading…
Reference in New Issue
Block a user