Merge lp:~savoirfairelinux-openerp/openerp-hr/experience into lp:openerp-hr/6.1

Status: Rejected
Rejected by: Sandy Carter (http://www.savoirfairelinux.com)
Proposed branch: lp:~savoirfairelinux-openerp/openerp-hr/experience
Merge into: lp:openerp-hr/6.1
Diff against target: 771 lines (+709/-0)
12 files modified
hr_experience/__init__.py (+26/-0)
hr_experience/__openerp__.py (+59/-0)
hr_experience/hr_academic.py (+52/-0)
hr_experience/hr_academic_view.xml (+61/-0)
hr_experience/hr_certification.py (+50/-0)
hr_experience/hr_certification_view.xml (+59/-0)
hr_experience/hr_experience_view.xml (+24/-0)
hr_experience/hr_professional.py (+49/-0)
hr_experience/hr_professional_view.xml (+55/-0)
hr_experience/i18n/hr_experience.pot (+208/-0)
hr_experience/security/hr_experience_security.xml (+62/-0)
hr_experience/security/ir.model.access.csv (+4/-0)
To merge this branch: bzr merge lp:~savoirfairelinux-openerp/openerp-hr/experience
Reviewer Review Type Date Requested Status
Yannick Vaucher @ Camptocamp code review, no tests Needs Fixing
Joël Grand-Guillaume @ camptocamp code review, no tests Needs Fixing
Joao Alfredo Gama Batista Needs Fixing
Maxime Chambreuil (http://www.savoirfairelinux.com) code review Approve
Review via email: mp+194926@code.launchpad.net

Description of the change

[ADD] add hr_experience module.It adds a new menu in hr module and inherits the employee view form

To post a comment you must log in.
Revision history for this message
Maxime Chambreuil (http://www.savoirfairelinux.com) (max3903) :
review: Approve (code review)
Revision history for this message
Joao Alfredo Gama Batista (joao-gama) wrote :

Hi El Hadji,

Thanks for your contribution. As for the review I have this 2 points that you can improve.

l.100.103.132: Even in 6.1 the osv is considered deprecated (osv.osv actually points to orm.Model) so for the import is better to use "from openerp.osv import orm, fields" and for the models it's better to inherit from orm.Model istead of osv.osv.

l.129.137: In 6.1 we don't need to instantiate the model after defining it.

review: Needs Fixing
Revision history for this message
Joël Grand-Guillaume @ camptocamp (jgrandguillaume-c2c) wrote :

Hi,

Thanks for the contrib. A few remarks:

 * Line 27-29 use from . import XY
 * From a security point of view, is the hr_user the right person to create and delete the hr.academic, hr.professionnal, hr.certification object ? I would may be suggest hr_manager instead for that while keeping hr_user the read right, what do you think ?

Regards,

Joël

review: Needs Fixing (code review, no tests)
Revision history for this message
Maxime Chambreuil (http://www.savoirfairelinux.com) (max3903) wrote :

Hello Joêl,

We want employees to be able to create and manage their own resume, including academic and professional experiences and certifications.

Our next step is to integrate with LinkedIn to allow the employee to import its LinkedIn data :
https://blueprints.launchpad.net/openerp-hr/+spec/resume-management

Revision history for this message
El Hadji Dem (http://www.savoirfairelinux.com) (eh-dem) wrote :

Thnaks maxime

Revision history for this message
Yannick Vaucher @ Camptocamp (yvaucher-c2c) wrote :

Looks good.

Just one thing about security, I think you just need some ir.rule to make sure hr_user1 can't modify hr_user2 experience data.

You might need a user_id field on all those objects.

review: Needs Fixing (code review, no tests)
Revision history for this message
Yannick Vaucher @ Camptocamp (yvaucher-c2c) wrote :

1 month without activity, I set this as WIP

Revision history for this message
Sandy Carter (http://www.savoirfairelinux.com) (sandy-carter) wrote :

Unmerged revisions

313. By Maxime Chambreuil (http://www.savoirfairelinux.com)

[ADD] Security rules

312. By Maxime Chambreuil (http://www.savoirfairelinux.com)

[IMP] Use specific term instead of partner.

311. By Maxime Chambreuil (http://www.savoirfairelinux.com)

[IMP] Update translation file

310. By Maxime Chambreuil (http://www.savoirfairelinux.com)

[FIX] Based on MP reviews. Improve XML readability

309. By El Hadji Dem (http://www.savoirfairelinux.com)

[IMP] separate academic, certification and professional experiences, pep8

308. By El Hadji Dem (http://www.savoirfairelinux.com)

[IMP] separate academic, certification and professional experience, pep8

307. By EL HADJI DEM <email address hidden>

[IMP] add pot file

306. By EL HADJI DEM <email address hidden>

[ADD] add hr_experience module

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
=== added directory 'hr_experience'
=== added file 'hr_experience/__init__.py'
--- hr_experience/__init__.py 1970-01-01 00:00:00 +0000
+++ hr_experience/__init__.py 2014-04-21 15:39:45 +0000
@@ -0,0 +1,26 @@
1# -*- encoding: utf-8 -*-
2###############################################################################
3#
4# OpenERP, Open Source Management Solution
5# Copyright (C) 2013 Savoir-faire Linux (<http://www.savoirfairelinux.com>).
6#
7# This program is free software: you can redistribute it and/or modify
8# it under the terms of the GNU Affero General Public License as
9# published by the Free Software Foundation, either version 3 of the
10# License, or (at your option) any later version.
11#
12# This program is distributed in the hope that it will be useful,
13# but WITHOUT ANY WARRANTY; without even the implied warranty of
14# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15# GNU Affero General Public License for more details.
16#
17# You should have received a copy of the GNU Affero General Public License
18# along with this program. If not, see <http://www.gnu.org/licenses/>.
19#
20###############################################################################
21
22from . import hr_academic
23from . import hr_professional
24from . import hr_certification
25
26# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4:
027
=== added file 'hr_experience/__openerp__.py'
--- hr_experience/__openerp__.py 1970-01-01 00:00:00 +0000
+++ hr_experience/__openerp__.py 2014-04-21 15:39:45 +0000
@@ -0,0 +1,59 @@
1# -*- encoding: utf-8 -*-
2###############################################################################
3#
4# OpenERP, Open Source Management Solution
5# Copyright (C) 2013 Savoir-faire Linux (<http://www.savoirfairelinux.com>).
6#
7# This program is free software: you can redistribute it and/or modify
8# it under the terms of the GNU Affero General Public License as
9# published by the Free Software Foundation, either version 3 of the
10# License, or (at your option) any later version.
11#
12# This program is distributed in the hope that it will be useful,
13# but WITHOUT ANY WARRANTY; without even the implied warranty of
14# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15# GNU Affero General Public License for more details.
16#
17# You should have received a copy of the GNU Affero General Public License
18# along with this program. If not, see <http://www.gnu.org/licenses/>.
19#
20###############################################################################
21
22{
23 "name": "Experience Management",
24 "version": "0.1",
25 "author": "Savoir-faire Linux",
26 "maintainer": 'Savoir-faire Linux',
27 "website": "http://www.savoirfairelinux.com",
28 "category": "Human Resources",
29 "description": """
30Experience Management
31=====================
32
33This module allows you to manage your employee experiences:
34 * Professional
35 * Academic
36 * Certification
37
38Contributors
39------------
40* El Hadji DEM <elhaji.dem@savoirfairelinux.com>
41* Maxime Chambreuil <maxime.chambreuil@savoirfairelinux.com>
42""",
43
44 "depends": ["hr"],
45 'external_dependencies': {},
46 'data': [
47 "security/ir.model.access.csv",
48 "security/hr_experience_security.xml",
49 "hr_experience_view.xml",
50 "hr_academic_view.xml",
51 "hr_professional_view.xml",
52 "hr_certification_view.xml",
53 ],
54 "demo": [],
55 "test": [],
56 "installable": True,
57 "active": False,
58}
59# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4:
060
=== added file 'hr_experience/hr_academic.py'
--- hr_experience/hr_academic.py 1970-01-01 00:00:00 +0000
+++ hr_experience/hr_academic.py 2014-04-21 15:39:45 +0000
@@ -0,0 +1,52 @@
1# -*- encoding: utf-8 -*-
2###############################################################################
3#
4# OpenERP, Open Source Management Solution
5# Copyright (C) 2013 Savoir-faire Linux (<http://www.savoirfairelinux.com>).
6#
7# This program is free software: you can redistribute it and/or modify
8# it under the terms of the GNU Affero General Public License as
9# published by the Free Software Foundation, either version 3 of the
10# License, or (at your option) any later version.
11#
12# This program is distributed in the hope that it will be useful,
13# but WITHOUT ANY WARRANTY; without even the implied warranty of
14# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15# GNU Affero General Public License for more details.
16#
17# You should have received a copy of the GNU Affero General Public License
18# along with this program. If not, see <http://www.gnu.org/licenses/>.
19#
20###############################################################################
21
22from openerp.osv import fields, orm
23
24
25class hr_academic(orm.Model):
26 _name = 'hr.academic'
27 _columns = {
28 'name': fields.char('Name', size=64, required=True, translate=True),
29 'employee_id': fields.many2one('hr.employee', 'Employee', required=True),
30 'start_date': fields.date('Start date'),
31 'end_date': fields.date('End date'),
32 'description': fields.text('Description', translate=True),
33 'partner_id': fields.many2one('res.partner', 'School or University'),
34 'location': fields.char('Location', size=64, translate=True),
35 'diploma': fields.char('Diploma', size=64, translate=True),
36 'study_field': fields.char('Field of study', size=64, translate=True),
37 'activities': fields.text('Activities and associations', translate=True),
38 'expire': fields.boolean('Expire'),
39 }
40
41 _defaults = {
42 'expire': True,
43 }
44
45
46class hr_employee(orm.Model):
47 _inherit = 'hr.employee'
48 _columns = {
49 'academic_ids': fields.one2many('hr.academic', 'employee_id', 'Academic experiences'),
50 }
51
52# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4:
053
=== added file 'hr_experience/hr_academic_view.xml'
--- hr_experience/hr_academic_view.xml 1970-01-01 00:00:00 +0000
+++ hr_experience/hr_academic_view.xml 2014-04-21 15:39:45 +0000
@@ -0,0 +1,61 @@
1<openerp>
2 <data>
3
4 <!-- academic tree-->
5 <record model="ir.ui.view" id="view_academic_tree">
6 <field name="name">hr.academic.tree</field>
7 <field name="model">hr.academic</field>
8 <field name="type">tree</field>
9 <field name="arch" type="xml">
10 <tree string="Academic experiences">
11 <field name="name"/>
12 <field name="employee_id"/>
13 <field name="partner_id"/>
14 <field name="start_date"/>
15 <field name="end_date"/>
16 </tree>
17 </field>
18 </record>
19
20 <!-- academic form-->
21 <record model="ir.ui.view" id="view_academic_form">
22 <field name="name">hr.academic.form</field>
23 <field name="model">hr.academic</field>
24 <field name="type">form</field>
25 <field name="arch" type="xml">
26 <form string="Academic experience">
27 <field name="name"/>
28 <field name="employee_id"/>
29 <separator string="Dates" colspan="4"/>
30 <field name="start_date"/>
31 <field name="expire"/>
32 <field name="end_date" attrs="{'invisible':[('expire', '=', False)]}"/>
33 <separator string="Partner information" colspan="4"/>
34 <field name="partner_id"/>
35 <field name="location"/>
36 <group colspan="4">
37 <separator string="Academic information" colspan="4"/>
38 <field name="diploma" />
39 <field name="study_field"/>
40 <field name="activities"/>
41 </group>
42 <separator string="Description" colspan="4"/>
43 <field name="description" colspan="4" nolabel="1"/>
44 </form>
45 </field>
46 </record>
47
48 <!-- Menu -->
49 <record model="ir.actions.act_window" id="open_view_academic_form">
50 <field name="res_model">hr.academic</field>
51 <field name="view_type">form</field>
52 <field name="view_mode">tree,form</field>
53 </record>
54
55 <menuitem name="Academic Experiences"
56 parent="hr.menu_hr_configuration"
57 id="menu_open_view_academic_form"
58 action="open_view_academic_form"/>
59
60 </data>
61</openerp>
062
=== added file 'hr_experience/hr_certification.py'
--- hr_experience/hr_certification.py 1970-01-01 00:00:00 +0000
+++ hr_experience/hr_certification.py 2014-04-21 15:39:45 +0000
@@ -0,0 +1,50 @@
1# -*- encoding: utf-8 -*-
2###############################################################################
3#
4# OpenERP, Open Source Management Solution
5# Copyright (C) 2013 Savoir-faire Linux (<http://www.savoirfairelinux.com>).
6#
7# This program is free software: you can redistribute it and/or modify
8# it under the terms of the GNU Affero General Public License as
9# published by the Free Software Foundation, either version 3 of the
10# License, or (at your option) any later version.
11#
12# This program is distributed in the hope that it will be useful,
13# but WITHOUT ANY WARRANTY; without even the implied warranty of
14# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15# GNU Affero General Public License for more details.
16#
17# You should have received a copy of the GNU Affero General Public License
18# along with this program. If not, see <http://www.gnu.org/licenses/>.
19#
20###############################################################################
21
22from openerp.osv import fields, orm
23
24
25class hr_certification(orm.Model):
26 _name = 'hr.certification'
27 _columns = {
28 'name': fields.char('Name', size=64, required=True, translate=True),
29 'employee_id': fields.many2one('hr.employee', 'Employee', required=True),
30 'start_date': fields.date('Start date'),
31 'end_date': fields.date('End date'),
32 'description': fields.text('Description', translate=True),
33 'partner_id': fields.many2one('res.partner', 'Certification Authority'),
34 'location': fields.char('Location', size=64, translate=True),
35 'certification': fields.char('Certification Number', size=64),
36 'expire': fields.boolean('Expire'),
37 }
38
39 _defaults = {
40 'expire': True,
41 }
42
43
44class hr_employee(orm.Model):
45 _inherit = 'hr.employee'
46 _columns = {
47 'certification_ids': fields.one2many('hr.certification', 'employee_id', 'Certifications'),
48 }
49
50# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4:
051
=== added file 'hr_experience/hr_certification_view.xml'
--- hr_experience/hr_certification_view.xml 1970-01-01 00:00:00 +0000
+++ hr_experience/hr_certification_view.xml 2014-04-21 15:39:45 +0000
@@ -0,0 +1,59 @@
1<openerp>
2 <data>
3
4 <!-- certification tree -->
5 <record model="ir.ui.view" id="view_certification_tree">
6 <field name="name">hr.certification.tree</field>
7 <field name="model">hr.certification</field>
8 <field name="type">tree</field>
9 <field name="arch" type="xml">
10 <tree string="certifications">
11 <field name="name"/>
12 <field name="employee_id"/>
13 <field name="partner_id"/>
14 <field name="start_date"/>
15 <field name="end_date"/>
16 </tree>
17 </field>
18 </record>
19
20 <!-- certification tree -->
21 <record model="ir.ui.view" id="view_certification_form">
22 <field name="name">hr.certification.form</field>
23 <field name="model">hr.certification</field>
24 <field name="type">form</field>
25 <field name="arch" type="xml">
26 <form string="Certification">
27 <field name="name"/>
28 <field name="employee_id"/>
29 <separator string="Dates" colspan="4"/>
30 <field name="start_date"/>
31 <field name="expire"/>
32 <field name="end_date" attrs="{'invisible':[('expire', '=', False)]}"/>
33 <separator string="Partner information" colspan="4"/>
34 <field name="partner_id"/>
35 <field name="location"/>
36 <group colspan="4">
37 <separator string="Certification information" colspan="4"/>
38 <field name="certification"/>
39 </group>
40 <separator string="Description" colspan="4"/>
41 <field name="description" colspan="4" nolabel="1"/>
42 </form>
43 </field>
44 </record>
45
46 <!-- Menu -->
47 <record model="ir.actions.act_window" id="open_view_certification_form">
48 <field name="res_model">hr.certification</field>
49 <field name="view_type">form</field>
50 <field name="view_mode">tree,form</field>
51 </record>
52
53 <menuitem name="Certifications"
54 parent="hr.menu_hr_configuration"
55 id="menu_open_view_certification_form"
56 action="open_view_certification_form"/>
57
58 </data>
59</openerp>
060
=== added file 'hr_experience/hr_experience_view.xml'
--- hr_experience/hr_experience_view.xml 1970-01-01 00:00:00 +0000
+++ hr_experience/hr_experience_view.xml 2014-04-21 15:39:45 +0000
@@ -0,0 +1,24 @@
1<openerp>
2 <data>
3 <!-- inheritEmployee -->
4 <record model="ir.ui.view" id="view_employee_form_inherit">
5 <field name="name">hr.experience.employee.form</field>
6 <field name="model">hr.employee</field>
7 <field name="inherit_id" ref="hr.view_employee_form"/>
8 <field name="type">form</field>
9 <field name="arch" type="xml">
10 <notebook position="inside">
11 <page string="Academic">
12 <field name="academic_ids" nolabel="1" colspan="4"/>
13 </page>
14 <page string="Professional">
15 <field name="professional_ids" nolabel="1" colspan="4"/>
16 </page>
17 <page string="Certification">
18 <field name="certification_ids" nolabel="1" colspan="4"/>
19 </page>
20 </notebook>
21 </field>
22 </record>
23 </data>
24</openerp>
025
=== added file 'hr_experience/hr_professional.py'
--- hr_experience/hr_professional.py 1970-01-01 00:00:00 +0000
+++ hr_experience/hr_professional.py 2014-04-21 15:39:45 +0000
@@ -0,0 +1,49 @@
1# -*- encoding: utf-8 -*-
2###############################################################################
3#
4# OpenERP, Open Source Management Solution
5# Copyright (C) 2013 Savoir-faire Linux (<http://www.savoirfairelinux.com>).
6#
7# This program is free software: you can redistribute it and/or modify
8# it under the terms of the GNU Affero General Public License as
9# published by the Free Software Foundation, either version 3 of the
10# License, or (at your option) any later version.
11#
12# This program is distributed in the hope that it will be useful,
13# but WITHOUT ANY WARRANTY; without even the implied warranty of
14# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15# GNU Affero General Public License for more details.
16#
17# You should have received a copy of the GNU Affero General Public License
18# along with this program. If not, see <http://www.gnu.org/licenses/>.
19#
20###############################################################################
21
22from openerp.osv import fields, orm
23
24
25class hr_professional(orm.Model):
26 _name = 'hr.professional'
27 _columns = {
28 'name': fields.char('Name', size=64, required=True, translate=True),
29 'employee_id': fields.many2one('hr.employee', 'Employee', required=True),
30 'start_date': fields.date('Start date'),
31 'end_date': fields.date('End date'),
32 'description': fields.text('Description', translate=True),
33 'partner_id': fields.many2one('res.partner', 'Employer'),
34 'location': fields.char('Location', size=64, translate=True),
35 'expire': fields.boolean('Expire'),
36 }
37
38 _defaults = {
39 'expire': True,
40 }
41
42
43class hr_employee(orm.Model):
44 _inherit = 'hr.employee'
45 _columns = {
46 'professional_ids': fields.one2many('hr.professional', 'employee_id', ' Professional Experiences'),
47 }
48
49# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4:
050
=== added file 'hr_experience/hr_professional_view.xml'
--- hr_experience/hr_professional_view.xml 1970-01-01 00:00:00 +0000
+++ hr_experience/hr_professional_view.xml 2014-04-21 15:39:45 +0000
@@ -0,0 +1,55 @@
1<openerp>
2 <data>
3
4 <!-- professional tree -->
5 <record model="ir.ui.view" id="view_professional_tree">
6 <field name="name">hr.professional.tree</field>
7 <field name="model">hr.professional</field>
8 <field name="type">tree</field>
9 <field name="arch" type="xml">
10 <tree string="Professional Experiences">
11 <field name="name"/>
12 <field name="employee_id"/>
13 <field name="partner_id"/>
14 <field name="start_date"/>
15 <field name="end_date"/>
16 </tree>
17 </field>
18 </record>
19
20 <!-- professional form -->
21 <record model="ir.ui.view" id="view_professional_form">
22 <field name="name">hr.professional.form</field>
23 <field name="model">hr.professional</field>
24 <field name="type">form</field>
25 <field name="arch" type="xml">
26 <form string="Professional Experience">
27 <field name="name"/>
28 <field name="employee_id"/>
29 <separator string="Dates" colspan="4"/>
30 <field name="start_date"/>
31 <field name="expire"/>
32 <field name="end_date" attrs="{'invisible':[('expire', '=', False)]}"/>
33 <separator string="Partner information" colspan="4"/>
34 <field name="partner_id"/>
35 <field name="location"/>
36 <separator string="Description" colspan="4"/>
37 <field name="description" colspan="4" nolabel="1"/>
38 </form>
39 </field>
40 </record>
41
42 <!-- Menu -->
43 <record model="ir.actions.act_window" id="open_view_professional_form">
44 <field name="res_model">hr.professional</field>
45 <field name="view_type">form</field>
46 <field name="view_mode">tree,form</field>
47 </record>
48
49 <menuitem name="Professional Experiences"
50 parent="hr.menu_hr_configuration"
51 id="menu_open_view_professional_form"
52 action="open_view_professional_form"/>
53
54 </data>
55</openerp>
056
=== added directory 'hr_experience/i18n'
=== added file 'hr_experience/i18n/hr_experience.pot'
--- hr_experience/i18n/hr_experience.pot 1970-01-01 00:00:00 +0000
+++ hr_experience/i18n/hr_experience.pot 2014-04-21 15:39:45 +0000
@@ -0,0 +1,208 @@
1# Translation of OpenERP Server.
2# This file contains the translation of the following modules:
3# * hr_experience
4#
5msgid ""
6msgstr ""
7"Project-Id-Version: OpenERP Server 6.1\n"
8"Report-Msgid-Bugs-To: \n"
9"POT-Creation-Date: 2013-12-31 21:26+0000\n"
10"PO-Revision-Date: 2013-12-31 21:26+0000\n"
11"Last-Translator: <>\n"
12"Language-Team: \n"
13"MIME-Version: 1.0\n"
14"Content-Type: text/plain; charset=UTF-8\n"
15"Content-Transfer-Encoding: \n"
16"Plural-Forms: \n"
17
18#. module: hr_experience
19#: field:hr.certification,certification:0
20msgid "Certification Number"
21msgstr ""
22
23#. module: hr_experience
24#: field:hr.professional,partner_id:0
25msgid "Employer"
26msgstr ""
27
28#. module: hr_experience
29#: view:hr.academic:0
30#: view:hr.certification:0
31#: view:hr.professional:0
32msgid "Partner information"
33msgstr ""
34
35#. module: hr_experience
36#: field:hr.academic,location:0
37#: field:hr.certification,location:0
38#: field:hr.professional,location:0
39msgid "Location"
40msgstr ""
41
42#. module: hr_experience
43#: field:hr.academic,employee_id:0
44#: field:hr.certification,employee_id:0
45#: field:hr.professional,employee_id:0
46#: model:ir.model,name:hr_experience.model_hr_employee
47msgid "Employee"
48msgstr ""
49
50#. module: hr_experience
51#: field:hr.academic,start_date:0
52#: field:hr.certification,start_date:0
53#: field:hr.professional,start_date:0
54msgid "Start date"
55msgstr ""
56
57#. module: hr_experience
58#: field:hr.academic,activities:0
59msgid "Activities and associations"
60msgstr ""
61
62#. module: hr_experience
63#: view:hr.academic:0
64#: field:hr.academic,description:0
65#: view:hr.certification:0
66#: field:hr.certification,description:0
67#: view:hr.professional:0
68#: field:hr.professional,description:0
69msgid "Description"
70msgstr ""
71
72#. module: hr_experience
73#: field:hr.academic,study_field:0
74msgid "Field of study"
75msgstr ""
76
77#. module: hr_experience
78#: model:ir.ui.menu,name:hr_experience.menu_open_view_academic_form
79msgid "Academic Experiences"
80msgstr ""
81
82#. module: hr_experience
83#: view:hr.certification:0
84msgid "Certification information"
85msgstr ""
86
87#. module: hr_experience
88#: field:hr.academic,expire:0
89#: field:hr.certification,expire:0
90#: field:hr.professional,expire:0
91msgid "Expire"
92msgstr ""
93
94#. module: hr_experience
95#: field:hr.academic,partner_id:0
96msgid "School or University"
97msgstr ""
98
99#. module: hr_experience
100#: view:hr.professional:0
101msgid "Professional Experience"
102msgstr ""
103
104#. module: hr_experience
105#: constraint:hr.employee:0
106msgid "Error ! You cannot create recursive Hierarchy of Employees."
107msgstr ""
108
109#. module: hr_experience
110#: view:hr.academic:0
111msgid "Academic information"
112msgstr ""
113
114#. module: hr_experience
115#: view:hr.academic:0
116#: view:hr.certification:0
117#: view:hr.professional:0
118msgid "Dates"
119msgstr ""
120
121#. module: hr_experience
122#: field:hr.employee,certification_ids:0
123#: model:ir.ui.menu,name:hr_experience.menu_open_view_certification_form
124msgid "Certifications"
125msgstr ""
126
127#. module: hr_experience
128#: field:hr.academic,name:0
129#: field:hr.certification,name:0
130#: field:hr.professional,name:0
131msgid "Name"
132msgstr ""
133
134#. module: hr_experience
135#: view:hr.academic:0
136#: field:hr.employee,academic_ids:0
137msgid "Academic experiences"
138msgstr ""
139
140#. module: hr_experience
141#: field:hr.employee,professional_ids:0
142msgid " Professional Experiences"
143msgstr ""
144
145#. module: hr_experience
146#: view:hr.employee:0
147msgid "Academic"
148msgstr ""
149
150#. module: hr_experience
151#: view:hr.certification:0
152msgid "certifications"
153msgstr ""
154
155#. module: hr_experience
156#: field:hr.certification,partner_id:0
157msgid "Certification Authority"
158msgstr ""
159
160#. module: hr_experience
161#: view:hr.employee:0
162msgid "Professional"
163msgstr ""
164
165#. module: hr_experience
166#: view:hr.academic:0
167msgid "Academic experience"
168msgstr ""
169
170#. module: hr_experience
171#: field:hr.academic,end_date:0
172#: field:hr.certification,end_date:0
173#: field:hr.professional,end_date:0
174msgid "End date"
175msgstr ""
176
177#. module: hr_experience
178#: model:ir.model,name:hr_experience.model_hr_academic
179msgid "hr.academic"
180msgstr ""
181
182#. module: hr_experience
183#: field:hr.academic,diploma:0
184msgid "Diploma"
185msgstr ""
186
187#. module: hr_experience
188#: view:hr.certification:0
189#: view:hr.employee:0
190msgid "Certification"
191msgstr ""
192
193#. module: hr_experience
194#: model:ir.model,name:hr_experience.model_hr_certification
195msgid "hr.certification"
196msgstr ""
197
198#. module: hr_experience
199#: model:ir.model,name:hr_experience.model_hr_professional
200msgid "hr.professional"
201msgstr ""
202
203#. module: hr_experience
204#: view:hr.professional:0
205#: model:ir.ui.menu,name:hr_experience.menu_open_view_professional_form
206msgid "Professional Experiences"
207msgstr ""
208
0209
=== added directory 'hr_experience/security'
=== added file 'hr_experience/security/hr_experience_security.xml'
--- hr_experience/security/hr_experience_security.xml 1970-01-01 00:00:00 +0000
+++ hr_experience/security/hr_experience_security.xml 2014-04-21 15:39:45 +0000
@@ -0,0 +1,62 @@
1<?xml version="1.0" encoding="utf-8"?>
2<openerp>
3 <data noupdate="1">
4
5 <!-- Employee rules -->
6 <record id="hr_academic_employee_rule" model="ir.rule">
7 <field name="name">Personal academic experiences</field>
8 <field name="model_id" ref="hr.model_hr_academic"/>
9 <field name="domain_force">[('employee_id.user_id.id', '=', user.id)]</field>
10 <field name="groups" eval="[(4, ref('base.group_user'))]"/>
11 <field name="perm_read">False</field>
12 <field name="perm_create">True</field>
13 <field name="perm_write">True</field>
14 <field name="perm_unlink">True</field>
15 </record>
16
17 <record id="hr_professional_employee_rule" model="ir.rule">
18 <field name="name">Personal professional experiences</field>
19 <field name="model_id" ref="hr.model_hr_professional"/>
20 <field name="domain_force">[('employee_id.user_id.id', '=', user.id)]</field>
21 <field name="groups" eval="[(4, ref('base.group_user'))]"/>
22 <field name="perm_read">False</field>
23 <field name="perm_create">True</field>
24 <field name="perm_write">True</field>
25 <field name="perm_unlink">True</field>
26 </record>
27
28 <record id="hr_certification_employee_rule" model="ir.rule">
29 <field name="name">Personal certifications</field>
30 <field name="model_id" ref="model_hr_certification"/>
31 <field name="domain_force">[('employee_id.user_id.id', '=', user.id)]</field>
32 <field name="groups" eval="[(4, ref('base.group_user'))]"/>
33 <field name="perm_read">False</field>
34 <field name="perm_create">True</field>
35 <field name="perm_write">True</field>
36 <field name="perm_unlink">True</field>
37 </record>
38
39 <!-- HR User rules -->
40 <record id="hr_academic_hruser_rule" model="ir.rule">
41 <field name="name">All academic experiences</field>
42 <field name="model_id" ref="hr.model_hr_academic"/>
43 <field name="domain_force">[(1, '=', 1)]</field>
44 <field name="groups" eval="[(4, ref('base.group_hr_user'))]"/>
45 </record>
46
47 <record id="hr_professional_hruser_rule" model="ir.rule">
48 <field name="name">All professional experiences</field>
49 <field name="model_id" ref="hr.model_hr_professional"/>
50 <field name="domain_force">[(1, '=', 1)]</field>
51 <field name="groups" eval="[(4, ref('base.group_hr_user'))]"/>
52 </record>
53
54 <record id="hr_certification_hruser_rule" model="ir.rule">
55 <field name="name">All certifications</field>
56 <field name="model_id" ref="model_hr_certification"/>
57 <field name="domain_force">[(1, '=', 1)]</field>
58 <field name="groups" eval="[(4, ref('base.group_hr_user'))]"/>
59 </record>
60
61 </data>
62</openerp>
063
=== added file 'hr_experience/security/ir.model.access.csv'
--- hr_experience/security/ir.model.access.csv 1970-01-01 00:00:00 +0000
+++ hr_experience/security/ir.model.access.csv 2014-04-21 15:39:45 +0000
@@ -0,0 +1,4 @@
1"id","name","model_id:id","group_id:id","perm_read","perm_write","perm_create","perm_unlink"
2"access_hr_academic","hr.academic","model_hr_academic",base.group_hr_user,1,1,1,1
3"access_hr_professional","hr.professional","model_hr_professional",base.group_hr_user,1,1,1,1
4"access_hr_certification","hr.certification","model_hr_certification",base.group_hr_user,1,1,1,1

Subscribers

People subscribed via source and target branches