From b8ba2d279b5b6573e10e923e2ba0d041c2778b31 Mon Sep 17 00:00:00 2001 From: Antonin Bourguignon Date: Mon, 13 Aug 2012 15:38:27 +0200 Subject: [PATCH] [IMP] portal's jobs are now a mail group (no more relation with hr_recruitment) bzr revid: abo@openerp.com-20120813133827-ta4zh1s2gbl4a4ib --- addons/portal/portal_data.xml | 13 ++++++ addons/portal/portal_view.xml | 5 ++- addons/portal_hr_recruitment/__init__.py | 21 ---------- addons/portal_hr_recruitment/__openerp__.py | 41 ------------------- .../portal_jobs_view.xml | 10 ----- .../security/ir.model.access.csv | 3 -- 6 files changed, 17 insertions(+), 76 deletions(-) delete mode 100644 addons/portal_hr_recruitment/__init__.py delete mode 100644 addons/portal_hr_recruitment/__openerp__.py delete mode 100644 addons/portal_hr_recruitment/portal_jobs_view.xml delete mode 100644 addons/portal_hr_recruitment/security/ir.model.access.csv diff --git a/addons/portal/portal_data.xml b/addons/portal/portal_data.xml index 5245c99eed2..d14bd823e5e 100644 --- a/addons/portal/portal_data.xml +++ b/addons/portal/portal_data.xml @@ -20,6 +20,18 @@ form + + + Company's jobs feed + + + + Jobs + mail.group + + form + + + Portal Form @@ -47,6 +48,7 @@ + Portals @@ -57,7 +59,7 @@ {'form_view_ref': 'portal.portal_form_view'}

- Click to create a new portal. + Click to create a new portal.

A portal helps defining specific views and rules for a group of users (the portal group). A portal menu, widgets and specific @@ -65,6 +67,7 @@

+ diff --git a/addons/portal_hr_recruitment/__init__.py b/addons/portal_hr_recruitment/__init__.py deleted file mode 100644 index 26c654db9dd..00000000000 --- a/addons/portal_hr_recruitment/__init__.py +++ /dev/null @@ -1,21 +0,0 @@ -# -*- 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 . -# -############################################################################## - diff --git a/addons/portal_hr_recruitment/__openerp__.py b/addons/portal_hr_recruitment/__openerp__.py deleted file mode 100644 index 0b7fb78b7f0..00000000000 --- a/addons/portal_hr_recruitment/__openerp__.py +++ /dev/null @@ -1,41 +0,0 @@ -# -*- 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 HR recruitment', - 'version': '0.1', - 'category': 'Tools', - 'complexity': "easy", - 'description': """ -This module adds a jobs page 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_hr_recruitment/portal_jobs_view.xml b/addons/portal_hr_recruitment/portal_jobs_view.xml deleted file mode 100644 index e3e9cffb063..00000000000 --- a/addons/portal_hr_recruitment/portal_jobs_view.xml +++ /dev/null @@ -1,10 +0,0 @@ - - - - - - - - diff --git a/addons/portal_hr_recruitment/security/ir.model.access.csv b/addons/portal_hr_recruitment/security/ir.model.access.csv deleted file mode 100644 index 0725d1e41eb..00000000000 --- a/addons/portal_hr_recruitment/security/ir.model.access.csv +++ /dev/null @@ -1,3 +0,0 @@ -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 -access_hr_department_employee,hr_department_employee,hr.model_hr_department,portal.group_portal_member,1,0,0,0