Skip to content

Commit ae10966

Browse files
committed
[ADD] estate: added security access configuration
. Allow users to read, create, update, and delete property records. . Eliminate warnings related to missing access rules for the property model. . Implement default security settings to grant standard users proper data access.
1 parent 42f72a9 commit ae10966

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

estate/__manifest__.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
{
22
'name': 'Real Estate',
33
'application': True,
4-
'installable': True
4+
'installable': True,
5+
'category': 'Real Estate/Brokerage',
6+
'data': [
7+
'security/ir.model.access.csv'
8+
]
59
}
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_user,model_estate_property,model_estate_property,base.group_user,1,1,1,1

0 commit comments

Comments
 (0)