-
Notifications
You must be signed in to change notification settings - Fork 2.2k
[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
gasa-odoo
wants to merge
8
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.
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
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.
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.