summaryrefslogtreecommitdiff
path: root/addons/hr_contract/security/security.xml
AgeCommit message (Collapse)Author
2019-03-19[FIX] hr_contract: Allow contract managers to manage employeeLucas Lefèvre
Contract managers should be able to create/manager employees. This make sense when a contract manager hires someone. He first creates the employee, then his contract. This also allows contract managers to access private addresses by transitivity. This is also intended to allow a contract manager to set a driver (private partner) on the employee's company car or to access `km_home_work` for transport reimbursment (l10n_be_hr_payroll).
2019-03-19[FIX] hr_contract: group_hr_contract_manager implies group_userLucas Lefèvre
A user with only the contract access rights should be able to create a contract.
2019-03-05[IMP] base,*: Reorganize access rights groupsjbm-odoo
Purpose ======= Access group terminology is missleading. Yous have to be manager to administrate an application. This task consists to rename groups to be understandable for everyone. Groups should be reorganised on the users form to be more explicit. Specification ============= 1/ Rename 'Manager' to 'Administrator' in users groups. 2/ Define a hierarchy on access groups by using the category_id in the manifests A category 'Operations/Project' will create a category Project with a parent category 'Operations', and something smart is already developed (in modules/db.py) to avoid duplicating categories. 3/ Add a group in expenses to be able to approve expenses reports for my team. 4/ Add a group in timesheets to be able to approve timesheets for my team. 5/ Remove partially the useless crap in ir_module_category_data.xml 6/ Sort access rights groups on users form according to its parent category closes odoo/odoo#29362 Signed-off-by: "Yannick Tivisse (yti)" <yti@odoo.com>
2019-01-21[IMP] hr_payroll: Manage multi company on payslips/contractsYannick Tivisse
Purpose ======= Currently the payroll doens't manage the multi company Specification ============= 1/ Add ir.rules on hr.contract and hr.payslip to prevent users to access a record in another company. 2/ Add ir.rules on hr.payroll.structure to prevent users to access a record for another country. 3/ Remove company_id fields on models that doesn't require it, as hr.salary.rule.category. 4/ Make the accounting fields on the salary rules company dependent. 5/ Specify the country on the salary structures on the l10n_**_hr_payroll modules. 6/ Add demo data and modify the salary package tour. 7/ Make the car_atn and company_car_total_depreciated_costs fields compute_sudo=True, as one car can be assigned on several contract, for different companies Closes #26866 Closes #25231 Closes #24683 Closes #23814
2018-08-23[IMP] base: add regular user admin as uid 2Raphael Collet
User 1 simply becomes a technical user (inactive, no password).
2018-05-04[IMP] hr_contract: Add a access right group on contractsYannick Tivisse
Some private information are on the contracts. Add a special group to display the contracts, independant of the other HR access rights.