Skip to content

19.0 tutorials amtha - #1376

Draft
amtha-odoo wants to merge 19 commits into
odoo:19.0from
odoo-dev:19.0-tutorials-amtha
Draft

19.0 tutorials amtha#1376
amtha-odoo wants to merge 19 commits into
odoo:19.0from
odoo-dev:19.0-tutorials-amtha

Conversation

@amtha-odoo

Copy link
Copy Markdown
  • Created Estate module and models
  • Added list, form, and search views
  • Configured menus, actions, and security
  • Implemented model relationships (Many2one, One2many, Many2many)
  • Added computed fields, inverse methods, and onchange logic
  • Implemented property and offer business actions (Sold, Cancel, Accept, Refuse)
  • Added validations and state management
  • Updated property buyer and selling price on offer acceptance

amtha-odoo added 17 commits July 2, 2026 18:11
Add the basic structure for the estate module as part of the Odoo Server Framework 101 training.
Introduce the initial user interface for the estate module by defining the
window action and menu hierarchy required to access property records from the
Odoo web client.

This change makes the estate.property model accessible through the application,
providing the foundation for interacting with records using the default list
and form views before introducing custom views in later chapters.

The property model is also improved by configuring field attributes and
defaults. Read-only and copy behaviors are defined for system-managed fields,
default values are added to reduce manual data entry, and the reserved active
and state fields are introduced to support record archiving and future
workflow-related features.
Introduce the initial user interface for the estate module by defining the
window action and menu hierarchy required to access property records from the
Odoo web client.

This change makes the estate.property model accessible through the application,
providing the foundation for interacting with records using the default list
and form views before introducing custom views in later chapters.

The property model is also improved by configuring field attributes and
defaults. Read-only and copy behaviors are defined for system-managed fields,
default values are added to reduce manual data entry, and the reserved active
and state fields are introduced to support record archiving and future
workflow-related features.
Replace the automatically generated views with custom list and form views
to provide a clearer and more user-friendly interface for managing estate
properties.

The custom views organize the property information into logical groups,
making property creation and editing easier while exposing the most
important fields directly from the list view.

This change prepares the module for future UI enhancements such as custom
search views, buttons and advanced form layouts introduced in later
chapters.
-compute the total-area of the property
-compute the best-price of the property using private methods
-compute the deadline from create_date and validity
-implement an inverse method to update validity from the deadline
-handle record creation by providing a fallback when create_date is not yet available
-display the new fields in the offer tree and form views
@amtha-odoo
amtha-odoo requested a review from mash-odoo July 29, 2026 07:16
@robodoo

robodoo commented Jul 29, 2026

Copy link
Copy Markdown

Pull request status dashboard

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants