Skip to content

[ADD] real_estate: create two module real estate and account #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

Open
wants to merge 8 commits into
base: 18.0
Choose a base branch
from

Conversation

gasa-odoo
Copy link

Previous we create application named Real estate. in this module we add offer, tag and type model and properties where show all properties which is created by user. also we add form to the property section and we create list or form view and use widget for status.
Also we implement CRUD logic for the tutorial purpose and we learn to create how to create invoices.
next we learn to link one module to another module and when we sold the property that will create invoice which show in second application which we linked.

gasa-odoo added 7 commits July 3, 2025 12:44
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.
@robodoo
Copy link

robodoo commented Jul 9, 2025

Pull request status dashboard

@gasa-odoo gasa-odoo marked this pull request as ready for review July 9, 2025 09:29
@gasa-odoo gasa-odoo force-pushed the 18.0-training-gasa branch 2 times, most recently from f30155d to bd51e15 Compare July 10, 2025 05:26
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.
@gasa-odoo gasa-odoo force-pushed the 18.0-training-gasa branch from bd51e15 to baf7908 Compare July 10, 2025 05:30
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