Skip to content
Open
Show file tree
Hide file tree
Changes from 3 commits
Commits
Show all changes
24 commits
Select commit Hold shift + click to select a range
df8d524
[ADD] estate: create the app
jugurtha-gaci Oct 20, 2025
b84e916
[ADD] estate: chapter 3
jugurtha-gaci Oct 20, 2025
c3c8c66
[ADD] estate: define access rights (chapter 4)
jugurtha-gaci Oct 20, 2025
223bbb6
[ADD] estate: create the actions and views (chapter 5) && [FIX] fix P…
jugurtha-gaci Oct 21, 2025
c7523f7
[ADD] estate: customize the view (chapter 6)
jugurtha-gaci Oct 21, 2025
094f139
[IMP] estate: Add notes.
Mathilde411 Oct 21, 2025
a9e95fd
[ADD] estate: create relationship tables : offers, tags, types - (cha…
jugurtha-gaci Oct 22, 2025
ed6ba56
[ADD] estate: implement compute, inverse, and onchange methods && [IM…
jugurtha-gaci Oct 22, 2025
7b1a091
[ADD] estate: add actions (chapter 9) && [FIX] estate: fix runbot errors
jugurtha-gaci Oct 22, 2025
21a1729
[FIX] fix runbot errors
jugurtha-gaci Oct 22, 2025
0b46628
[FIX] fix runbot errors
jugurtha-gaci Oct 22, 2025
c8c8d80
[FIX] fix runbot errors
jugurtha-gaci Oct 22, 2025
491c499
[ADD] estate: add constraints (chapter 10)
jugurtha-gaci Oct 22, 2025
e165dc8
[ADD] estate: chapter 11 & 12
jugurtha-gaci Oct 24, 2025
e0ef55f
[IMP] fix runbot errors
jugurtha-gaci Oct 24, 2025
7e1411d
[FIX] fix runbot errors
jugurtha-gaci Oct 24, 2025
02054ed
[FIX] estate: fix runbot errors
jugurtha-gaci Oct 24, 2025
5fc2e02
[ADD] estate: create invoices for sold properties (chapter 13)
jugurtha-gaci Oct 24, 2025
f6db4a4
[IMP] estate: add the kanban view for the estate properties (chapter 14)
jugurtha-gaci Oct 24, 2025
3d7c3b6
[IMP] estate: refactoring
jugurtha-gaci Oct 27, 2025
1e70ae4
[FIX] estate: fix runbot errors
jugurtha-gaci Oct 27, 2025
afa71ba
[FIX] estate: fix runbot errors
jugurtha-gaci Oct 27, 2025
ae39b49
[ADD] awesome_owl: finish all the chapters
jugurtha-gaci Oct 28, 2025
5342ef1
[FIX] awesome_owl: fix toggle state
jugurtha-gaci Oct 28, 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
Empty file added estate/__init__.py
Empty file.
10 changes: 10 additions & 0 deletions estate/__manifest__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
'name': "Estate",
'version': '1.0',
'depends': ['base'],
'author': "GACI Jugurtha (jugac)",
'application': True,
'data': [
'data/ir.model.access.csv'
]
}
2 changes: 2 additions & 0 deletions estate/data/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_user,access.estate.property.user,model_estate_property,base.group_user,1,1,1,1
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 EstateProperty(models.model):
_name = "estate_property"
_description = "Table that stores the estate properties"

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
_description = "Table that stores the estate properties"
_description = "Estate Property"

_description is the human-readable name of the model, not an actual description. It' a misnomer.


name = fields.Char(string="Title", required=True)
description = fields.Text(string="Description")
postcode = fields.Char(string="Postcode")

date_availability = fields.Date(string="Available From")
expected_price = fields.Float(string="Expected price", required=True)
selling_price = fields.Float(string="Selling price")
bedrooms = fields.Integer(string="Bedrooms")
living_area = fields.Integer(string="Living Arez (sqm)")
facades = fields.Integer(string="Facades")
garage = fields.Boolean(string="Garage")
garden = fields.Boolean(string="Garden")
garden_area = fields.Integer()
garden_orientation = fields.Selection(
selection=[
('north', 'North'),
('south', 'South'),
('east', 'East'),
('west', 'West')
]
)