From ae837e7383bb854732893a307e5da2e2d93f34cf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Gendre?= Date: Wed, 26 Nov 2014 14:26:11 +0100 Subject: [PATCH 1/7] Add l10n_ch_hr_payroll. --- l10n_ch_hr_payroll/__init__.py | 30 +++++++ l10n_ch_hr_payroll/__openerp__.py | 78 ++++++++++++++++++ .../data/hr.salary.rule-change.csv | 4 + .../data/hr.salary.rule-new.csv | 28 +++++++ l10n_ch_hr_payroll/hr_contract.py | 40 +++++++++ l10n_ch_hr_payroll/hr_contract_view.xml | 25 ++++++ l10n_ch_hr_payroll/hr_employee.py | 41 +++++++++ l10n_ch_hr_payroll/hr_employee_view.xml | 25 ++++++ .../l10n_ch_hr_payroll_data.xml | 34 ++++++++ .../static/description/icon.png | Bin 0 -> 1007 bytes 10 files changed, 305 insertions(+) create mode 100644 l10n_ch_hr_payroll/__init__.py create mode 100644 l10n_ch_hr_payroll/__openerp__.py create mode 100644 l10n_ch_hr_payroll/data/hr.salary.rule-change.csv create mode 100644 l10n_ch_hr_payroll/data/hr.salary.rule-new.csv create mode 100644 l10n_ch_hr_payroll/hr_contract.py create mode 100644 l10n_ch_hr_payroll/hr_contract_view.xml create mode 100644 l10n_ch_hr_payroll/hr_employee.py create mode 100644 l10n_ch_hr_payroll/hr_employee_view.xml create mode 100644 l10n_ch_hr_payroll/l10n_ch_hr_payroll_data.xml create mode 100644 l10n_ch_hr_payroll/static/description/icon.png diff --git a/l10n_ch_hr_payroll/__init__.py b/l10n_ch_hr_payroll/__init__.py new file mode 100644 index 000000000..ca858b539 --- /dev/null +++ b/l10n_ch_hr_payroll/__init__.py @@ -0,0 +1,30 @@ +# -*- coding: utf-8 -*- +# +# File: __init__.py +# Module: l10n_ch_hr_payroll +# +# Created by sge@open-net.ch +# +# Copyright (c) 2014-TODAY Open-Net Ltd. +############################################################################## +# +# OpenERP, Open Source Management Solution +# Copyright (C) 2004-TODAY OpenERP S.A. +# +# 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 . +# +############################################################################## + +import hr_contract +import hr_employee diff --git a/l10n_ch_hr_payroll/__openerp__.py b/l10n_ch_hr_payroll/__openerp__.py new file mode 100644 index 000000000..99a5104f6 --- /dev/null +++ b/l10n_ch_hr_payroll/__openerp__.py @@ -0,0 +1,78 @@ +# -*- coding: utf-8 -*- +# +# File: __init__.py +# Module: l10n_ch_hr_payroll +# +# Created by sge@open-net.ch +# +# Copyright (c) 2014-TODAY Open-Net Ltd. +############################################################################## +# +# OpenERP, Open Source Management Solution +# Copyright (C) 2004-TODAY OpenERP S.A. +# +# 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 . +# +############################################################################## + +{ + 'name': 'Switzerland - Payroll', + 'category': 'Localization', + 'author': 'Open-Net Sàrl', + 'depends': ['decimal_precision','hr_payroll', 'hr_payroll_account'], + 'version': '1.0.1', + 'description': """ +Swizerland Payroll Rules. +========================= + +**Features list :** + * Add Swiss salary rule categories + * Add Swiss salary rules + * Add children in school to employee + * Add LPP range to contract + +**For functionnal information:** +http://ur1.ca/ir5ou + +**Author :** +Open Net Sàrl -Industrie 59 1030 Bussigny Suisse - http://www.open-net.ch + +**Contact :** +info@open-net.ch + +**History :** + +V1.0.0: 2014-11-07/Sge + * Add Salary rule categories + * Add Salary rules + * Add Employee children in school + * Add Contract LPP rate + +V1.0.1: 2014-11-11/Sge + * Set the 'LPP rate'' digits to 'Payroll Rate' decimal accuracy + + """, + + 'auto_install': False, + 'demo': [], + 'website': 'http://open-net.ch', + 'data': [ + 'hr_contract_view.xml', + 'hr_employee_view.xml', + 'l10n_ch_hr_payroll_data.xml', + 'data/hr.salary.rule-change.csv', + 'data/hr.salary.rule-new.csv', + ], + 'installable': True +} diff --git a/l10n_ch_hr_payroll/data/hr.salary.rule-change.csv b/l10n_ch_hr_payroll/data/hr.salary.rule-change.csv new file mode 100644 index 000000000..a816016f6 --- /dev/null +++ b/l10n_ch_hr_payroll/data/hr.salary.rule-change.csv @@ -0,0 +1,4 @@ +.id,amount_select,appears_on_payslip,code,condition_select,note,amount_fix,condition_range_max,condition_range_min,name,amount_percentage,amount_percentage_base,amount_python_compute,condition_python,quantity,condition_range,sequence,category_id,parent_rule_id +1,Python Code,True,BASIC,Always True,,,,,Basic,,,result = contract.wage, # Available variables: #---------------------- # payslip: object containing the payslips # employee: hr.employee object # contract: hr.contract object # rules: object containing the rules code (previously computed) # categories: object containing the computed salary rule categories (sum of amount of all rules belonging to that category). # worked_days: object containing the computed worked days # inputs: object containing the computed inputs # Note: returned value have to be set in the variable 'result' result = rules.NET > categories.NET * 0.10,1,contract.wage,1,Basic, +2,Python Code,True,GROSS,Always True,,,,,Gross,,,result = categories.BASIC + categories.ALW + categories.FALW, # Available variables: #---------------------- # payslip: object containing the payslips # employee: hr.employee object # contract: hr.contract object # rules: object containing the rules code (previously computed) # categories: object containing the computed salary rule categories (sum of amount of all rules belonging to that category). # worked_days: object containing the computed worked days # inputs: object containing the computed inputs # Note: returned value have to be set in the variable 'result' result = rules.NET > categories.NET * 0.10,1,contract.wage,100,Gross, +3,Python Code,True,NET,Always True,,,,,Net,,,result = categories.BASIC + categories.ALW + categories.FALW + categories.DED, # Available variables: #---------------------- # payslip: object containing the payslips # employee: hr.employee object # contract: hr.contract object # rules: object containing the rules code (previously computed) # categories: object containing the computed salary rule categories (sum of amount of all rules belonging to that category). # worked_days: object containing the computed worked days # inputs: object containing the computed inputs # Note: returned value have to be set in the variable 'result' result = rules.NET > categories.NET * 0.10,1,contract.wage,200,Net, \ No newline at end of file diff --git a/l10n_ch_hr_payroll/data/hr.salary.rule-new.csv b/l10n_ch_hr_payroll/data/hr.salary.rule-new.csv new file mode 100644 index 000000000..64cd50839 --- /dev/null +++ b/l10n_ch_hr_payroll/data/hr.salary.rule-new.csv @@ -0,0 +1,28 @@ +id,amount_select,appears_on_payslip,code,condition_select,note,amount_fix,condition_range_max,condition_range_min,name,amount_percentage,amount_percentage_base,amount_python_compute,condition_python,quantity,condition_range,sequence,category_id,parent_rule_id +4,Fixed Amount,False,AVS,Always True,,,999999,,AVS/AI/APG,,, # Available variables: #---------------------- # payslip: object containing the payslips # employee: hr.employee object # contract: hr.contract object # rules: object containing the rules code (previously computed) # categories: object containing the computed salary rule categories (sum of amount of all rules belonging to that category). # worked_days: object containing the computed worked days. # inputs: object containing the computed inputs. # Note: returned value have to be set in the variable 'result' result = contract.wage * 0.10, # Available variables: #---------------------- # payslip: object containing the payslips # employee: hr.employee object # contract: hr.contract object # rules: object containing the rules code (previously computed) # categories: object containing the computed salary rule categories (sum of amount of all rules belonging to that category). # worked_days: object containing the computed worked days # inputs: object containing the computed inputs # Note: returned value have to be set in the variable 'result' result = rules.NET > categories.NET * 0.10,1,contract.wage,110,Deduction, +5,Percentage (%),True,AVS_E,Always True,,,999999,2047.4,AVS/AI/APG Employe,-5.15,categories.BASIC + categories.ALW, # Available variables: #---------------------- # payslip: object containing the payslips # employee: hr.employee object # contract: hr.contract object # rules: object containing the rules code (previously computed) # categories: object containing the computed salary rule categories (sum of amount of all rules belonging to that category). # worked_days: object containing the computed worked days. # inputs: object containing the computed inputs. # Note: returned value have to be set in the variable 'result' result = contract.wage * 0.10, # Available variables: #---------------------- # payslip: object containing the payslips # employee: hr.employee object # contract: hr.contract object # rules: object containing the rules code (previously computed) # categories: object containing the computed salary rule categories (sum of amount of all rules belonging to that category). # worked_days: object containing the computed worked days # inputs: object containing the computed inputs # Note: returned value have to be set in the variable 'result' result = rules.NET > categories.NET * 0.10,1,contract.wage,111,Deduction,AVS/AI/APG +6,Percentage (%),False,AVS_C,Always True,,,999999,2047.4,AVS/AI/APG Company,10.3,categories.BASIC + categories.ALW, # Available variables: #---------------------- # payslip: object containing the payslips # employee: hr.employee object # contract: hr.contract object # rules: object containing the rules code (previously computed) # categories: object containing the computed salary rule categories (sum of amount of all rules belonging to that category). # worked_days: object containing the computed worked days. # inputs: object containing the computed inputs. # Note: returned value have to be set in the variable 'result' result = contract.wage * 0.10, # Available variables: #---------------------- # payslip: object containing the payslips # employee: hr.employee object # contract: hr.contract object # rules: object containing the rules code (previously computed) # categories: object containing the computed salary rule categories (sum of amount of all rules belonging to that category). # worked_days: object containing the computed worked days # inputs: object containing the computed inputs # Note: returned value have to be set in the variable 'result' result = rules.NET > categories.NET * 0.10,1,contract.wage,111,Company Contribution,AVS/AI/APG +7,Fixed Amount,False,AC,Always True,,,,,AC,,, # Available variables: #---------------------- # payslip: object containing the payslips # employee: hr.employee object # contract: hr.contract object # rules: object containing the rules code (previously computed) # categories: object containing the computed salary rule categories (sum of amount of all rules belonging to that category). # worked_days: object containing the computed worked days. # inputs: object containing the computed inputs. # Note: returned value have to be set in the variable 'result' result = contract.wage * 0.10, # Available variables: #---------------------- # payslip: object containing the payslips # employee: hr.employee object # contract: hr.contract object # rules: object containing the rules code (previously computed) # categories: object containing the computed salary rule categories (sum of amount of all rules belonging to that category). # worked_days: object containing the computed worked days # inputs: object containing the computed inputs # Note: returned value have to be set in the variable 'result' result = rules.NET > categories.NET * 0.10,1,contract.wage,5,Deduction, +8,Percentage (%),True,AC_E,Range,,,10500,,AC Employee,-1.1,categories.BASIC + categories.ALW, # Available variables: #---------------------- # payslip: object containing the payslips # employee: hr.employee object # contract: hr.contract object # rules: object containing the rules code (previously computed) # categories: object containing the computed salary rule categories (sum of amount of all rules belonging to that category). # worked_days: object containing the computed worked days. # inputs: object containing the computed inputs. # Note: returned value have to be set in the variable 'result' result = contract.wage * 0.10, # Available variables: #---------------------- # payslip: object containing the payslips # employee: hr.employee object # contract: hr.contract object # rules: object containing the rules code (previously computed) # categories: object containing the computed salary rule categories (sum of amount of all rules belonging to that category). # worked_days: object containing the computed worked days # inputs: object containing the computed inputs # Note: returned value have to be set in the variable 'result' result = rules.NET > categories.NET * 0.10,1,contract.wage,121,Deduction,AC +9,Percentage (%),False,AC_C,Range,,,10500,,AC Company,2.2,categories.BASIC + categories.ALW, # Available variables: #---------------------- # payslip: object containing the payslips # employee: hr.employee object # contract: hr.contract object # rules: object containing the rules code (previously computed) # categories: object containing the computed salary rule categories (sum of amount of all rules belonging to that category). # worked_days: object containing the computed worked days. # inputs: object containing the computed inputs. # Note: returned value have to be set in the variable 'result' result = contract.wage * 0.10, # Available variables: #---------------------- # payslip: object containing the payslips # employee: hr.employee object # contract: hr.contract object # rules: object containing the rules code (previously computed) # categories: object containing the computed salary rule categories (sum of amount of all rules belonging to that category). # worked_days: object containing the computed worked days # inputs: object containing the computed inputs # Note: returned value have to be set in the variable 'result' result = rules.NET > categories.NET * 0.10,1,contract.wage,121,Company Contribution,AC +10,Percentage (%),True,AC_SE,Range,,,999999,10500,AC Solidarite Employee,-1,categories.BASIC + categories.ALW, # Available variables: #---------------------- # payslip: object containing the payslips # employee: hr.employee object # contract: hr.contract object # rules: object containing the rules code (previously computed) # categories: object containing the computed salary rule categories (sum of amount of all rules belonging to that category). # worked_days: object containing the computed worked days. # inputs: object containing the computed inputs. # Note: returned value have to be set in the variable 'result' result = contract.wage * 0.10, # Available variables: #---------------------- # payslip: object containing the payslips # employee: hr.employee object # contract: hr.contract object # rules: object containing the rules code (previously computed) # categories: object containing the computed salary rule categories (sum of amount of all rules belonging to that category). # worked_days: object containing the computed worked days # inputs: object containing the computed inputs # Note: returned value have to be set in the variable 'result' result = rules.NET > categories.NET * 0.10,1,contract.wage,122,Deduction,AC +11,Percentage (%),False,AC_SC,Range,,,999999,105000,AC Solidarite Company,2,categories.BASIC + categories.ALW, # Available variables: #---------------------- # payslip: object containing the payslips # employee: hr.employee object # contract: hr.contract object # rules: object containing the rules code (previously computed) # categories: object containing the computed salary rule categories (sum of amount of all rules belonging to that category). # worked_days: object containing the computed worked days. # inputs: object containing the computed inputs. # Note: returned value have to be set in the variable 'result' result = contract.wage * 0.10, # Available variables: #---------------------- # payslip: object containing the payslips # employee: hr.employee object # contract: hr.contract object # rules: object containing the rules code (previously computed) # categories: object containing the computed salary rule categories (sum of amount of all rules belonging to that category). # worked_days: object containing the computed worked days # inputs: object containing the computed inputs # Note: returned value have to be set in the variable 'result' result = rules.NET > categories.NET * 0.10,1,contract.wage,121,Company Contribution,AC +12,Fixed Amount,False,LPP,Range,,,999999,2047.5,LPP,-15.6413,categories.GROSS + categories.ALW - 0, # Available variables: #---------------------- # payslip: object containing the payslips # employee: hr.employee object # contract: hr.contract object # rules: object containing the rules code (previously computed) # categories: object containing the computed salary rule categories (sum of amount of all rules belonging to that category). # worked_days: object containing the computed worked days. # inputs: object containing the computed inputs. # Note: returned value have to be set in the variable 'result' result = contract.wage * 0.10, # Available variables: #---------------------- # payslip: object containing the payslips # employee: hr.employee object # contract: hr.contract object # rules: object containing the rules code (previously computed) # categories: object containing the computed salary rule categories (sum of amount of all rules belonging to that category). # worked_days: object containing the computed worked days # inputs: object containing the computed inputs # Note: returned value have to be set in the variable 'result' result = rules.NET > categories.NET * 0.10,1,contract.wage,130,Deduction, +13,Python Code,True,LPP_E,Always True,,,999999,2047.5,LPP Employe,-3.7955,categories.BASIC + categories.ALW - 0,minimum_legal = 2047.50 ; result = (categories.BASIC + categories.ALW - minimum_legal) * (((contract.lpp_rate/2)*-1)/100), # Available variables: #---------------------- # payslip: object containing the payslips # employee: hr.employee object # contract: hr.contract object # rules: object containing the rules code (previously computed) # categories: object containing the computed salary rule categories (sum of amount of all rules belonging to that category). # worked_days: object containing the computed worked days # inputs: object containing the computed inputs # Note: returned value have to be set in the variable 'result' result = rules.NET > categories.NET * 0.10 result = (contract.wage + categories.BASIC + categories.ALW) * ((contract.lpp_rate/2)*-1),1,categories.BASIC + categories.ALW,131,Deduction,LPP +14,Python Code,False,LPP_C,Always True,,,999999,2047.5,LPP Company,7.591,categories.BASIC + categories.ALW - 0,minimum_legal = 2047.50 ; result = (categories.BASIC + categories.ALW - minimum_legal) * (contract.lpp_rate/100), # Available variables: #---------------------- # payslip: object containing the payslips # employee: hr.employee object # contract: hr.contract object # rules: object containing the rules code (previously computed) # categories: object containing the computed salary rule categories (sum of amount of all rules belonging to that category). # worked_days: object containing the computed worked days # inputs: object containing the computed inputs # Note: returned value have to be set in the variable 'result' result = rules.NET > categories.NET * 0.10,1,categories.BASIC + categories.ALW,131,Company Contribution,LPP +15,Fixed Amount,False,LAA,Always True,,,,,LAA,,, # Available variables: #---------------------- # payslip: object containing the payslips # employee: hr.employee object # contract: hr.contract object # rules: object containing the rules code (previously computed) # categories: object containing the computed salary rule categories (sum of amount of all rules belonging to that category). # worked_days: object containing the computed worked days. # inputs: object containing the computed inputs. # Note: returned value have to be set in the variable 'result' result = contract.wage * 0.10, # Available variables: #---------------------- # payslip: object containing the payslips # employee: hr.employee object # contract: hr.contract object # rules: object containing the rules code (previously computed) # categories: object containing the computed salary rule categories (sum of amount of all rules belonging to that category). # worked_days: object containing the computed worked days # inputs: object containing the computed inputs # Note: returned value have to be set in the variable 'result' result = rules.NET > categories.NET * 0.10,1,contract.wage,140,Deduction, +16,Percentage (%),True,LAA_E,Always True,,,,,LAA Employe,-0.565,categories.BASIC + categories.ALW, # Available variables: #---------------------- # payslip: object containing the payslips # employee: hr.employee object # contract: hr.contract object # rules: object containing the rules code (previously computed) # categories: object containing the computed salary rule categories (sum of amount of all rules belonging to that category). # worked_days: object containing the computed worked days. # inputs: object containing the computed inputs. # Note: returned value have to be set in the variable 'result' result = contract.wage * 0.10, # Available variables: #---------------------- # payslip: object containing the payslips # employee: hr.employee object # contract: hr.contract object # rules: object containing the rules code (previously computed) # categories: object containing the computed salary rule categories (sum of amount of all rules belonging to that category). # worked_days: object containing the computed worked days # inputs: object containing the computed inputs # Note: returned value have to be set in the variable 'result' result = rules.NET > categories.NET * 0.10,1,contract.wage,141,Deduction,LAA +17,Percentage (%),False,LAA_C,Always True,,,,,LAA Company,1.13,categories.BASIC + categories.ALW, # Available variables: #---------------------- # payslip: object containing the payslips # employee: hr.employee object # contract: hr.contract object # rules: object containing the rules code (previously computed) # categories: object containing the computed salary rule categories (sum of amount of all rules belonging to that category). # worked_days: object containing the computed worked days. # inputs: object containing the computed inputs. # Note: returned value have to be set in the variable 'result' result = contract.wage * 0.10, # Available variables: #---------------------- # payslip: object containing the payslips # employee: hr.employee object # contract: hr.contract object # rules: object containing the rules code (previously computed) # categories: object containing the computed salary rule categories (sum of amount of all rules belonging to that category). # worked_days: object containing the computed worked days # inputs: object containing the computed inputs # Note: returned value have to be set in the variable 'result' result = rules.NET > categories.NET * 0.10,1,contract.wage,141,Company Contribution,LAA +18,Fixed Amount,False,LCA,Always True,,,,,LCA,-0.52,categories.GROSS + categories.ALW, # Available variables: #---------------------- # payslip: object containing the payslips # employee: hr.employee object # contract: hr.contract object # rules: object containing the rules code (previously computed) # categories: object containing the computed salary rule categories (sum of amount of all rules belonging to that category). # worked_days: object containing the computed worked days. # inputs: object containing the computed inputs. # Note: returned value have to be set in the variable 'result' result = contract.wage * 0.10, # Available variables: #---------------------- # payslip: object containing the payslips # employee: hr.employee object # contract: hr.contract object # rules: object containing the rules code (previously computed) # categories: object containing the computed salary rule categories (sum of amount of all rules belonging to that category). # worked_days: object containing the computed worked days # inputs: object containing the computed inputs # Note: returned value have to be set in the variable 'result' result = rules.NET > categories.NET * 0.10,1,contract.wage,150,Deduction, +19,Percentage (%),True,LCA_E,Always True,,,,,LCA Employe,-0.52,categories.BASIC + categories.ALW, # Available variables: #---------------------- # payslip: object containing the payslips # employee: hr.employee object # contract: hr.contract object # rules: object containing the rules code (previously computed) # categories: object containing the computed salary rule categories (sum of amount of all rules belonging to that category). # worked_days: object containing the computed worked days. # inputs: object containing the computed inputs. # Note: returned value have to be set in the variable 'result' result = contract.wage * 0.10, # Available variables: #---------------------- # payslip: object containing the payslips # employee: hr.employee object # contract: hr.contract object # rules: object containing the rules code (previously computed) # categories: object containing the computed salary rule categories (sum of amount of all rules belonging to that category). # worked_days: object containing the computed worked days # inputs: object containing the computed inputs # Note: returned value have to be set in the variable 'result' result = rules.NET > categories.NET * 0.10,1,contract.wage,151,Deduction,LCA +20,Percentage (%),False,LCA_C,Always True,,,,,LCA Company,1.04,categories.BASIC + categories.ALW, # Available variables: #---------------------- # payslip: object containing the payslips # employee: hr.employee object # contract: hr.contract object # rules: object containing the rules code (previously computed) # categories: object containing the computed salary rule categories (sum of amount of all rules belonging to that category). # worked_days: object containing the computed worked days. # inputs: object containing the computed inputs. # Note: returned value have to be set in the variable 'result' result = contract.wage * 0.10, # Available variables: #---------------------- # payslip: object containing the payslips # employee: hr.employee object # contract: hr.contract object # rules: object containing the rules code (previously computed) # categories: object containing the computed salary rule categories (sum of amount of all rules belonging to that category). # worked_days: object containing the computed worked days # inputs: object containing the computed inputs # Note: returned value have to be set in the variable 'result' result = rules.NET > categories.NET * 0.10,1,contract.wage,151,Company Contribution,LCA +21,Fixed Amount,False,PCF,Always True,,,,,PC Famille,-0.06,categories.GROSS + categories.ALW, # Available variables: #---------------------- # payslip: object containing the payslips # employee: hr.employee object # contract: hr.contract object # rules: object containing the rules code (previously computed) # categories: object containing the computed salary rule categories (sum of amount of all rules belonging to that category). # worked_days: object containing the computed worked days. # inputs: object containing the computed inputs. # Note: returned value have to be set in the variable 'result' result = contract.wage * 0.10, # Available variables: #---------------------- # payslip: object containing the payslips # employee: hr.employee object # contract: hr.contract object # rules: object containing the rules code (previously computed) # categories: object containing the computed salary rule categories (sum of amount of all rules belonging to that category). # worked_days: object containing the computed worked days # inputs: object containing the computed inputs # Note: returned value have to be set in the variable 'result' result = rules.NET > categories.NET * 0.10,1,contract.wage,160,Deduction, +22,Percentage (%),True,PCF_E,Always True,,,,,PC Famille Employe,-0.06,categories.BASIC + categories.ALW, # Available variables: #---------------------- # payslip: object containing the payslips # employee: hr.employee object # contract: hr.contract object # rules: object containing the rules code (previously computed) # categories: object containing the computed salary rule categories (sum of amount of all rules belonging to that category). # worked_days: object containing the computed worked days. # inputs: object containing the computed inputs. # Note: returned value have to be set in the variable 'result' result = contract.wage * 0.10, # Available variables: #---------------------- # payslip: object containing the payslips # employee: hr.employee object # contract: hr.contract object # rules: object containing the rules code (previously computed) # categories: object containing the computed salary rule categories (sum of amount of all rules belonging to that category). # worked_days: object containing the computed worked days # inputs: object containing the computed inputs # Note: returned value have to be set in the variable 'result' result = rules.NET > categories.NET * 0.10,1,contract.wage,161,Deduction,PC Famille +23,Percentage (%),False,PCF_C,Always True,,,,,PC Famille Company,0.12,categories.BASIC + categories.ALW, # Available variables: #---------------------- # payslip: object containing the payslips # employee: hr.employee object # contract: hr.contract object # rules: object containing the rules code (previously computed) # categories: object containing the computed salary rule categories (sum of amount of all rules belonging to that category). # worked_days: object containing the computed worked days. # inputs: object containing the computed inputs. # Note: returned value have to be set in the variable 'result' result = contract.wage * 0.10, # Available variables: #---------------------- # payslip: object containing the payslips # employee: hr.employee object # contract: hr.contract object # rules: object containing the rules code (previously computed) # categories: object containing the computed salary rule categories (sum of amount of all rules belonging to that category). # worked_days: object containing the computed worked days # inputs: object containing the computed inputs # Note: returned value have to be set in the variable 'result' result = rules.NET > categories.NET * 0.10,1,contract.wage,161,Company Contribution,PC Famille +24,Percentage (%),False,FADMIN,Always True,,,,,Frais administratifs,0.25,categories.BASIC + categories.ALW, # Available variables: #---------------------- # payslip: object containing the payslips # employee: hr.employee object # contract: hr.contract object # rules: object containing the rules code (previously computed) # categories: object containing the computed salary rule categories (sum of amount of all rules belonging to that category). # worked_days: object containing the computed worked days. # inputs: object containing the computed inputs. # Note: returned value have to be set in the variable 'result' result = contract.wage * 0.10, # Available variables: #---------------------- # payslip: object containing the payslips # employee: hr.employee object # contract: hr.contract object # rules: object containing the rules code (previously computed) # categories: object containing the computed salary rule categories (sum of amount of all rules belonging to that category). # worked_days: object containing the computed worked days # inputs: object containing the computed inputs # Note: returned value have to be set in the variable 'result' result = rules.NET > categories.NET * 0.10,1,contract.wage,210,Full Company Contribution, +25,Fixed Amount,False,ALFA,Always True,,,,,Allocations familiales,,,result = contract.employee_id.children * 230, # Available variables: #---------------------- # payslip: object containing the payslips # employee: hr.employee object # contract: hr.contract object # rules: object containing the rules code (previously computed) # categories: object containing the computed salary rule categories (sum of amount of all rules belonging to that category). # worked_days: object containing the computed worked days # inputs: object containing the computed inputs # Note: returned value have to be set in the variable 'result' result = rules.NET > categories.NET * 0.10,1,contract.wage,50,Free allowance, +26,Percentage (%),False,COTFAM,Always True,,,,,Cotisation Alloc. Fam.,2.275,categories.GROSS + categories.ALW, # Available variables: #---------------------- # payslip: object containing the payslips # employee: hr.employee object # contract: hr.contract object # rules: object containing the rules code (previously computed) # categories: object containing the computed salary rule categories (sum of amount of all rules belonging to that category). # worked_days: object containing the computed worked days. # inputs: object containing the computed inputs. # Note: returned value have to be set in the variable 'result' result = contract.wage * 0.10, # Available variables: #---------------------- # payslip: object containing the payslips # employee: hr.employee object # contract: hr.contract object # rules: object containing the rules code (previously computed) # categories: object containing the computed salary rule categories (sum of amount of all rules belonging to that category). # worked_days: object containing the computed worked days # inputs: object containing the computed inputs # Note: returned value have to be set in the variable 'result' result = rules.NET > categories.NET * 0.10,1,contract.wage,51,Full Company Contribution,Allocations familiales +27,Python Code,True,ALFA_E,Python Expression,,,99999,1,Allocations familiales versées - Enfants à l'école obligatoire,,,result = contract.employee_id.children * 230,result = contract.employee_id.children > 0,1,contract.employee_id.children,51,Free allowance,Allocations familiales +28,Python Code,True,ALFA_F,Python Expression,,,,,Allocations familiales versées - Enfants en formation,,,result = contract.employee_id.children_student * 300,result = contract.employee_id.children_student > 0,1,contract.wage,51,Free allowance,Allocations familiales +29,Percentage (%),True,FREP,Always True,,,,,Frais de représentation,5,categories.BASIC, # Available variables: #---------------------- # payslip: object containing the payslips # employee: hr.employee object # contract: hr.contract object # rules: object containing the rules code (previously computed) # categories: object containing the computed salary rule categories (sum of amount of all rules belonging to that category). # worked_days: object containing the computed worked days. # inputs: object containing the computed inputs. # Note: returned value have to be set in the variable 'result' result = contract.wage * 0.10, # Available variables: #---------------------- # payslip: object containing the payslips # employee: hr.employee object # contract: hr.contract object # rules: object containing the rules code (previously computed) # categories: object containing the computed salary rule categories (sum of amount of all rules belonging to that category). # worked_days: object containing the computed worked days # inputs: object containing the computed inputs # Note: returned value have to be set in the variable 'result' result = rules.NET > categories.NET * 0.10,1,contract.wage,40,Free allowance, +30,Python Code,True,P13,Always True,,,,,Provision 13ème,,,result = ((categories.GROSS - categories.DED) / 12 ) + categories.COSTS, # Available variables: #---------------------- # payslip: object containing the payslips # employee: hr.employee object # contract: hr.contract object # rules: object containing the rules code (previously computed) # categories: object containing the computed salary rule categories (sum of amount of all rules belonging to that category). # worked_days: object containing the computed worked days # inputs: object containing the computed inputs # Note: returned value have to be set in the variable 'result' result = rules.NET > categories.NET * 0.10,1,contract.wage,250,Provision 13th salary, diff --git a/l10n_ch_hr_payroll/hr_contract.py b/l10n_ch_hr_payroll/hr_contract.py new file mode 100644 index 000000000..72b89cba7 --- /dev/null +++ b/l10n_ch_hr_payroll/hr_contract.py @@ -0,0 +1,40 @@ +# -*- coding: utf-8 -*- +# +# File: hr_comtract.py +# Module: l10n_ch_hr_payroll +# +# Created by sge@open-net.ch +# +# Copyright (c) 2014 Open-Net Ltd. All rights reserved. +############################################################################## +# +# OpenERP, Open Source Management Solution +# Copyright (C) 2004-2010 Tiny SPRL (). +# +# 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 . +# +############################################################################## + + +from openerp.osv import fields, osv +from openerp.tools.translate import _ +import openerp.addons.decimal_precision as dp + +class hr_contract(osv.osv): + _inherit = 'hr.contract' + _columns = { + 'lpp_rate': fields.float('LPP Rate', digits_compute=dp.get_precision('Payroll Rate')), + } + +hr_contract() diff --git a/l10n_ch_hr_payroll/hr_contract_view.xml b/l10n_ch_hr_payroll/hr_contract_view.xml new file mode 100644 index 000000000..15feb73a1 --- /dev/null +++ b/l10n_ch_hr_payroll/hr_contract_view.xml @@ -0,0 +1,25 @@ + + + + + + hr.contract.form.inherit_ch_01 + hr.contract + + + form + + + + + + + + diff --git a/l10n_ch_hr_payroll/hr_employee.py b/l10n_ch_hr_payroll/hr_employee.py new file mode 100644 index 000000000..b15189f4e --- /dev/null +++ b/l10n_ch_hr_payroll/hr_employee.py @@ -0,0 +1,41 @@ +# -*- coding: utf-8 -*- +# +# File: hr_employee.py +# Module: l10n_ch_hr_payroll +# +# Created by sge@open-net.ch +# +# Copyright (c) 2014 Open-Net Ltd. All rights reserved. +############################################################################## +# +# OpenERP, Open Source Management Solution +# Copyright (C) 2004-2010 Tiny SPRL (). +# +# 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 . +# +############################################################################## + + +from openerp.osv import fields, osv +from openerp.tools.translate import _ + + +class hr_employee(osv.osv): + _inherit = 'hr.employee' + _columns = { + 'children': fields.integer('Number of Children at school'), + 'children_student': fields.integer('Number of Children student'), + } + +hr_employee() diff --git a/l10n_ch_hr_payroll/hr_employee_view.xml b/l10n_ch_hr_payroll/hr_employee_view.xml new file mode 100644 index 000000000..758793ec9 --- /dev/null +++ b/l10n_ch_hr_payroll/hr_employee_view.xml @@ -0,0 +1,25 @@ + + + + + + hr.employee.form.inherit_ch_01 + hr.employee + + + form + + + + + + + + diff --git a/l10n_ch_hr_payroll/l10n_ch_hr_payroll_data.xml b/l10n_ch_hr_payroll/l10n_ch_hr_payroll_data.xml new file mode 100644 index 000000000..c1c443709 --- /dev/null +++ b/l10n_ch_hr_payroll/l10n_ch_hr_payroll_data.xml @@ -0,0 +1,34 @@ + + + + + + Free allowance + FALW + + + Full Company Contribution + COSTS + + + + Yearly provisions + P13 + + + + Monthly Extra hours + HSUP + + + + Monthly Bonus + BONUS + + + + Provision 13th salary + P13 + + + diff --git a/l10n_ch_hr_payroll/static/description/icon.png b/l10n_ch_hr_payroll/static/description/icon.png new file mode 100644 index 0000000000000000000000000000000000000000..c59e295f73339f0be12aef69ccf5a24aaa041598 GIT binary patch literal 1007 zcmeAS@N?(olHy`uVBq!ia0vp^4Is?H1|$#LC7uRSY)RhkE!Po3t)uoAYQOe8E`R^^i>JmbSE{z|)Bkt=2QP7U;&olB46pW%b|p_Q)$`u<=Xq4i zbDu~$pB8eE=v}hv!Hq<(uI%JirppHv-HvYE80E>un$9f#S%-P$!p~C;4PX5^eB7$~ z_qt0;m#4h*6z>d7-?mOGFDK1*`QM+;`_<#8aP@Vxue!9pJpaqzpOeqIU*5cD+3M-r zO!k#+K4HIn%Z`mJKYo4t=(!nt{O3E%fB1fgS0p+d(fzdP4C|HO!oK$P2?k46?+%^% z>aXX#{da$+O!y_uyZghd(r*iUUoMxGy|aILnVIa7jEHIenx`5gB7 zaDLG2OfAc>Ro}~&9*uF9;GS&c%l>`Yfkz&mbKk#vec53j<21G}2d5m$CpkF&GX86u zki}kJ(E-c{swJ)wB`Jv|saDBFsX&Us$iUD@*T6*Az$nDf#LC#%%E(mPz{twLVEr_X zS`-br`6-!cm1r6aOsxzoAsWtaI^74 Date: Wed, 26 Nov 2014 14:45:17 +0100 Subject: [PATCH 2/7] Update README.md Add l10n_ch_hr_payroll to readme. --- README.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/README.md b/README.md index 6ff86aa09..1ed14d5d1 100644 --- a/README.md +++ b/README.md @@ -56,3 +56,9 @@ l10n_ch_scan_bvr ---------------- Allows you to scan the ESR/BVR references and automatically create the proper supplier invoices + +l10n_ch_hr_payroll +------------------ + +Provide Swizerland Payroll Rules. +Allow to specify a LPP range to contract and 2 kinds of children to employee. From d37148bf6b63bdcac242d0364381ab8fe1f432c7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Gendre?= Date: Thu, 27 Nov 2014 14:21:12 +0100 Subject: [PATCH 3/7] Add some minor changes, based on pull request #66 comments. --- l10n_ch_hr_payroll/README.rst | 31 +++++++++++++++++++++++++++++++ l10n_ch_hr_payroll/__init__.py | 4 ++-- l10n_ch_hr_payroll/__openerp__.py | 6 +++++- l10n_ch_hr_payroll/hr_contract.py | 13 +++++++------ l10n_ch_hr_payroll/hr_employee.py | 6 ++---- 5 files changed, 47 insertions(+), 13 deletions(-) create mode 100644 l10n_ch_hr_payroll/README.rst diff --git a/l10n_ch_hr_payroll/README.rst b/l10n_ch_hr_payroll/README.rst new file mode 100644 index 000000000..6efb3c5ec --- /dev/null +++ b/l10n_ch_hr_payroll/README.rst @@ -0,0 +1,31 @@ +Swizerland Payroll Rules. +========================= + +**Features list :** + * Add Swiss salary rule categories + * Add Swiss salary rules + * Add children in school to employee + * Add LPP range to contract + +**For functionnal information:** +http://ur1.ca/ir5ou + +**Author :** +Open Net Sàrl -Industrie 59 1030 Bussigny Suisse - http://www.open-net.ch + +**Contact :** +info@open-net.ch + +**History :** + +V1.0.0: 2014-11-07/Sge + * Add Salary rule categories + * Add Salary rules + * Add Employee children in school + * Add Contract LPP rate + +V1.0.1: 2014-11-11/Sge + * Set the 'LPP rate'' digits to 'Payroll Rate' decimal accuracy + +V1.0.2: + * Add some minor changes, based on pull request #66 comments. diff --git a/l10n_ch_hr_payroll/__init__.py b/l10n_ch_hr_payroll/__init__.py index ca858b539..a1ccd9d91 100644 --- a/l10n_ch_hr_payroll/__init__.py +++ b/l10n_ch_hr_payroll/__init__.py @@ -26,5 +26,5 @@ # ############################################################################## -import hr_contract -import hr_employee +from . import hr_contract +from . import hr_employee diff --git a/l10n_ch_hr_payroll/__openerp__.py b/l10n_ch_hr_payroll/__openerp__.py index 99a5104f6..524f57582 100644 --- a/l10n_ch_hr_payroll/__openerp__.py +++ b/l10n_ch_hr_payroll/__openerp__.py @@ -28,9 +28,10 @@ { 'name': 'Switzerland - Payroll', + 'summary': 'Swizerland Payroll Rules', 'category': 'Localization', 'author': 'Open-Net Sàrl', - 'depends': ['decimal_precision','hr_payroll', 'hr_payroll_account'], + 'depends': ['decimal_precision', 'hr_payroll', 'hr_payroll_account'], 'version': '1.0.1', 'description': """ Swizerland Payroll Rules. @@ -62,6 +63,9 @@ V1.0.1: 2014-11-11/Sge * Set the 'LPP rate'' digits to 'Payroll Rate' decimal accuracy +V1.0.2: + * Add some minor changes, based on pull request #66 comments. + """, 'auto_install': False, diff --git a/l10n_ch_hr_payroll/hr_contract.py b/l10n_ch_hr_payroll/hr_contract.py index 72b89cba7..eb22f25db 100644 --- a/l10n_ch_hr_payroll/hr_contract.py +++ b/l10n_ch_hr_payroll/hr_contract.py @@ -1,6 +1,6 @@ # -*- coding: utf-8 -*- # -# File: hr_comtract.py +# File: hr_contract.py # Module: l10n_ch_hr_payroll # # Created by sge@open-net.ch @@ -27,14 +27,15 @@ ############################################################################## -from openerp.osv import fields, osv -from openerp.tools.translate import _ +from openerp.osv import fields, orm import openerp.addons.decimal_precision as dp -class hr_contract(osv.osv): + +class hr_contract(orm.Model): _inherit = 'hr.contract' _columns = { - 'lpp_rate': fields.float('LPP Rate', digits_compute=dp.get_precision('Payroll Rate')), + 'lpp_rate': fields.float('LPP Rate', + digits_compute=dp.get_precision( + 'Payroll Rate')), } -hr_contract() diff --git a/l10n_ch_hr_payroll/hr_employee.py b/l10n_ch_hr_payroll/hr_employee.py index b15189f4e..289aafcaa 100644 --- a/l10n_ch_hr_payroll/hr_employee.py +++ b/l10n_ch_hr_payroll/hr_employee.py @@ -27,15 +27,13 @@ ############################################################################## -from openerp.osv import fields, osv -from openerp.tools.translate import _ +from openerp.osv import fields, orm -class hr_employee(osv.osv): +class hr_employee(orm.Model): _inherit = 'hr.employee' _columns = { 'children': fields.integer('Number of Children at school'), 'children_student': fields.integer('Number of Children student'), } -hr_employee() From 37aaccc4537d58ddd3fbfd04432ba0d45c05e113 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Gendre?= Date: Thu, 27 Nov 2014 14:30:44 +0100 Subject: [PATCH 4/7] Some changes in copyright --- l10n_ch_hr_payroll/hr_contract.py | 2 +- l10n_ch_hr_payroll/hr_contract_view.xml | 2 +- l10n_ch_hr_payroll/hr_employee.py | 2 +- l10n_ch_hr_payroll/hr_employee_view.xml | 2 +- l10n_ch_hr_payroll/l10n_ch_hr_payroll_data.xml | 8 ++++++++ 5 files changed, 12 insertions(+), 4 deletions(-) diff --git a/l10n_ch_hr_payroll/hr_contract.py b/l10n_ch_hr_payroll/hr_contract.py index eb22f25db..e19e6499e 100644 --- a/l10n_ch_hr_payroll/hr_contract.py +++ b/l10n_ch_hr_payroll/hr_contract.py @@ -5,7 +5,7 @@ # # Created by sge@open-net.ch # -# Copyright (c) 2014 Open-Net Ltd. All rights reserved. +# Copyright (c) 2014 Open-Net Ltd. ############################################################################## # # OpenERP, Open Source Management Solution diff --git a/l10n_ch_hr_payroll/hr_contract_view.xml b/l10n_ch_hr_payroll/hr_contract_view.xml index 15feb73a1..3279d722e 100644 --- a/l10n_ch_hr_payroll/hr_contract_view.xml +++ b/l10n_ch_hr_payroll/hr_contract_view.xml @@ -5,7 +5,7 @@ Module: l10n_ch_hr_payroll Created by sge@open-net.ch -Copyright (c) 2014 Open-Net Ltd. All rights reserved. +Copyright (c) 2014 Open-Net Ltd. --> diff --git a/l10n_ch_hr_payroll/hr_employee.py b/l10n_ch_hr_payroll/hr_employee.py index 289aafcaa..a3d53f601 100644 --- a/l10n_ch_hr_payroll/hr_employee.py +++ b/l10n_ch_hr_payroll/hr_employee.py @@ -5,7 +5,7 @@ # # Created by sge@open-net.ch # -# Copyright (c) 2014 Open-Net Ltd. All rights reserved. +# Copyright (c) 2014 Open-Net Ltd. ############################################################################## # # OpenERP, Open Source Management Solution diff --git a/l10n_ch_hr_payroll/hr_employee_view.xml b/l10n_ch_hr_payroll/hr_employee_view.xml index 758793ec9..6bc939a6d 100644 --- a/l10n_ch_hr_payroll/hr_employee_view.xml +++ b/l10n_ch_hr_payroll/hr_employee_view.xml @@ -5,7 +5,7 @@ Module: l10n_ch_hr_payroll Created by sge@open-net.ch -Copyright (c) 2014 Open-Net Ltd. All rights reserved. +Copyright (c) 2014 Open-Net Ltd. --> diff --git a/l10n_ch_hr_payroll/l10n_ch_hr_payroll_data.xml b/l10n_ch_hr_payroll/l10n_ch_hr_payroll_data.xml index c1c443709..f0ccd74c3 100644 --- a/l10n_ch_hr_payroll/l10n_ch_hr_payroll_data.xml +++ b/l10n_ch_hr_payroll/l10n_ch_hr_payroll_data.xml @@ -1,4 +1,12 @@ + From f4afeae5bc4f99e34760c7bdcc97bdefbe37e27b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Gendre?= Date: Mon, 8 Dec 2014 11:33:10 +0100 Subject: [PATCH 5/7] Fix 2 pep8 errors. --- l10n_ch_hr_payroll/hr_contract.py | 1 - l10n_ch_hr_payroll/hr_employee.py | 1 - 2 files changed, 2 deletions(-) diff --git a/l10n_ch_hr_payroll/hr_contract.py b/l10n_ch_hr_payroll/hr_contract.py index e19e6499e..b04732bc7 100644 --- a/l10n_ch_hr_payroll/hr_contract.py +++ b/l10n_ch_hr_payroll/hr_contract.py @@ -38,4 +38,3 @@ class hr_contract(orm.Model): digits_compute=dp.get_precision( 'Payroll Rate')), } - diff --git a/l10n_ch_hr_payroll/hr_employee.py b/l10n_ch_hr_payroll/hr_employee.py index a3d53f601..c8d1175b1 100644 --- a/l10n_ch_hr_payroll/hr_employee.py +++ b/l10n_ch_hr_payroll/hr_employee.py @@ -36,4 +36,3 @@ class hr_employee(orm.Model): 'children': fields.integer('Number of Children at school'), 'children_student': fields.integer('Number of Children student'), } - From 4bad79872547f90159e75b34b46e99e54f78b736 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Gendre?= Date: Mon, 8 Dec 2014 11:44:23 +0100 Subject: [PATCH 6/7] Fix error in big comment header. --- l10n_ch_hr_payroll/__openerp__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/l10n_ch_hr_payroll/__openerp__.py b/l10n_ch_hr_payroll/__openerp__.py index 524f57582..440eb6407 100644 --- a/l10n_ch_hr_payroll/__openerp__.py +++ b/l10n_ch_hr_payroll/__openerp__.py @@ -1,6 +1,6 @@ # -*- coding: utf-8 -*- # -# File: __init__.py +# File: __openerp__.py # Module: l10n_ch_hr_payroll # # Created by sge@open-net.ch From 4f25f8b54bb9e006f22feb937b5dfb2812a40845 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Gendre?= Date: Mon, 8 Dec 2014 12:30:01 +0100 Subject: [PATCH 7/7] Remove description from l10n_ch_hr_payroll/__openerp__.py file. --- l10n_ch_hr_payroll/__openerp__.py | 35 ------------------------------- 1 file changed, 35 deletions(-) diff --git a/l10n_ch_hr_payroll/__openerp__.py b/l10n_ch_hr_payroll/__openerp__.py index 440eb6407..68345806a 100644 --- a/l10n_ch_hr_payroll/__openerp__.py +++ b/l10n_ch_hr_payroll/__openerp__.py @@ -33,41 +33,6 @@ 'author': 'Open-Net Sàrl', 'depends': ['decimal_precision', 'hr_payroll', 'hr_payroll_account'], 'version': '1.0.1', - 'description': """ -Swizerland Payroll Rules. -========================= - -**Features list :** - * Add Swiss salary rule categories - * Add Swiss salary rules - * Add children in school to employee - * Add LPP range to contract - -**For functionnal information:** -http://ur1.ca/ir5ou - -**Author :** -Open Net Sàrl -Industrie 59 1030 Bussigny Suisse - http://www.open-net.ch - -**Contact :** -info@open-net.ch - -**History :** - -V1.0.0: 2014-11-07/Sge - * Add Salary rule categories - * Add Salary rules - * Add Employee children in school - * Add Contract LPP rate - -V1.0.1: 2014-11-11/Sge - * Set the 'LPP rate'' digits to 'Payroll Rate' decimal accuracy - -V1.0.2: - * Add some minor changes, based on pull request #66 comments. - - """, - 'auto_install': False, 'demo': [], 'website': 'http://open-net.ch',