-
Notifications
You must be signed in to change notification settings - Fork 2.3k
[ADD] real_estate: add complete real estate management module #839
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
base: 18.0
Are you sure you want to change the base?
Conversation
Created the initial file architecture for the real_estate module, including the necessary directories and manifest file. Implemented the estate.property model using Odoo ORM to define the database table structure required for storing property-related data. This commit sets up the foundation for the module, making it ready for further development of features such as property management, views, and business logic.
Added access control rules for the real_estate module to restrict and manage user permissions. Implemented list and form views for the estate.property model, including search functionality. Customized list and form views with additional fields. These enhancements provide the necessary security and user interface elements..
…buttons - Linked models using One2many, Many2one, and Many2many fields - Added computed fields like best_offer and offer_deadline - Implemented onchange methods for dynamic field updates - Created type='object' buttons: • Sold / Cancelled on properties • Accept / Refuse on offers
…ttons - Added inline views, statusbar, widget options - Set SQL & Python constraints for data validity - Defined default ordering for all models - Conditional button visibility & field behaviors - Editable/color-coded list views with decorations - Stat button for offer count on property type
…ration - Enforced business rules for property deletion and offer validation - Linked available properties to users via domain and UI integration - Introduced estate_account as a modular extension for invoicing with commission and fixed administrative charges
ab10458
to
7a4879a
Compare
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 ... 🚀 ,
Not in depth technical review.
- The PR title is not appropriate. The PR title should be describe more about why the
PR is made on the first place. - The diff contains alot of unnecessary diff.
Please adapt this change and do not leave unnecesary diffs 🙏
Thank you 🙂
Contains a lot of unnecessary diff which is not required.
@@ -0,0 +1 @@ | |||
from . import models |
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.
Missing licensing info
Applies throughout the diff
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.
-- coding: utf-8 --
Part of Odoo. See LICENSE file for full copyright and licensing details.
sir do you mean this ?
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.
runbot is failing because of these lines
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.
it will be failing because of encode declaration and not for the licensing part.
you can remove the encoding part and keep the licensing part
64b8a3e
to
5c94fc5
Compare
done!
…On Thu, Jul 10, 2025 at 6:06 PM maad-odoo ***@***.***> wrote:
***@***.**** commented on this pull request.
------------------------------
In estate_account/__init__.py
<#839 (comment)>:
> @@ -0,0 +1 @@
+from . import models
it will be failing because of encode declaration and not for the licensing
part.
you can remove the encoding part and keep the licensing part
—
Reply to this email directly, view it on GitHub
<#839 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/BPDPFYG7ZHG7DOX5TZIR6LL3HZM53AVCNFSM6AAAAACBDEHN7WVHI2DSMVQWIX3LMV43YUDVNRWFEZLROVSXG5CSMV3GSZLXHMZTAMBVGUYDINRVG4>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
- Renamed methods and variables to follow naming conventions - Reviewed and aligned code with Odoo coding standards - Studied and applied key security practices: - Avoided unsafe public methods - Prevented direct SQL and ensured ORM usage - Avoided unsafe attribute access patterns
5c94fc5
to
b02961b
Compare
This branch introduces a complete Real Estate management module to handle
property listings, offers, access control, invoicing, and website integration.
Key Features:
Property Management: Configure and manage estate properties with clean form,
list, and kanban views.
Offer Handling: Enable offer submission with business validations and acceptance
workflows.
Access Control: Define model-level access and permissions for real estate roles.
Website Integration: Display listings and allow users to submit offers online.
Accounting: Seamlessly integrate with invoicing through the
estate_account module
Standards Compliance: Includes test coverage and follows Odoo best practices.
This module offers an end-to-end Real Estate solution within the Odoo ecosystem.