← Back to team overview

openerp-community team mailing list archive

[Merge] lp:~vauxoo/openerp-hr/7.0-dev-hr_payroll_manager_groups into lp:openerp-hr

 

Katherine Zaoral (Vauxoo) has proposed merging lp:~vauxoo/openerp-hr/7.0-dev-hr_payroll_manager_groups into lp:openerp-hr with lp:~openerp-community/openerp-hr/7.0-modules-from-addons-hr-ng as a prerequisite.

Requested reviews:
  Luis Torres - http://www.vauxoo.com (luis-cleto-)
  Katherine Zaoral (Vauxoo) (kathy-zaoral)
  Nhomar - Vauxoo (nhomar)

For more details, see:
https://code.launchpad.net/~vauxoo/openerp-hr/7.0-dev-hr_payroll_manager_groups/+merge/190460

New Module create an new group for payroll managers  
-- 
https://code.launchpad.net/~vauxoo/openerp-hr/7.0-dev-hr_payroll_manager_groups/+merge/190460
Your team OpenERP Community is subscribed to branch lp:~openerp-community/openerp-hr/7.0-modules-from-addons-hr-ng.
=== added directory 'hr_payroll_manager_group'
=== added file 'hr_payroll_manager_group/__init__.py'
--- hr_payroll_manager_group/__init__.py	1970-01-01 00:00:00 +0000
+++ hr_payroll_manager_group/__init__.py	2013-10-10 19:53:32 +0000
@@ -0,0 +1,27 @@
+#!/usr/bin/python
+# -*- encoding: utf-8 -*-
+###############################################################################
+#    Module Writen to OpenERP, Open Source Management Solution
+#    Copyright (C) OpenERP Venezuela (<http://www.vauxoo.com>).
+#    All Rights Reserved
+############# Credits #########################################################
+#    Coded by: Katherine Zaoral <kathy@xxxxxxxxxx>
+#    Planified by: Humberto Arocha <hbto@xxxxxxxxxx>,
+#                  Katherine Zaoral <kathy@xxxxxxxxxx>
+#    Audited by: Humberto Arocha <hbto@xxxxxxxxxx>
+###############################################################################
+#    This program is free software: you can redistribute it and/or modify
+#    it under the terms of the GNU Affero General Public License as published
+#    by the Free Software Foundation, either version 3 of the License, or
+#    (at your option) any later version.
+#
+#    This program is distributed in the hope that it will be useful,
+#    but WITHOUT ANY WARRANTY; without even the implied warranty of
+#    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+#    GNU Affero General Public License for more details.
+#
+#    You should have received a copy of the GNU Affero General Public License
+#    along with this program.  If not, see <http://www.gnu.org/licenses/>.
+###############################################################################
+import model
+import wizard

=== added file 'hr_payroll_manager_group/__openerp__.py'
--- hr_payroll_manager_group/__openerp__.py	1970-01-01 00:00:00 +0000
+++ hr_payroll_manager_group/__openerp__.py	2013-10-10 19:53:32 +0000
@@ -0,0 +1,60 @@
+#!/usr/bin/python
+# -*- encoding: utf-8 -*-
+###############################################################################
+#    Module Writen to OpenERP, Open Source Management Solution
+#    Copyright (C) OpenERP Venezuela (<http://www.vauxoo.com>).
+#    All Rights Reserved
+############# Credits #########################################################
+#    Coded by: Katherine Zaoral <kathy@xxxxxxxxxx>
+#    Planified by: Humberto Arocha <hbto@xxxxxxxxxx>,
+#                  Katherine Zaoral <kathy@xxxxxxxxxx>
+#    Audited by: Humberto Arocha <hbto@xxxxxxxxxx>
+###############################################################################
+#    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': 'HR Payroll Manager Group',
+    'version': '1.0',
+    'author': 'Vauxoo',
+    'website': 'http://www.vauxoo.com/',
+    'category': 'Human Resources',
+    'description': '''
+HR Payroll Manager Group
+========================
+
+In OpenERP coventional ``hr_payroll`` module the payrolls permissions are
+enable when we set, for every departament created, an employee with ``HR
+Manager`` permissions (by setting the  related user to the corresping
+``Manager`` on the HR aplication). This permissions will grant to the user the
+capacity to manage their departament employees payrolls and their own payrolls.
+
+In spite of create a more real concept for the employees that can manage the
+payrolls we created a new module that add the concept of a group of HR
+Managers. This changes allows to this group of employees no matter what
+departament they belongs to manage the payrolls of every employe in the
+company. This group need to be set manually for the user and preferably
+the members will be employees that belongs to the HR deparment of youre
+company.
+''',
+    'depends': ['base', 'mail', 'hr_payroll'],
+    'data': [
+        'security/hr_payrroll_manager_group_security.xml',
+        'security/ir.model.access.csv',
+    ],
+    'demo': [],
+    'test': [],
+    'active': False,
+    'installable': True,
+}

=== added directory 'hr_payroll_manager_group/data'
=== added directory 'hr_payroll_manager_group/demo'
=== added directory 'hr_payroll_manager_group/doc'
=== added directory 'hr_payroll_manager_group/doc/images'
=== added file 'hr_payroll_manager_group/doc/images/permission.png'
Binary files hr_payroll_manager_group/doc/images/permission.png	1970-01-01 00:00:00 +0000 and hr_payroll_manager_group/doc/images/permission.png	2013-10-10 19:53:32 +0000 differ
=== added file 'hr_payroll_manager_group/doc/index.html'
--- hr_payroll_manager_group/doc/index.html	1970-01-01 00:00:00 +0000
+++ hr_payroll_manager_group/doc/index.html	2013-10-10 19:53:32 +0000
@@ -0,0 +1,403 @@
+<?xml version="1.0" encoding="utf-8" ?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd";>
+<html xmlns="http://www.w3.org/1999/xhtml"; xml:lang="en" lang="en">
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
+<meta name="generator" content="Docutils 0.8.1: http://docutils.sourceforge.net/"; />
+<title>Module Documentation</title>
+<style type="text/css">
+
+/*
+:Author: David Goodger (goodger@xxxxxxxxxx)
+:Id: $Id: html4css1.css 7056 2011-06-17 10:50:48Z milde $
+:Copyright: This stylesheet has been placed in the public domain.
+
+Default cascading style sheet for the HTML output of Docutils.
+
+See http://docutils.sf.net/docs/howto/html-stylesheets.html for how to
+customize this style sheet.
+*/
+
+/* used to remove borders from tables and images */
+.borderless, table.borderless td, table.borderless th {
+  border: 0 }
+
+table.borderless td, table.borderless th {
+  /* Override padding for "table.docutils td" with "! important".
+     The right padding separates the table cells. */
+  padding: 0 0.5em 0 0 ! important }
+
+.first {
+  /* Override more specific margin styles with "! important". */
+  margin-top: 0 ! important }
+
+.last, .with-subtitle {
+  margin-bottom: 0 ! important }
+
+.hidden {
+  display: none }
+
+a.toc-backref {
+  text-decoration: none ;
+  color: black }
+
+blockquote.epigraph {
+  margin: 2em 5em ; }
+
+dl.docutils dd {
+  margin-bottom: 0.5em }
+
+object[type="image/svg+xml"], object[type="application/x-shockwave-flash"] {
+  overflow: hidden;
+}
+
+/* Uncomment (and remove this text!) to get bold-faced definition list terms
+dl.docutils dt {
+  font-weight: bold }
+*/
+
+div.abstract {
+  margin: 2em 5em }
+
+div.abstract p.topic-title {
+  font-weight: bold ;
+  text-align: center }
+
+div.admonition, div.attention, div.caution, div.danger, div.error,
+div.hint, div.important, div.note, div.tip, div.warning {
+  margin: 2em ;
+  border: medium outset ;
+  padding: 1em }
+
+div.admonition p.admonition-title, div.hint p.admonition-title,
+div.important p.admonition-title, div.note p.admonition-title,
+div.tip p.admonition-title {
+  font-weight: bold ;
+  font-family: sans-serif }
+
+div.attention p.admonition-title, div.caution p.admonition-title,
+div.danger p.admonition-title, div.error p.admonition-title,
+div.warning p.admonition-title {
+  color: red ;
+  font-weight: bold ;
+  font-family: sans-serif }
+
+/* Uncomment (and remove this text!) to get reduced vertical space in
+   compound paragraphs.
+div.compound .compound-first, div.compound .compound-middle {
+  margin-bottom: 0.5em }
+
+div.compound .compound-last, div.compound .compound-middle {
+  margin-top: 0.5em }
+*/
+
+div.dedication {
+  margin: 2em 5em ;
+  text-align: center ;
+  font-style: italic }
+
+div.dedication p.topic-title {
+  font-weight: bold ;
+  font-style: normal }
+
+div.figure {
+  margin-left: 2em ;
+  margin-right: 2em }
+
+div.footer, div.header {
+  clear: both;
+  font-size: smaller }
+
+div.line-block {
+  display: block ;
+  margin-top: 1em ;
+  margin-bottom: 1em }
+
+div.line-block div.line-block {
+  margin-top: 0 ;
+  margin-bottom: 0 ;
+  margin-left: 1.5em }
+
+div.sidebar {
+  margin: 0 0 0.5em 1em ;
+  border: medium outset ;
+  padding: 1em ;
+  background-color: #ffffee ;
+  width: 40% ;
+  float: right ;
+  clear: right }
+
+div.sidebar p.rubric {
+  font-family: sans-serif ;
+  font-size: medium }
+
+div.system-messages {
+  margin: 5em }
+
+div.system-messages h1 {
+  color: red }
+
+div.system-message {
+  border: medium outset ;
+  padding: 1em }
+
+div.system-message p.system-message-title {
+  color: red ;
+  font-weight: bold }
+
+div.topic {
+  margin: 2em }
+
+h1.section-subtitle, h2.section-subtitle, h3.section-subtitle,
+h4.section-subtitle, h5.section-subtitle, h6.section-subtitle {
+  margin-top: 0.4em }
+
+h1.title {
+  text-align: center }
+
+h2.subtitle {
+  text-align: center }
+
+hr.docutils {
+  width: 75% }
+
+img.align-left, .figure.align-left, object.align-left {
+  clear: left ;
+  float: left ;
+  margin-right: 1em }
+
+img.align-right, .figure.align-right, object.align-right {
+  clear: right ;
+  float: right ;
+  margin-left: 1em }
+
+img.align-center, .figure.align-center, object.align-center {
+  display: block;
+  margin-left: auto;
+  margin-right: auto;
+}
+
+.align-left {
+  text-align: left }
+
+.align-center {
+  clear: both ;
+  text-align: center }
+
+.align-right {
+  text-align: right }
+
+/* reset inner alignment in figures */
+div.align-right {
+  text-align: inherit }
+
+/* div.align-center * { */
+/*   text-align: left } */
+
+ol.simple, ul.simple {
+  margin-bottom: 1em }
+
+ol.arabic {
+  list-style: decimal }
+
+ol.loweralpha {
+  list-style: lower-alpha }
+
+ol.upperalpha {
+  list-style: upper-alpha }
+
+ol.lowerroman {
+  list-style: lower-roman }
+
+ol.upperroman {
+  list-style: upper-roman }
+
+p.attribution {
+  text-align: right ;
+  margin-left: 50% }
+
+p.caption {
+  font-style: italic }
+
+p.credits {
+  font-style: italic ;
+  font-size: smaller }
+
+p.label {
+  white-space: nowrap }
+
+p.rubric {
+  font-weight: bold ;
+  font-size: larger ;
+  color: maroon ;
+  text-align: center }
+
+p.sidebar-title {
+  font-family: sans-serif ;
+  font-weight: bold ;
+  font-size: larger }
+
+p.sidebar-subtitle {
+  font-family: sans-serif ;
+  font-weight: bold }
+
+p.topic-title {
+  font-weight: bold }
+
+pre.address {
+  margin-bottom: 0 ;
+  margin-top: 0 ;
+  font: inherit }
+
+pre.literal-block, pre.doctest-block, pre.math {
+  margin-left: 2em ;
+  margin-right: 2em }
+
+span.classifier {
+  font-family: sans-serif ;
+  font-style: oblique }
+
+span.classifier-delimiter {
+  font-family: sans-serif ;
+  font-weight: bold }
+
+span.interpreted {
+  font-family: sans-serif }
+
+span.option {
+  white-space: nowrap }
+
+span.pre {
+  white-space: pre }
+
+span.problematic {
+  color: red }
+
+span.section-subtitle {
+  /* font-size relative to parent (h1..h6 element) */
+  font-size: 80% }
+
+table.citation {
+  border-left: solid 1px gray;
+  margin-left: 1px }
+
+table.docinfo {
+  margin: 2em 4em }
+
+table.docutils {
+  margin-top: 0.5em ;
+  margin-bottom: 0.5em }
+
+table.footnote {
+  border-left: solid 1px black;
+  margin-left: 1px }
+
+table.docutils td, table.docutils th,
+table.docinfo td, table.docinfo th {
+  padding-left: 0.5em ;
+  padding-right: 0.5em ;
+  vertical-align: top }
+
+table.docutils th.field-name, table.docinfo th.docinfo-name {
+  font-weight: bold ;
+  text-align: left ;
+  white-space: nowrap ;
+  padding-left: 0 }
+
+h1 tt.docutils, h2 tt.docutils, h3 tt.docutils,
+h4 tt.docutils, h5 tt.docutils, h6 tt.docutils {
+  font-size: 100% }
+
+ul.auto-toc {
+  list-style-type: none }
+
+</style>
+</head>
+<body>
+<div class="document" id="module-documentation">
+<h1 class="title">Module Documentation</h1>
+<table class="docinfo" frame="void" rules="none">
+<col class="docinfo-name" />
+<col class="docinfo-content" />
+<tbody valign="top">
+<tr class="field"><th class="docinfo-name">Planned for:</th><td class="field-body">Humberto Arocha &lt;<a class="reference external" href="mailto:hbto&#64;vauxoo.com";>hbto&#64;vauxoo.com</a>&gt;,
+Katherine Zaoral &lt;<a class="reference external" href="mailto:kathy&#64;vauxoo.com";>kathy&#64;vauxoo.com</a>&gt;</td>
+</tr>
+<tr class="field"><th class="docinfo-name">Developed by:</th><td class="field-body">Katherine Zaoral &lt;<a class="reference external" href="mailto:kathy&#64;vauxoo.com";>kathy&#64;vauxoo.com</a>&gt;</td>
+</tr>
+</tbody>
+</table>
+<div class="contents topic" id="tabla-de-contenido">
+<p class="topic-title first">Tabla de Contenido</p>
+<ul class="simple">
+<li><a class="reference internal" href="#hr-payroll-manager-groups" id="id1">HR Payroll Manager Groups</a></li>
+<li><a class="reference internal" href="#hr-payroll-convectional-process" id="id2">HR Payroll convectional process</a></li>
+<li><a class="reference internal" href="#minimal-configurations" id="id3">Minimal Configurations</a></li>
+</ul>
+</div>
+<div class="section" id="hr-payroll-manager-groups">
+<h1><a class="toc-backref" href="#id1">HR Payroll Manager Groups</a></h1>
+<p>We add a new permission group named HR Payroll Manager that extend for
+HR Manager and a new <tt class="docutils literal">ir.rule</tt> that leads to does not needed the department
+exclusiveness clause.</p>
+</div>
+<div class="section" id="hr-payroll-convectional-process">
+<h1><a class="toc-backref" href="#id2">HR Payroll convectional process</a></h1>
+<div class="note">
+<p class="first admonition-title">Note</p>
+<p class="last">How to se the user permission for the given
+<tt class="docutils literal">Human <span class="pre">Resource``Application?</span> Go to ``Settings Menu &gt; Users Section at
+sidebar &gt; Users Menu &gt; Select the user &gt; Access Right tab at the form view &gt;
+Application Section &gt; Human Resources field</tt> and select the permissions
+(group) to set youre user.</p>
+</div>
+<ul>
+<li><p class="first">If a user is set like <tt class="docutils literal">Application &gt; Human Resource &gt; Manager</tt> then the
+user can create and operate over its owns payrrolls only.</p>
+</li>
+<li><p class="first">If a created two departments IT and Managament. If I make Managament
+Department parent of IT department a try to set the Managament Manager to see
+if this manager applys to over the IT Department (the Child department). The
+result was negative. Only First line managers apply over a departament
+employees departament.</p>
+</li>
+<li><p class="first">Only the useres how has activated the <tt class="docutils literal">Officer</tt> or <tt class="docutils literal">Manager</tt> Aplication
+permision are capacble to saw payslips menus.</p>
+</li>
+<li><p class="first">An <tt class="docutils literal">HR / Officer</tt> group user could see the payslips menus but it can not
+edit or create payslips because it have not permissions over the HR
+Contracts. The only thing this user can do is print its own payslips.</p>
+</li>
+<li><p class="first">An <tt class="docutils literal">HR / Manager</tt> group user can create or edit its owns payslips.</p>
+</li>
+<li><p class="first">An <tt class="docutils literal">HR / Manager</tt> group user that also is a manager of a Departament is
+capable of create and edit payslips only for those employees that belongs to
+its own department.</p>
+<blockquote>
+<div class="note">
+<p class="first admonition-title">Note</p>
+<p class="last">For a make a employee a department manager go to <tt class="docutils literal">Human Resoruce
+Menu &gt; Configuration Sidebar Section &gt; departments Menu &gt; Select an
+Department</tt> and set the Manager fields with the employee you want.</p>
+</div>
+</blockquote>
+<p>If the <tt class="docutils literal">HR / Manager</tt> group user is not assigned to a department it wont be
+capable to do nothing over other employees.</p>
+</li>
+</ul>
+</div>
+<div class="section" id="minimal-configurations">
+<h1><a class="toc-backref" href="#id3">Minimal Configurations</a></h1>
+<p>You need to configure one o mor users like Humna Resource Application Payroll
+Managers. Is recomended that this users belongs to employees of the Human
+Resource department in youre company.</p>
+<blockquote>
+<div class="figure align-center">
+<img alt="Payroll Manager Permission" src="images/permission.png" />
+<p class="caption">Payroll Manager Permission.</p>
+</div>
+</blockquote>
+</div>
+</div>
+</body>
+</html>

=== added file 'hr_payroll_manager_group/doc/index.rst'
--- hr_payroll_manager_group/doc/index.rst	1970-01-01 00:00:00 +0000
+++ hr_payroll_manager_group/doc/index.rst	2013-10-10 19:53:32 +0000
@@ -0,0 +1,65 @@
+Module Documentation
+====================
+
+:Planned for: Humberto Arocha <hbto@xxxxxxxxxx>,
+              Katherine Zaoral <kathy@xxxxxxxxxx>
+:Developed by: Katherine Zaoral <kathy@xxxxxxxxxx>
+
+.. contents:: Tabla de Contenido
+
+HR Payroll Manager Groups
+-------------------------
+
+We add a new permission group named HR Payroll Manager that extend for
+HR Manager and a new ``ir.rule`` that leads to does not needed the department
+exclusiveness clause.
+
+HR Payroll convectional process
+-------------------------------
+
+.. note:: How to se the user permission for the given
+  ``Human Resource``Application? Go to ``Settings Menu > Users Section at
+  sidebar > Users Menu > Select the user > Access Right tab at the form view >
+  Application Section > Human Resources field`` and select the permissions
+  (group) to set youre user.
+
+- If a user is set like ``Application > Human Resource > Manager`` then the
+  user can create and operate over its owns payrrolls only.
+
+- If a created two departments IT and Managament. If I make Managament
+  Department parent of IT department a try to set the Managament Manager to see
+  if this manager applys to over the IT Department (the Child department). The
+  result was negative. Only First line managers apply over a departament
+  employees departament.
+
+- Only the useres how has activated the ``Officer`` or ``Manager`` Aplication
+  permision are capacble to saw payslips menus.
+- An ``HR / Officer`` group user could see the payslips menus but it can not
+  edit or create payslips because it have not permissions over the HR
+  Contracts. The only thing this user can do is print its own payslips.
+- An ``HR / Manager`` group user can create or edit its owns payslips.
+- An ``HR / Manager`` group user that also is a manager of a Departament is
+  capable of create and edit payslips only for those employees that belongs to
+  its own department.
+
+    .. note:: For a make a employee a department manager go to ``Human Resoruce
+       Menu > Configuration Sidebar Section > departments Menu > Select an
+       Department`` and set the Manager fields with the employee you want.
+
+  If the ``HR / Manager`` group user is not assigned to a department it wont be
+  capable to do nothing over other employees.
+
+Minimal Configurations
+----------------------
+
+You need to configure one o mor users like Humna Resource Application Payroll
+Managers. Is recomended that this users belongs to employees of the Human
+Resource department in youre company.
+
+    .. figure:: images/permission.png
+       :scale: 100 %
+       :align: center
+       :alt: Payroll Manager Permission
+
+       Payroll Manager Permission.
+

=== added directory 'hr_payroll_manager_group/i18n'
=== added directory 'hr_payroll_manager_group/model'
=== added file 'hr_payroll_manager_group/model/__init__.py'
--- hr_payroll_manager_group/model/__init__.py	1970-01-01 00:00:00 +0000
+++ hr_payroll_manager_group/model/__init__.py	2013-10-10 19:53:32 +0000
@@ -0,0 +1,26 @@
+#!/usr/bin/python
+# -*- encoding: utf-8 -*-
+###############################################################################
+#    Module Writen to OpenERP, Open Source Management Solution
+#    Copyright (C) OpenERP Venezuela (<http://www.vauxoo.com>).
+#    All Rights Reserved
+############# Credits #########################################################
+#    Coded by: Katherine Zaoral <kathy@xxxxxxxxxx>
+#    Planified by: Humberto Arocha <hbto@xxxxxxxxxx>,
+#                  Katherine Zaoral <kathy@xxxxxxxxxx>
+#    Audited by: Humberto Arocha <hbto@xxxxxxxxxx>
+###############################################################################
+#    This program is free software: you can redistribute it and/or modify
+#    it under the terms of the GNU Affero General Public License as published
+#    by the Free Software Foundation, either version 3 of the License, or
+#    (at your option) any later version.
+#
+#    This program is distributed in the hope that it will be useful,
+#    but WITHOUT ANY WARRANTY; without even the implied warranty of
+#    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+#    GNU Affero General Public License for more details.
+#
+#    You should have received a copy of the GNU Affero General Public License
+#    along with this program.  If not, see <http://www.gnu.org/licenses/>.
+###############################################################################
+import hr_payroll_manager_group

=== added file 'hr_payroll_manager_group/model/hr_payroll_manager_group.py'
--- hr_payroll_manager_group/model/hr_payroll_manager_group.py	1970-01-01 00:00:00 +0000
+++ hr_payroll_manager_group/model/hr_payroll_manager_group.py	2013-10-10 19:53:32 +0000
@@ -0,0 +1,33 @@
+#!/usr/bin/python
+# -*- encoding: utf-8 -*-
+###############################################################################
+#    Module Writen to OpenERP, Open Source Management Solution
+#    Copyright (C) OpenERP Venezuela (<http://www.vauxoo.com>).
+#    All Rights Reserved
+############# Credits #########################################################
+#    Coded by: Katherine Zaoral <kathy@xxxxxxxxxx>
+#    Planified by: Humberto Arocha <hbto@xxxxxxxxxx>, Katherine Zaoral <kathy@xxxxxxxxxx>
+#    Audited by: Katherine Zaoral <kathy@xxxxxxxxxx>
+###############################################################################
+#    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, osv, orm
+from openerp.tools.translate import _
+from openerp import tools
+
+
+class hr_payslip(osv.Model):
+
+    _inherit = 'hr.payslip'

=== added directory 'hr_payroll_manager_group/report'
=== added directory 'hr_payroll_manager_group/security'
=== added file 'hr_payroll_manager_group/security/hr_payrroll_manager_group_security.xml'
--- hr_payroll_manager_group/security/hr_payrroll_manager_group_security.xml	1970-01-01 00:00:00 +0000
+++ hr_payroll_manager_group/security/hr_payrroll_manager_group_security.xml	2013-10-10 19:53:32 +0000
@@ -0,0 +1,20 @@
+<?xml version="1.0" encoding="utf-8"?>
+<openerp>
+<data noupdate="1">
+
+    <record id="group_hr_payroll" model="res.groups">
+        <field name="name">Payroll Manager</field>
+        <field name="comment">the user will have an access to the payslips of all employees.</field>
+        <field name="category_id" ref="base.module_category_human_resources"/>
+        <field name="implied_ids" eval="[(4, ref('base.group_hr_manager'))]"/>
+    </record>
+
+    <record id="property_rule_manager_payroll" model="ir.rule">
+        <field name="name">Payroll Manager</field>
+        <field model="ir.model" name="model_id" ref="model_hr_payslip"/>
+        <field name="domain_force"></field>
+        <field name="groups" eval="[(4,ref('group_hr_payroll'))]"/>
+    </record>
+
+</data>
+</openerp>
\ No newline at end of file

=== added file 'hr_payroll_manager_group/security/ir.model.access.csv'
--- hr_payroll_manager_group/security/ir.model.access.csv	1970-01-01 00:00:00 +0000
+++ hr_payroll_manager_group/security/ir.model.access.csv	2013-10-10 19:53:32 +0000
@@ -0,0 +1,2 @@
+id,name,model_id:id,group_id:id,perm_read,perm_write,perm_create,perm_unlink
+access_hr_payslip,hr.payslip,model_hr_payslip,group_hr_payroll,1,1,1,1

=== added directory 'hr_payroll_manager_group/static'
=== added directory 'hr_payroll_manager_group/static/description'
=== added file 'hr_payroll_manager_group/static/description/index.html'
=== added directory 'hr_payroll_manager_group/static/src'
=== added directory 'hr_payroll_manager_group/static/src/css'
=== added directory 'hr_payroll_manager_group/static/src/img'
=== added file 'hr_payroll_manager_group/static/src/img/icon.png'
Binary files hr_payroll_manager_group/static/src/img/icon.png	1970-01-01 00:00:00 +0000 and hr_payroll_manager_group/static/src/img/icon.png	2013-10-10 19:53:32 +0000 differ
=== added directory 'hr_payroll_manager_group/static/src/js'
=== added directory 'hr_payroll_manager_group/static/src/xml'
=== added directory 'hr_payroll_manager_group/test'
=== added directory 'hr_payroll_manager_group/view'
=== added directory 'hr_payroll_manager_group/wizard'
=== added file 'hr_payroll_manager_group/wizard/__init__.py'
--- hr_payroll_manager_group/wizard/__init__.py	1970-01-01 00:00:00 +0000
+++ hr_payroll_manager_group/wizard/__init__.py	2013-10-10 19:53:32 +0000
@@ -0,0 +1,26 @@
+#!/usr/bin/python
+# -*- encoding: utf-8 -*-
+###############################################################################
+#    Module Writen to OpenERP, Open Source Management Solution
+#    Copyright (C) OpenERP Venezuela (<http://www.vauxoo.com>).
+#    All Rights Reserved
+############# Credits #########################################################
+#    Coded by: Katherine Zaoral <kathy@xxxxxxxxxx>
+#    Planified by: Humberto Arocha <hbto@xxxxxxxxxx>,
+#                  Katherine Zaoral <kathy@xxxxxxxxxx>
+#    Audited by: Humberto Arocha <hbto@xxxxxxxxxx>
+###############################################################################
+#    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/>.
+###############################################################################
+

=== added directory 'hr_payroll_manager_group/workflow'

Follow ups