Skip to content

Commit

Permalink
[ADD] estate: Added new real estate property management module
Browse files Browse the repository at this point in the history
The new module includes:
- Model: estate.property with fields such as name, description, selling_price,
availability_date, bedrooms, state, and active.
- Views: Tree and form views for managing estate properties.
- Security: Access rights defined in ir.model.access.csv.
  • Loading branch information
akya-odoo committed Aug 1, 2024
1 parent bf87bb0 commit 00b16df
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions estate/__manifest__.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,5 @@
],
'installable': True,
'application': True,
'license':'AGPL-3'
}
2 changes: 1 addition & 1 deletion estate/models/estate_property.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,5 +26,5 @@ class EstateProperty(models.Model):
state = fields.Selection([
('new', 'New'),
('used', 'Used'),
], string='Status', default='draft')
], string='Status', default='new')
active = fields.Boolean(string='Active', default=True)
2 changes: 1 addition & 1 deletion estate/security/ir.model.access.csv
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
id,name,model_id:id,group_id:id,perm_read,perm_write,perm_create,perm_unlink
access_estate_property,access_estate_property,model_estate_property,,1,1,1,1
access_estate_property,access_estate_property,model_estate_property,base.group_user,1,1,1,1

0 comments on commit 00b16df

Please sign in to comment.