Files
odoo_source/addons/hr_payroll/security/ir.model.access.csv
T
Lucas Lefèvre ad0c5768f0 [IMP] hr_payroll: improve general usability
This commit improves general usability.

Specification
=============

Screens usability:

1/ Benefits
 1.1/ Calendar
    - Add a sidebar filter to filter employees. The filters are saved per user.
      If no filter exists for the user the 'Everybody' filter should be true by default.
    - Generate benefits when clicking on the menu -> remove the wizard (popup): generate benefits for all running contracts
    - Once generated, don't show again the generate benefits button: only show the Validate button
    - Generate Payslips button: remove the wizard. It generates payslip of validated benefits
      and jumps to the payslip batch form view.
 1.2/ Form:
    - rename: Start into "From"
    - rename: End into "To"
    - rename: Hours into "Period" (add 'hours' as unit on the right of the field)

2/ Payslip
 2.1/ Form:
    - Remove Payslip stat button.
    - a computed payslip should be editable

 2.2/ List:
    - show: Reference | Employee | Batch Name | From | To | Gross Salary | Net Salary | Status
    - In action buttons add a "Confirm" to confirm multiple payslips
    - add a quick search on contract
    - filters: rename 'draft' into "To Compute"
    - filter: add "To Confirm"

Menus:

1/ Salary Computation
    - Benefits (object: hr.benefit ;  view: calendar, list, form, pivot. Group: hr officer ;  filters: group by employee in the view)
    - Payslips (objetc: hr.payslip ; Views: list, form, pivot. Group: hr officer ; filters: last batch ; Sort: employee name alphabetically)
2/ Employee Payslips
    - Batches  (objetc: hr.payslip.run ;  Views:  list, form. Group: hr officer ; Sort: creation date (last one first)
    - All Payslips (objetc: hr.payslip ; Views:  list, form, pivot. Group: hr officer ; filters: no filters; Sort: employee name alphabetically)
3/ Configuration
    - Settings
    ---Salary---
	- Rules
	- Structure
	- Contributions Registers
    ---Benefits---
	- Benefits Type
    ---Repository---
	- Employees (list)
	- Contracts

When a benefit linked to a leave is cancelled, it should refuse the leave.
When a payslip batch is deleted, also delete associated payslips.
+ Refactoring of benefit js to use "Odoo style" event binding.
2019-01-18 15:19:35 +01:00

1.5 KiB

1idnamemodel_id:idgroup_id:idperm_readperm_writeperm_createperm_unlink
2access_hr_payroll_structurehr.payroll.structuremodel_hr_payroll_structurehr_payroll.group_hr_payroll_user1111
3access_hr_payroll_structure_hr_userhr.payroll.structure.hr.usermodel_hr_payroll_structurehr.group_hr_user1000
4access_hr_contribution_registerhr.contribution.registermodel_hr_contribution_registerhr_payroll.group_hr_payroll_user1111
5access_hr_salary_rule_categoryhr.salary.rule.categorymodel_hr_salary_rule_categoryhr_payroll.group_hr_payroll_user1111
6access_hr_paysliphr.payslipmodel_hr_paysliphr_payroll.group_hr_payroll_user1111
7access_hr_payslip_linehr.payslip.linemodel_hr_payslip_linehr_payroll.group_hr_payroll_user1111
8access_hr_payslip_input_userhr.payslip.input.usermodel_hr_payslip_inputhr_payroll.group_hr_payroll_user1111
9access_hr_payslip_worked_days_officerhr.payslip.worked_days.officermodel_hr_payslip_worked_dayshr_payroll.group_hr_payroll_user1111
10access_hr_payslip_runhr.payslip.runmodel_hr_payslip_runhr_payroll.group_hr_payroll_manager1111
11access_hr_salary_rule_userhr.salary.rule.usermodel_hr_salary_rulehr_payroll.group_hr_payroll_user1111
12access_hr_benefitaccess_hr_benefitmodel_hr_benefitgroup_hr_payroll_user1111
13access_hr_benefit_typeaccess_hr_benefit_typemodel_hr_benefit_typegroup_hr_payroll_user1111
14access_hr_benefit_employeehr.benefit.employeemodel_hr_user_benefit_employeegroup_hr_payroll_user1111