diff --git a/addons/fetchmail_hr_recruitment/__openerp__.py b/addons/fetchmail_hr_recruitment/__openerp__.py deleted file mode 100644 index 98910a8f977..00000000000 --- a/addons/fetchmail_hr_recruitment/__openerp__.py +++ /dev/null @@ -1,41 +0,0 @@ -#-*- coding:utf-8 -*- -############################################################################## -# -# OpenERP, Open Source Management Solution -# Copyright (C) 2011 OpenERP S.A. (). All Rights Reserved -# -# 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" : "eMail Gateway for Applicants", - "version" : "1.0", - "depends" : ["fetchmail", "hr_recruitment"], - "author" : "OpenERP SA", - "category": "Hidden", - "description": """ - """, - 'website': 'http://www.openerp.com', - 'init_xml': [], - 'update_xml': [ - "installer.xml", - ], - 'demo_xml': [ - ], - 'installable': True, - 'auto_install': True, -} - -# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4: diff --git a/addons/fetchmail_hr_recruitment/i18n/de.po b/addons/fetchmail_hr_recruitment/i18n/de.po deleted file mode 100644 index 776a84f7167..00000000000 --- a/addons/fetchmail_hr_recruitment/i18n/de.po +++ /dev/null @@ -1,35 +0,0 @@ -# German translation for openobject-addons -# Copyright (c) 2012 Rosetta Contributors and Canonical Ltd 2012 -# This file is distributed under the same license as the openobject-addons package. -# FIRST AUTHOR , 2012. -# -msgid "" -msgstr "" -"Project-Id-Version: openobject-addons\n" -"Report-Msgid-Bugs-To: FULL NAME \n" -"POT-Creation-Date: 2012-02-08 00:36+0000\n" -"PO-Revision-Date: 2012-02-09 15:13+0000\n" -"Last-Translator: Ferdinand @ Camptocamp \n" -"Language-Team: German \n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"X-Launchpad-Export-Date: 2012-02-10 04:50+0000\n" -"X-Generator: Launchpad (build 14771)\n" - -#. module: fetchmail_hr_recruitment -#: model:ir.actions.act_window,help:fetchmail_hr_recruitment.action_link_applicant_to_email_account -msgid "" -"You can synchronize the job email account (e.g. job@yourcompany.com) with " -"OpenERP so that new applicants are created automatically in OpenERP for the " -"followup of the recruitment process. Attachments are automatically stored in " -"the DMS of OpenERP so that you get an indexation of all the CVs received." -msgstr "" -"Sie können Bewerbungen die auf diesem Konto (job@your.company.com) eingehen " -"automatisch mit Bewerbungen in OpenERP verbinden. Die Anhänge (zB CV) werden " -"automatisch im Dokumentenmanagement von OpenERP gespeichert und indiziert." - -#. module: fetchmail_hr_recruitment -#: model:ir.actions.act_window,name:fetchmail_hr_recruitment.action_link_applicant_to_email_account -msgid "Create Applicants from Email Account" -msgstr "Erzeuge Bewerbungen von diesem EMail Konto" diff --git a/addons/fetchmail_hr_recruitment/i18n/es_CR.po b/addons/fetchmail_hr_recruitment/i18n/es_CR.po deleted file mode 100644 index 297439ad7ad..00000000000 --- a/addons/fetchmail_hr_recruitment/i18n/es_CR.po +++ /dev/null @@ -1,37 +0,0 @@ -# Spanish (Costa Rica) translation for openobject-addons -# Copyright (c) 2012 Rosetta Contributors and Canonical Ltd 2012 -# This file is distributed under the same license as the openobject-addons package. -# FIRST AUTHOR , 2012. -# -msgid "" -msgstr "" -"Project-Id-Version: openobject-addons\n" -"Report-Msgid-Bugs-To: FULL NAME \n" -"POT-Creation-Date: 2012-02-08 00:36+0000\n" -"PO-Revision-Date: 2012-02-15 22:01+0000\n" -"Last-Translator: Freddy Gonzalez \n" -"Language-Team: Spanish (Costa Rica) \n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"X-Launchpad-Export-Date: 2012-02-16 05:07+0000\n" -"X-Generator: Launchpad (build 14781)\n" - -#. module: fetchmail_hr_recruitment -#: model:ir.actions.act_window,help:fetchmail_hr_recruitment.action_link_applicant_to_email_account -msgid "" -"You can synchronize the job email account (e.g. job@yourcompany.com) with " -"OpenERP so that new applicants are created automatically in OpenERP for the " -"followup of the recruitment process. Attachments are automatically stored in " -"the DMS of OpenERP so that you get an indexation of all the CVs received." -msgstr "" -"Puede sincronizar la cuenta de correo electrónico de trabajo (por ejemplo, " -"job@yourcompany.com) con OpenERP para que los nuevos solicitantes se crean " -"automáticamente en OpenERP para el seguimiento del proceso de contratación. " -"Los archivos adjuntos se almacenan automáticamente en el DMS de OpenERP para " -"que usted obtenga una indexación de todos los CV recibidos." - -#. module: fetchmail_hr_recruitment -#: model:ir.actions.act_window,name:fetchmail_hr_recruitment.action_link_applicant_to_email_account -msgid "Create Applicants from Email Account" -msgstr "Crear solicitantes de la cuenta de correo electrónico" diff --git a/addons/fetchmail_hr_recruitment/i18n/fetchmail_hr_recruitment.pot b/addons/fetchmail_hr_recruitment/i18n/fetchmail_hr_recruitment.pot deleted file mode 100644 index 57e54b6c19d..00000000000 --- a/addons/fetchmail_hr_recruitment/i18n/fetchmail_hr_recruitment.pot +++ /dev/null @@ -1,27 +0,0 @@ -# Translation of OpenERP Server. -# This file contains the translation of the following modules: -# * fetchmail_hr_recruitment -# -msgid "" -msgstr "" -"Project-Id-Version: OpenERP Server 6.1rc1\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2012-02-08 00:36+0000\n" -"PO-Revision-Date: 2012-02-08 00:36+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: fetchmail_hr_recruitment -#: model:ir.actions.act_window,help:fetchmail_hr_recruitment.action_link_applicant_to_email_account -msgid "You can synchronize the job email account (e.g. job@yourcompany.com) with OpenERP so that new applicants are created automatically in OpenERP for the followup of the recruitment process. Attachments are automatically stored in the DMS of OpenERP so that you get an indexation of all the CVs received." -msgstr "" - -#. module: fetchmail_hr_recruitment -#: model:ir.actions.act_window,name:fetchmail_hr_recruitment.action_link_applicant_to_email_account -msgid "Create Applicants from Email Account" -msgstr "" - diff --git a/addons/fetchmail_hr_recruitment/i18n/fr.po b/addons/fetchmail_hr_recruitment/i18n/fr.po deleted file mode 100644 index dd5b0ca99f1..00000000000 --- a/addons/fetchmail_hr_recruitment/i18n/fr.po +++ /dev/null @@ -1,32 +0,0 @@ -# French translation for openobject-addons -# Copyright (c) 2012 Rosetta Contributors and Canonical Ltd 2012 -# This file is distributed under the same license as the openobject-addons package. -# FIRST AUTHOR , 2012. -# -msgid "" -msgstr "" -"Project-Id-Version: openobject-addons\n" -"Report-Msgid-Bugs-To: FULL NAME \n" -"POT-Creation-Date: 2012-02-08 00:36+0000\n" -"PO-Revision-Date: 2012-03-05 21:49+0000\n" -"Last-Translator: FULL NAME \n" -"Language-Team: French \n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"X-Launchpad-Export-Date: 2012-03-06 04:48+0000\n" -"X-Generator: Launchpad (build 14900)\n" - -#. module: fetchmail_hr_recruitment -#: model:ir.actions.act_window,help:fetchmail_hr_recruitment.action_link_applicant_to_email_account -msgid "" -"You can synchronize the job email account (e.g. job@yourcompany.com) with " -"OpenERP so that new applicants are created automatically in OpenERP for the " -"followup of the recruitment process. Attachments are automatically stored in " -"the DMS of OpenERP so that you get an indexation of all the CVs received." -msgstr "" - -#. module: fetchmail_hr_recruitment -#: model:ir.actions.act_window,name:fetchmail_hr_recruitment.action_link_applicant_to_email_account -msgid "Create Applicants from Email Account" -msgstr "" diff --git a/addons/fetchmail_hr_recruitment/i18n/ja.po b/addons/fetchmail_hr_recruitment/i18n/ja.po deleted file mode 100644 index 76eeb10ce74..00000000000 --- a/addons/fetchmail_hr_recruitment/i18n/ja.po +++ /dev/null @@ -1,32 +0,0 @@ -# Japanese translation for openobject-addons -# Copyright (c) 2012 Rosetta Contributors and Canonical Ltd 2012 -# This file is distributed under the same license as the openobject-addons package. -# FIRST AUTHOR , 2012. -# -msgid "" -msgstr "" -"Project-Id-Version: openobject-addons\n" -"Report-Msgid-Bugs-To: FULL NAME \n" -"POT-Creation-Date: 2012-02-08 00:36+0000\n" -"PO-Revision-Date: 2012-04-01 05:45+0000\n" -"Last-Translator: Masaki Yamaya \n" -"Language-Team: Japanese \n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"X-Launchpad-Export-Date: 2012-04-02 04:37+0000\n" -"X-Generator: Launchpad (build 15032)\n" - -#. module: fetchmail_hr_recruitment -#: model:ir.actions.act_window,help:fetchmail_hr_recruitment.action_link_applicant_to_email_account -msgid "" -"You can synchronize the job email account (e.g. job@yourcompany.com) with " -"OpenERP so that new applicants are created automatically in OpenERP for the " -"followup of the recruitment process. Attachments are automatically stored in " -"the DMS of OpenERP so that you get an indexation of all the CVs received." -msgstr "" - -#. module: fetchmail_hr_recruitment -#: model:ir.actions.act_window,name:fetchmail_hr_recruitment.action_link_applicant_to_email_account -msgid "Create Applicants from Email Account" -msgstr "Eメールアカウントから応募者を作成" diff --git a/addons/fetchmail_hr_recruitment/i18n/nl.po b/addons/fetchmail_hr_recruitment/i18n/nl.po deleted file mode 100644 index 8dc53088f60..00000000000 --- a/addons/fetchmail_hr_recruitment/i18n/nl.po +++ /dev/null @@ -1,37 +0,0 @@ -# Dutch translation for openobject-addons -# Copyright (c) 2012 Rosetta Contributors and Canonical Ltd 2012 -# This file is distributed under the same license as the openobject-addons package. -# FIRST AUTHOR , 2012. -# -msgid "" -msgstr "" -"Project-Id-Version: openobject-addons\n" -"Report-Msgid-Bugs-To: FULL NAME \n" -"POT-Creation-Date: 2012-02-08 00:36+0000\n" -"PO-Revision-Date: 2012-02-13 14:18+0000\n" -"Last-Translator: Erwin \n" -"Language-Team: Dutch \n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"X-Launchpad-Export-Date: 2012-02-14 05:46+0000\n" -"X-Generator: Launchpad (build 14781)\n" - -#. module: fetchmail_hr_recruitment -#: model:ir.actions.act_window,help:fetchmail_hr_recruitment.action_link_applicant_to_email_account -msgid "" -"You can synchronize the job email account (e.g. job@yourcompany.com) with " -"OpenERP so that new applicants are created automatically in OpenERP for the " -"followup of the recruitment process. Attachments are automatically stored in " -"the DMS of OpenERP so that you get an indexation of all the CVs received." -msgstr "" -"Het is mogelijk het vacature e-mail account (bijvoorbeeld: " -"vacature@mijnbedrijf.nl) te synchroniseren met OpenERP zo dat nieuwe " -"kandidaten automatisch worden aangemaakt in OpenERP voor het vervolgproces " -"van de wervingsproces. Bijlagen worden automatisch opgeslagen in de DMS van " -"OpenERP zo dat alle ontvangen CV's automatisch worden geïndexeerd." - -#. module: fetchmail_hr_recruitment -#: model:ir.actions.act_window,name:fetchmail_hr_recruitment.action_link_applicant_to_email_account -msgid "Create Applicants from Email Account" -msgstr "Maak kandidaten van een E-mail" diff --git a/addons/fetchmail_hr_recruitment/i18n/pt.po b/addons/fetchmail_hr_recruitment/i18n/pt.po deleted file mode 100644 index 6fc0ff57046..00000000000 --- a/addons/fetchmail_hr_recruitment/i18n/pt.po +++ /dev/null @@ -1,32 +0,0 @@ -# Portuguese translation for openobject-addons -# Copyright (c) 2012 Rosetta Contributors and Canonical Ltd 2012 -# This file is distributed under the same license as the openobject-addons package. -# FIRST AUTHOR , 2012. -# -msgid "" -msgstr "" -"Project-Id-Version: openobject-addons\n" -"Report-Msgid-Bugs-To: FULL NAME \n" -"POT-Creation-Date: 2012-02-08 00:36+0000\n" -"PO-Revision-Date: 2012-02-29 22:48+0000\n" -"Last-Translator: FULL NAME \n" -"Language-Team: Portuguese \n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"X-Launchpad-Export-Date: 2012-03-02 04:36+0000\n" -"X-Generator: Launchpad (build 14886)\n" - -#. module: fetchmail_hr_recruitment -#: model:ir.actions.act_window,help:fetchmail_hr_recruitment.action_link_applicant_to_email_account -msgid "" -"You can synchronize the job email account (e.g. job@yourcompany.com) with " -"OpenERP so that new applicants are created automatically in OpenERP for the " -"followup of the recruitment process. Attachments are automatically stored in " -"the DMS of OpenERP so that you get an indexation of all the CVs received." -msgstr "" - -#. module: fetchmail_hr_recruitment -#: model:ir.actions.act_window,name:fetchmail_hr_recruitment.action_link_applicant_to_email_account -msgid "Create Applicants from Email Account" -msgstr "" diff --git a/addons/fetchmail_hr_recruitment/i18n/sr@latin.po b/addons/fetchmail_hr_recruitment/i18n/sr@latin.po deleted file mode 100644 index e5a9512224f..00000000000 --- a/addons/fetchmail_hr_recruitment/i18n/sr@latin.po +++ /dev/null @@ -1,36 +0,0 @@ -# Serbian Latin translation for openobject-addons -# Copyright (c) 2012 Rosetta Contributors and Canonical Ltd 2012 -# This file is distributed under the same license as the openobject-addons package. -# FIRST AUTHOR , 2012. -# -msgid "" -msgstr "" -"Project-Id-Version: openobject-addons\n" -"Report-Msgid-Bugs-To: FULL NAME \n" -"POT-Creation-Date: 2012-02-08 00:36+0000\n" -"PO-Revision-Date: 2012-03-19 11:54+0000\n" -"Last-Translator: Milan Milosevic \n" -"Language-Team: Serbian Latin \n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"X-Launchpad-Export-Date: 2012-03-20 04:56+0000\n" -"X-Generator: Launchpad (build 14969)\n" - -#. module: fetchmail_hr_recruitment -#: model:ir.actions.act_window,help:fetchmail_hr_recruitment.action_link_applicant_to_email_account -msgid "" -"You can synchronize the job email account (e.g. job@yourcompany.com) with " -"OpenERP so that new applicants are created automatically in OpenERP for the " -"followup of the recruitment process. Attachments are automatically stored in " -"the DMS of OpenERP so that you get an indexation of all the CVs received." -msgstr "" -"Možete sinhronizovati svoj radni email nalog (npr:job@yourcompany.com) sa " -"OpenERP-om, tako da se novi kandidati prave automatski u OpenERP-u za " -"nstavak procesa zapošljavanja. Vezane stavke su automatski sačuvane u DMS-u " -"OpenERP-a, tako da imate indeksaciju svih primljenih CV-a." - -#. module: fetchmail_hr_recruitment -#: model:ir.actions.act_window,name:fetchmail_hr_recruitment.action_link_applicant_to_email_account -msgid "Create Applicants from Email Account" -msgstr "Napravi kandidate preko email naloga" diff --git a/addons/fetchmail_hr_recruitment/i18n/zh_CN.po b/addons/fetchmail_hr_recruitment/i18n/zh_CN.po deleted file mode 100644 index 0e414039a2e..00000000000 --- a/addons/fetchmail_hr_recruitment/i18n/zh_CN.po +++ /dev/null @@ -1,35 +0,0 @@ -# Chinese (Simplified) translation for openobject-addons -# Copyright (c) 2012 Rosetta Contributors and Canonical Ltd 2012 -# This file is distributed under the same license as the openobject-addons package. -# FIRST AUTHOR , 2012. -# -msgid "" -msgstr "" -"Project-Id-Version: openobject-addons\n" -"Report-Msgid-Bugs-To: FULL NAME \n" -"POT-Creation-Date: 2012-02-08 00:36+0000\n" -"PO-Revision-Date: 2012-02-16 12:51+0000\n" -"Last-Translator: Jeff Wang \n" -"Language-Team: Chinese (Simplified) \n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"X-Launchpad-Export-Date: 2012-02-17 05:01+0000\n" -"X-Generator: Launchpad (build 14814)\n" - -#. module: fetchmail_hr_recruitment -#: model:ir.actions.act_window,help:fetchmail_hr_recruitment.action_link_applicant_to_email_account -msgid "" -"You can synchronize the job email account (e.g. job@yourcompany.com) with " -"OpenERP so that new applicants are created automatically in OpenERP for the " -"followup of the recruitment process. Attachments are automatically stored in " -"the DMS of OpenERP so that you get an indexation of all the CVs received." -msgstr "" -"你可以让这个招聘邮件帐号(例如 " -"job@yourcompany.com)与OpenERP同步。这样用于追踪后续流程的新应聘者就会在OpenERP中自动创建。附件会自动存在文档管理系统中," -"这样你就有了所有收到过的简历的一个索引。" - -#. module: fetchmail_hr_recruitment -#: model:ir.actions.act_window,name:fetchmail_hr_recruitment.action_link_applicant_to_email_account -msgid "Create Applicants from Email Account" -msgstr "从邮件帐号创建应聘者" diff --git a/addons/fetchmail_hr_recruitment/installer.xml b/addons/fetchmail_hr_recruitment/installer.xml deleted file mode 100644 index ae2eb3de3ee..00000000000 --- a/addons/fetchmail_hr_recruitment/installer.xml +++ /dev/null @@ -1,19 +0,0 @@ - - - - - Create Applicants from Email Account - ir.actions.act_window - fetchmail.server - form - tree,form - - You can synchronize the job email account (e.g. job@yourcompany.com) with OpenERP so that new applicants are created automatically in OpenERP for the followup of the recruitment process. Attachments are automatically stored in the DMS of OpenERP so that you get an indexation of all the CVs received. - - - - - - - - diff --git a/addons/hr/__init__.py b/addons/hr/__init__.py index e2ff754ad35..1ed86ab58bb 100644 --- a/addons/hr/__init__.py +++ b/addons/hr/__init__.py @@ -24,5 +24,6 @@ import hr import report import wizard +import res_config # vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4: diff --git a/addons/hr/__openerp__.py b/addons/hr/__openerp__.py index 35afdacae62..482eaaafda0 100644 --- a/addons/hr/__openerp__.py +++ b/addons/hr/__openerp__.py @@ -50,6 +50,7 @@ You can manage: 'hr_installer.xml', 'hr_data.xml', 'hr_board.xml', + 'res_config_view.xml', ], 'demo_xml': [ 'hr_demo.xml', diff --git a/addons/hr/hr_installer.xml b/addons/hr/hr_installer.xml index 7ba3b193cf1..1cf7efe49ba 100644 --- a/addons/hr/hr_installer.xml +++ b/addons/hr/hr_installer.xml @@ -1,28 +1,11 @@ - HR Management 5 - - - Create your Employees - ir.actions.act_window - hr.employee - form - tree,form - - Create employees form and link them to an OpenERP user if you want them to access this instance. Categories can be set on employees to perform massive operations on all the employees of the same category, i.e. allocating holidays. - - - - - - - Create Your Departments ir.actions.act_window @@ -33,11 +16,5 @@ Your departments structure is used to manage all documents related to employees by departments: expenses and timesheet validation, leaves management, recruitments, etc. - - - - 3 - - diff --git a/addons/hr/res_config.py b/addons/hr/res_config.py new file mode 100644 index 00000000000..5f92f2db5a6 --- /dev/null +++ b/addons/hr/res_config.py @@ -0,0 +1,43 @@ +# -*- coding: utf-8 -*- +############################################################################## +# +# OpenERP, Open Source Business Applications +# Copyright (C) 2004-2012 OpenERP S.A. (). +# +# 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 . +# +############################################################################## + +from osv import fields, osv + +class hr_config_settings(osv.osv_memory): + _name = 'hr.config.settings' + _inherit = 'res.config.settings' + + _columns = { + 'module_hr_timesheet_sheet': fields.boolean('Manage Timesheets and Attendances', + help ="""This installs the module hr_timesheet_sheet."""), + 'module_hr_holidays': fields.boolean('Manage Holidays', + help ="""This installs the module hr_holidays."""), + 'module_hr_expense': fields.boolean('Manage Employees Expenses', + help ="""This installs the module hr_expense."""), + 'module_hr_recruitment': fields.boolean('Manage Recruitment Process', + help ="""This installs the module hr_recruitment."""), + 'module_hr_contract': fields.boolean('Manage Employees Contracts', + help ="""This installs the module hr_contract."""), + 'module_hr_evaluation': fields.boolean('Manage Appraisals Process', + help ="""This installs the module hr_evaluation."""), + } + +# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4: diff --git a/addons/hr/res_config_view.xml b/addons/hr/res_config_view.xml new file mode 100644 index 00000000000..f195cb1894a --- /dev/null +++ b/addons/hr/res_config_view.xml @@ -0,0 +1,74 @@ + + + + + Payroll + ir.module.module + kanban,tree,form + [('state','=','uninstalled'), ('name','ilike','payroll'), ('name','!=','hr_payroll_account')] + + + + hr settings + hr.config.settings + form + +
+ +