diff --git a/hr_payroll_community/__pycache__/__init__.cpython-36.pyc b/hr_payroll_community/__pycache__/__init__.cpython-36.pyc new file mode 100644 index 0000000..e7a8f49 Binary files /dev/null and b/hr_payroll_community/__pycache__/__init__.cpython-36.pyc differ diff --git a/hr_payroll_community/models/__pycache__/__init__.cpython-36.pyc b/hr_payroll_community/models/__pycache__/__init__.cpython-36.pyc new file mode 100644 index 0000000..3ab0b80 Binary files /dev/null and b/hr_payroll_community/models/__pycache__/__init__.cpython-36.pyc differ diff --git a/hr_payroll_community/models/__pycache__/hr_contract.cpython-36.pyc b/hr_payroll_community/models/__pycache__/hr_contract.cpython-36.pyc new file mode 100644 index 0000000..5d68fb6 Binary files /dev/null and b/hr_payroll_community/models/__pycache__/hr_contract.cpython-36.pyc differ diff --git a/hr_payroll_community/models/__pycache__/hr_employee.cpython-36.pyc b/hr_payroll_community/models/__pycache__/hr_employee.cpython-36.pyc new file mode 100644 index 0000000..67af9c8 Binary files /dev/null and b/hr_payroll_community/models/__pycache__/hr_employee.cpython-36.pyc differ diff --git a/hr_payroll_community/models/__pycache__/hr_payslip.cpython-36.pyc b/hr_payroll_community/models/__pycache__/hr_payslip.cpython-36.pyc new file mode 100644 index 0000000..558be6b Binary files /dev/null and b/hr_payroll_community/models/__pycache__/hr_payslip.cpython-36.pyc differ diff --git a/hr_payroll_community/models/__pycache__/hr_salary_rule.cpython-36.pyc b/hr_payroll_community/models/__pycache__/hr_salary_rule.cpython-36.pyc new file mode 100644 index 0000000..b071497 Binary files /dev/null and b/hr_payroll_community/models/__pycache__/hr_salary_rule.cpython-36.pyc differ diff --git a/hr_payroll_community/models/__pycache__/res_config_settings.cpython-36.pyc b/hr_payroll_community/models/__pycache__/res_config_settings.cpython-36.pyc new file mode 100644 index 0000000..64f1438 Binary files /dev/null and b/hr_payroll_community/models/__pycache__/res_config_settings.cpython-36.pyc differ diff --git a/hr_payroll_community/models/hr_payslip.py b/hr_payroll_community/models/hr_payslip.py index e2a5ee0..6691ebc 100644 --- a/hr_payroll_community/models/hr_payslip.py +++ b/hr_payroll_community/models/hr_payslip.py @@ -664,5 +664,5 @@ class EmployeeSalary(models.Model): travel_allowance = fields.Float('Transportation Allowance') total_salary = fields.Float('Total Salary') monthly_deduct = fields.Float('Monthly Deduction in AED') - deduction_start_date = fields.date('Deduction Start Date') - deduction_end_date = fields.date('Deduction End Date') + deduction_start_date = fields.Date('Deduction Start Date') + deduction_end_date = fields.Date('Deduction End Date') diff --git a/hr_payroll_community/report/__pycache__/__init__.cpython-36.pyc b/hr_payroll_community/report/__pycache__/__init__.cpython-36.pyc new file mode 100644 index 0000000..af7ece9 Binary files /dev/null and b/hr_payroll_community/report/__pycache__/__init__.cpython-36.pyc differ diff --git a/hr_payroll_community/report/__pycache__/report_contribution_register.cpython-36.pyc b/hr_payroll_community/report/__pycache__/report_contribution_register.cpython-36.pyc new file mode 100644 index 0000000..98e406d Binary files /dev/null and b/hr_payroll_community/report/__pycache__/report_contribution_register.cpython-36.pyc differ diff --git a/hr_payroll_community/report/__pycache__/report_payslip_details.cpython-36.pyc b/hr_payroll_community/report/__pycache__/report_payslip_details.cpython-36.pyc new file mode 100644 index 0000000..21c5026 Binary files /dev/null and b/hr_payroll_community/report/__pycache__/report_payslip_details.cpython-36.pyc differ diff --git a/hr_payroll_community/security/ir.model.access.csv b/hr_payroll_community/security/ir.model.access.csv index 041cd38..e94f4b7 100644 --- a/hr_payroll_community/security/ir.model.access.csv +++ b/hr_payroll_community/security/ir.model.access.csv @@ -12,3 +12,4 @@ access_hr_rule_input_officer,hr.rule.input.office,model_hr_rule_input,hr_payroll access_hr_salary_rule_user,hr.salary.rule.user,model_hr_salary_rule,hr_payroll_community.group_hr_payroll_community_user,1,1,1,1 access_hr_contract_advantage_template,hr.contract.advantage.template.user,model_hr_contract_advantage_template,hr_payroll_community.group_hr_payroll_community_user,1,1,1,1 access_hr_contract_advantage_template_hr_user,hr.contract.advantage.template.hr.user,model_hr_contract_advantage_template,hr.group_hr_user,1,0,0,0 +access_employee_salary_rule,employee.salary.rule.user,model_employee_salary_rule,hr.group_hr_user,1,1,0,0 diff --git a/hr_payroll_community/wizard/__pycache__/__init__.cpython-36.pyc b/hr_payroll_community/wizard/__pycache__/__init__.cpython-36.pyc new file mode 100644 index 0000000..a40628d Binary files /dev/null and b/hr_payroll_community/wizard/__pycache__/__init__.cpython-36.pyc differ diff --git a/hr_payroll_community/wizard/__pycache__/hr_payroll_contribution_register_report.cpython-36.pyc b/hr_payroll_community/wizard/__pycache__/hr_payroll_contribution_register_report.cpython-36.pyc new file mode 100644 index 0000000..a8479f3 Binary files /dev/null and b/hr_payroll_community/wizard/__pycache__/hr_payroll_contribution_register_report.cpython-36.pyc differ diff --git a/hr_payroll_community/wizard/__pycache__/hr_payroll_payslips_all_done.cpython-36.pyc b/hr_payroll_community/wizard/__pycache__/hr_payroll_payslips_all_done.cpython-36.pyc new file mode 100644 index 0000000..60c209c Binary files /dev/null and b/hr_payroll_community/wizard/__pycache__/hr_payroll_payslips_all_done.cpython-36.pyc differ diff --git a/hr_payroll_community/wizard/__pycache__/hr_payroll_payslips_by_employees.cpython-36.pyc b/hr_payroll_community/wizard/__pycache__/hr_payroll_payslips_by_employees.cpython-36.pyc new file mode 100644 index 0000000..a7e5622 Binary files /dev/null and b/hr_payroll_community/wizard/__pycache__/hr_payroll_payslips_by_employees.cpython-36.pyc differ diff --git a/hr_payroll_community/wizard/hr_payroll_payslips_all_done.py b/hr_payroll_community/wizard/hr_payroll_payslips_all_done.py index 9a1a30d..42b8de3 100644 --- a/hr_payroll_community/wizard/hr_payroll_payslips_all_done.py +++ b/hr_payroll_community/wizard/hr_payroll_payslips_all_done.py @@ -7,7 +7,6 @@ from odoo.exceptions import UserError class MultiHRPayslipDoneWiz(models.TransientModel): _name = 'multi.hr.payslip.done.wiz' - @api.multi def done_multi_hr_payslip(self): hr_payslip_ids = self.env['hr.payslip'].browse(self._context.get('active_ids')) for payslip in hr_payslip_ids: diff --git a/hr_payroll_community/wizard/hr_payroll_payslips_all_done.xml b/hr_payroll_community/wizard/hr_payroll_payslips_all_done.xml index 5312727..eaf45da 100644 --- a/hr_payroll_community/wizard/hr_payroll_payslips_all_done.xml +++ b/hr_payroll_community/wizard/hr_payroll_payslips_all_done.xml @@ -11,7 +11,7 @@