← Back to team overview

clearcorp team mailing list archive

[Merge] lp:~rr.clearcorp/openerp-costa-rica/l10n_cr_hr_payroll_feature into lp:openerp-costa-rica

 

Ronald Rubi has proposed merging lp:~rr.clearcorp/openerp-costa-rica/l10n_cr_hr_payroll_feature into lp:openerp-costa-rica.

Requested reviews:
  CLEARCORP development team (clearcorp)

For more details, see:
https://code.launchpad.net/~rr.clearcorp/openerp-costa-rica/l10n_cr_hr_payroll_feature/+merge/103780

ADD module l10n_cr_hr_payroll_feature
-- 
https://code.launchpad.net/~rr.clearcorp/openerp-costa-rica/l10n_cr_hr_payroll_feature/+merge/103780
Your team CLEARCORP development team is requested to review the proposed merge of lp:~rr.clearcorp/openerp-costa-rica/l10n_cr_hr_payroll_feature into lp:openerp-costa-rica.
=== added directory 'l10n_cr_hr_payroll'
=== added file 'l10n_cr_hr_payroll/__init__.py'
--- l10n_cr_hr_payroll/__init__.py	1970-01-01 00:00:00 +0000
+++ l10n_cr_hr_payroll/__init__.py	2012-04-26 21:20:30 +0000
@@ -0,0 +1,25 @@
+#-*- coding:utf-8 -*-
+##############################################################################
+#
+#    OpenERP, Open Source Management Solution
+#    Copyright (C) 2004-2009 Tiny SPRL (<http://tiny.be>). All Rights Reserved
+#    d$
+#
+#    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 l10n_cr_hr_payroll
+
+# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4:

=== added file 'l10n_cr_hr_payroll/__openerp__.py'
--- l10n_cr_hr_payroll/__openerp__.py	1970-01-01 00:00:00 +0000
+++ l10n_cr_hr_payroll/__openerp__.py	2012-04-26 21:20:30 +0000
@@ -0,0 +1,50 @@
+#-*- coding:utf-8 -*-
+##############################################################################
+#
+#    OpenERP, Open Source Management Solution
+#    Copyright (C) 2004-2009 Tiny SPRL (<http://tiny.be>). All Rights Reserved
+#    d$
+#
+#    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': 'l10n_cr_hr_payroll',
+    'version': '1.0',
+    'category': 'Human Resources',
+    "sequence": 38,
+    'complexity': "normal",
+    'description': """
+l10n_cr_hr_payroll.
+=======================
+    * Employee Contracts
+    * Fortnightly Payroll Register
+    """,
+    'author':'Ronald Rubi',
+    'website':'http://www.clearcorp.co.cr',
+    'depends': [
+        'hr',
+        'hr_contract',
+        'hr_payroll',
+    ],
+    'init_xml': [
+    ],
+    'update_xml': [
+    ],
+    'installable': True,
+    'auto_install': False,
+    'application': True,
+}
+
+# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4:

=== added directory 'l10n_cr_hr_payroll/i18n'
=== added symlink 'l10n_cr_hr_payroll/i18n/es.po'
=== target is u'/home/ronald/Development/openerp/openerp-costa-rica/features/l10n_cr_hr_payroll/i18n/es_CR.po'
=== added file 'l10n_cr_hr_payroll/i18n/es_CR.po'
--- l10n_cr_hr_payroll/i18n/es_CR.po	1970-01-01 00:00:00 +0000
+++ l10n_cr_hr_payroll/i18n/es_CR.po	2012-04-26 21:20:30 +0000
@@ -0,0 +1,22 @@
+# Translation of OpenERP Server.
+# This file contains the translation of the following modules:
+#	* l10n_cr_hr_payroll
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: OpenERP Server 6.1\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2012-04-24 20:55+0000\n"
+"PO-Revision-Date: 2012-04-24 20:55+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: l10n_cr_hr_payroll
+#: model:ir.model,name:l10n_cr_hr_payroll.model_hr_contract
+msgid "Fortnightly"
+msgstr "Quincenal"
+

=== added file 'l10n_cr_hr_payroll/i18n/l10n_cr_hr_payroll.pot'
--- l10n_cr_hr_payroll/i18n/l10n_cr_hr_payroll.pot	1970-01-01 00:00:00 +0000
+++ l10n_cr_hr_payroll/i18n/l10n_cr_hr_payroll.pot	2012-04-26 21:20:30 +0000
@@ -0,0 +1,27 @@
+# Translation of OpenERP Server.
+# This file contains the translation of the following modules:
+#	* l10n_cr_hr_payroll
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: OpenERP Server 6.1\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2012-04-24 20:55+0000\n"
+"PO-Revision-Date: 2012-04-24 20:55+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: l10n_cr_hr_payroll
+#: constraint:hr.contract:0
+msgid "Error! contract start-date must be lower then contract end-date."
+msgstr "¡Error! La fecha de inicio de contrato debe ser menor que la fecha de finalización."
+
+#. module: l10n_cr_hr_payroll
+#: model:ir.model,name:l10n_cr_hr_payroll.model_hr_contract
+msgid "Contract"
+msgstr "Contrato"
+

=== added file 'l10n_cr_hr_payroll/l10n_cr_hr_payroll.py'
--- l10n_cr_hr_payroll/l10n_cr_hr_payroll.py	1970-01-01 00:00:00 +0000
+++ l10n_cr_hr_payroll/l10n_cr_hr_payroll.py	2012-04-26 21:20:30 +0000
@@ -0,0 +1,55 @@
+#-*- coding:utf-8 -*-
+##############################################################################
+#
+#    OpenERP, Open Source Management Solution
+#    Copyright (C) 2004-2009 Tiny SPRL (<http://tiny.be>). All Rights Reserved
+#    d$
+#
+#    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 netsvc
+from osv import fields, osv
+import tools
+from tools.translate import _
+
+class hr_contract(osv.osv):
+    """
+    Employee contract based on the visa, work permits
+    allows to configure different Salary structure
+    """
+
+    _inherit = 'hr.contract'
+    _description = 'Employee Contract'
+    _columns = {
+        'schedule_pay': fields.selection([
+            ('fortnightly', 'Fortnightly'),
+            ('monthly', 'Monthly'),
+            ('quarterly', 'Quarterly'),
+            ('semi-annually', 'Semi-annually'),
+            ('annually', 'Annually'),
+            ('weekly', 'Weekly'),
+            ('bi-weekly', 'Bi-weekly'),
+            ('bi-monthly', 'Bi-monthly'),
+            ], 'Scheduled Pay', select=True),
+    }
+
+    _defaults = {
+        'schedule_pay': 'monthly',
+    }
+    
+hr_contract()
+
+# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4: