From 1ca3b3df3421961caec3b747a364071c80f5c7da Mon Sep 17 00:00:00 2001 From: stephanchrst Date: Tue, 10 May 2022 17:14:58 +0700 Subject: initial commit --- om_hr_payroll/data/hr_payroll_category.xml | 71 +++++++++++++ om_hr_payroll/data/hr_payroll_data.xml | 122 +++++++++++++++++++++ om_hr_payroll/data/hr_payroll_demo.xml | 163 +++++++++++++++++++++++++++++ om_hr_payroll/data/hr_payroll_sequence.xml | 13 +++ om_hr_payroll/data/mail_template.xml | 28 +++++ 5 files changed, 397 insertions(+) create mode 100644 om_hr_payroll/data/hr_payroll_category.xml create mode 100644 om_hr_payroll/data/hr_payroll_data.xml create mode 100644 om_hr_payroll/data/hr_payroll_demo.xml create mode 100644 om_hr_payroll/data/hr_payroll_sequence.xml create mode 100644 om_hr_payroll/data/mail_template.xml (limited to 'om_hr_payroll/data') diff --git a/om_hr_payroll/data/hr_payroll_category.xml b/om_hr_payroll/data/hr_payroll_category.xml new file mode 100644 index 0000000..a07e283 --- /dev/null +++ b/om_hr_payroll/data/hr_payroll_category.xml @@ -0,0 +1,71 @@ + + + + + + Employees + + + + + Basic + BASIC + + + + Allowance + ALW + + + + Gross + GROSS + + + + Deduction + DED + + + + Net + NET + + + + Company Contribution + COMP + + + + House Rent Allowance + HRA + + + + Dearness Allowance + DA + + + + Travel Allowance + Travel + + + + Meal Allowance + Meal + + + + Medical Allowance + Medical + + + + Other Allowance + Other + + + + \ No newline at end of file diff --git a/om_hr_payroll/data/hr_payroll_data.xml b/om_hr_payroll/data/hr_payroll_data.xml new file mode 100644 index 0000000..a5dace8 --- /dev/null +++ b/om_hr_payroll/data/hr_payroll_data.xml @@ -0,0 +1,122 @@ + + + + + + + Basic Salary + + BASIC + + none + code + result = contract.wage + + + + Gross + + GROSS + + none + code + result = categories.BASIC + categories.ALW + + + + + + + + + + + + + + + + House Rent Allowance + + HRA + + none + code + result = contract.hra + 30 + + + + Dearness Allowance + + DA + + none + code + result = contract.da + + + + Travel Allowance + + Travel + + none + code + result = contract.travel_allowance + + + + Meal Allowance + + Meal + + none + code + result = contract.meal_allowance + + + + Medical Allowance + + Medical + + none + code + result = contract.medical_allowance + + + + Net Salary + + NET + + none + code + result = categories.BASIC + categories.ALW + categories.DED + + + + + + + BASE + Base for new structures + + + + + + + + Payroll + 2 + + + + Payroll Rate + 4 + + + + diff --git a/om_hr_payroll/data/hr_payroll_demo.xml b/om_hr_payroll/data/hr_payroll_demo.xml new file mode 100644 index 0000000..0e3e88c --- /dev/null +++ b/om_hr_payroll/data/hr_payroll_demo.xml @@ -0,0 +1,163 @@ + + + + + + + House Rent Allowance Register + + + + Provident Fund Register + + + + Professional Tax Register + + + + Meal Voucher Register + + + + + + percentage + + contract.wage + HRA + + + House Rent Allowance + + + + + fix + + CA + + Conveyance Allowance + + + + + fix + + + PT + + + Professional Tax + + + + percentage + + + contract.wage + PF + + + Provident Fund + + + + fix + + CAGG + + Conveyance Allowance For Gravie + + + + + fix + + worked_days.WORK100 and worked_days.WORK100.number_of_days + MA + + + Meal Voucher + + + + + code + SALE + + Get 1% of sales + + result = ((inputs.SALEURO and inputs.SALEURO.amount) + (inputs.SALASIA and inputs.SALASIA.amount)) * 0.01 + + + + + + SALEURO + Sales to Europe + + + + + SALASIA + Sales to Asia + + + + + + + ME + Marketing Executive + + + + + + + MEGG + Marketing Executive for Gilles Gravie + + + + + + + + + + + + Roger Scott + Building 1, Second Floor + +3282823500 + + + + + + + + Marketing Executive Contract + + + + + + Default contract for marketing executives + + + + + Contract For Gilles Gravie + + + + + + This is Gilles Gravie's contract + + + + diff --git a/om_hr_payroll/data/hr_payroll_sequence.xml b/om_hr_payroll/data/hr_payroll_sequence.xml new file mode 100644 index 0000000..3174b00 --- /dev/null +++ b/om_hr_payroll/data/hr_payroll_sequence.xml @@ -0,0 +1,13 @@ + + + + + + Salary Slip + salary.slip + SLIP/ + 3 + + + + diff --git a/om_hr_payroll/data/mail_template.xml b/om_hr_payroll/data/mail_template.xml new file mode 100644 index 0000000..63e4477 --- /dev/null +++ b/om_hr_payroll/data/mail_template.xml @@ -0,0 +1,28 @@ + + + + + + Payslip Template + + ${(user.email |safe)} + ${object.employee_id.work_email} + Payslip: ${object.number} + + Dear ${object.employee_id.name},

+

Please find the attached payslip of the period: ${object.date_from} - ${object.date_to}

+

In case of any queries concerning this matter, do not hesitate to contact our accounting/hr department.

+
+ Best Regards, +
+ ${user.name} +
+ ]]> +
+ + ${(object.number or '').replace('/','_')} +
+ +
+
\ No newline at end of file -- cgit v1.2.3