← Back to team overview

savoirfairelinux-openerp team mailing list archive

[Merge] lp:~savoirfairelinux-openerp/openerp-hr/7.0-language into lp:openerp-hr

 

elhadji.dem@xxxxxxxxxxxxxxxxxxxx has proposed merging lp:~savoirfairelinux-openerp/openerp-hr/7.0-language into lp:openerp-hr.

Requested reviews:
  HR Core Editors (hr-core-editors)

For more details, see:
https://code.launchpad.net/~savoirfairelinux-openerp/openerp-hr/7.0-language/+merge/195309

[ADD] add hr_skill module
-- 
https://code.launchpad.net/~savoirfairelinux-openerp/openerp-hr/7.0-language/+merge/195309
Your team Savoir-faire Linux' OpenERP is subscribed to branch lp:~savoirfairelinux-openerp/openerp-hr/7.0-language.
=== added directory 'hr_language'
=== added file 'hr_language/__init__.py'
--- hr_language/__init__.py	1970-01-01 00:00:00 +0000
+++ hr_language/__init__.py	2013-11-14 20:52:45 +0000
@@ -0,0 +1,21 @@
+# -*- encoding: utf-8 -*-
+#
+#    OpenERP, Open Source Management Solution
+#    This module copyright (C) 2013 Savoir-faire Linux
+#    (<http://www.savoirfairelinux.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/>.
+#
+import hr_language
+# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4:

=== added file 'hr_language/__openerp__.py'
--- hr_language/__openerp__.py	1970-01-01 00:00:00 +0000
+++ hr_language/__openerp__.py	2013-11-14 20:52:45 +0000
@@ -0,0 +1,40 @@
+# -*- encoding: utf-8 -*-
+#
+#    OpenERP, Open Source Management Solution
+#    This module copyright (C) 2013 Savoir-faire Linux
+#    (<http://www.savoirfairelinux.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": "Language Management",
+    "version": "0.1",
+    "category": "Human Resources",
+    "license": "AGPL-3",
+    "description": """
+    This module allows you to manage your employee languages.
+    """,
+    "author": "Savoir-faire Linux",
+    "website": "http://www.savoirfairelinux.com";,
+    "depends": ["hr"],
+    'data': ["security/ir.model.access.csv",
+             "hr_language_view.xml",
+             ],
+    "demo": [],
+    "test": [],
+    "installable": True,
+    "auto_install": False,
+    "images": [],
+}
+# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4:

=== added file 'hr_language/hr_language.py'
--- hr_language/hr_language.py	1970-01-01 00:00:00 +0000
+++ hr_language/hr_language.py	2013-11-14 20:52:45 +0000
@@ -0,0 +1,50 @@
+# -*- encoding: utf-8 -*-
+###############################################################################
+#
+#    OpenERP, Open Source Management Solution
+#    Copyright (C) 2013 Savoir-faire Linux (<http://www.savoirfairelinux.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/>.
+#
+###############################################################################
+import tools
+from openerp.osv import fields, orm
+
+
+class hr_language(orm.Model):
+    _name = 'hr.language'
+    _columns = {
+        'name': fields.selection(tools.scan_languages(), 'Language', required=True),
+        'description': fields.char('Description', size=64, required=True, translate=True),
+        'employee_id': fields.many2one('hr.employee', 'Employee', required=True),
+        'read': fields.boolean('Read'),
+        'write': fields.boolean('Write'),
+        'speak': fields.boolean('Speak'),
+    }
+
+    _defaults = {
+        'read': True,
+        'write': True,
+        'speak': True,
+    }
+hr_language()
+
+
+class hr_employee(orm.Model):
+    _inherit = 'hr.employee'
+    _columns = {
+        'language_ids': fields.one2many('hr.language', 'employee_id', 'Languages'),
+    }
+hr_employee()
+# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4:

=== added file 'hr_language/hr_language_view.xml'
--- hr_language/hr_language_view.xml	1970-01-01 00:00:00 +0000
+++ hr_language/hr_language_view.xml	2013-11-14 20:52:45 +0000
@@ -0,0 +1,65 @@
+<openerp>
+  <data>
+    <!-- Employee -->
+    <record model="ir.ui.view" id="view_employee_form">
+        <field name="name">hr.language.employee.form</field>
+        <field name="model">hr.employee</field>
+        <field name="inherit_id" ref="hr.view_employee_form"/>
+        <field name="type">form</field>
+        <field name="arch" type="xml">
+            <notebook position="inside">
+                <page string="Languages">
+                    <field name="language_ids" nolabel="1" colspan="4"/>
+                </page>
+            </notebook>
+        </field>
+    </record>
+
+    <!-- Language -->
+
+    <record model="ir.ui.view" id="view_language_tree">
+        <field name="name">hr.language.tree</field>
+        <field name="model">hr.language</field>
+        <field name="type">tree</field>
+        <field name="arch" type="xml">
+            <tree string="Languages">
+                <field name="description"/>
+                <field name="read"/>
+                <field name="write"/>
+                <field name="speak"/>
+            </tree>
+        </field>
+    </record>
+
+    <record model="ir.ui.view" id="view_language_form">
+        <field name="name">hr.language.form</field>
+        <field name="model">hr.language</field>
+        <field name="type">form</field>
+        <field name="arch" type="xml">
+            <form string="Language">
+                <field name="name"/>
+                <field name="description"/>
+                <field name="employee_id"/>
+                <newline/>
+                <field name="read"/>
+                <newline/>
+                <field name="write"/>
+                <newline/>
+                <field name="speak"/>
+            </form>
+        </field>
+    </record>
+
+    <record model="ir.actions.act_window" id="open_view_language_form">
+        <field name="res_model">hr.language</field>
+        <field name="view_type">form</field>
+        <field name="view_mode">tree,form</field>
+    </record>
+
+    <menuitem name="Languages"
+              parent="hr.menu_hr_configuration"
+              id="menu_open_view_language_form"
+              action="open_view_language_form"/>
+
+  </data>
+</openerp>

=== added directory 'hr_language/i18n'
=== added file 'hr_language/i18n/fr.po'
--- hr_language/i18n/fr.po	1970-01-01 00:00:00 +0000
+++ hr_language/i18n/fr.po	2013-11-14 20:52:45 +0000
@@ -0,0 +1,462 @@
+# Translation of OpenERP Server.
+# This file contains the translation of the following modules:
+#	* hr_language
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: OpenERP Server 7.0\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2013-11-11 21:22+0000\n"
+"PO-Revision-Date: 2013-11-11 21:22+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: hr_language
+#: selection:hr.language,name:0
+msgid "Croatian / hrvatski jezik"
+msgstr "Croatian / hrvatski jezik"
+
+#. module: hr_language
+#: selection:hr.language,name:0
+msgid "English (CA)"
+msgstr "English (CA)"
+
+#. module: hr_language
+#: selection:hr.language,name:0
+msgid "Romanian / română"
+msgstr "Romanian / română"
+
+#. module: hr_language
+#: selection:hr.language,name:0
+msgid "Albanian / Shqip"
+msgstr "Albanian / Shqip"
+
+#. module: hr_language
+#: selection:hr.language,name:0
+msgid "Hebrew / עִבְרִי"
+msgstr "Hebrew / עִבְרִי"
+
+#. module: hr_language
+#: selection:hr.language,name:0
+msgid "Sinhalese / සිංහල"
+msgstr "Sinhalese / සිංහල"
+
+#. module: hr_language
+#: selection:hr.language,name:0
+msgid "Spanish (EC) / Español (EC)"
+msgstr "Spanish (EC) / Español (EC)"
+
+#. module: hr_language
+#: selection:hr.language,name:0
+msgid "Spanish (PR) / Español (PR)"
+msgstr "Spanish (PR) / Español (PR)"
+
+#. module: hr_language
+#: selection:hr.language,name:0
+msgid "Hungarian / Magyar"
+msgstr "Hungarian / Magyar"
+
+#. module: hr_language
+#: selection:hr.language,name:0
+msgid "Telugu / తెలుగు"
+msgstr "Telugu / తెలుగు"
+
+#. module: hr_language
+#: selection:hr.language,name:0
+msgid "Spanish (VE) / Español (VE)"
+msgstr "Spanish (VE) / Español (VE)"
+
+#. module: hr_language
+#: selection:hr.language,name:0
+msgid "Lithuanian / Lietuvių kalba"
+msgstr "Lithuanian / Lietuvių kalba"
+
+#. module: hr_language
+#: selection:hr.language,name:0
+msgid "Bulgarian / български език"
+msgstr "Bulgarian / български език"
+
+#. module: hr_language
+#: selection:hr.language,name:0
+msgid "Portuguese (BR) / Português (BR)"
+msgstr "Portuguese (BR) / Português (BR)"
+
+#. module: hr_language
+#: selection:hr.language,name:0
+msgid "Spanish (UY) / Español (UY)"
+msgstr "Spanish (UY) / Español (UY)"
+
+#. module: hr_language
+#: selection:hr.language,name:0
+msgid "Danish / Dansk"
+msgstr "Danish / Dansk"
+
+#. module: hr_language
+#: selection:hr.language,name:0
+msgid "Spanish (BO) / Español (BO)"
+msgstr "Spanish (BO) / Español (BO)"
+
+#. module: hr_language
+#: selection:hr.language,name:0
+msgid "Korean (KR) / 한국어 (KR)"
+msgstr "Korean (KR) / 한국어 (KR)"
+
+#. module: hr_language
+#: selection:hr.language,name:0
+msgid "Spanish (PE) / Español (PE)"
+msgstr "Spanish (PE) / Español (PE)"
+
+#. module: hr_language
+#: selection:hr.language,name:0
+msgid "French (CH) / Français (CH)"
+msgstr "French (CH) / Français (CH)"
+
+#. module: hr_language
+#: selection:hr.language,name:0
+msgid "Arabic / الْعَرَبيّة"
+msgstr "Arabic / الْعَرَبيّة"
+
+#. module: hr_language
+#: selection:hr.language,name:0
+msgid "Abkhazian / аҧсуа"
+msgstr "Abkhazian / аҧсуа"
+
+#. module: hr_language
+#: selection:hr.language,name:0
+msgid "Spanish (CO) / Español (CO)"
+msgstr "Spanish (CO) / Español (CO)"
+
+#. module: hr_language
+#: selection:hr.language,name:0
+msgid "Czech / Čeština"
+msgstr "Czech / Čeština"
+
+#. module: hr_language
+#: selection:hr.language,name:0
+msgid "Gujarati / ગુજરાતી"
+msgstr "Gujarati / ગુજરાતી"
+
+#. module: hr_language
+#: field:hr.language,employee_id:0
+#: model:ir.model,name:hr_language.model_hr_employee
+msgid "Employee"
+msgstr "Employé"
+
+#. module: hr_language
+#: selection:hr.language,name:0
+msgid "Inuktitut / ᐃᓄᒃᑎᑐᑦ"
+msgstr "Inuktitut / ᐃᓄᒃᑎᑐᑦ"
+
+#. module: hr_language
+#: selection:hr.language,name:0
+msgid "Galician / Galego"
+msgstr "Galician / Galego"
+
+#. module: hr_language
+#: selection:hr.language,name:0
+msgid "Klingon"
+msgstr "Klingon"
+
+#. module: hr_language
+#: selection:hr.language,name:0
+msgid "Spanish (PY) / Español (PY)"
+msgstr "Spanish (PY) / Español (PY)"
+
+#. module: hr_language
+#: selection:hr.language,name:0
+msgid "Urdu / اردو"
+msgstr "Urdu / اردو"
+
+#. module: hr_language
+#: selection:hr.language,name:0
+msgid "Catalan / Català"
+msgstr "Catalan / Català"
+
+#. module: hr_language
+#: model:ir.model,name:hr_language.model_hr_language
+msgid "hr.language"
+msgstr "hr.language"
+
+#. module: hr_language
+#: selection:hr.language,name:0
+msgid "Serbian (Cyrillic) / српски"
+msgstr "Serbian (Cyrillic) / српски"
+
+#. module: hr_language
+#: selection:hr.language,name:0
+msgid "Flemish (BE) / Vlaams (BE)"
+msgstr "Flemish (BE) / Vlaams (BE)"
+
+#. module: hr_language
+#: selection:hr.language,name:0
+msgid "Portuguese / Português"
+msgstr "Portuguese / Português"
+
+#. module: hr_language
+#: selection:hr.language,name:0
+msgid "Spanish / Español"
+msgstr "Spanish / Español"
+
+#. module: hr_language
+#: selection:hr.language,name:0
+msgid "Chinese (TW) / 正體字"
+msgstr "Chinese (TW) / 正體字"
+
+#. module: hr_language
+#: selection:hr.language,name:0
+msgid "Korean (KP) / 한국어 (KP)"
+msgstr "Korean (KP) / 한국어 (KP)"
+
+#. module: hr_language
+#: selection:hr.language,name:0
+msgid "Spanish (SV) / Español (SV)"
+msgstr "Spanish (SV) / Español (SV)"
+
+#. module: hr_language
+#: selection:hr.language,name:0
+msgid "Ukrainian / українська"
+msgstr "Ukrainian / українська"
+
+#. module: hr_language
+#: selection:hr.language,name:0
+msgid "Spanish (AR) / Español (AR)"
+msgstr "Spanish (AR) / Español (AR)"
+
+#. module: hr_language
+#: selection:hr.language,name:0
+msgid "Chinese (HK)"
+msgstr "Chinese (HK)"
+
+#. module: hr_language
+#: field:hr.language,speak:0
+msgid "Speak"
+msgstr "Parlé"
+
+#. module: hr_language
+#: selection:hr.language,name:0
+msgid "Spanish (GT) / Español (GT)"
+msgstr "Spanish (GT) / Español (GT)"
+
+#. module: hr_language
+#: selection:hr.language,name:0
+msgid "Indonesian / Bahasa Indonesia"
+msgstr "Indonesian / Bahasa Indonesia"
+
+#. module: hr_language
+#: view:hr.employee:0
+#: field:hr.employee,language_ids:0
+#: view:hr.language:0
+#: model:ir.ui.menu,name:hr_language.menu_open_view_language_form
+msgid "Languages"
+msgstr "Langues"
+
+#. module: hr_language
+#: selection:hr.language,name:0
+msgid "Spanish (PA) / Español (PA)"
+msgstr "Spanish (PA) / Español (PA)"
+
+#. module: hr_language
+#: selection:hr.language,name:0
+msgid "Vietnamese / Tiếng Việt"
+msgstr "Vietnamese / Tiếng Việt"
+
+#. module: hr_language
+#: selection:hr.language,name:0
+msgid "Slovak / Slovenský jazyk"
+msgstr "Slovak / Slovenský jazyk"
+
+#. module: hr_language
+#: selection:hr.language,name:0
+msgid "Amharic / አምሃርኛ"
+msgstr "Amharic / አምሃርኛ"
+
+#. module: hr_language
+#: selection:hr.language,name:0
+msgid "Latvian / latviešu valoda"
+msgstr "Latvian / latviešu valoda"
+
+#. module: hr_language
+#: selection:hr.language,name:0
+msgid "Spanish (CL) / Español (CL)"
+msgstr "Spanish (CL) / Español (CL)"
+
+#. module: hr_language
+#: view:hr.language:0
+#: field:hr.language,name:0
+msgid "Language"
+msgstr "Langue"
+
+#. module: hr_language
+#: selection:hr.language,name:0
+msgid "Italian / Italiano"
+msgstr "Italian / Italiano"
+
+#. module: hr_language
+#: selection:hr.language,name:0
+msgid "Bosnian / bosanski jezik"
+msgstr "Bosnian / bosanski jezik"
+
+#. module: hr_language
+#: selection:hr.language,name:0
+msgid "Spanish (DO) / Español (DO)"
+msgstr "Spanish (DO) / Español (DO)"
+
+#. module: hr_language
+#: selection:hr.language,name:0
+msgid "Norwegian Bokmål / Norsk bokmål"
+msgstr "Norwegian Bokmål / Norsk bokmål"
+
+#. module: hr_language
+#: field:hr.language,write:0
+msgid "Write"
+msgstr "Ecrit"
+
+#. module: hr_language
+#: selection:hr.language,name:0
+msgid "Finnish / Suomi"
+msgstr "Finnish / Suomi"
+
+#. module: hr_language
+#: selection:hr.language,name:0
+msgid "German / Deutsch"
+msgstr "German / Deutsch"
+
+#. module: hr_language
+#: selection:hr.language,name:0
+msgid "Spanish (MX) / Español (MX)"
+msgstr "Spanish (MX) / Español (MX)"
+
+#. module: hr_language
+#: selection:hr.language,name:0
+msgid "French / Français"
+msgstr "French / Français"
+
+#. module: hr_language
+#: selection:hr.language,name:0
+msgid "Greek / Ελληνικά"
+msgstr "Greek / Ελληνικά"
+
+#. module: hr_language
+#: selection:hr.language,name:0
+msgid "Estonian / Eesti keel"
+msgstr "Estonian / Eesti keel"
+
+#. module: hr_language
+#: selection:hr.language,name:0
+msgid "Dutch / Nederlands"
+msgstr "Dutch / Nederlands"
+
+#. module: hr_language
+#: selection:hr.language,name:0
+msgid "Turkish / Türkçe"
+msgstr "Turkish / Türkçe"
+
+#. module: hr_language
+#: selection:hr.language,name:0
+msgid "Serbian (Latin) / srpski"
+msgstr "Serbian (Latin) / srpski"
+
+#. module: hr_language
+#: field:hr.language,description:0
+msgid "Description"
+msgstr "Description"
+
+#. module: hr_language
+#: selection:hr.language,name:0
+msgid "Spanish (CR) / Español (CR)"
+msgstr "Spanish (CR) / Español (CR)"
+
+#. module: hr_language
+#: field:hr.language,read:0
+msgid "Read"
+msgstr "Lu"
+
+#. module: hr_language
+#: selection:hr.language,name:0
+msgid "English (US)"
+msgstr "English (US)"
+
+#. module: hr_language
+#: selection:hr.language,name:0
+msgid "Occitan (FR, post 1500) / Occitan"
+msgstr "Occitan (FR, post 1500) / Occitan"
+
+#. module: hr_language
+#: selection:hr.language,name:0
+msgid "Spanish (HN) / Español (HN)"
+msgstr "Spanish (HN) / Español (HN)"
+
+#. module: hr_language
+#: selection:hr.language,name:0
+msgid "Hindi / हिंदी"
+msgstr "Hindi / हिंदी"
+
+#. module: hr_language
+#: selection:hr.language,name:0
+msgid "Mongolian / монгол"
+msgstr "Mongolian / монгол"
+
+#. module: hr_language
+#: selection:hr.language,name:0
+msgid "Spanish (NI) / Español (NI)"
+msgstr "Spanish (NI) / Español (NI)"
+
+#. module: hr_language
+#: selection:hr.language,name:0
+msgid "Malayalam / മലയാളം"
+msgstr "Malayalam / മലയാളം"
+
+#. module: hr_language
+#: selection:hr.language,name:0
+msgid "French (BE) / Français (BE)"
+msgstr "French (BE) / Français (BE)"
+
+#. module: hr_language
+#: selection:hr.language,name:0
+msgid "Thai / ภาษาไทย"
+msgstr "Thai / ภาษาไทย"
+
+#. module: hr_language
+#: selection:hr.language,name:0
+msgid "Slovenian / slovenščina"
+msgstr "Slovenian / slovenščina"
+
+#. module: hr_language
+#: selection:hr.language,name:0
+msgid "Persian / فارس"
+msgstr "Persian / فارس"
+
+#. module: hr_language
+#: selection:hr.language,name:0
+msgid "Polish / Język polski"
+msgstr "Polish / Język polski"
+
+#. module: hr_language
+#: selection:hr.language,name:0
+msgid "Swedish / svenska"
+msgstr "Swedish / svenska"
+
+#. module: hr_language
+#: selection:hr.language,name:0
+msgid "Chinese (CN) / 简体中文"
+msgstr "Chinese (CN) / 简体中文"
+
+#. module: hr_language
+#: selection:hr.language,name:0
+msgid "English (UK)"
+msgstr "English (UK)"
+
+#. module: hr_language
+#: selection:hr.language,name:0
+msgid "Japanese / 日本語"
+msgstr "Japanese / 日本語"
+
+#. module: hr_language
+#: selection:hr.language,name:0
+msgid "Russian / русский язык"
+msgstr "Russian / русский язык"
+

=== added directory 'hr_language/security'
=== added file 'hr_language/security/ir.model.access.csv'
--- hr_language/security/ir.model.access.csv	1970-01-01 00:00:00 +0000
+++ hr_language/security/ir.model.access.csv	2013-11-14 20:52:45 +0000
@@ -0,0 +1,2 @@
+"id","name","model_id:id","group_id:id","perm_read","perm_write","perm_create","perm_unlink"
+"access_hr_language","hr.language","model_hr_language",base.group_hr_user,1,1,1,1


Follow ups