Skip to content

[ADD] real_estate,* : complete real estate module and inherit the estate account #838

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 10 commits into
base: 18.0
Choose a base branch
from

Conversation

prbo-odoo
Copy link

@prbo-odoo prbo-odoo commented Jul 9, 2025

*= estate_account

This pull request includes set up of real_eastate module. Included relational fields for offers, property types, tags and properties. Such as accepting/rejecting offers, constraint checking and support for various property states ( new, sold, canceled) was added to simulate in the module. Applied access controls so that only specific users can view or change certain data. Also created custom views like List, Form and Search so users can easily interact with the system. Invoices are automatically created when a property is sold, by connecting this module with the estate_account module.

@robodoo
Copy link

robodoo commented Jul 9, 2025

Pull request status dashboard

@prbo-odoo prbo-odoo force-pushed the 18.0-training-prbo branch 10 times, most recently from f4fbabf to c63782b Compare July 9, 2025 08:57
@prbo-odoo prbo-odoo marked this pull request as draft July 9, 2025 08:59
Copy link

@maad-odoo maad-odoo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

First pass ......🚀

The PR message is not appropriate and it need adaptation.
Also there are a lot of unnecessary lines left for no reason, please adapt it.

@prbo-odoo prbo-odoo changed the title 18.0 training prbo [ADD] real_estate,* : Full Implementation with ORM, Access Control and Accounting Integration Jul 11, 2025
@prbo-odoo prbo-odoo force-pushed the 18.0-training-prbo branch 12 times, most recently from defa40a to 71c6f3b Compare July 16, 2025 09:25
- Reviewed Odoo server architecture and understood how addons and modules are
structured
- Created a new Odoo app and added app details in the manifest — now
 visible on the dashboard
- Defined a basic model with fields, installed the module and tested it through
the UI
…r the model

- Defined security access rules to control user permissions for viewing,
creating and editing model records.
- Added a menu item and corresponding action in the UI to enable easy navigation
 to the model.
- Defined basic list and form views for visualizing and managing records within
 the Odoo interface.
 Implemented an onchange method. Added action buttons to mark a property as
 Cancelled or Sold, with validation to prevent switching between these states.
 Created Accept and Refuse buttons for property offers, where accepting an offer
 sets the buyer (using a many2one relation with res.partner) and the selling
 price on the property. Also added a check to ensure only one offer can be
 accepted per property.
…operty models

- Added inline list view of properties inside the Property Type form with
 limited fields for quick reference.
- Implemented statusbar widget on the property form to visually indicate state
 changes.
- Introduced default and manual record ordering using '_order' and 'sequence'
 fields.
- Used handle widget for drag-and-drop ordering of property types and also added
 search filter
…rnal module

- Extended  model using inheritance to add accounting-specific fields.
- Integrated features from another external module to show how models from
  different modules can work together.
- update the user interface by adding custom fields with filters.
- created new module (estate_account) to view the generated invoices.
- Improved variable naming and removed unused code.
- Updated security rules and access rights.
- Refactored code structure.
- Applied record rules and security groups to restrict user access based on
  roles.
- Users can only view or modify records they are permitted to.
- Defined initial data (user roles, property types, permissions) for consistent
  module setup.
@prbo-odoo prbo-odoo force-pushed the 18.0-training-prbo branch from 71c6f3b to e6b30d7 Compare July 16, 2025 09:30
@prbo-odoo prbo-odoo changed the title [ADD] real_estate,* : Full Implementation with ORM, Access Control and Accounting Integration [ADD] real_estate,* : complete real estate module and inherit the estate account Jul 16, 2025
@prbo-odoo prbo-odoo force-pushed the 18.0-training-prbo branch from e6b30d7 to 19f87ad Compare July 16, 2025 09:57
- Implemented custom QWeb PDF reports for real estate properties and offers.
- extract offers table into reusable sub-template.
- inherit and extend property report to include invoice info for sold properties.
- update report styling and layout formatting from wkhtmltopdf package.
@prbo-odoo prbo-odoo force-pushed the 18.0-training-prbo branch 3 times, most recently from 919f6ba to c8a1ab4 Compare July 16, 2025 12:18
…oggle

- Prevented new offers from being submitted on properties that are already sold.
- Fixed the garden toggle so that when it’s unchecked, related fields like area
  and orientation are cleared.
- Added test cases to verify offer restrictions and garden field behavior.
@prbo-odoo prbo-odoo force-pushed the 18.0-training-prbo branch from c8a1ab4 to 76bab01 Compare July 16, 2025 12:19
*= awesome_dashboard

- Implemented Owl components: counter, card with props validation and todo list.
- Developed a complete Todo List application(add, remove, mark as completed).
- Adhered to proper folder structure.
- Built awesome_dashboard
- Fetched and displayed stats via RPC (/statistics route)
- Added PieChart with lazy-loaded Chart.js
@prbo-odoo prbo-odoo force-pushed the 18.0-training-prbo branch from 5c158c4 to 277a26a Compare July 18, 2025 12:48
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.

3 participants