From 1ca3b3df3421961caec3b747a364071c80f5c7da Mon Sep 17 00:00:00 2001 From: stephanchrst Date: Tue, 10 May 2022 17:14:58 +0700 Subject: initial commit --- hr_payroll_community/views/hr_contract_views.xml | 128 +++++++ hr_payroll_community/views/hr_employee_views.xml | 21 ++ hr_payroll_community/views/hr_payroll_report.xml | 32 ++ hr_payroll_community/views/hr_payslip_views.xml | 412 +++++++++++++++++++++ .../views/hr_salary_rule_views.xml | 381 +++++++++++++++++++ .../report_contributionregister_templates.xml | 72 ++++ .../views/report_payslip_templates.xml | 75 ++++ .../views/report_payslipdetails_templates.xml | 101 +++++ .../views/res_config_settings_views.xml | 71 ++++ 9 files changed, 1293 insertions(+) create mode 100644 hr_payroll_community/views/hr_contract_views.xml create mode 100644 hr_payroll_community/views/hr_employee_views.xml create mode 100644 hr_payroll_community/views/hr_payroll_report.xml create mode 100644 hr_payroll_community/views/hr_payslip_views.xml create mode 100644 hr_payroll_community/views/hr_salary_rule_views.xml create mode 100644 hr_payroll_community/views/report_contributionregister_templates.xml create mode 100644 hr_payroll_community/views/report_payslip_templates.xml create mode 100644 hr_payroll_community/views/report_payslipdetails_templates.xml create mode 100644 hr_payroll_community/views/res_config_settings_views.xml (limited to 'hr_payroll_community/views') diff --git a/hr_payroll_community/views/hr_contract_views.xml b/hr_payroll_community/views/hr_contract_views.xml new file mode 100644 index 0000000..3ac2e0f --- /dev/null +++ b/hr_payroll_community/views/hr_contract_views.xml @@ -0,0 +1,128 @@ + + + + + + + + + + hr.contract.view.form.inherit + hr.contract + + + + + + + + + + + + + + + + + hr.contract.advantage.template.form + hr.contract.advantage.template + +
+ +
+

+ +

+
+ + + + + + + + + + + + +
+
+
+
+ + + hr.contract.view.additional.allowance + hr.contract + + + + + + + + + + + + hr.contract.advantage.template.tree + hr.contract.advantage.template + + + + + + + + + + + + + Contract Advantage Templates + hr.contract.advantage.template + + + +
\ No newline at end of file diff --git a/hr_payroll_community/views/hr_employee_views.xml b/hr_payroll_community/views/hr_employee_views.xml new file mode 100644 index 0000000..d3354be --- /dev/null +++ b/hr_payroll_community/views/hr_employee_views.xml @@ -0,0 +1,21 @@ + + + + + + payroll.hr.employee.view.form + hr.employee + + + + + + + + \ No newline at end of file diff --git a/hr_payroll_community/views/hr_payroll_report.xml b/hr_payroll_community/views/hr_payroll_report.xml new file mode 100644 index 0000000..2cde4f7 --- /dev/null +++ b/hr_payroll_community/views/hr_payroll_report.xml @@ -0,0 +1,32 @@ + + + + + Contribution Register PDF + hr.contribution.register + qweb-pdf + + hr_payroll_community.report_contributionregister + hr_payroll_community.report_contributionregister + + + + Payslip + hr.payslip + qweb-pdf + hr_payroll_community.report_payslip + hr_payroll_community.report_payslip + + ('Payslip - %s' % (object.employee_id.name)) + + + + Payslip Details + hr.payslip + qweb-pdf + + hr_payroll_community.report_payslipdetails + hr_payroll_community.report_payslipdetails + ('Payslip Details - %s' % (object.employee_id.name)) + + diff --git a/hr_payroll_community/views/hr_payslip_views.xml b/hr_payroll_community/views/hr_payslip_views.xml new file mode 100644 index 0000000..72b573c --- /dev/null +++ b/hr_payroll_community/views/hr_payslip_views.xml @@ -0,0 +1,412 @@ + + + + + hr.payslip.line.tree + hr.payslip.line + + + + + + + + + + + + + + + + + + hr.payslip.line.form + hr.payslip.line + +
+ + + + + + + + + + + + + + + + +
+
+
+ + hr.payslip.line.select + hr.payslip.line + + + + + + + + + + + + + + + + + + + + hr.payslip.tree + hr.payslip + + + + + + + + + + + + + + + hr.payslip.kanban + hr.payslip + + + + +
+
+
+ +
+
+ + + +
+
+ + - + +
+
+ +
+
+
+
+
+
+
+
+ + + + + Payslip Computation Details + hr.payslip.line + {'default_slip_id': active_id,'search_default_slip_id': active_id} + + + + hr.payslip.form + hr.payslip + +
+
+
+ +
+ +
+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + +
+
+
+ + + + + + + + + + + + + +
+ + + + + + + + + + + +
+
+
+ + + + + + + + + + + + + + + + + + + + +
+ +
+
+
+
+ +
+
+ + + hr.payslip.select + hr.payslip + + + + + + + + + + + + + + + + + + + Employee Payslips + hr.payslip + tree,kanban,form + + + + + + + hr.payslip + Payslips + tree,form + {'search_default_employee_id': [active_id], 'default_employee_id': active_id} + + + + + + hr.payslip.run.search + hr.payslip.run + + + + + + + + + + + + + hr.payslip.run.tree + hr.payslip.run + + + + + + + + + + + + + hr.payslip.run.kanban + hr.payslip.run + + + + +
+
+
+ +
+
+ + + +
+
+ + - + + + + +
+
+
+
+
+
+
+
+ + + hr.payslip.run.form + hr.payslip.run + +
+
+
+ + +
+
+
+ + + Payslips Batches + hr.payslip.run + tree,kanban,form + + + + + + + + Payslip Lines + hr.payslip.line + [('register_id', '=', active_id)] + {'default_register_id': active_id, 'search_default_register_id': 1} + + +
\ No newline at end of file diff --git a/hr_payroll_community/views/hr_salary_rule_views.xml b/hr_payroll_community/views/hr_salary_rule_views.xml new file mode 100644 index 0000000..b7708b0 --- /dev/null +++ b/hr_payroll_community/views/hr_salary_rule_views.xml @@ -0,0 +1,381 @@ + + + + + + + + hr.payroll.structure.tree + hr.payroll.structure + + + + + + + + + + + hr.payroll.structure.kanban + hr.payroll.structure + + + + +
+
+
+ +
+
+
+
+ Code: +
+
+
+
+
+
+
+
+ + hr.payroll.structure.tree + hr.payroll.structure + children_ids + + + + + + + + + + hr.payroll.structure.select + hr.payroll.structure + + + + + + + + hr.payroll.structure.form + hr.payroll.structure + +
+ + + + + + + + + + + + + + + + + + + +
+
+
+ + Salary Structures + hr.payroll.structure + tree,kanban,form + + + + + + + hr.salary.rule.category.form + hr.salary.rule.category + +
+ + + + + + + + +
+
+
+ + hr.salary.rule.category.tree + hr.salary.rule.category + + + + + + + + + + hr.salary.rule.category.select + hr.salary.rule.category + + + + + + + + Salary Rule Categories + hr.salary.rule.category + + + + + + + + hr.contribution.register.tree + hr.contribution.register + + + + + + + + + hr.contribution.register.kanban + hr.contribution.register + + + + +
+
+
+ +
+
+
+
+
+
+
+
+ + hr.contribution.register.search + hr.contribution.register + + + + + + + + + hr.contribution.register.form + hr.contribution.register + +
+ + + + + + + + + + +
+
+ + Contribution Registers + hr.contribution.register + tree,kanban,form + +

+ Add a new contribution register +

+ A contribution register is a third party involved in the salary + payment of the employees. It can be the social security, the + state or anyone that collect or inject money on payslips. +

+
+
+ + + + + + hr.salary.rule.list + hr.salary.rule + + + + + + + + + + + + hr.salary.rule.kanban + hr.salary.rule + + + + +
+
+
+ +
+
+ +
+
+
+
+ Code: +
+
+
+
+
+
+
+
+ + hr.salary.rule.tree + hr.salary.rule + child_ids + + + + + + + + + + + + hr.salary.rule.form + hr.salary.rule + +
+
+
+ + hr.salary.rule.select + hr.salary.rule + + + + + + + + + + + + + Salary Rules + hr.salary.rule + tree,kanban,form + [('parent_rule_id','=',False)] + + + + + + + All Children Rules + hr.salary.rule + [('parent_rule_id', '=', active_id)] + +
+
diff --git a/hr_payroll_community/views/report_contributionregister_templates.xml b/hr_payroll_community/views/report_contributionregister_templates.xml new file mode 100644 index 0000000..021e6c0 --- /dev/null +++ b/hr_payroll_community/views/report_contributionregister_templates.xml @@ -0,0 +1,72 @@ + + + + diff --git a/hr_payroll_community/views/report_payslip_templates.xml b/hr_payroll_community/views/report_payslip_templates.xml new file mode 100644 index 0000000..876ce15 --- /dev/null +++ b/hr_payroll_community/views/report_payslip_templates.xml @@ -0,0 +1,75 @@ + + + + diff --git a/hr_payroll_community/views/report_payslipdetails_templates.xml b/hr_payroll_community/views/report_payslipdetails_templates.xml new file mode 100644 index 0000000..ee6a99a --- /dev/null +++ b/hr_payroll_community/views/report_payslipdetails_templates.xml @@ -0,0 +1,101 @@ + + + + diff --git a/hr_payroll_community/views/res_config_settings_views.xml b/hr_payroll_community/views/res_config_settings_views.xml new file mode 100644 index 0000000..4d78a7f --- /dev/null +++ b/hr_payroll_community/views/res_config_settings_views.xml @@ -0,0 +1,71 @@ + + + + + + + + + + + + res.config.settings.view.form.inherit.hr.payroll + res.config.settings + + + + +
+ + + +

Payroll

+
+
+
+ Payroll Rules +
+ Payroll rules that apply to your country +
+
+
+
+
+
+

Accounting

+
+
+
+ +
+
+
+
+
+
+
+
+
+ + + Settings + ir.actions.act_window + res.config.settings + form + inline + {'module' : 'hr_payroll_community'} + + + +
-- cgit v1.2.3