Skip to content

Commit bea4c23

Browse files
committed
[IMP] Error Solved and Chapter 4 done
Solved Previous Issue Chapter 4 - done Security File Added
1 parent 068874e commit bea4c23

3 files changed

Lines changed: 16 additions & 4 deletions

File tree

estate/__manifest__.py

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,16 @@
11
{
22
'name': 'Estate',
3+
'summary': 'Manage properties listing and offers',
4+
'description': "A simple module to manage real estate properties and track offers made by buyers.",
5+
'author': 'Mohit Ahir (moahi)',
6+
'website': '',
7+
'category': 'Estate',
8+
'version': '1.0',
9+
'license': 'LGPL-3',
310
'depends': ['base'],
4-
'application': True,
11+
'data': [
12+
'security/ir.model.access.csv',
13+
],
14+
'installable': True,
15+
'application': True,
516
}

estate/models/estate_property.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
from odoo import models, fields
22

3+
34
class EstateProperty(models.Model):
45
_name = "estate.property"
56
_description = "Real Estate Property"
@@ -24,6 +25,4 @@ class EstateProperty(models.Model):
2425
('east', 'East'),
2526
('west', 'West')
2627
]
27-
)
28-
29-
28+
)
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)