El Hadji Dem (http://www.savoirfairelinux.com) has proposed merging lp:~savoirfairelinux-openerp/openerp-hr/experience into lp:openerp-hr/6.1.
Requested reviews: Yannick Vaucher @ Camptocamp (yvaucher-c2c): code review, no tests Joël Grand-Guillaume @ camptocamp (jgrandguillaume-c2c): code review, no tests Joao Alfredo Gama Batista (joao-gama) Maxime Chambreuil (http://www.savoirfairelinux.com) (max3903): code review For more details, see: https://code.launchpad.net/~savoirfairelinux-openerp/openerp-hr/experience/+merge/194926 [ADD] add hr_experience module.It adds a new menu in hr module and inherits the employee view form -- https://code.launchpad.net/~savoirfairelinux-openerp/openerp-hr/experience/+merge/194926 Your team Savoir-faire Linux' OpenERP is subscribed to branch lp:~savoirfairelinux-openerp/openerp-hr/experience.
=== 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 @@ +# -*- 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/>. +# +############################################################################### + +from . import hr_academic +from . import hr_professional +from . import hr_certification + +# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4: === 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 @@ +# -*- 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/>. +# +############################################################################### + +{ + "name": "Experience Management", + "version": "0.1", + "author": "Savoir-faire Linux", + "maintainer": 'Savoir-faire Linux', + "website": "http://www.savoirfairelinux.com", + "category": "Human Resources", + "description": """ +Experience Management +===================== + +This module allows you to manage your employee experiences: + * Professional + * Academic + * Certification + +Contributors +------------ +* El Hadji DEM <[email protected]> +* Maxime Chambreuil <[email protected]> +""", + + "depends": ["hr"], + 'external_dependencies': {}, + 'data': [ + "security/ir.model.access.csv", + "security/hr_experience_security.xml", + "hr_experience_view.xml", + "hr_academic_view.xml", + "hr_professional_view.xml", + "hr_certification_view.xml", + ], + "demo": [], + "test": [], + "installable": True, + "active": False, +} +# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4: === 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 @@ +# -*- 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/>. +# +############################################################################### + +from openerp.osv import fields, orm + + +class hr_academic(orm.Model): + _name = 'hr.academic' + _columns = { + 'name': fields.char('Name', size=64, required=True, translate=True), + 'employee_id': fields.many2one('hr.employee', 'Employee', required=True), + 'start_date': fields.date('Start date'), + 'end_date': fields.date('End date'), + 'description': fields.text('Description', translate=True), + 'partner_id': fields.many2one('res.partner', 'School or University'), + 'location': fields.char('Location', size=64, translate=True), + 'diploma': fields.char('Diploma', size=64, translate=True), + 'study_field': fields.char('Field of study', size=64, translate=True), + 'activities': fields.text('Activities and associations', translate=True), + 'expire': fields.boolean('Expire'), + } + + _defaults = { + 'expire': True, + } + + +class hr_employee(orm.Model): + _inherit = 'hr.employee' + _columns = { + 'academic_ids': fields.one2many('hr.academic', 'employee_id', 'Academic experiences'), + } + +# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4: === 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 @@ +<openerp> + <data> + + <!-- academic tree--> + <record model="ir.ui.view" id="view_academic_tree"> + <field name="name">hr.academic.tree</field> + <field name="model">hr.academic</field> + <field name="type">tree</field> + <field name="arch" type="xml"> + <tree string="Academic experiences"> + <field name="name"/> + <field name="employee_id"/> + <field name="partner_id"/> + <field name="start_date"/> + <field name="end_date"/> + </tree> + </field> + </record> + + <!-- academic form--> + <record model="ir.ui.view" id="view_academic_form"> + <field name="name">hr.academic.form</field> + <field name="model">hr.academic</field> + <field name="type">form</field> + <field name="arch" type="xml"> + <form string="Academic experience"> + <field name="name"/> + <field name="employee_id"/> + <separator string="Dates" colspan="4"/> + <field name="start_date"/> + <field name="expire"/> + <field name="end_date" attrs="{'invisible':[('expire', '=', False)]}"/> + <separator string="Partner information" colspan="4"/> + <field name="partner_id"/> + <field name="location"/> + <group colspan="4"> + <separator string="Academic information" colspan="4"/> + <field name="diploma" /> + <field name="study_field"/> + <field name="activities"/> + </group> + <separator string="Description" colspan="4"/> + <field name="description" colspan="4" nolabel="1"/> + </form> + </field> + </record> + + <!-- Menu --> + <record model="ir.actions.act_window" id="open_view_academic_form"> + <field name="res_model">hr.academic</field> + <field name="view_type">form</field> + <field name="view_mode">tree,form</field> + </record> + + <menuitem name="Academic Experiences" + parent="hr.menu_hr_configuration" + id="menu_open_view_academic_form" + action="open_view_academic_form"/> + + </data> +</openerp> === 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 @@ +# -*- 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/>. +# +############################################################################### + +from openerp.osv import fields, orm + + +class hr_certification(orm.Model): + _name = 'hr.certification' + _columns = { + 'name': fields.char('Name', size=64, required=True, translate=True), + 'employee_id': fields.many2one('hr.employee', 'Employee', required=True), + 'start_date': fields.date('Start date'), + 'end_date': fields.date('End date'), + 'description': fields.text('Description', translate=True), + 'partner_id': fields.many2one('res.partner', 'Certification Authority'), + 'location': fields.char('Location', size=64, translate=True), + 'certification': fields.char('Certification Number', size=64), + 'expire': fields.boolean('Expire'), + } + + _defaults = { + 'expire': True, + } + + +class hr_employee(orm.Model): + _inherit = 'hr.employee' + _columns = { + 'certification_ids': fields.one2many('hr.certification', 'employee_id', 'Certifications'), + } + +# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4: === 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 @@ +<openerp> + <data> + + <!-- certification tree --> + <record model="ir.ui.view" id="view_certification_tree"> + <field name="name">hr.certification.tree</field> + <field name="model">hr.certification</field> + <field name="type">tree</field> + <field name="arch" type="xml"> + <tree string="certifications"> + <field name="name"/> + <field name="employee_id"/> + <field name="partner_id"/> + <field name="start_date"/> + <field name="end_date"/> + </tree> + </field> + </record> + + <!-- certification tree --> + <record model="ir.ui.view" id="view_certification_form"> + <field name="name">hr.certification.form</field> + <field name="model">hr.certification</field> + <field name="type">form</field> + <field name="arch" type="xml"> + <form string="Certification"> + <field name="name"/> + <field name="employee_id"/> + <separator string="Dates" colspan="4"/> + <field name="start_date"/> + <field name="expire"/> + <field name="end_date" attrs="{'invisible':[('expire', '=', False)]}"/> + <separator string="Partner information" colspan="4"/> + <field name="partner_id"/> + <field name="location"/> + <group colspan="4"> + <separator string="Certification information" colspan="4"/> + <field name="certification"/> + </group> + <separator string="Description" colspan="4"/> + <field name="description" colspan="4" nolabel="1"/> + </form> + </field> + </record> + + <!-- Menu --> + <record model="ir.actions.act_window" id="open_view_certification_form"> + <field name="res_model">hr.certification</field> + <field name="view_type">form</field> + <field name="view_mode">tree,form</field> + </record> + + <menuitem name="Certifications" + parent="hr.menu_hr_configuration" + id="menu_open_view_certification_form" + action="open_view_certification_form"/> + + </data> +</openerp> === 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 @@ +<openerp> + <data> + <!-- inheritEmployee --> + <record model="ir.ui.view" id="view_employee_form_inherit"> + <field name="name">hr.experience.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="Academic"> + <field name="academic_ids" nolabel="1" colspan="4"/> + </page> + <page string="Professional"> + <field name="professional_ids" nolabel="1" colspan="4"/> + </page> + <page string="Certification"> + <field name="certification_ids" nolabel="1" colspan="4"/> + </page> + </notebook> + </field> + </record> + </data> +</openerp> === 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 @@ +# -*- 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/>. +# +############################################################################### + +from openerp.osv import fields, orm + + +class hr_professional(orm.Model): + _name = 'hr.professional' + _columns = { + 'name': fields.char('Name', size=64, required=True, translate=True), + 'employee_id': fields.many2one('hr.employee', 'Employee', required=True), + 'start_date': fields.date('Start date'), + 'end_date': fields.date('End date'), + 'description': fields.text('Description', translate=True), + 'partner_id': fields.many2one('res.partner', 'Employer'), + 'location': fields.char('Location', size=64, translate=True), + 'expire': fields.boolean('Expire'), + } + + _defaults = { + 'expire': True, + } + + +class hr_employee(orm.Model): + _inherit = 'hr.employee' + _columns = { + 'professional_ids': fields.one2many('hr.professional', 'employee_id', ' Professional Experiences'), + } + +# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4: === 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 @@ +<openerp> + <data> + + <!-- professional tree --> + <record model="ir.ui.view" id="view_professional_tree"> + <field name="name">hr.professional.tree</field> + <field name="model">hr.professional</field> + <field name="type">tree</field> + <field name="arch" type="xml"> + <tree string="Professional Experiences"> + <field name="name"/> + <field name="employee_id"/> + <field name="partner_id"/> + <field name="start_date"/> + <field name="end_date"/> + </tree> + </field> + </record> + + <!-- professional form --> + <record model="ir.ui.view" id="view_professional_form"> + <field name="name">hr.professional.form</field> + <field name="model">hr.professional</field> + <field name="type">form</field> + <field name="arch" type="xml"> + <form string="Professional Experience"> + <field name="name"/> + <field name="employee_id"/> + <separator string="Dates" colspan="4"/> + <field name="start_date"/> + <field name="expire"/> + <field name="end_date" attrs="{'invisible':[('expire', '=', False)]}"/> + <separator string="Partner information" colspan="4"/> + <field name="partner_id"/> + <field name="location"/> + <separator string="Description" colspan="4"/> + <field name="description" colspan="4" nolabel="1"/> + </form> + </field> + </record> + + <!-- Menu --> + <record model="ir.actions.act_window" id="open_view_professional_form"> + <field name="res_model">hr.professional</field> + <field name="view_type">form</field> + <field name="view_mode">tree,form</field> + </record> + + <menuitem name="Professional Experiences" + parent="hr.menu_hr_configuration" + id="menu_open_view_professional_form" + action="open_view_professional_form"/> + + </data> +</openerp> === 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 @@ +# Translation of OpenERP Server. +# This file contains the translation of the following modules: +# * hr_experience +# +msgid "" +msgstr "" +"Project-Id-Version: OpenERP Server 6.1\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2013-12-31 21:26+0000\n" +"PO-Revision-Date: 2013-12-31 21:26+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_experience +#: field:hr.certification,certification:0 +msgid "Certification Number" +msgstr "" + +#. module: hr_experience +#: field:hr.professional,partner_id:0 +msgid "Employer" +msgstr "" + +#. module: hr_experience +#: view:hr.academic:0 +#: view:hr.certification:0 +#: view:hr.professional:0 +msgid "Partner information" +msgstr "" + +#. module: hr_experience +#: field:hr.academic,location:0 +#: field:hr.certification,location:0 +#: field:hr.professional,location:0 +msgid "Location" +msgstr "" + +#. module: hr_experience +#: field:hr.academic,employee_id:0 +#: field:hr.certification,employee_id:0 +#: field:hr.professional,employee_id:0 +#: model:ir.model,name:hr_experience.model_hr_employee +msgid "Employee" +msgstr "" + +#. module: hr_experience +#: field:hr.academic,start_date:0 +#: field:hr.certification,start_date:0 +#: field:hr.professional,start_date:0 +msgid "Start date" +msgstr "" + +#. module: hr_experience +#: field:hr.academic,activities:0 +msgid "Activities and associations" +msgstr "" + +#. module: hr_experience +#: view:hr.academic:0 +#: field:hr.academic,description:0 +#: view:hr.certification:0 +#: field:hr.certification,description:0 +#: view:hr.professional:0 +#: field:hr.professional,description:0 +msgid "Description" +msgstr "" + +#. module: hr_experience +#: field:hr.academic,study_field:0 +msgid "Field of study" +msgstr "" + +#. module: hr_experience +#: model:ir.ui.menu,name:hr_experience.menu_open_view_academic_form +msgid "Academic Experiences" +msgstr "" + +#. module: hr_experience +#: view:hr.certification:0 +msgid "Certification information" +msgstr "" + +#. module: hr_experience +#: field:hr.academic,expire:0 +#: field:hr.certification,expire:0 +#: field:hr.professional,expire:0 +msgid "Expire" +msgstr "" + +#. module: hr_experience +#: field:hr.academic,partner_id:0 +msgid "School or University" +msgstr "" + +#. module: hr_experience +#: view:hr.professional:0 +msgid "Professional Experience" +msgstr "" + +#. module: hr_experience +#: constraint:hr.employee:0 +msgid "Error ! You cannot create recursive Hierarchy of Employees." +msgstr "" + +#. module: hr_experience +#: view:hr.academic:0 +msgid "Academic information" +msgstr "" + +#. module: hr_experience +#: view:hr.academic:0 +#: view:hr.certification:0 +#: view:hr.professional:0 +msgid "Dates" +msgstr "" + +#. module: hr_experience +#: field:hr.employee,certification_ids:0 +#: model:ir.ui.menu,name:hr_experience.menu_open_view_certification_form +msgid "Certifications" +msgstr "" + +#. module: hr_experience +#: field:hr.academic,name:0 +#: field:hr.certification,name:0 +#: field:hr.professional,name:0 +msgid "Name" +msgstr "" + +#. module: hr_experience +#: view:hr.academic:0 +#: field:hr.employee,academic_ids:0 +msgid "Academic experiences" +msgstr "" + +#. module: hr_experience +#: field:hr.employee,professional_ids:0 +msgid " Professional Experiences" +msgstr "" + +#. module: hr_experience +#: view:hr.employee:0 +msgid "Academic" +msgstr "" + +#. module: hr_experience +#: view:hr.certification:0 +msgid "certifications" +msgstr "" + +#. module: hr_experience +#: field:hr.certification,partner_id:0 +msgid "Certification Authority" +msgstr "" + +#. module: hr_experience +#: view:hr.employee:0 +msgid "Professional" +msgstr "" + +#. module: hr_experience +#: view:hr.academic:0 +msgid "Academic experience" +msgstr "" + +#. module: hr_experience +#: field:hr.academic,end_date:0 +#: field:hr.certification,end_date:0 +#: field:hr.professional,end_date:0 +msgid "End date" +msgstr "" + +#. module: hr_experience +#: model:ir.model,name:hr_experience.model_hr_academic +msgid "hr.academic" +msgstr "" + +#. module: hr_experience +#: field:hr.academic,diploma:0 +msgid "Diploma" +msgstr "" + +#. module: hr_experience +#: view:hr.certification:0 +#: view:hr.employee:0 +msgid "Certification" +msgstr "" + +#. module: hr_experience +#: model:ir.model,name:hr_experience.model_hr_certification +msgid "hr.certification" +msgstr "" + +#. module: hr_experience +#: model:ir.model,name:hr_experience.model_hr_professional +msgid "hr.professional" +msgstr "" + +#. module: hr_experience +#: view:hr.professional:0 +#: model:ir.ui.menu,name:hr_experience.menu_open_view_professional_form +msgid "Professional Experiences" +msgstr "" + === 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 @@ +<?xml version="1.0" encoding="utf-8"?> +<openerp> + <data noupdate="1"> + + <!-- Employee rules --> + <record id="hr_academic_employee_rule" model="ir.rule"> + <field name="name">Personal academic experiences</field> + <field name="model_id" ref="hr.model_hr_academic"/> + <field name="domain_force">[('employee_id.user_id.id', '=', user.id)]</field> + <field name="groups" eval="[(4, ref('base.group_user'))]"/> + <field name="perm_read">False</field> + <field name="perm_create">True</field> + <field name="perm_write">True</field> + <field name="perm_unlink">True</field> + </record> + + <record id="hr_professional_employee_rule" model="ir.rule"> + <field name="name">Personal professional experiences</field> + <field name="model_id" ref="hr.model_hr_professional"/> + <field name="domain_force">[('employee_id.user_id.id', '=', user.id)]</field> + <field name="groups" eval="[(4, ref('base.group_user'))]"/> + <field name="perm_read">False</field> + <field name="perm_create">True</field> + <field name="perm_write">True</field> + <field name="perm_unlink">True</field> + </record> + + <record id="hr_certification_employee_rule" model="ir.rule"> + <field name="name">Personal certifications</field> + <field name="model_id" ref="model_hr_certification"/> + <field name="domain_force">[('employee_id.user_id.id', '=', user.id)]</field> + <field name="groups" eval="[(4, ref('base.group_user'))]"/> + <field name="perm_read">False</field> + <field name="perm_create">True</field> + <field name="perm_write">True</field> + <field name="perm_unlink">True</field> + </record> + + <!-- HR User rules --> + <record id="hr_academic_hruser_rule" model="ir.rule"> + <field name="name">All academic experiences</field> + <field name="model_id" ref="hr.model_hr_academic"/> + <field name="domain_force">[(1, '=', 1)]</field> + <field name="groups" eval="[(4, ref('base.group_hr_user'))]"/> + </record> + + <record id="hr_professional_hruser_rule" model="ir.rule"> + <field name="name">All professional experiences</field> + <field name="model_id" ref="hr.model_hr_professional"/> + <field name="domain_force">[(1, '=', 1)]</field> + <field name="groups" eval="[(4, ref('base.group_hr_user'))]"/> + </record> + + <record id="hr_certification_hruser_rule" model="ir.rule"> + <field name="name">All certifications</field> + <field name="model_id" ref="model_hr_certification"/> + <field name="domain_force">[(1, '=', 1)]</field> + <field name="groups" eval="[(4, ref('base.group_hr_user'))]"/> + </record> + + </data> +</openerp> === 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 @@ +"id","name","model_id:id","group_id:id","perm_read","perm_write","perm_create","perm_unlink" +"access_hr_academic","hr.academic","model_hr_academic",base.group_hr_user,1,1,1,1 +"access_hr_professional","hr.professional","model_hr_professional",base.group_hr_user,1,1,1,1 +"access_hr_certification","hr.certification","model_hr_certification",base.group_hr_user,1,1,1,1
-- Mailing list: https://launchpad.net/~savoirfairelinux-openerp Post to : [email protected] Unsubscribe : https://launchpad.net/~savoirfairelinux-openerp More help : https://help.launchpad.net/ListHelp

