19.0 tutorials amtha - #1376
Draft
amtha-odoo wants to merge 19 commits into
Draft
Conversation
amtha-odoo
commented
Jul 29, 2026
- 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
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
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
