Files
odoo_source/addons/hr_payroll/security/ir.model.access.csv
T
Yannick Tivisse c7bbbd41c7 [IMP] hr_payroll: Remove hr.rule.input model
There are currently 2 models:
- hr.rule.input to link some inputs to an hr.payslip.rule
- hr.payslip.input to add some additional inputs on a payslip.

The first model is actually there to automatically add inputs on the
additional inputs on the payslip. This is problematic because these
rules are always added (For example a salary reduction due to a
police fine). As these inputs are always added on the payslip, the
the related rules are always computed with an amount of 0.

We decided to remove this mechanism for the following reasons:
- If the rule is important and common, then define the needed values on
  the contract, and compute the rules from that.
- If the rule is not so important, it should be added manually when needed.
2018-11-30 11:08:19 +01:00

1.7 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_contract_advantage_templatehr.contract.advantage.template.usermodel_hr_contract_advantage_templatehr_payroll.group_hr_payroll_user1111
13access_hr_contract_advantage_template_hr_userhr.contract.advantage.template.hr.usermodel_hr_contract_advantage_templatehr.group_hr_user1000
14access_hr_benefitaccess_hr_benefitmodel_hr_benefitgroup_hr_payroll_user1111
15access_hr_benefit_typeaccess_hr_benefit_typemodel_hr_benefit_typegroup_hr_payroll_user1111