Raphael Collet (OpenERP) has proposed merging lp:~openerp-dev/openobject-addons/trunk-v62_hr_config-jap into lp:openobject-addons.
Requested reviews: Raphael Collet (OpenERP) (rco-openerp) For more details, see: https://code.launchpad.net/~openerp-dev/openobject-addons/trunk-v62_hr_config-jap/+merge/101363 Hello, [ADD]: Added new configuration wizard for HR application. Thanks, JAP -- https://code.launchpad.net/~openerp-dev/openobject-addons/trunk-v62_hr_config-jap/+merge/101363 Your team OpenERP R&D Team is subscribed to branch lp:~openerp-dev/openobject-addons/trunk-v62_hr_config-jap.
=== removed directory 'fetchmail_hr_recruitment' === removed file 'fetchmail_hr_recruitment/__init__.py' --- fetchmail_hr_recruitment/__init__.py 2011-12-19 16:54:40 +0000 +++ fetchmail_hr_recruitment/__init__.py 1970-01-01 00:00:00 +0000 @@ -1,22 +0,0 @@ -#-*- coding:utf-8 -*- -############################################################################## -# -# OpenERP, Open Source Management Solution -# Copyright (C) 2011 OpenERP S.A. (<http://www.openerp.com>). 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 <http://www.gnu.org/licenses/>. -# -############################################################################## - -# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4: === removed file 'fetchmail_hr_recruitment/__openerp__.py' --- fetchmail_hr_recruitment/__openerp__.py 2012-01-31 13:36:57 +0000 +++ fetchmail_hr_recruitment/__openerp__.py 1970-01-01 00:00:00 +0000 @@ -1,41 +0,0 @@ -#-*- coding:utf-8 -*- -############################################################################## -# -# OpenERP, Open Source Management Solution -# Copyright (C) 2011 OpenERP S.A. (<http://www.openerp.com>). 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 <http://www.gnu.org/licenses/>. -# -############################################################################## - -{ - "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: === removed directory 'fetchmail_hr_recruitment/i18n' === removed file 'fetchmail_hr_recruitment/i18n/de.po' --- fetchmail_hr_recruitment/i18n/de.po 2012-02-29 09:45:02 +0000 +++ fetchmail_hr_recruitment/i18n/de.po 1970-01-01 00:00:00 +0000 @@ -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 <EMAIL@ADDRESS>, 2012. -# -msgid "" -msgstr "" -"Project-Id-Version: openobject-addons\n" -"Report-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>\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 <Unknown>\n" -"Language-Team: German <[email protected]>\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. [email protected]) 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 ([email protected]) 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" === removed file 'fetchmail_hr_recruitment/i18n/es_CR.po' --- fetchmail_hr_recruitment/i18n/es_CR.po 2012-02-29 09:45:02 +0000 +++ fetchmail_hr_recruitment/i18n/es_CR.po 1970-01-01 00:00:00 +0000 @@ -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 <EMAIL@ADDRESS>, 2012. -# -msgid "" -msgstr "" -"Project-Id-Version: openobject-addons\n" -"Report-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>\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 <[email protected]>\n" -"Language-Team: Spanish (Costa Rica) <[email protected]>\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. [email protected]) 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, " -"[email protected]) 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" === removed file 'fetchmail_hr_recruitment/i18n/fetchmail_hr_recruitment.pot' --- fetchmail_hr_recruitment/i18n/fetchmail_hr_recruitment.pot 2012-02-08 01:08:30 +0000 +++ fetchmail_hr_recruitment/i18n/fetchmail_hr_recruitment.pot 1970-01-01 00:00:00 +0000 @@ -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. [email protected]) 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 "" - === removed file 'fetchmail_hr_recruitment/i18n/fr.po' --- fetchmail_hr_recruitment/i18n/fr.po 2012-03-06 04:48:43 +0000 +++ fetchmail_hr_recruitment/i18n/fr.po 1970-01-01 00:00:00 +0000 @@ -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 <EMAIL@ADDRESS>, 2012. -# -msgid "" -msgstr "" -"Project-Id-Version: openobject-addons\n" -"Report-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>\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 <EMAIL@ADDRESS>\n" -"Language-Team: French <[email protected]>\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. [email protected]) 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 "" === removed file 'fetchmail_hr_recruitment/i18n/ja.po' --- fetchmail_hr_recruitment/i18n/ja.po 2012-04-02 04:37:53 +0000 +++ fetchmail_hr_recruitment/i18n/ja.po 1970-01-01 00:00:00 +0000 @@ -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 <EMAIL@ADDRESS>, 2012. -# -msgid "" -msgstr "" -"Project-Id-Version: openobject-addons\n" -"Report-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>\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 <Unknown>\n" -"Language-Team: Japanese <[email protected]>\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. [email protected]) 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メールアカウントから応募者を作成" === removed file 'fetchmail_hr_recruitment/i18n/nl.po' --- fetchmail_hr_recruitment/i18n/nl.po 2012-03-20 18:29:12 +0000 +++ fetchmail_hr_recruitment/i18n/nl.po 1970-01-01 00:00:00 +0000 @@ -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 <EMAIL@ADDRESS>, 2012. -# -msgid "" -msgstr "" -"Project-Id-Version: openobject-addons\n" -"Report-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>\n" -"POT-Creation-Date: 2012-02-08 00:36+0000\n" -"PO-Revision-Date: 2012-02-13 14:18+0000\n" -"Last-Translator: Erwin <Unknown>\n" -"Language-Team: Dutch <[email protected]>\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. [email protected]) 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: " -"[email protected]) 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" === removed file 'fetchmail_hr_recruitment/i18n/pt.po' --- fetchmail_hr_recruitment/i18n/pt.po 2012-03-02 04:36:58 +0000 +++ fetchmail_hr_recruitment/i18n/pt.po 1970-01-01 00:00:00 +0000 @@ -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 <EMAIL@ADDRESS>, 2012. -# -msgid "" -msgstr "" -"Project-Id-Version: openobject-addons\n" -"Report-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>\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 <EMAIL@ADDRESS>\n" -"Language-Team: Portuguese <[email protected]>\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. [email protected]) 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 "" === removed file 'fetchmail_hr_recruitment/i18n/[email protected]' --- fetchmail_hr_recruitment/i18n/[email protected] 2012-03-20 04:56:12 +0000 +++ fetchmail_hr_recruitment/i18n/[email protected] 1970-01-01 00:00:00 +0000 @@ -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 <EMAIL@ADDRESS>, 2012. -# -msgid "" -msgstr "" -"Project-Id-Version: openobject-addons\n" -"Report-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>\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 <Unknown>\n" -"Language-Team: Serbian Latin <sr@[email protected]>\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. [email protected]) 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:[email protected]) 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" === removed file 'fetchmail_hr_recruitment/i18n/zh_CN.po' --- fetchmail_hr_recruitment/i18n/zh_CN.po 2012-02-17 05:02:01 +0000 +++ fetchmail_hr_recruitment/i18n/zh_CN.po 1970-01-01 00:00:00 +0000 @@ -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 <EMAIL@ADDRESS>, 2012. -# -msgid "" -msgstr "" -"Project-Id-Version: openobject-addons\n" -"Report-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>\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 <[email protected]>\n" -"Language-Team: Chinese (Simplified) <[email protected]>\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. [email protected]) 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 "" -"你可以让这个招聘邮件帐号(例如 " -"[email protected])与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 "从邮件帐号创建应聘者" === removed file 'fetchmail_hr_recruitment/installer.xml' --- fetchmail_hr_recruitment/installer.xml 2011-11-08 21:13:20 +0000 +++ fetchmail_hr_recruitment/installer.xml 1970-01-01 00:00:00 +0000 @@ -1,19 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<openerp> - <data> - <record model="ir.actions.act_window" id="action_link_applicant_to_email_account"> - <field name="name">Create Applicants from Email Account</field> - <field name="type">ir.actions.act_window</field> - <field name="res_model">fetchmail.server</field> - <field name="view_type">form</field> - <field name="view_mode">tree,form</field> - <field name="context" eval="{'default_name': 'Recruitment Applicants', 'default_object_id': ref('hr_recruitment.model_hr_applicant')}"/> - <field name="help">You can synchronize the job email account (e.g. [email protected]) 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.</field> - </record> - - <record model="ir.actions.todo" id="config_wizard_action_link_applicant_to_email_account"> - <field name="action_id" ref="action_link_applicant_to_email_account" /> - <field name="category_id" ref="hr.category_hr_management_config" /> - </record> - </data> -</openerp> === modified file 'hr/__init__.py' --- hr/__init__.py 2011-10-11 20:05:49 +0000 +++ hr/__init__.py 2012-04-10 12:25:31 +0000 @@ -24,5 +24,6 @@ import report import wizard +import res_config # vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4: === modified file 'hr/__openerp__.py' --- hr/__openerp__.py 2012-02-13 15:27:55 +0000 +++ hr/__openerp__.py 2012-04-10 12:25:31 +0000 @@ -50,6 +50,7 @@ 'hr_installer.xml', 'hr_data.xml', 'hr_board.xml', + 'res_config_view.xml', ], 'demo_xml': [ 'hr_demo.xml', === modified file 'hr/hr_installer.xml' --- hr/hr_installer.xml 2011-11-09 18:12:56 +0000 +++ hr/hr_installer.xml 2012-04-10 12:25:31 +0000 @@ -1,28 +1,11 @@ <openerp> <data> - <record id="category_hr_management_config" model="ir.actions.todo.category"> <field name="name">HR Management</field> <field name="sequence">5</field> </record> - <!-- employee configure action --> - <record id="action_create_hr_employee_installer" model="ir.actions.act_window"> - <field name="name">Create your Employees</field> - <field name="type">ir.actions.act_window</field> - <field name="res_model">hr.employee</field> - <field name="view_type">form</field> - <field name="view_mode">tree,form</field> - <field name="view_id" eval="False"/> - <field name="help">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.</field> - </record> - - <record id="config_wizard_action_create_hr_employee_installer" model="ir.actions.todo"> - <field name="action_id" ref="action_create_hr_employee_installer"/> - <field name="category_id" ref="category_hr_management_config"/> - </record> - <record model="ir.actions.act_window" id="view_department_form_installer"> <field name="name">Create Your Departments</field> <field name="type">ir.actions.act_window</field> @@ -33,11 +16,5 @@ <field name="help">Your departments structure is used to manage all documents related to employees by departments: expenses and timesheet validation, leaves management, recruitments, etc.</field> </record> - <record id="view_department_form_todo" model="ir.actions.todo"> - <field name="action_id" ref="view_department_form_installer"/> - <field name="category_id" ref="hr.category_hr_management_config"/> - <field name="sequence">3</field> - <field name="groups_id" eval="[(6, 0, [ref('base.group_extended')])]" /> - </record> </data> </openerp> === added file 'hr/res_config.py' --- hr/res_config.py 1970-01-01 00:00:00 +0000 +++ hr/res_config.py 2012-04-10 12:25:31 +0000 @@ -0,0 +1,43 @@ +# -*- coding: utf-8 -*- +############################################################################## +# +# OpenERP, Open Source Business Applications +# Copyright (C) 2004-2012 OpenERP S.A. (<http://openerp.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/>. +# +############################################################################## + +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: === added file 'hr/res_config_view.xml' --- hr/res_config_view.xml 1970-01-01 00:00:00 +0000 +++ hr/res_config_view.xml 2012-04-10 12:25:31 +0000 @@ -0,0 +1,74 @@ +<openerp> + <data> + + <record id="open_payroll1_modules" model="ir.actions.act_window"> + <field name="name">Payroll</field> + <field name="res_model">ir.module.module</field> + <field name="view_mode">kanban,tree,form</field> + <field name="domain">[('state','=','uninstalled'), ('name','ilike','payroll'), ('name','!=','hr_payroll_account')]</field> + </record> + + <record id="view_human_resources_configuration" model="ir.ui.view"> + <field name="name">hr settings</field> + <field name="model">hr.config.settings</field> + <field name="type">form</field> + <field name="arch" type="xml"> + <form string ="HR Application"> + <separator string="Human Resources" colspan="4"/> + <label string="Departments :"/> + <label colspan="1"/> + <group colspan="2"> + <button name="%(view_department_form_installer)d" string="Create Your Departments" + type="action" icon="terp-personal+"/> + </group> + <newline/> + <label string="Employees :" /> + <label colspan="1"/> + <group colspan="2"> + <button name="%(open_view_employee_list_my)d" string="Create Your Employees" + type="action" icon="terp-personal"/> + </group> + <newline/> + <field name="module_hr_timesheet_sheet"/> + <newline/> + <field name="module_hr_holidays"/> + <newline/> + <label string="Salary Rules :"/> + <label colspan="1"/> + <group colspan="2"> + <button string="Configure Your Salary Rules" icon="gtk-go-forward" + name="%(open_payroll1_modules)d" type="action" /> + </group> + + <separator string="Additional Features" colspan="4"/> + <field name="module_hr_expense"/> + <newline/> + <field name="module_hr_recruitment"/> + <newline/> + <field name="module_hr_evaluation"/> + <newline/> + <field name="module_hr_contract"/> + + <group name="config_timesheets" colspan="4"/> + <group name="config_payroll" colspan="4"/> + <group name="config_recruitment" colspan="4"/> + + <label colspan="2"/> + <button string="Cancel" icon="gtk-cancel" special="cancel"/> + <button string="Apply" icon="gtk-apply" type="object" name="execute"/> + </form> + </field> + </record> + + <record id="action_human_resources_configuration" model="ir.actions.act_window"> + <field name="name">Configure Human Resources Application</field> + <field name="res_model">hr.config.settings</field> + <field name="view_id" ref="view_human_resources_configuration"/> + <field name="view_mode">form</field> + <field name="target">inline</field> + </record> + + <menuitem id="menu_human_resources_configuration" name="Human Resources" parent="base.menu_config" sequence="8" action="action_human_resources_configuration"/> + + </data> +</openerp> === modified file 'hr_evaluation/hr_evaluation_installer.xml' --- hr_evaluation/hr_evaluation_installer.xml 2011-12-19 16:54:40 +0000 +++ hr_evaluation/hr_evaluation_installer.xml 2012-04-10 12:25:31 +0000 @@ -10,9 +10,21 @@ <field name="help">You can define appraisal plans (ex: first interview after 6 months, then every year). Then, each employee can be linked to an appraisal plan so that OpenERP can automatically generate interview requests to managers and/or subordinates.</field> </record> - <record id="todo_evaluation_plans_installer" model="ir.actions.todo"> - <field name="action_id" ref="action_evaluation_plans_installer" /> - <field name="category_id" ref="hr.category_hr_management_config" /> + <!-- Hr Configuration wizard --> + <record id="view_evaluation_config_wizard_inherit" model="ir.ui.view"> + <field name="name">hr settings for evaluations</field> + <field name="model">hr.config.settings</field> + <field name="type">form</field> + <field name="inherit_id" ref="hr.view_human_resources_configuration"/> + <field name="arch" type="xml"> + <field name="module_hr_evaluation" position="after"> + <group colspan="2"> + <button name="%(action_evaluation_plans_installer)d" string="Review Appraisal Plans" + type="action" icon="terp-stock_align_left_24"/> + </group> + </field> + </field> </record> + </data> </openerp> === modified file 'hr_expense/hr_expense_installer_view.xml' --- hr_expense/hr_expense_installer_view.xml 2011-10-16 01:28:00 +0000 +++ hr_expense/hr_expense_installer_view.xml 2012-04-10 12:25:31 +0000 @@ -27,10 +27,21 @@ <field name="help">Define one product for each expense type allowed for an employee (travel by car, hostel, restaurant, etc). If you reimburse the employees at a fixed rate, set a cost and a unit of measure on the product. If you reimburse based on real costs, set the cost at 0.00. The user will set the real price when recording his expense sheet.</field> </record> - <record id="product_normal_form_view_todo" model="ir.actions.todo"> - <field name="action_id" ref="product_normal_form_view_installer"/> - <field name="category_id" ref="hr.category_hr_management_config"/> - <field name="sequence">3</field> - </record> + <!-- Hr Configuration wizard --> + <record id="view_expenseconfig_wizard_inherit" model="ir.ui.view"> + <field name="name">hr settings for expenses</field> + <field name="model">hr.config.settings</field> + <field name="type">form</field> + <field name="inherit_id" ref="hr.view_human_resources_configuration"/> + <field name="arch" type="xml"> + <field name="module_hr_expense" position="after"> + <group colspan="2"> + <button name="%(product_normal_form_view_installer)d" string="Review Expenses Products" + type="action" icon="terp-accessories-archiver"/> + </group> + </field> + </field> + </record> + </data> </openerp> === modified file 'hr_holidays/hr_holidays_view.xml' --- hr_holidays/hr_holidays_view.xml 2012-04-04 12:45:07 +0000 +++ hr_holidays/hr_holidays_view.xml 2012-04-10 12:25:31 +0000 @@ -485,10 +485,21 @@ <field name="help">You can assign remaining Legal Leaves for each employee, OpenERP will automatically create and validate allocation requests.</field> </record> - <record id="hr_holidays_leaves_assign_form_view_todo" model="ir.actions.todo"> - <field name="action_id" ref="hr_holidays_leaves_assign_legal"/> - <field name="category_id" ref="hr.category_hr_management_config"/> - </record> + <!-- Hr Configuration wizard --> + <record id="view_config_wizard_inherit" model="ir.ui.view"> + <field name="name">hr settings for holidays</field> + <field name="model">hr.config.settings</field> + <field name="type">form</field> + <field name="inherit_id" ref="hr.view_human_resources_configuration"/> + <field name="arch" type="xml"> + <field name="module_hr_holidays" position="after"> + <group colspan="2"> + <button name="%(hr_holidays.hr_holidays_leaves_assign_legal)d" string="Allocate Leaves" + type="action" icon="gtk-apply"/> + </group> + </field> + </field> + </record> <!-- Hr employee inherit Legal Leaves --> === modified file 'hr_payroll/__init__.py' --- hr_payroll/__init__.py 2011-01-14 00:11:01 +0000 +++ hr_payroll/__init__.py 2012-04-10 12:25:31 +0000 @@ -24,4 +24,6 @@ import report import wizard +import res_config + # vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4: === modified file 'hr_payroll/__openerp__.py' --- hr_payroll/__openerp__.py 2012-02-13 15:27:55 +0000 +++ hr_payroll/__openerp__.py 2012-04-10 12:25:31 +0000 @@ -59,6 +59,7 @@ 'hr_payroll_data.xml', 'security/ir.model.access.csv', 'wizard/hr_payroll_contribution_register_report.xml', + 'res_config_view.xml', ], 'test': [ 'test/payslip.yml', === added file 'hr_payroll/res_config.py' --- hr_payroll/res_config.py 1970-01-01 00:00:00 +0000 +++ hr_payroll/res_config.py 2012-04-10 12:25:31 +0000 @@ -0,0 +1,29 @@ +# -*- coding: utf-8 -*- +############################################################################## +# +# OpenERP, Open Source Business Applications +# Copyright (C) 2004-2012 OpenERP S.A. (<http://openerp.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/>. +# +############################################################################## + +from osv import osv, fields + +class human_resources_configuration(osv.osv_memory): + _inherit = 'hr.config.settings' + _columns = { + 'module_hr_payroll_account': fields.boolean('Manage Account Payroll', + help ="""This installs the module hr_payroll_account."""), + } === added file 'hr_payroll/res_config_view.xml' --- hr_payroll/res_config_view.xml 1970-01-01 00:00:00 +0000 +++ hr_payroll/res_config_view.xml 2012-04-10 12:25:31 +0000 @@ -0,0 +1,17 @@ +<?xml version="1.0" encoding="utf-8"?> +<openerp> + <data> + <record id="view_hr_config_inherit" model="ir.ui.view"> + <field name="name">hr settings for payroll</field> + <field name="model">hr.config.settings</field> + <field name="type">form</field> + <field name="inherit_id" ref="hr.view_human_resources_configuration"/> + <field name="arch" type="xml"> + <group name="config_payroll" position="after"> + <separator string="Account Payroll" colspan="4"/> + <field name="module_hr_payroll_account"/> + </group> + </field> + </record> + </data> +</openerp> === modified file 'hr_recruitment/__init__.py' --- hr_recruitment/__init__.py 2011-01-14 00:11:01 +0000 +++ hr_recruitment/__init__.py 2012-04-10 12:25:31 +0000 @@ -22,5 +22,6 @@ import hr_recruitment import report import wizard +import res_config # vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4: === modified file 'hr_recruitment/__openerp__.py' --- hr_recruitment/__openerp__.py 2012-02-13 15:27:55 +0000 +++ hr_recruitment/__openerp__.py 2012-04-10 12:25:31 +0000 @@ -49,7 +49,8 @@ 'security/ir.model.access.csv', 'report/hr_recruitment_report_view.xml', 'board_hr_recruitment_statistical_view.xml', - 'hr_recruitment_installer_view.xml' + 'hr_recruitment_installer_view.xml', + 'res_config_view.xml', ], 'init_xml': [ 'hr_recruitment_data.xml' === modified file 'hr_recruitment/hr_recruitment_installer_view.xml' --- hr_recruitment/hr_recruitment_installer_view.xml 2011-10-16 01:28:00 +0000 +++ hr_recruitment/hr_recruitment_installer_view.xml 2012-04-10 12:25:31 +0000 @@ -9,11 +9,5 @@ <field name="help">Check if the following stages are matching your recruitment process. Don't forget to specify the department if your recruitment process is different according to the job position.</field> <field name="view_id" ref="hr_recruitment.hr_recruitment_stage_tree"/> </record> - - <record id="hr_recruitment_stage_form_todo" model="ir.actions.todo"> - <field name="action_id" ref="hr_recruitment_stage_form_installer"/> - <field name="category_id" ref="hr.category_hr_management_config"/> - <field name="sequence">3</field> - </record> </data> </openerp> === added file 'hr_recruitment/res_config.py' --- hr_recruitment/res_config.py 1970-01-01 00:00:00 +0000 +++ hr_recruitment/res_config.py 2012-04-10 12:25:31 +0000 @@ -0,0 +1,52 @@ +# -*- coding: utf-8 -*- +############################################################################## +# +# OpenERP, Open Source Business Applications +# Copyright (C) 2004-2012 OpenERP S.A. (<http://openerp.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/>. +# +############################################################################## + +from osv import osv, fields + +class hr_applicant_settings(osv.osv_memory): + _name = 'hr.config.settings' + _inherit = ['hr.config.settings', 'fetchmail.config.settings'] + + _columns = { + 'module_document_ftp': fields.boolean('Index & Track Documents', + help="""Manage your CV's and motivation letter related to all applicants. + This installs the module document_ftp."""), + 'fetchmail_applicants': fields.boolean('Create Applicants from an Email Account', + fetchmail_model='hr.applicant', fetchmail_name='Incoming HR Applications', + help ="""Allow applicants to send their job application to an email address ([email protected]), + and create automatically application documents in the system."""), + 'applicants_server': fields.char('Server', size=256), + 'applicants_port': fields.integer('Port'), + 'applicants_type': fields.selection([ + ('pop', 'POP Server'), + ('imap', 'IMAP Server'), + ('local', 'Local Server'), + ], 'Type'), + 'applicants_is_ssl': fields.boolean('SSL/TLS', + help="Connections are encrypted with SSL/TLS through a dedicated port (default: IMAPS=993, POP=995)"), + 'applicants_user': fields.char('Username', size=256), + 'applicants_password': fields.char('Password', size=1024), + } + + _defaults = { + 'applicants_type': 'pop', + } + === added file 'hr_recruitment/res_config_view.xml' --- hr_recruitment/res_config_view.xml 1970-01-01 00:00:00 +0000 +++ hr_recruitment/res_config_view.xml 2012-04-10 12:25:31 +0000 @@ -0,0 +1,35 @@ +<?xml version="1.0" encoding="utf-8"?> +<openerp> + <data> + <record id="view_hr_apll_config_settings" model="ir.ui.view"> + <field name="name">hr settings for recruitment</field> + <field name="model">hr.config.settings</field> + <field name="type">form</field> + <field name="inherit_id" ref="hr.view_human_resources_configuration"/> + <field name="arch" type="xml"> + <field name="module_hr_recruitment" position="after"> + <group colspan="2"> + <button name="%(hr_recruitment_stage_form_installer)d" string="Review Recruitment Stages" + type="action" icon="terp-stage"/> + </group> + </field> + <group name="config_recruitment" position="after"> + <separator string="Recruitment" colspan="4"/> + <field name="module_document_ftp"/> + <newline/> + <field name="fetchmail_applicants"/> + <group colspan="2" attrs="{'invisible': [('fetchmail_applicants','=',False)]}"> + <field name="applicants_server" attrs="{'required': [('fetchmail_applicants','=',True)]}"/> + <field name="applicants_type" attrs="{'required': [('fetchmail_applicants','=',True)]}" + on_change="onchange_fetchmail('applicants', applicants_type, applicants_is_ssl)"/> + <field name="applicants_port" attrs="{'required': [('fetchmail_applicants','=',True)]}"/> + <field name="applicants_is_ssl" attrs="{'required': [('fetchmail_applicants','=',True)]}" + on_change="onchange_fetchmail('applicants', applicants_type, applicants_is_ssl)"/> + <field name="applicants_user" attrs="{'required': [('fetchmail_applicants','=',True)]}"/> + <field name="applicants_password" password="True" attrs="{'required': [('fetchmail_applicants','=',True)]}"/> + </group> + </group> + </field> + </record> + </data> +</openerp> === modified file 'hr_timesheet/hr_timesheet_installer.xml' --- hr_timesheet/hr_timesheet_installer.xml 2011-10-01 21:44:27 +0000 +++ hr_timesheet/hr_timesheet_installer.xml 2012-04-10 12:25:31 +0000 @@ -9,10 +9,5 @@ <field name="view_mode">tree,form</field> <field name="help">You should create an analytic account structure depending on your needs to analyse costs and revenues. In OpenERP, analytic accounts are also used to track customer contracts.</field> </record> - - <record id="todo_define_analytic_structure" model="ir.actions.todo"> - <field name="action_id" ref="action_define_analytic_structure" /> - <field name="category_id" ref="hr.category_hr_management_config" /> - </record> </data> </openerp> === modified file 'hr_timesheet_sheet/__init__.py' --- hr_timesheet_sheet/__init__.py 2011-01-14 00:11:01 +0000 +++ hr_timesheet_sheet/__init__.py 2012-04-10 12:25:31 +0000 @@ -22,5 +22,6 @@ import hr_timesheet_sheet import wizard import report +import res_config # vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4: === modified file 'hr_timesheet_sheet/__openerp__.py' --- hr_timesheet_sheet/__openerp__.py 2012-02-13 15:27:55 +0000 +++ hr_timesheet_sheet/__openerp__.py 2012-04-10 12:25:31 +0000 @@ -61,7 +61,8 @@ 'report/hr_timesheet_report_view.xml', 'report/timesheet_report_view.xml', 'wizard/hr_timesheet_current_view.xml', - 'hr_timesheet_sheet_data.xml' + 'hr_timesheet_sheet_data.xml', + 'res_config_view.xml', ], 'demo_xml': ['hr_timesheet_sheet_demo.xml', === added file 'hr_timesheet_sheet/res_config.py' --- hr_timesheet_sheet/res_config.py 1970-01-01 00:00:00 +0000 +++ hr_timesheet_sheet/res_config.py 2012-04-10 12:25:31 +0000 @@ -0,0 +1,48 @@ +# -*- coding: utf-8 -*- +############################################################################## +# +# OpenERP, Open Source Business Applications +# Copyright (C) 2004-2012 OpenERP S.A. (<http://openerp.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/>. +# +############################################################################## + +from osv import osv, fields + +class hr_timesheet_settings(osv.osv_memory): + _inherit = 'hr.config.settings' + + _columns = { + 'timesheet_range': fields.selection([('day','Day'),('week','Week'),('month','Month')], + 'Timesheet Range', help="Periodicity on which you validate your timesheets."), + 'timesheet_max_difference': fields.float('Timesheet Allowed Difference (Hours)', + help="""Allowed difference in hours between the sign in/out and the timesheet + computation for one sheet. Set this to 0 if you do not want any control."""), + } + + def get_default_timesheet(self, cr, uid, fields, context=None): + user = self.pool.get('res.users').browse(cr, uid, uid, context=context) + return { + 'timesheet_range': user.company_id.timesheet_range, + 'timesheet_max_difference': user.company_id.timesheet_max_difference, + } + + def set_default_timesheet(self, cr, uid, ids, context=None): + config = self.browse(cr, uid, ids[0], context) + user = self.pool.get('res.users').browse(cr, uid, uid, context) + user.company_id.write({ + 'timesheet_range': config.timesheet_range, + 'timesheet_max_difference': config.timesheet_max_difference, + }) === added file 'hr_timesheet_sheet/res_config_view.xml' --- hr_timesheet_sheet/res_config_view.xml 1970-01-01 00:00:00 +0000 +++ hr_timesheet_sheet/res_config_view.xml 2012-04-10 12:25:31 +0000 @@ -0,0 +1,24 @@ +<?xml version="1.0" encoding="utf-8"?> +<openerp> + <data> + <record id="view_hr_timehseet_config_settings" model="ir.ui.view"> + <field name="name">hr settings for timesheets</field> + <field name="model">hr.config.settings</field> + <field name="type">form</field> + <field name="inherit_id" ref="hr.view_human_resources_configuration"/> + <field name="arch" type="xml"> + <field name="module_hr_timesheet_sheet" position="after"> + <group colspan="2"> + <button name="%(hr_timesheet.action_define_analytic_structure)d" string="Create Your Timesheet Accounts" + type="action" icon="terp-folder-green"/> + </group> + </field> + <group name="config_timesheets" position="after"> + <separator string="Timesheets" colspan="4"/> + <field name="timesheet_range"/> + <field name="timesheet_max_difference"/> + </group> + </field> + </record> + </data> +</openerp>
_______________________________________________ Mailing list: https://launchpad.net/~openerp-dev-gtk Post to : [email protected] Unsubscribe : https://launchpad.net/~openerp-dev-gtk More help : https://help.launchpad.net/ListHelp

