diff --git a/payroll/__manifest__.py b/payroll/__manifest__.py index 86422f78..ffa4b790 100644 --- a/payroll/__manifest__.py +++ b/payroll/__manifest__.py @@ -34,7 +34,7 @@ "report/report.xml", "views/res_config_settings_views.xml", ], - "demo": ["demo/hr_payroll_demo.xml"], + "demo": [], "application": True, "maintainers": ["appstogrow", "nimarosa"], } diff --git a/payroll/data/hr_payroll_data.xml b/payroll/data/hr_payroll_data.xml index c3adfdd0..da80ac9f 100644 --- a/payroll/data/hr_payroll_data.xml +++ b/payroll/data/hr_payroll_data.xml @@ -1,7 +1,227 @@ - + + Employees + + + + Basic + BASIC + + + Allowance + ALW + + + Gross + GROSS + + + Deduction + DED + + + Net + NET + + + Company Contribution + COMP + + + Basic Salary + + BASIC + + none + code + + result = contract.wage + + + + Gross + + GROSS + + none + code + + result = categories.BASIC + categories.ALW + + + + Net Salary + + NET + + none + code + + result = categories.BASIC + categories.ALW + categories.DED + + + + + + BASE + Base for new structures + + + + + + 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 + + CAMD + + Conveyance Allowance For Marc Demo + + + + 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 + + + + + + MEMD + Marketing Executive for Marc Demo + + + + + + + + + Roger Scott + Building 1, Second Floor + +3282823500 + + + + + Marketing Executive Contract + + + + + Default contract for marketing executives + + + + Contract For Marc Demo + + + + + This is Marc Demo's contract + + + + Payroll 2 diff --git a/payroll/demo/hr_payroll_demo.xml b/payroll/demo/hr_payroll_demo.xml deleted file mode 100644 index 4e987a1a..00000000 --- a/payroll/demo/hr_payroll_demo.xml +++ /dev/null @@ -1,222 +0,0 @@ - - - - Employees - - - - Basic - BASIC - - - Allowance - ALW - - - Gross - GROSS - - - Deduction - DED - - - Net - NET - - - Company Contribution - COMP - - - Basic Salary - - BASIC - - none - code - -result = contract.wage - - - - Gross - - GROSS - - none - code - -result = categories.BASIC + categories.ALW - - - - Net Salary - - NET - - none - code - -result = categories.BASIC + categories.ALW + categories.DED - - - - - - BASE - Base for new structures - - - - - - 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 - - CAMD - - Conveyance Allowance For Marc Demo - - - - 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 - - - - - - MEMD - Marketing Executive for Marc Demo - - - - - - - - - Roger Scott - Building 1, Second Floor - +3282823500 - - - - - Marketing Executive Contract - - - - - Default contract for marketing executives - - - - Contract For Marc Demo - - - - - This is Marc Demo's contract - - -