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

Status: Merged
Merged at revision: 307
Proposed branch: lp:~savoirfairelinux-openerp/openerp-hr/resume
Merge into: lp:openerp-hr/6.1
Diff against target: 524 lines (+472/-0)
10 files modified
hr_resume/__init__.py (+25/-0)
hr_resume/__openerp__.py (+55/-0)
hr_resume/hr_resume.py (+31/-0)
hr_resume/hr_resume_view.xml (+18/-0)
hr_resume/i18n/fr.po (+79/-0)
hr_resume/i18n/hr_resume.pot (+79/-0)
hr_resume/report/__init__.py (+24/-0)
hr_resume/report/report_resume.py (+49/-0)
hr_resume/report/report_resume.rml (+99/-0)
hr_resume/report/report_resume.xml (+13/-0)
To merge this branch: bzr merge lp:~savoirfairelinux-openerp/openerp-hr/resume
Reviewer Review Type Date Requested Status
Joël Grand-Guillaume @ camptocamp code review, no tests Approve
Omar (Pexego) code review Approve
Maxime Chambreuil (http://www.savoirfairelinux.com) code review Approve
Review via email: mp+194927@code.launchpad.net

Description of the change

[ADD] add hr_resume module.It inherits the emloyee view form and adds a report printing resume

To post a comment you must log in.
Revision history for this message
Maxime Chambreuil (http://www.savoirfairelinux.com) (max3903) wrote :

Diff is empty.

review: Needs Fixing
307. By EL HADJI DEM <email address hidden>

[ADD] adds hr_resume module

308. By EL HADJI DEM <email address hidden>

[IMP] add pot file

Revision history for this message
Maxime Chambreuil (http://www.savoirfairelinux.com) (max3903) :
review: Approve (code review)
Revision history for this message
Omar (Pexego) (omar7r) wrote :

LGTM

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

[IMP] change report, pep8

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

Hi,

Thanks for the contrib. Would have been great to use "from . import XY" at line 27 and 28. But otherwise good. Don't want to block that little one for that.

Thanks

review: Approve (code review, no tests)

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== added directory 'hr_resume'
2=== added file 'hr_resume/__init__.py'
3--- hr_resume/__init__.py 1970-01-01 00:00:00 +0000
4+++ hr_resume/__init__.py 2013-12-18 17:59:30 +0000
5@@ -0,0 +1,25 @@
6+# -*- encoding: utf-8 -*-
7+###############################################################################
8+#
9+# OpenERP, Open Source Management Solution
10+# Copyright (C) 2013 Savoir-faire Linux (<http://www.savoirfairelinux.com>).
11+#
12+# This program is free software: you can redistribute it and/or modify
13+# it under the terms of the GNU Affero General Public License as
14+# published by the Free Software Foundation, either version 3 of the
15+# License, or (at your option) any later version.
16+#
17+# This program is distributed in the hope that it will be useful,
18+# but WITHOUT ANY WARRANTY; without even the implied warranty of
19+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
20+# GNU Affero General Public License for more details.
21+#
22+# You should have received a copy of the GNU Affero General Public License
23+# along with this program. If not, see <http://www.gnu.org/licenses/>.
24+#
25+###############################################################################
26+
27+import hr_resume
28+import report
29+
30+# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4:
31
32=== added file 'hr_resume/__openerp__.py'
33--- hr_resume/__openerp__.py 1970-01-01 00:00:00 +0000
34+++ hr_resume/__openerp__.py 2013-12-18 17:59:30 +0000
35@@ -0,0 +1,55 @@
36+# -*- encoding: utf-8 -*-
37+###############################################################################
38+#
39+# OpenERP, Open Source Management Solution
40+# Copyright (C) 2013 Savoir-faire Linux (<http://www.savoirfairelinux.com>).
41+#
42+# This program is free software: you can redistribute it and/or modify
43+# it under the terms of the GNU Affero General Public License as
44+# published by the Free Software Foundation, either version 3 of the
45+# License, or (at your option) any later version.
46+#
47+# This program is distributed in the hope that it will be useful,
48+# but WITHOUT ANY WARRANTY; without even the implied warranty of
49+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
50+# GNU Affero General Public License for more details.
51+#
52+# You should have received a copy of the GNU Affero General Public License
53+# along with this program. If not, see <http://www.gnu.org/licenses/>.
54+#
55+###############################################################################
56+
57+{
58+ "name": "Resume Management",
59+ "version": "0.1",
60+ "author": "Savoir-faire Linux",
61+ "maintainer": "Savoir-faire Linux",
62+ "website": "http://www.savoirfairelinux.com",
63+ "category": "Human Resources",
64+ "description": """
65+Resume Management
66+=================
67+
68+This module allows you to manage your employee resumes.
69+
70+Contributors
71+------------
72+* El Hadji DEM (elhadji.dem@savoirfairelinux.com)
73+""",
74+
75+ "depends": [
76+ "hr_experience",
77+ "hr_skill",
78+ "hr_language",
79+ ],
80+ 'data': ['hr_resume_view.xml',
81+ 'report/report_resume.xml',
82+ ],
83+ 'external_dependencies': {},
84+ "demo": [],
85+ "test": [],
86+ "installable": True,
87+ "active": False,
88+}
89+
90+# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4:
91
92=== added file 'hr_resume/hr_resume.py'
93--- hr_resume/hr_resume.py 1970-01-01 00:00:00 +0000
94+++ hr_resume/hr_resume.py 2013-12-18 17:59:30 +0000
95@@ -0,0 +1,31 @@
96+# -*- encoding: utf-8 -*-
97+###############################################################################
98+#
99+# OpenERP, Open Source Management Solution
100+# Copyright (C) 2013 Savoir-faire Linux (<http://www.savoirfairelinux.com>).
101+#
102+# This program is free software: you can redistribute it and/or modify
103+# it under the terms of the GNU Affero General Public License as
104+# published by the Free Software Foundation, either version 3 of the
105+# License, or (at your option) any later version.
106+#
107+# This program is distributed in the hope that it will be useful,
108+# but WITHOUT ANY WARRANTY; without even the implied warranty of
109+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
110+# GNU Affero General Public License for more details.
111+#
112+# You should have received a copy of the GNU Affero General Public License
113+# along with this program. If not, see <http://www.gnu.org/licenses/>.
114+#
115+###############################################################################
116+
117+from openerp.osv import fields, orm
118+
119+
120+class hr_employee(orm.Model):
121+ _inherit = 'hr.employee'
122+ _columns = {
123+ 'biography': fields.text('Biography'),
124+ }
125+
126+# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4:
127
128=== added file 'hr_resume/hr_resume_view.xml'
129--- hr_resume/hr_resume_view.xml 1970-01-01 00:00:00 +0000
130+++ hr_resume/hr_resume_view.xml 2013-12-18 17:59:30 +0000
131@@ -0,0 +1,18 @@
132+<openerp>
133+ <data>
134+ <!-- inherit Employee -->
135+ <record model="ir.ui.view" id="view_employee_form">
136+ <field name="name">hr.resume.employee.form</field>
137+ <field name="model">hr.employee</field>
138+ <field name="inherit_id" ref="hr.view_employee_form"/>
139+ <field name="type">form</field>
140+ <field name="arch" type="xml">
141+ <notebook position="inside">
142+ <page string="Biography">
143+ <field name="biography" nolabel="1" colspan="4"/>
144+ </page>
145+ </notebook>
146+ </field>
147+ </record>
148+ </data>
149+</openerp>
150
151=== added directory 'hr_resume/i18n'
152=== added file 'hr_resume/i18n/fr.po'
153--- hr_resume/i18n/fr.po 1970-01-01 00:00:00 +0000
154+++ hr_resume/i18n/fr.po 2013-12-18 17:59:30 +0000
155@@ -0,0 +1,79 @@
156+# Translation of OpenERP Server.
157+# This file contains the translation of the following modules:
158+# * hr_resume
159+#
160+msgid ""
161+msgstr ""
162+"Project-Id-Version: OpenERP Server 7.0\n"
163+"Report-Msgid-Bugs-To: \n"
164+"POT-Creation-Date: 2013-11-14 21:20+0000\n"
165+"PO-Revision-Date: 2013-11-14 21:20+0000\n"
166+"Last-Translator: <>\n"
167+"Language-Team: \n"
168+"MIME-Version: 1.0\n"
169+"Content-Type: text/plain; charset=UTF-8\n"
170+"Content-Transfer-Encoding: \n"
171+"Plural-Forms: \n"
172+
173+#. module: hr_resume
174+#: report:hr.resume.report:0
175+msgid "Certifications"
176+msgstr "Certifications"
177+
178+#. module: hr_resume
179+#: report:hr.resume.report:0
180+msgid "Resume"
181+msgstr "CV"
182+
183+#. module: hr_resume
184+#: report:hr.resume.report:0
185+msgid "Academic Background"
186+msgstr "Formation académique"
187+
188+#. module: hr_resume
189+#: report:hr.resume.report:0
190+msgid "Professional Experiences"
191+msgstr "Expériences professionnelles"
192+
193+#. module: hr_resume
194+#: report:hr.resume.report:0
195+msgid "Diploma:"
196+msgstr "Diplôme:"
197+
198+#. module: hr_resume
199+#: report:hr.resume.report:0
200+msgid "Field of Study:"
201+msgstr "Domaine d'études:"
202+
203+#. module: hr_resume
204+#: report:hr.resume.report:0
205+msgid "Languages"
206+msgstr "Langages"
207+
208+#. module: hr_resume
209+#: model:ir.model,name:hr_resume.model_hr_employee
210+msgid "Employee"
211+msgstr "Employé"
212+
213+#. module: hr_resume
214+#: model:ir.actions.report.xml,name:hr_resume.hr_resume_report
215+msgid "Print Resume"
216+msgstr "Imprimer CV"
217+
218+#. module: hr_resume
219+#: report:hr.resume.report:0
220+msgid "Skills"
221+msgstr "Compétences"
222+
223+#. module: hr_resume
224+#: report:hr.resume.report:0
225+msgid "Certification Number:"
226+msgstr "Numéro de certification:"
227+
228+#. module: hr_resume
229+#: view:hr.employee:0
230+#: field:hr.employee,biography:0
231+#: report:hr.resume.report:0
232+msgid "Biography"
233+msgstr "Biographie"
234+
235
236=== added file 'hr_resume/i18n/hr_resume.pot'
237--- hr_resume/i18n/hr_resume.pot 1970-01-01 00:00:00 +0000
238+++ hr_resume/i18n/hr_resume.pot 2013-12-18 17:59:30 +0000
239@@ -0,0 +1,79 @@
240+# Translation of OpenERP Server.
241+# This file contains the translation of the following modules:
242+# * hr_resume
243+#
244+msgid ""
245+msgstr ""
246+"Project-Id-Version: OpenERP Server 7.0\n"
247+"Report-Msgid-Bugs-To: \n"
248+"POT-Creation-Date: 2013-11-15 14:23+0000\n"
249+"PO-Revision-Date: 2013-11-15 14:23+0000\n"
250+"Last-Translator: <>\n"
251+"Language-Team: \n"
252+"MIME-Version: 1.0\n"
253+"Content-Type: text/plain; charset=UTF-8\n"
254+"Content-Transfer-Encoding: \n"
255+"Plural-Forms: \n"
256+
257+#. module: hr_resume
258+#: report:hr.resume.report:0
259+msgid "Certifications"
260+msgstr ""
261+
262+#. module: hr_resume
263+#: report:hr.resume.report:0
264+msgid "Resume"
265+msgstr ""
266+
267+#. module: hr_resume
268+#: report:hr.resume.report:0
269+msgid "Academic Background"
270+msgstr ""
271+
272+#. module: hr_resume
273+#: report:hr.resume.report:0
274+msgid "Professional Experiences"
275+msgstr ""
276+
277+#. module: hr_resume
278+#: report:hr.resume.report:0
279+msgid "Diploma:"
280+msgstr ""
281+
282+#. module: hr_resume
283+#: report:hr.resume.report:0
284+msgid "Field of Study:"
285+msgstr ""
286+
287+#. module: hr_resume
288+#: report:hr.resume.report:0
289+msgid "Languages"
290+msgstr ""
291+
292+#. module: hr_resume
293+#: model:ir.model,name:hr_resume.model_hr_employee
294+msgid "Employee"
295+msgstr ""
296+
297+#. module: hr_resume
298+#: model:ir.actions.report.xml,name:hr_resume.hr_resume_report
299+msgid "Print Resume"
300+msgstr ""
301+
302+#. module: hr_resume
303+#: report:hr.resume.report:0
304+msgid "Skills"
305+msgstr ""
306+
307+#. module: hr_resume
308+#: report:hr.resume.report:0
309+msgid "Certification Number:"
310+msgstr ""
311+
312+#. module: hr_resume
313+#: view:hr.employee:0
314+#: field:hr.employee,biography:0
315+#: report:hr.resume.report:0
316+msgid "Biography"
317+msgstr ""
318+
319
320=== added directory 'hr_resume/report'
321=== added file 'hr_resume/report/__init__.py'
322--- hr_resume/report/__init__.py 1970-01-01 00:00:00 +0000
323+++ hr_resume/report/__init__.py 2013-12-18 17:59:30 +0000
324@@ -0,0 +1,24 @@
325+# -*- encoding: utf-8 -*-
326+###############################################################################
327+#
328+# OpenERP, Open Source Management Solution
329+# Copyright (C) 2013 Savoir-faire Linux (<http://www.savoirfairelinux.com>).
330+#
331+# This program is free software: you can redistribute it and/or modify
332+# it under the terms of the GNU Affero General Public License as
333+# published by the Free Software Foundation, either version 3 of the
334+# License, or (at your option) any later version.
335+#
336+# This program is distributed in the hope that it will be useful,
337+# but WITHOUT ANY WARRANTY; without even the implied warranty of
338+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
339+# GNU Affero General Public License for more details.
340+#
341+# You should have received a copy of the GNU Affero General Public License
342+# along with this program. If not, see <http://www.gnu.org/licenses/>.
343+#
344+###############################################################################
345+
346+import report_resume
347+
348+# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4:
349
350=== added file 'hr_resume/report/report_resume.py'
351--- hr_resume/report/report_resume.py 1970-01-01 00:00:00 +0000
352+++ hr_resume/report/report_resume.py 2013-12-18 17:59:30 +0000
353@@ -0,0 +1,49 @@
354+# -*- encoding: utf-8 -*-
355+###############################################################################
356+#
357+# OpenERP, Open Source Management Solution
358+# Copyright (C) 2013 Savoir-faire Linux (<http://www.savoirfairelinux.com>).
359+#
360+# This program is free software: you can redistribute it and/or modify
361+# it under the terms of the GNU Affero General Public License as
362+# published by the Free Software Foundation, either version 3 of the
363+# License, or (at your option) any later version.
364+#
365+# This program is distributed in the hope that it will be useful,
366+# but WITHOUT ANY WARRANTY; without even the implied warranty of
367+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
368+# GNU Affero General Public License for more details.
369+#
370+# You should have received a copy of the GNU Affero General Public License
371+# along with this program. If not, see <http://www.gnu.org/licenses/>.
372+#
373+###############################################################################
374+
375+import time
376+from report import report_sxw
377+
378+
379+class report_resume(report_sxw.rml_parse):
380+
381+ def __init__(self, cr, uid, name, context):
382+ super(report_resume, self).__init__(cr, uid, name, context)
383+ self.localcontext.update({
384+ 'time': time,
385+ })
386+
387+ def get_experience_by_category(self, employee_id, category):
388+ self.cr.execute("SELECT exp.name, exp.start_date, exp.expire, exp.end_date, exp.location, exp.certification, \
389+ exp.description, exp.diploma, exp.study_field, part.name partner_name FROM hr_experience exp \
390+ LEFT JOIN res_partner part ON part.id = exp.partner_id \
391+ WHERE exp.employee_id = %d AND exp.category = '%s'" % (employee_id, category))
392+ return self.cr.dictfetchall()
393+
394+report_sxw.report_sxw(
395+ 'report.hr.resume.report',
396+ 'hr.employee',
397+ 'addons/hr_resume/report/report_resume.rml',
398+ parser=report_resume,
399+ header=False
400+)
401+
402+# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4:
403
404=== added file 'hr_resume/report/report_resume.rml'
405--- hr_resume/report/report_resume.rml 1970-01-01 00:00:00 +0000
406+++ hr_resume/report/report_resume.rml 2013-12-18 17:59:30 +0000
407@@ -0,0 +1,99 @@
408+<?xml version="1.0"?>
409+<document filename="Resume.pdf">
410+ <template pageSize="(595.0,842.0)" title="Resume" author="Savoir-faire Linux" allowSplitting="20">
411+ <pageTemplate id="first">
412+ <frame id="first" x1="15.0" y1="42.0" width="539" height="758"/>
413+ </pageTemplate>
414+ </template>
415+ <stylesheet>
416+ <blockTableStyle id="Standard_Outline">
417+ <blockAlignment value="LEFT"/>
418+ <blockValign value="TOP"/>
419+ </blockTableStyle>
420+ <initialize>
421+ <paraStyle name="all" alignment="justify"/>
422+ </initialize>
423+ <paraStyle name="Standard" fontName="Helvetica"/>
424+ <paraStyle name="Text body" fontName="Helvetica" spaceBefore="0.0" spaceAfter="6.0"/>
425+ <paraStyle name="Heading" fontName="Helvetica" fontSize="8.0" leading="10" spaceBefore="12.0" spaceAfter="6.0"/>
426+ <paraStyle name="List" fontName="Helvetica" spaceBefore="0.0" spaceAfter="6.0"/>
427+ <paraStyle name="Table Contents" fontName="Helvetica"/>
428+ <paraStyle name="Table Heading" fontName="Helvetica" alignment="CENTER"/>
429+ <paraStyle name="Caption" fontName="Helvetica" fontSize="12.0" leading="15" spaceBefore="6.0" spaceAfter="6.0"/>
430+ <paraStyle name="Index" fontName="Helvetica"/>
431+ <paraStyle name="terp_header" fontName="Helvetica-Bold" fontSize="15.0" leading="19" alignment="LEFT" spaceBefore="12.0" spaceAfter="6.0"/>
432+ <paraStyle name="terp_default_8" fontName="Helvetica" fontSize="8.0" leading="10" alignment="LEFT" spaceBefore="0.0" spaceAfter="0.0"/>
433+ <paraStyle name="terp_default_Bold_8" fontName="Helvetica-Bold" fontSize="8.0" leading="10" alignment="LEFT" spaceBefore="0.0" spaceAfter="0.0"/>
434+ <paraStyle name="terp_default_Bold_9" fontName="Helvetica-Bold" fontSize="9.0" leading="11" alignment="LEFT" spaceBefore="0.0" spaceAfter="0.0"/>
435+ <paraStyle name="terp_default_9" fontName="Helvetica" fontSize="9.0" leading="11" alignment="LEFT" spaceBefore="0.0" spaceAfter="0.0"/>
436+ <paraStyle name="terp_tblheader_General" fontName="Helvetica-Bold" fontSize="8.0" leading="10" alignment="LEFT" spaceBefore="6.0" spaceAfter="6.0"/>
437+ <paraStyle name="terp_tblheader_General_Centre" fontName="Helvetica-Bold" fontSize="8.0" leading="10" alignment="CENTER" spaceBefore="6.0" spaceAfter="6.0"/>
438+ <paraStyle name="terp_default_Centre_8" fontName="Helvetica" fontSize="8.0" leading="10" alignment="CENTER" spaceBefore="0.0" spaceAfter="0.0"/>
439+ <paraStyle name="terp_tblheader_Details" fontName="Helvetica-Bold" fontSize="9.0" leading="11" alignment="LEFT" spaceBefore="6.0" spaceAfter="6.0"/>
440+ <paraStyle name="Footer" fontName="Helvetica"/>
441+ <paraStyle name="Horizontal Line" fontName="Helvetica" fontSize="6.0" leading="8" spaceBefore="0.0" spaceAfter="14.0"/>
442+ <paraStyle name="Heading 9" fontName="Helvetica-Bold" fontSize="75%" leading="NaN" spaceBefore="12.0" spaceAfter="6.0"/>
443+ <paraStyle name="terp_tblheader_General_Right" fontName="Helvetica-Bold" fontSize="8.0" leading="10" alignment="RIGHT" spaceBefore="6.0" spaceAfter="6.0"/>
444+ <paraStyle name="terp_tblheader_Details_Centre" fontName="Helvetica-Bold" fontSize="9.0" leading="11" alignment="CENTER" spaceBefore="6.0" spaceAfter="6.0"/>
445+ <paraStyle name="terp_tblheader_Details_Right" fontName="Helvetica-Bold" fontSize="9.0" leading="11" alignment="RIGHT" spaceBefore="6.0" spaceAfter="6.0"/>
446+ <paraStyle name="terp_default_Right_8" fontName="Helvetica" fontSize="8.0" leading="10" alignment="RIGHT" spaceBefore="0.0" spaceAfter="0.0"/>
447+ <paraStyle name="terp_header_Right" fontName="Helvetica-Bold" fontSize="15.0" leading="19" alignment="LEFT" spaceBefore="12.0" spaceAfter="6.0"/>
448+ <paraStyle name="terp_header_Centre" fontName="Helvetica-Bold" fontSize="15.0" leading="19" alignment="CENTER" spaceBefore="12.0" spaceAfter="6.0"/>
449+ <paraStyle name="terp_default_address" fontName="Helvetica" fontSize="10.0" leading="13" alignment="LEFT" spaceBefore="0.0" spaceAfter="0.0"/>
450+ <paraStyle name="terp_default_Centre_9" fontName="Helvetica" fontSize="9.0" leading="11" alignment="CENTER" spaceBefore="0.0" spaceAfter="0.0"/>
451+ <paraStyle name="terp_default_Right_9" fontName="Helvetica" fontSize="9.0" leading="11" alignment="RIGHT" spaceBefore="0.0" spaceAfter="0.0"/>
452+ <paraStyle name="terp_default_1" fontName="Helvetica" fontSize="2.0" leading="3" alignment="LEFT" spaceBefore="0.0" spaceAfter="0.0"/>
453+ <paraStyle name="terp_default_Right_9_Bold" fontName="Helvetica-Bold" fontSize="9.0" leading="11" alignment="RIGHT" spaceBefore="0.0" spaceAfter="0.0"/>
454+ <paraStyle name="terp_default_Italic" rightIndent="0.0" leftIndent="20.0" fontName="Helvetica-Oblique" fontSize="8.0" leading="10" alignment="LEFT" spaceBefore="0.0" spaceAfter="0.0"/>
455+ <paraStyle name="Preformatted Text" fontName="Helvetica" fontSize="10.0" leading="13" spaceBefore="0.0" spaceAfter="0.0"/>
456+ <paraStyle name="terp_default_Centre_9_Bold" fontName="Helvetica-Bold" fontSize="9.0" leading="11" alignment="CENTER" spaceBefore="0.0" spaceAfter="0.0"/>
457+ <images/>
458+ </stylesheet>
459+ <story>
460+ <pto>
461+ <para style="terp_default_8">[[repeatIn(objects,'o')]]</para>
462+ <para style="terp_default_8">[[setLang(user.lang)]]</para>
463+ <!--<image x="1.3cm" y="27.6cm" height="40.0" width="100" alignment="LEFT">[[ company.logo or removeParentNode('image') ]]</image>-->
464+ <para style="terp_header_Centre">Resume</para>
465+ <para style="terp_header_Centre">[[ o.name ]]</para>
466+ <para style="terp_header_Centre">[[ o.job_id.name ]]</para>
467+ <para style="terp_header">Biography</para>
468+ <para>[[ o.biography ]]</para>
469+ <para style="terp_header">Skills</para>
470+ <section>
471+ <para>[[repeatIn(o.skill_ids,'skill')]]</para>
472+ <para>- [[ skill.name ]] </para>
473+ </section>
474+ <para style="terp_header">Certifications</para>
475+ <section>
476+ <para >[[repeatIn(o.certification_ids,'certification')]]</para>
477+ <para style="terp_default_Bold_9">[[ certification.name ]] , [[ certification.partner_id.name ]]</para>
478+ <para>[[ certification.start_date ]] - [[ certification.expire and certification.end_date or 'Now' ]]</para>
479+ <para>[[ certification.location or removeParentNode('para') ]]</para>
480+ <para>Certification Number: [[ certification.certification or removeParentNode('para') ]]</para>
481+ </section>
482+ <para style="terp_header">Professional Experiences</para>
483+ <section>
484+ <para >[[repeatIn(o.professional_ids,'professional')]]</para>
485+ <para style="terp_default_Bold_9">[[ professional.name ]] [[ professional.location or '' ]]</para>
486+ <para>[[ professional.start_date ]] - [[ professional.expire and professional.end_date or 'Now' ]]</para>
487+ <para>[[ professional.partner_id.name ]]</para>
488+ <para>[[ professional.description ]]</para>
489+ </section>
490+ <para style="terp_header">Academic Background</para>
491+ <section>
492+ <para >[[repeatIn(o.academic_ids,'academic')]]</para>
493+ <para style="terp_default_Bold_9">[[ academic.name ]]</para>
494+ <para>[[ academic.start_date ]] - [[ academic.expire and academic.end_date or 'Now' ]]</para>
495+ <para>[[ academic.partner_id.name ]]</para>
496+ <para>Diploma: [[ academic.diploma or removeParentNode('para') ]]</para>
497+ <para>Field of Study: [[ academic.study_field or removeParentNode('para') ]]</para>
498+ </section>
499+ <para style="terp_header">Languages</para>
500+ <section>
501+ <para>[[repeatIn(o.language_ids,'language')]]</para>
502+ <para>- [[ language.description ]] : [[ language.read and 'Read' or '' ]], [[ language.write and 'Write' or '' ]], [[ language.speak and 'Speak' or '' ]]</para>
503+ </section>
504+ </pto>
505+ </story>
506+</document>
507
508=== added file 'hr_resume/report/report_resume.xml'
509--- hr_resume/report/report_resume.xml 1970-01-01 00:00:00 +0000
510+++ hr_resume/report/report_resume.xml 2013-12-18 17:59:30 +0000
511@@ -0,0 +1,13 @@
512+<?xml version="1.0"?>
513+<openerp>
514+ <data>
515+ <report
516+ id="hr_resume_report"
517+ string="Print Resume"
518+ model="hr.employee"
519+ name="hr.resume.report"
520+ rml="hr_resume/report/report_resume.rml"
521+ auto="False"
522+ menu="True"/>
523+ </data>
524+</openerp>

Subscribers

People subscribed via source and target branches