-
Notifications
You must be signed in to change notification settings - Fork 2.3k
[ADD] estate_gasa,*: Implemented Real Estate with Accounting using Account Module #843
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
gasa-odoo
wants to merge
9
commits into
odoo:18.0
Choose a base branch
from
odoo-dev:18.0-training-gasa
base: 18.0
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
+817
−0
Conversation
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
From this Tutorial We learn How to create our application in odoo. In this Tutorial we create manifest.py file where stored app name and we define version, and also create init.py file where import will be stored. When we create our app then it will show in apps module in odoo localhost server. from apps we can download the app which we create. Active developer mode is must be required.
In this chapter,first we add security access rules for the basic model to manage user permissions. next we learn to give UI to our Application which we create in our first tutorial. we add some basic views and and form in our application, also we add custmize search in model.
In this tutorial we add four new models and create four-five pages like properties, tags, property type and so on.. also we learn how to manage UI for buttons and how to implement conditions using if-else statement. At the end we learn : How to implement business logic with condition checks and method decorators. How to create custom models and link them via relations (Many2one, One2many, Many2many).
…ty models In this tutorial we learn constrain and How to add sprinkles Constraints: This update adds SQL constraints for unique names on property types and tags, and a valid range check for color index. Python constraints enforce key business rules. UI Enhancements: This update introduces a computed field on property types and adds a stat button to view related offers using a domain filter. Form views are enhanced with notebooks and inline editing to improve user experience, and the navigation menu is updated to include access to property type and tag settings.
In this tutorial, we learn how to link two different modules, Python inheritance and view extensions in Odoo. It included customizing CRUD behavior (e.g., preventing deletion of non-new/cancelled properties) and adding fields to existing models like res.users, displaying them in views using XML xpath focuses on creating a link module named estate_account that depends on the estate and account modules. This module adds the functionality to automatically generate an invoice when a property is marked as ‘Sold’.
in this tutorial i get the error which related to odoo formate, like no space, extra blank space, also include unused files imported. I remove this types of errors from files...
in this tutorial I get error related to space so i fix that error.
f30155d
to
bd51e15
Compare
In this tutorial, Renamed model and view files to follow standard Odoo naming (<main_model>.py, <model>_views.xml, etc.). Updated class names to use CamelCase as per convention. Adjusted method names to match Odoo patterns e.g., _compute_, _check_, action_). Ensured XML IDs and view names follow Odoo's structured naming scheme. Cleaned up import orders and variable names for readability and consistency.
bd51e15
to
baf7908
Compare
maad-odoo
reviewed
Jul 10, 2025
maad-odoo
reviewed
Jul 10, 2025
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
First pass ... 🚀 ,
This diff contains a lot of unwanted space /lines which is not required.
Please remove it.
Also, the PR title is not appropriate.
This tutorial helped implement strong security in the Real Estate module. We learned to restrict access using user groups, access rights, and record rules. Real estate agents can only manage their own properties, not others’. Invoices can be created safely by bypassing access with proper checks. Multi-company rules and visibility settings improve data privacy and user experience. This tutorial explained how to define and load different types of data in an Odoo module. We learned the difference between master data (essential for the module to work) and demo data (useful for testing and demonstration). Data can be added using CSV for simple entries and XML for more complex or dynamic records. We used eval, ref, search, and function to assign computed values, link existing records, and run logic on data load. We also learned to use X2many fields, how to extend data, and how to securely access and reference records programmatically.
63322ee
to
e93d96c
Compare
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.
*=estate_account
This pull request includes the development of two connected modules: Real Estate and Estate Account.
The Real Estate module allows creating properties with types, tags, buyers, sellers, and offers. Business logic is added to accept or reject offers, ensure valid selling conditions, and manage property states like sold or cancelled.
The Real Estate module handles properties, property types, tags, buyers, and sellers. in this ,It includes functionality to create and manage offers with price validations and deadlines. which can be accepted and rejected. property has expected price which should be less than or equal to offer price. Business rules ensure that only properties with accepted offers (meeting the expected price) can be marked as sold, and once sold, a property can't be cancelled—and vice versa. Another I have also create new module name Estate account which contain the invoices of those property which has been sold. I linked two modules for creating invoices. Account module is linked to Real Estate to automatically generate invoices when a property is sold.
From All of this I learned how to structure custom modules and Understood and applied inheritance and business logic constraints in models and views, and define views in XML, Learned to link two modules together using dependencies.