Skip to content
Open
Show file tree
Hide file tree
Changes from 3 commits
Commits
Show all changes
19 commits
Select commit Hold shift + click to select a range
6c46d87
[ADD] estate: add initial manifest for Real Estate module
HashemKhaled Oct 20, 2025
0f11cda
[IMP] estate: implement estate property model
HashemKhaled Oct 20, 2025
15ad935
[IMP] estate: add access control for estate property model
HashemKhaled Oct 20, 2025
c521487
[IMP] estate: add estate property views and menus
HashemKhaled Oct 20, 2025
761b7a2
[FIX] estate: remove the unnneeded installable field
HashemKhaled Oct 20, 2025
7c4b002
[IMP] estate: enhance property views with detailed form and search fu…
HashemKhaled Oct 21, 2025
04e7f84
[FIX] estate: remove the group on postcode filter for property search…
HashemKhaled Oct 21, 2025
d771be5
[IMP] estate: add property type, tag, and offer models with views and…
HashemKhaled Oct 21, 2025
582c69a
[FIX] estate: adjust style
HashemKhaled Oct 21, 2025
9d9a3a4
[FIX] estate: adjust style
HashemKhaled Oct 21, 2025
7148e7f
[IMP] estate: Add notes.
Mathilde411 Oct 21, 2025
ffc7f58
[IMP] estate: add computed fields and onchanges
HashemKhaled Oct 21, 2025
c0276dc
[IMP] estate: add buttons for some actions
HashemKhaled Oct 21, 2025
3423a10
[IMP] estate: add sql and python constraints
HashemKhaled Oct 22, 2025
ea1092d
[IMP] estate: enhance views
HashemKhaled Oct 23, 2025
e2e96ab
[FIX] estate: adjust style
HashemKhaled Oct 23, 2025
f974e96
[IMP] estate: use inheritance
HashemKhaled Oct 23, 2025
978fe3d
[ADD] estate_account: implement property sale invoicing
HashemKhaled Oct 23, 2025
887b34e
[IMP] estate: add kanban view for properties
HashemKhaled Oct 23, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions estate/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
from . import models
10 changes: 10 additions & 0 deletions estate/__manifest__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
'name': 'Real Estate',
'summary': 'Manages real estate properties.',
'depends': ['base'],
'data': [
'security/ir.model.access.csv',
],
'application': True,
'installable': True,
}
1 change: 1 addition & 0 deletions estate/models/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
from . import estate_property
27 changes: 27 additions & 0 deletions estate/models/estate_property.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
from odoo import models, fields

class Property(models.Model):
_name = "estate.property"
_description = "Real Estate Property"

name = fields.Char(required=True)
description = fields.Text()
postcode = fields.Char()
date_availability = fields.Date()
expected_price = fields.Float(required=True)
selling_price = fields.Float()
bedrooms = fields.Integer()
living_area = fields.Integer()
bedrooms = fields.Integer()
living_area = fields.Integer()
facades = fields.Integer()
garage = fields.Boolean()
garden = fields.Boolean()
garden_area = fields.Integer()
garden_orientation = fields.Selection([
('north', 'North'),
('south', 'South'),
('east', 'East'),
('west', 'West'),
])

2 changes: 2 additions & 0 deletions estate/security/ir.model.access.csv
Original file line number Diff line number Diff line change
@@ -0,0 +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,base.group_user,1,1,1,1