Files
odoo_source/addons/resource/security/ir.model.access.csv
T
Thibault Delavallée 9944209ef7 [IMP] resource: add resource mixin adding fields and an API for resource
Purpose is to replace existing inherits of resource.resource by an inherit
on the mixin itself. The mixin offers several methods to compute working
intervals, attendance, hours, ... This mixin will be improved in future
commits when new methods that will be required with future improvements
of various service apps.

This commit also adds tests for the mixin itself. A new model is defined
only for testing purpose to test the mixin.
2017-02-27 14:04:48 +01:00

1.1 KiB

1idnamemodel_id:idgroup_id:idperm_readperm_writeperm_createperm_unlink
2access_resource_calendar_userresource.calendar.usermodel_resource_calendarbase.group_user1000
3access_resource_calendar_systemresource.calendar.systemmodel_resource_calendarbase.group_system1111
4access_resource_calendar_attendance_userresource.calendar.attendance.usermodel_resource_calendar_attendancebase.group_user1000
5access_resource_calendar_attendance_systemresource.calendar.attendance.systemmodel_resource_calendar_attendancebase.group_system1111
6access_resource_resourceresource.resourcemodel_resource_resourcebase.group_system1000
7access_resource_resource_allresource.resource allmodel_resource_resourcebase.group_user1000
8access_resource_calendar_leaves_userresource.calendar.leavesmodel_resource_calendar_leavesbase.group_user1111
9access_resource_calendar_leavesresource.calendar.leavesmodel_resource_calendar_leavesbase.group_system1111
10access_resource_test_allresource.test.allmodel_resource_testbase.group_user1111