Skip to content

Commit be17520

Browse files
committed
[IMP] estate: add access rules to estate_property model
Python framework 101: chapter 4
1 parent 2ac0593 commit be17520

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

estate/__manifest__.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,7 @@
66
'license': 'LGPL-3',
77
'depends': ['base'],
88
'application': True,
9+
'data': [
10+
'security/ir.model.access.csv',
11+
]
912
}
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
id,name,model_id/id,group_id/id,perm_read,perm_write,perm_create,perm_unlink
2+
access_estate_property,access_estate_property,model_estate_property,base.group_user,1,1,1,1

0 commit comments

Comments
 (0)