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

Status: Rejected
Rejected by: Sandy Carter (http://www.savoirfairelinux.com)
Proposed branch: lp:~savoirfairelinux-openerp/openerp-hr/7.0-experience
Merge into: lp:openerp-hr
Diff against target: 734 lines (+672/-0)
12 files modified
hr_experience/__init__.py (+26/-0)
hr_experience/__openerp__.py (+57/-0)
hr_experience/hr_academic.py (+53/-0)
hr_experience/hr_academic_view.xml (+55/-0)
hr_experience/hr_certification.py (+51/-0)
hr_experience/hr_certification_view.xml (+55/-0)
hr_experience/hr_experience.py (+56/-0)
hr_experience/hr_experience_view.xml (+24/-0)
hr_experience/hr_professional.py (+50/-0)
hr_experience/hr_professional_view.xml (+51/-0)
hr_experience/i18n/hr_experience.pot (+190/-0)
hr_experience/security/ir.model.access.csv (+4/-0)
To merge this branch: bzr merge lp:~savoirfairelinux-openerp/openerp-hr/7.0-experience
Reviewer Review Type Date Requested Status
Daniel Reis Needs Information
Maxime Chambreuil (http://www.savoirfairelinux.com) code review Needs Fixing
Review via email: mp+195315@code.launchpad.net

Description of the change

[IMP] fix the copyright and update to reflect the new fields and views

To post a comment you must log in.
Revision history for this message
Daniel Reis (dreis-pt) wrote :

To fix: you're missing the i18n .pot file.

On the design choices: I certainly wouldn't mix Experience, Academic and Certifications.

Experience is mostly informative.
Academic can have reporting implications, so I might need to have Academic mandatory, but leave Experience optional.
This tips me that they should be two different fields on the employee form.

About Certification, they are more like Skills than Experience.
In fact, they are Certified Skills, and would be better off as an enhancement on the skills modules.

Another thing that makes me uneasy: this works only Employees, what about Applicants? (I know, it's not an easy question, but I suspect that here is a smart answer for it)

review: Needs Information
Revision history for this message
Maxime Chambreuil (http://www.savoirfairelinux.com) (max3903) wrote :

I agree with the applicant point.

Concerning the rest, I based the analysis on LinkedIn and each of Experience, Academic and Certifications share the same type of fields.

By having the same model, it is easier to import data from LinkedIn afterwards.

Revision history for this message
Daniel Reis (dreis-pt) wrote :

I don't see that pushing the LinkedIn data for Experience to a table and Academic to another would be a problem. I would rather concentrate on choosing the data model that better fits the use cases in OpenERP.

From and end-user PoV, Experience, Academic and Certifications are different things.
And for an end-user, it's reasonable for Certifications to go alongside other skills: after all they are a just a special type of skill, that is independently certified.

I think a user expects to see a "Experience" field, and an "Academic" field.
Same for a resume report: you expect them to be in separate sections.

Also, the fields needed to describe "Academic" and "Experience" are quite different, so there's also no rationale there for having them on the same table.

Revision history for this message
Maxime Chambreuil (http://www.savoirfairelinux.com) (max3903) wrote :

> I think a user expects to see a "Experience" field, and an "Academic" field.

We can make 3 different lists with different domains in the view and have the same table in the db.

> Same for a resume report: you expect them to be in separate sections.

They are in separate section in the report.

> Also, the fields needed to describe "Academic" and "Experience" are quite
> different, so there's also no rationale there for having them on the same
> table.

Well, in fact, they are not so different. They share a lot of common fields.

You can see this solution as the same used for Partner, Contact and Address...

Revision history for this message
Daniel Reis (dreis-pt) wrote :

> We can make 3 different lists with different domains in the view and have the same table in the db.

OK, that could work.
IMHO it's more difficult to implement than separate tables, but that's just an opinion.
Experience and Academic lines/forms should propose only the relevant fields for each.

And what about Certifications?
IMO they should be stored alongside other employee skills, so that they can be equally usable to relate to Job descriptions or training courses.

Revision history for this message
Maxime Chambreuil (http://www.savoirfairelinux.com) (max3903) wrote :

Please add the 3 different lists with different domains in the view

review: Needs Fixing (code review)
Revision history for this message
Daniel Reis (dreis-pt) :
review: Abstain
Revision history for this message
El Hadji Dem (http://www.savoirfairelinux.com) (eh-dem) wrote :

Do you know how to add filter or domain for one2many field ??
I try this http://help.openerp.com/question/6602/how-filter-x2many/, but it doesn't work.

https://bugs.launchpad.net/openobject-server/+bug/371367

Revision history for this message
Maxime Chambreuil (http://www.savoirfairelinux.com) (max3903) wrote :

Everything has been fixed. Resetting as 'Needs Review'.

Revision history for this message
Daniel Reis (dreis-pt) wrote :

Hi there. I noticed that this is not the implementation Maxime suggested.
We are creating three with basically the same data fields (as Maxime predicted).
From an OO design and database normalization standpoint, this doesn't look good
I'm sorry if changing my mind causes extra work, but I can see that Maxime was right.

If the one2many with domains is too difficult to implement (?), you could try subclasses:
- create a "hr.curriculum" base class with all the common fields
- make "hr.experience", "hr.academic", "hr.certification" inherit from "hr.curriculum"

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

Proposal moved to github

Unmerged revisions

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

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

71. By EL HADJI DEM <email address hidden>

[IMP] add hr_experience.pot file and delete fr.po

70. By EL HADJI DEM <email address hidden>

[IMP] don't need to instantiate a class in 7.0

69. By EL HADJI DEM <email address hidden>

[IMP] fix the copyright and update to reflect the new fields and views

68. By EL HADJI DEM <email address hidden>

[ADD] adds 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 2013-12-18 18:14:50 +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
22import hr_academic
23import hr_professional
24import 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 2013-12-18 18:14:50 +0000
@@ -0,0 +1,57 @@
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""",
42
43 "depends": ["hr", ],
44 'external_dependencies': {},
45 'data': [
46 "security/ir.model.access.csv",
47 "hr_experience_view.xml",
48 "hr_academic_view.xml",
49 "hr_professional_view.xml",
50 "hr_certification_view.xml",
51 ],
52 "demo": [],
53 "test": [],
54 "installable": True,
55 "active": False,
56}
57# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4:
058
=== added file 'hr_experience/hr_academic.py'
--- hr_experience/hr_academic.py 1970-01-01 00:00:00 +0000
+++ hr_experience/hr_academic.py 2013-12-18 18:14:50 +0000
@@ -0,0 +1,53 @@
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', 'Partner',
34 help="Employer, School, University, Certification Authority"),
35 'location': fields.char('Location', size=64, translate=True),
36 'diploma': fields.char('Diploma', size=64, translate=True),
37 'study_field': fields.char('Field of study', size=64, translate=True),
38 'activities': fields.text('Activities and associations', translate=True),
39 'expire': fields.boolean('Expire'),
40 }
41
42 _defaults = {
43 'expire': True,
44 }
45
46
47class hr_employee(orm.Model):
48 _inherit = 'hr.employee'
49 _columns = {
50 'academic_ids': fields.one2many('hr.academic', 'employee_id', 'Academic experiences'),
51 }
52
53# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4:
054
=== 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 2013-12-18 18:14:50 +0000
@@ -0,0 +1,55 @@
1<openerp>
2 <data>
3 <!-- academic tree-->
4 <record model="ir.ui.view" id="view_academic_tree">
5 <field name="name">hr.academic.tree</field>
6 <field name="model">hr.academic</field>
7 <field name="arch" type="xml">
8 <tree string="Academic experiences">
9 <field name="name"/>
10 <field name="employee_id"/>
11 <field name="partner_id"/>
12 <field name="start_date"/>
13 <field name="end_date"/>
14 </tree>
15 </field>
16 </record>
17 <!-- academic form-->
18 <record model="ir.ui.view" id="view_academic_form">
19 <field name="name">hr.academic.form</field>
20 <field name="model">hr.academic</field>
21 <field name="arch" type="xml">
22 <form string="Academic experience">
23 <field name="name"/>
24 <field name="employee_id"/>
25 <separator string="Dates" colspan="4"/>
26 <field name="start_date"/>
27 <field name="expire"/>
28 <field name="end_date" attrs="{'invisible':[('expire', '=', False)]}"/>
29 <separator string="Partner information" colspan="4"/>
30 <field name="partner_id"/>
31 <field name="location"/>
32 <group colspan="4">
33 <separator string="Academic information" colspan="4"/>
34 <field name="diploma" />
35 <field name="study_field"/>
36 <field name="activities"/>
37 </group>
38 <separator string="Description" colspan="4"/>
39 <field name="description" colspan="4" nolabel="1"/>
40 </form>
41 </field>
42 </record>
43 <!-- Menu -->
44 <record model="ir.actions.act_window" id="open_view_academic_form">
45 <field name="res_model">hr.academic</field>
46 <field name="view_type">form</field>
47 <field name="view_mode">tree,form</field>
48 </record>
49 <menuitem name="Academic Experiences"
50 parent="hr.menu_hr_configuration"
51 id="menu_open_view_academic_form"
52 action="open_view_academic_form"/>
53
54 </data>
55</openerp>
056
=== added file 'hr_experience/hr_certification.py'
--- hr_experience/hr_certification.py 1970-01-01 00:00:00 +0000
+++ hr_experience/hr_certification.py 2013-12-18 18:14:50 +0000
@@ -0,0 +1,51 @@
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', 'Partner',
34 help="Employer, School, University, Certification Authority"),
35 'location': fields.char('Location', size=64, translate=True),
36 'certification': fields.char('Certification Number', size=64),
37 'expire': fields.boolean('Expire'),
38 }
39
40 _defaults = {
41 'expire': True,
42 }
43
44
45class hr_employee(orm.Model):
46 _inherit = 'hr.employee'
47 _columns = {
48 'certification_ids': fields.one2many('hr.certification', 'employee_id', 'Certifications'),
49 }
50
51# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4:
052
=== 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 2013-12-18 18:14:50 +0000
@@ -0,0 +1,55 @@
1<openerp>
2 <data>
3 <!-- certification tree -->
4 <record model="ir.ui.view" id="view_certification_tree">
5 <field name="name">hr.certification.tree</field>
6 <field name="model">hr.certification</field>
7 <field name="type">tree</field>
8 <field name="arch" type="xml">
9 <tree string="certifications">
10 <field name="name"/>
11 <field name="employee_id"/>
12 <field name="partner_id"/>
13 <field name="start_date"/>
14 <field name="end_date"/>
15 </tree>
16 </field>
17 </record>
18 <!-- certification tree -->
19 <record model="ir.ui.view" id="view_certification_form">
20 <field name="name">hr.certification.form</field>
21 <field name="model">hr.certification</field>
22 <field name="type">form</field>
23 <field name="arch" type="xml">
24 <form string="certification">
25 <field name="name"/>
26 <field name="employee_id"/>
27 <separator string="Dates" colspan="4"/>
28 <field name="start_date"/>
29 <field name="expire"/>
30 <field name="end_date" attrs="{'invisible':[('expire', '=', False)]}"/>
31 <separator string="Partner information" colspan="4"/>
32 <field name="partner_id"/>
33 <field name="location"/>
34 <group colspan="4">
35 <separator string="Certification information" colspan="4"/>
36 <field name="certification"/>
37 </group>
38 <separator string="Description" colspan="4"/>
39 <field name="description" colspan="4" nolabel="1"/>
40 </form>
41 </field>
42 </record>
43 <!-- Menu -->
44 <record model="ir.actions.act_window" id="open_view_certification_form">
45 <field name="res_model">hr.certification</field>
46 <field name="view_type">form</field>
47 <field name="view_mode">tree,form</field>
48 </record>
49 <menuitem name="Certifications"
50 parent="hr.menu_hr_configuration"
51 id="menu_open_view_certification_form"
52 action="open_view_certification_form"/>
53
54 </data>
55</openerp>
056
=== added file 'hr_experience/hr_experience.py'
--- hr_experience/hr_experience.py 1970-01-01 00:00:00 +0000
+++ hr_experience/hr_experience.py 2013-12-18 18:14:50 +0000
@@ -0,0 +1,56 @@
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###############################################################################
21from openerp.osv import fields, orm
22
23class hr_experience(orm.Model):
24 _name = 'hr.experience'
25 _columns = {
26 'name': fields.char('Name', size=64, required=True, translate=True),
27 'employee_id': fields.many2one('hr.employee', 'Employee', required=True),
28 'category': fields.selection((('professional', 'Professional'),
29 ('academic', 'Academic'),
30 ('certification', 'Certification')),
31 'Category', required=True),
32 'start_date': fields.date('Start date'),
33 'end_date': fields.date('End date'),
34 'description': fields.text('Description', translate=True),
35 'partner_id': fields.many2one('res.partner', 'Partner', help="Employer, School, University, Certification Authority"),
36 'location': fields.char('Location', size=64, translate=True),
37 'diploma': fields.char('Diploma', size=64, translate=True),
38 'study_field': fields.char('Field of study', size=64, translate=True),
39 'result': fields.char('Result', size=64, translate=True),
40 'activities': fields.text('Activities and associations', translate=True),
41 'certification': fields.char('Certification Number', size=64),
42 'expire': fields.boolean('Expire'),
43 }
44
45 _defaults = {
46 'category': 'professional',
47 'expire': True,
48 }
49
50class hr_employee(orm.Model):
51 _inherit = 'hr.employee'
52 _columns = {
53 'experience_ids': fields.one2many('hr.experience', 'employee_id', 'Experiences'),
54 }
55
56# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4:
057
=== 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 2013-12-18 18:14:50 +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"/>
13 </page>
14 <page string="Professional">
15 <field name="professional_ids"/>
16 </page>
17 <page string="Certification">
18 <field name="certification_ids"/>
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 2013-12-18 18:14:50 +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_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', 'Partner',
34 help="Employer, School, University, Certification Authority"),
35 'location': fields.char('Location', size=64, translate=True),
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 'professional_ids': fields.one2many('hr.professional', 'employee_id', ' Professional Experiences'),
48 }
49
50# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4:
051
=== 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 2013-12-18 18:14:50 +0000
@@ -0,0 +1,51 @@
1<openerp>
2 <data>
3 <!-- professional tree -->
4 <record model="ir.ui.view" id="view_professional_tree">
5 <field name="name">hr.professional.tree</field>
6 <field name="model">hr.professional</field>
7 <field name="type">tree</field>
8 <field name="arch" type="xml">
9 <tree string="Professional Experiences">
10 <field name="name"/>
11 <field name="employee_id"/>
12 <field name="partner_id"/>
13 <field name="start_date"/>
14 <field name="end_date"/>
15 </tree>
16 </field>
17 </record>
18 <!-- professional form -->
19 <record model="ir.ui.view" id="view_professional_form">
20 <field name="name">hr.professional.form</field>
21 <field name="model">hr.professional</field>
22 <field name="type">form</field>
23 <field name="arch" type="xml">
24 <form string="Professional Experience">
25 <field name="name"/>
26 <field name="employee_id"/>
27 <separator string="Dates" colspan="4"/>
28 <field name="start_date"/>
29 <field name="expire"/>
30 <field name="end_date" attrs="{'invisible':[('expire', '=', False)]}"/>
31 <separator string="Partner information" colspan="4"/>
32 <field name="partner_id"/>
33 <field name="location"/>
34 <separator string="Description" colspan="4"/>
35 <field name="description" colspan="4" nolabel="1"/>
36 </form>
37 </field>
38 </record>
39 <!-- Menu -->
40 <record model="ir.actions.act_window" id="open_view_professional_form">
41 <field name="res_model">hr.professional</field>
42 <field name="view_type">form</field>
43 <field name="view_mode">tree,form</field>
44 </record>
45 <menuitem name="Professional Experiences"
46 parent="hr.menu_hr_configuration"
47 id="menu_open_view_professional_form"
48 action="open_view_professional_form"/>
49
50 </data>
51</openerp>
052
=== 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 2013-12-18 18:14:50 +0000
@@ -0,0 +1,190 @@
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 7.0\n"
8"Report-Msgid-Bugs-To: \n"
9"POT-Creation-Date: 2013-12-18 17:21+0000\n"
10"PO-Revision-Date: 2013-12-18 12:22-0500\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: 8bit\n"
16"Plural-Forms: \n"
17"X-Generator: Poedit 1.5.4\n"
18
19#. module: hr_experience
20#: view:hr.certification:0
21msgid "certification"
22msgstr ""
23
24#. module: hr_experience
25#: field:hr.certification,certification:0
26msgid "Certification Number"
27msgstr ""
28
29#. module: hr_experience
30#: help:hr.academic,partner_id:0 help:hr.certification,partner_id:0
31#: help:hr.professional,partner_id:0
32msgid "Employer, School, University, Certification Authority"
33msgstr ""
34
35#. module: hr_experience
36#: field:hr.academic,diploma:0
37msgid "Diploma"
38msgstr ""
39
40#. module: hr_experience
41#: view:hr.academic:0 view:hr.certification:0 view:hr.professional:0
42msgid "Partner information"
43msgstr ""
44
45#. module: hr_experience
46#: field:hr.academic,location:0 field:hr.certification,location:0
47#: field:hr.professional,location:0
48msgid "Location"
49msgstr ""
50
51#. module: hr_experience
52#: field:hr.academic,employee_id:0 field:hr.certification,employee_id:0
53#: field:hr.professional,employee_id:0
54#: model:ir.model,name:hr_experience.model_hr_employee
55msgid "Employee"
56msgstr ""
57
58#. module: hr_experience
59#: field:hr.academic,start_date:0 field:hr.certification,start_date:0
60#: field:hr.professional,start_date:0
61msgid "Start date"
62msgstr ""
63
64#. module: hr_experience
65#: field:hr.academic,activities:0
66msgid "Activities and associations"
67msgstr ""
68
69#. module: hr_experience
70#: view:hr.academic:0 field:hr.academic,description:0 view:hr.certification:0
71#: field:hr.certification,description:0 view:hr.professional:0
72#: field:hr.professional,description:0
73msgid "Description"
74msgstr ""
75
76#. module: hr_experience
77#: field:hr.academic,study_field:0
78msgid "Field of study"
79msgstr ""
80
81#. module: hr_experience
82#: model:ir.ui.menu,name:hr_experience.menu_open_view_academic_form
83msgid "Academic Experiences"
84msgstr ""
85
86#. module: hr_experience
87#: view:hr.certification:0
88msgid "Certification information"
89msgstr ""
90
91#. module: hr_experience
92#: field:hr.academic,expire:0 field:hr.certification,expire:0
93#: field:hr.professional,expire:0
94msgid "Expire"
95msgstr ""
96
97#. module: hr_experience
98#: view:hr.professional:0
99msgid "Professional Experience"
100msgstr ""
101
102#. module: hr_experience
103#: view:hr.academic:0
104msgid "Academic information"
105msgstr ""
106
107#. module: hr_experience
108#: view:hr.academic:0 view:hr.certification:0 view:hr.professional:0
109msgid "Dates"
110msgstr ""
111
112#. module: hr_experience
113#: field:hr.employee,certification_ids:0
114#: model:ir.ui.menu,name:hr_experience.menu_open_view_certification_form
115msgid "Certifications"
116msgstr ""
117
118#. module: hr_experience
119#: field:hr.academic,name:0 field:hr.certification,name:0
120#: field:hr.professional,name:0
121msgid "Name"
122msgstr ""
123
124#. module: hr_experience
125#: view:hr.academic:0 field:hr.employee,academic_ids:0
126msgid "Academic experiences"
127msgstr ""
128
129#. module: hr_experience
130#: field:hr.employee,professional_ids:0
131msgid " Professional Experiences"
132msgstr ""
133
134#. module: hr_experience
135#: view:hr.employee:0
136msgid "Academic"
137msgstr ""
138
139#. module: hr_experience
140#: view:hr.employee:0
141msgid "Professional"
142msgstr ""
143
144#. module: hr_experience
145#: view:hr.academic:0
146msgid "Academic experience"
147msgstr ""
148
149#. module: hr_experience
150#: model:ir.model,name:hr_experience.model_hr_professional
151msgid "hr.professional"
152msgstr ""
153
154#. module: hr_experience
155#: field:hr.academic,end_date:0 field:hr.certification,end_date:0
156#: field:hr.professional,end_date:0
157msgid "End date"
158msgstr ""
159
160#. module: hr_experience
161#: model:ir.model,name:hr_experience.model_hr_academic
162msgid "hr.academic"
163msgstr ""
164
165#. module: hr_experience
166#: view:hr.certification:0
167msgid "certifications"
168msgstr ""
169
170#. module: hr_experience
171#: view:hr.employee:0
172msgid "Certification"
173msgstr ""
174
175#. module: hr_experience
176#: model:ir.model,name:hr_experience.model_hr_certification
177msgid "hr.certification"
178msgstr ""
179
180#. module: hr_experience
181#: field:hr.academic,partner_id:0 field:hr.certification,partner_id:0
182#: field:hr.professional,partner_id:0
183msgid "Partner"
184msgstr ""
185
186#. module: hr_experience
187#: view:hr.professional:0
188#: model:ir.ui.menu,name:hr_experience.menu_open_view_professional_form
189msgid "Professional Experiences"
190msgstr ""
0191
=== added directory 'hr_experience/security'
=== 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 2013-12-18 18:14:50 +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