forked from Yaltik/golem
[FIX]GOLEM Payment : default rights for models
This commit is contained in:
parent
d37b6c3147
commit
94dcc2aa7d
@ -27,5 +27,5 @@
|
|||||||
'application': True,
|
'application': True,
|
||||||
'installable': True,
|
'installable': True,
|
||||||
'depends': ['account', 'golem_season'],
|
'depends': ['account', 'golem_season'],
|
||||||
'data': ['views/golem_payment_views.xml']
|
'data': ['views/golem_payment_views.xml', 'security/ir.model.access.csv']
|
||||||
}
|
}
|
||||||
|
5
golem_payment/security/ir.model.access.csv
Normal file
5
golem_payment/security/ir.model.access.csv
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
id,name,model_id:id,group_id:id,perm_read,perm_write,perm_create,perm_unlink
|
||||||
|
access_golem_payment_schedule_user,Access GOLEM Payment Schedule User,model_golem_payment_schedule,golem_base.group_golem_user,1,0,0,0
|
||||||
|
access_golem_payment_schedule_manager,Access GOLEM Payment Schedule Manager,model_golem_payment_schedule,golem_base.group_golem_manager,1,1,1,1
|
||||||
|
access_golem_payment_schedule_day_user,Access GOLEM Payment Schedule Day User,model_golem_payment_schedule_day,golem_base.group_golem_user,1,0,0,0
|
||||||
|
access_golem_payment_schedule_day_manager,Access GOLEM Payment Schedule Day Manager,model_golem_payment_schedule_day,golem_base.group_golem_manager,1,1,1,1
|
|
Loading…
Reference in New Issue
Block a user