summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js/views/basic/basic_controller.js
diff options
context:
space:
mode:
authorLucas Lefèvre <lul@odoo.com>2019-01-08 11:06:25 +0100
committerYannick Tivisse <yti@odoo.com>2019-01-18 15:19:35 +0100
commitad0c5768f0c1e302c0c87d961d39753e5ab81d76 (patch)
treecd9c18cc9734713e3af432950de536aa80c783f4 /addons/web/static/src/js/views/basic/basic_controller.js
parent70c6d3b04c43a36446052c4ab8976c3d50ed4666 (diff)
[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.
Diffstat (limited to 'addons/web/static/src/js/views/basic/basic_controller.js')
0 files changed, 0 insertions, 0 deletions