diff --git a/addons/portal/portal_view.xml b/addons/portal/portal_view.xml index 5d21de5d738..13e60cdc00a 100644 --- a/addons/portal/portal_view.xml +++ b/addons/portal/portal_view.xml @@ -105,8 +105,6 @@ the portal's users. 10 - ). +# +# 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/addons/portal_jobs/__openerp__.py b/addons/portal_jobs/__openerp__.py new file mode 100644 index 00000000000..015e76d3d06 --- /dev/null +++ b/addons/portal_jobs/__openerp__.py @@ -0,0 +1,42 @@ +# -*- coding: utf-8 -*- +############################################################################## +# +# OpenERP, Open Source Management Solution +# Copyright (C) 2004-2010 Tiny SPRL (). +# +# 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': 'Portal Jobs', + 'version': '0.1', + 'category': 'Tools', + 'complexity': "easy", + 'description': """ +This module adds applications menu and features to your portal if hr and portal +are installed. + """, + 'author': 'OpenERP SA', + 'depends': ['hr','portal'], + 'data': [ + 'portal_jobs_view.xml', + 'security/ir.model.access.csv', + ], + 'installable': True, + 'auto_install':True, + 'category':'Hidden', +} +# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4: diff --git a/addons/portal_jobs/portal_jobs_view.xml b/addons/portal_jobs/portal_jobs_view.xml new file mode 100644 index 00000000000..30976fc1954 --- /dev/null +++ b/addons/portal_jobs/portal_jobs_view.xml @@ -0,0 +1,10 @@ + + + + + + + + diff --git a/addons/portal_jobs/security/ir.model.access.csv b/addons/portal_jobs/security/ir.model.access.csv new file mode 100644 index 00000000000..5f33eb436e8 --- /dev/null +++ b/addons/portal_jobs/security/ir.model.access.csv @@ -0,0 +1,2 @@ +id,name,model_id:id,group_id:id,perm_read,perm_write,perm_create,perm_unlink +access_job,job,hr.model_hr_job,portal.group_portal_member,1,0,0,0