Skip to content

Commit 8dad73a

Browse files
[ADD] real_estate: add access rights for users
- Add ir.model.access.csv to define and manage access rights for users within the real_estate module. - Update __manifest__.py to include the path to the new ir.model.access.csv file, making it discoverable by Odoo. Chapter #4
1 parent 5775c43 commit 8dad73a

2 files changed

Lines changed: 7 additions & 1 deletion

File tree

estate/__manifest__.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,14 @@
33
'version': '1.0',
44
'depends': ['base'],
55
'author': "Asurk",
6-
'category': 'Services',
6+
'category': 'Real Estate/Brokerage',
77
'description': """
88
A module so that customers can bid on real estates
99
""",
10+
'data': [
11+
'security/ir.model.access.csv',
12+
'security/estate_security.xml',
13+
],
1014
'license': 'LGPL-3', # Default License
1115
'application': True,
1216
'installable': True,
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+
estate.access_estate_property,access_estate_property,estate.model_estate_property,base.group_user,1,1,1,1

0 commit comments

Comments
 (0)