Skip to content
Draft
Show file tree
Hide file tree
Changes from 4 commits
Commits
Show all changes
23 commits
Select commit Hold shift + click to select a range
8c49ccd
[ADD] Estate: Finished Chapters 2-3
sumai-odoo Mar 10, 2026
97ba15a
[ADD] Estate: Finished Chapters 4
sumai-odoo Mar 11, 2026
1fe4ef9
[IMP] Estate: Chapter 5 - Ongoing
sumai-odoo Mar 12, 2026
fe44d9a
[IMP] Estate: Chapter 5 - Completed
sumai-odoo Mar 13, 2026
8ae1a0b
[IMP] Estate: Chapter 6- Ongoing
sumai-odoo Mar 16, 2026
dcf4d0c
[IMP] Estate: Chapter 6- Completed
sumai-odoo Mar 17, 2026
49cfdfc
[IMP] Estate: Chapter 7- Started
sumai-odoo Mar 18, 2026
49c7c2d
[IMP] Estate: Chapter 7- Ongoing
sumai-odoo Mar 19, 2026
9b534dd
[IMP] Estate: Chapter 7- Completed
sumai-odoo Mar 20, 2026
07fb5f4
[IMP] Estate: Chapter 8- Started
sumai-odoo Mar 30, 2026
662d410
[IMP] Estate: Chapter 8- Ongoing
sumai-odoo Mar 31, 2026
2d3ad0b
[IMP] Estate: Chapter 8- Completed
sumai-odoo Apr 3, 2026
842fea9
[IMP] Estate: Chapter 9- Started
sumai-odoo Apr 3, 2026
b054b28
[IMP] Estate: Chapter 9- completed
sumai-odoo Apr 6, 2026
8010efa
[IMP] Estate: Chapter 10- completed
sumai-odoo Apr 9, 2026
080557b
[FIX] Estate:Applied changes as per requested
sumai-odoo Apr 15, 2026
ace5981
[IMP] Estate: Visiting Task
sumai-odoo Apr 15, 2026
2ba007b
[IMP] Estate: Completed Chapter 12
sumai-odoo Apr 17, 2026
5045e70
[IMP] Estate: Property Issue Task
sumai-odoo Apr 17, 2026
dd19991
[ADD] Estate Account Module
sumai-odoo Apr 17, 2026
9ab5933
[ADD] Estate: Chapter 14 & 15 Completed
sumai-odoo Apr 20, 2026
3f604b4
[ADD] Estate: Code Cleanup
sumai-odoo Apr 27, 2026
398795c
[ADD] awesome_owl: Completed Chapter 1
sumai-odoo May 1, 2026
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
23 changes: 23 additions & 0 deletions estate/__manifest__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
{
'name': 'Real Estate',
'summary': 'Manage real estate properties and offers',
'description': "This module allows managing property advertisements,including property details, offers, and related data.",
'author': 'Sudarshan Maity (sumai)',
'website': '',
'category': 'Real Estate',
'version': '1.0',
'license': 'LGPL-3',

'depends': [
Comment thread
sumai-odoo marked this conversation as resolved.
'base',
],

'data': [
'security/ir.model.access.csv',
'views/estate_property_views.xml',
'views/estate_menus.xml',
],

'installable': True,
Comment thread
sumai-odoo marked this conversation as resolved.
'application': 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
51 changes: 51 additions & 0 deletions estate/models/estate_property.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
from datetime import timedelta

from odoo import models, fields


class EstateProperty(models.Model):
Comment thread
sumai-odoo marked this conversation as resolved.
_name = "estate.property"
Comment thread
sumai-odoo marked this conversation as resolved.
Outdated
_description = "Real Estate Property"

name = fields.Char(string="Title", required=True)
description = fields.Text(string="Description")
postcode = fields.Char(string="Postcode")
Comment thread
sumai-odoo marked this conversation as resolved.
Outdated
date_availability = fields.Date(string="Available From", copy=False, default=lambda self: fields.Date.today() + timedelta(days=90))
expected_price = fields.Float(string="Expected Price", required=True)
selling_price = fields.Float(string="Selling Price", readonly=True, copy=False)
bedrooms = fields.Integer(string="Bedrooms", default=2)
living_area = fields.Integer(string="Living Area (sqm)")
facades = fields.Integer(string="Facades")
garage = fields.Boolean(string="Garage")
garden = fields.Boolean(string="Garden")
Comment thread
sumai-odoo marked this conversation as resolved.
Outdated
garden_area = fields.Integer(string="Garden Area (sqm)")
garden_orientation = fields.Selection(
[
('north', "North"),
('south', "South"),
('east', "East"),
('west', "West"),
],
string="Garden Orientation"
)
active = fields.Boolean(string="is Active", default=True)
state = fields.Selection(
[
('new', "New"),
('offer_received', "Offer Received"),
('offer_accepted', "Offer Accepted"),
('sold', "Sold"),
('cancelled', "Cancelled")
],
string="Status", required=True, copy=False, default="new")
Comment thread
sumai-odoo marked this conversation as resolved.
Outdated
swimming_pool = fields.Boolean(string="Swimming Pool") # extra fields
property_type = fields.Selection(
[
('house', "House"),
('apartment', "Apartment"),
('villa', "Villa"),
('land', "Land")
],
string="Property Type"
)
Comment thread
sumai-odoo marked this conversation as resolved.
Outdated
property_age = fields.Integer(string="Property Age")
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
24 changes: 24 additions & 0 deletions estate/views/estate_menus.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
<odoo>

<!-- Root Menu -->
<menuitem
id="menu_real_estate_root"
name="Real Estate"
sequence="1"/>

<!-- First Level Menu -->
<menuitem
id="menu_real_estate_advertisements"
name="Advertisements"
parent="menu_real_estate_root"
sequence="1"/>
Comment thread
sumai-odoo marked this conversation as resolved.

<!-- Second Level Menu -->
<menuitem
id="menu_real_estate_properties"
name="Properties"
parent="menu_real_estate_advertisements"
action="action_estate_property"
sequence="1"/>

</odoo>
9 changes: 9 additions & 0 deletions estate/views/estate_property_views.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
<odoo>

<record id="action_estate_property" model="ir.actions.act_window">
<field name="name">Properties</field>
<field name="res_model">estate.property</field>
<field name="view_mode">kanban,list,form</field>
</record>

</odoo>