Skip to content

18.0 training kums #847

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
wants to merge 7 commits into
base: 18.0
Choose a base branch
from
Draft

Conversation

kums-odoo
Copy link

This PR adds demo data to the estate module as per the Odoo Estate tutorial.

Features:

-Estate module initialization and configuration
-Property model definition with key fields
-Basic list and form views
-Menu and action setup for navigation
-Implemented Inheritance

kums-odoo added 5 commits July 2, 2025 19:03
Created new 'estate' module.
Added base model 'estate.property' with fields mentioned in exercise.
Set up module structure.
Set 'name' and 'expected_price' as required fields.
This commit introduces the initial version of the estate module as part of the Odoo 18 developer tutorial. The module includes basic models, access rights, security rules, and simple form and tree views for managing real estate properties.
The purpose of this change is to set up a foundational structure for the module. It follows the official tutorial steps to demonstrate Odoo’s ORM, security mechanisms, and view definitions. Adding proper access control ensures that only authorized users can interact with the module. The initial UI provides the groundwork for extending functionality later.
This is part of a learning exercise to understand Odoo’s server framework and how to implement a feature-rich module following best practices.
-Created new models for property offers,tags and types.
-Defined relation between these data models for accessing data across the model.
-Created new views for property types,property tags.
-Defined action on button click , created computed fields .
Added SQL constraints to ensure:
Property expected price is strictly positive,
Property selling price is positive,
Offer price is strictly positive,
Property tag name and property type name are unique,
,

Added Python constraint to prevent selling price from being set below 90% of expected price,

Changes in UI:
Added inline list view for properties on property type form,
Used statusbar widget for property state display,
Defined default ordering for models and enabled manual ordering for property types via sequence field,
Applied widget options to restrict creation/editing of property types from property form
Added model and view inheritance for extending existing functionality.,
Implemented interaction with external modules using dependencies.,
Updated estate module to demonstrate cross-module field access and method calls.
@robodoo
Copy link

robodoo commented Jul 9, 2025

Pull request status dashboard

kums-odoo added 2 commits July 9, 2025 17:15
- Cleaned up code to meet linting and CI style standards.
Implemented cross-module field access and method calls to demonstrate interaction with other modules.,
Cleaned codebase to fix linter errors and improve readability.
@kums-odoo kums-odoo force-pushed the 18.0-training-kums branch from bc7078f to 9aa35ca Compare July 10, 2025 06:10
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