From 3494f5d21108d1fb56f6c9f541f1ba0ba2c56c3b Mon Sep 17 00:00:00 2001 From: shadi-odoo Date: Fri, 3 Jul 2026 16:10:25 +0530 Subject: [PATCH 1/3] [ADD] estate: add new module Provide the required manifest metadata so the module can be recognized and installed correctly by Odoo. The metadata also ensures the module is properly categorized and ready for future development. --- estate/__init__.py | 0 estate/__manifest__.py | 6 ++++++ 2 files changed, 6 insertions(+) create mode 100644 estate/__init__.py create mode 100644 estate/__manifest__.py diff --git a/estate/__init__.py b/estate/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/estate/__manifest__.py b/estate/__manifest__.py new file mode 100644 index 00000000000..8a02e81f661 --- /dev/null +++ b/estate/__manifest__.py @@ -0,0 +1,6 @@ +{ + "name":"Real Estate", + "author":"Disha Shah(SHADI)", + "description":"""Training module for real estate""", + "category":"tutorials" +} \ No newline at end of file From f22996195e04033f790876ec2f4392eb1a578b03 Mon Sep 17 00:00:00 2001 From: shadi-odoo Date: Fri, 3 Jul 2026 16:32:08 +0530 Subject: [PATCH 2/3] [ADD] estate: add manifest configuration Add the remaining manifest metadata required for the module. Include the module version, base dependency, and application settings so the module can be installed and recognized as an Odoo application. --- estate/__manifest__.py | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/estate/__manifest__.py b/estate/__manifest__.py index 8a02e81f661..3caededdec8 100644 --- a/estate/__manifest__.py +++ b/estate/__manifest__.py @@ -1,6 +1,11 @@ { - "name":"Real Estate", - "author":"Disha Shah(SHADI)", - "description":"""Training module for real estate""", - "category":"tutorials" -} \ No newline at end of file + 'name':'Real Estate', + 'version':'1.0', + 'category':'tutorials', + 'depends':['base'], + 'installable':True, + 'application':True, + 'author':'Disha Shah(SHADI)', + 'description':"""Training module for real estate""", + 'license':'LPGL-3', +} From cce83584d36e912b883abe37ded505f67dc84b50 Mon Sep 17 00:00:00 2001 From: shadi-odoo Date: Mon, 6 Jul 2026 18:04:42 +0530 Subject: [PATCH 3/3] [IMP] estate: add estate property model Introduce the property model to allow the Estate module to store and manage information about real estate properties. The model defines the essential details of a property, such as its name, description, expected and selling prices, availability, living space, and additional features like a garage or garden. This provides the core data structure required for property management within the module. task-completed chapter 3 --- estate/__init__.py | 1 + estate/__manifest__.py | 18 +++++++++--------- estate/models/__init__.py | 1 + estate/models/estate_property.py | 19 +++++++++++++++++++ 4 files changed, 30 insertions(+), 9 deletions(-) create mode 100644 estate/models/__init__.py create mode 100644 estate/models/estate_property.py diff --git a/estate/__init__.py b/estate/__init__.py index e69de29bb2d..0650744f6bc 100644 --- a/estate/__init__.py +++ b/estate/__init__.py @@ -0,0 +1 @@ +from . import models diff --git a/estate/__manifest__.py b/estate/__manifest__.py index 3caededdec8..afdb82e0ccd 100644 --- a/estate/__manifest__.py +++ b/estate/__manifest__.py @@ -1,11 +1,11 @@ { - 'name':'Real Estate', - 'version':'1.0', - 'category':'tutorials', - 'depends':['base'], - 'installable':True, - 'application':True, - 'author':'Disha Shah(SHADI)', - 'description':"""Training module for real estate""", - 'license':'LPGL-3', + 'name': 'Real Estate', + 'version': '1.0', + 'category': 'tutorials', + 'depends': ['base'], + 'installable': True, + 'application': True, + 'author': 'Disha Shah(SHADI)', + 'description': """Training module for real estate""", + 'license': 'LGPL-3', } diff --git a/estate/models/__init__.py b/estate/models/__init__.py new file mode 100644 index 00000000000..5e1963c9d2f --- /dev/null +++ b/estate/models/__init__.py @@ -0,0 +1 @@ +from . import estate_property diff --git a/estate/models/estate_property.py b/estate/models/estate_property.py new file mode 100644 index 00000000000..d74273974ff --- /dev/null +++ b/estate/models/estate_property.py @@ -0,0 +1,19 @@ +from odoo import fields, models + + +class EstateProperties(models.Model): + _name = "estate.property" + _description = "Real Estate Properties" + 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() + facades = fields.Integer() + garage = fields.Boolean() + garden = fields.Boolean() + garden_area = fields.Integer() + garden_orientation = fields.Selection(selection=[('north', 'North'), ('south', 'South'), ('east', 'East'), ('west', 'West')])