Skip to content
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

[ADD] estate: added new real estate module #108

Closed
wants to merge 19 commits into from

Commits on Aug 1, 2024

  1. [ADD] estate: added new real estate module

    Creating new module:
    -model: estate.property with fields such as name bedrooms,living_area,facades,state
    -views: Tree and Form views of estate properties.
    -security: Access Right define in ir.model.access.csv file.
    krku-odoo committed Aug 1, 2024
    Configuration menu
    Copy the full SHA
    4e7a1d6 View commit details
    Browse the repository at this point in the history

Commits on Aug 7, 2024

  1. Configuration menu
    Copy the full SHA
    bf62bdf View commit details
    Browse the repository at this point in the history
  2. [ADD] estate: Created new models for property type, tags and offers

    The new module includes :
    -Includes relationship between model
    -Creating many_to_one relations in estate.property.type model
    -Creating many_to_many relations in estate.property.tag model
    -Creating one_to many relations in estate.property.offer model
    krku-odoo committed Aug 7, 2024
    Configuration menu
    Copy the full SHA
    f855aea View commit details
    Browse the repository at this point in the history
  3. [ADD] estate: Created Action and Constraints

    Button & Action
    -Creating two button cancelled and sold
    -Initialize action for  both the buttons
    -Added functionality cancelled property can not be sold and and sold property
    can not be cancelled
    -Created two button for offer accepted and refused through the icon and added
    functionality on it, if click on refused icon then my offer status is refused
    and click on accepted icon status will accepted.
    End here chapter 9
    
    Sql constraints & Python constrains
    -Added functionality for expected price,offer price and selling price must be
    positive and property_tag_name and property_type_name must be unique
    through the _sql_constraints and using of unique keyword
    -Add a constraint so that the selling price cannot be lower than 90% of the
    expected price using of python_constrains and showing error using of
    ValidationError .
    krku-odoo committed Aug 7, 2024
    Configuration menu
    Copy the full SHA
    f0ae4ec View commit details
    Browse the repository at this point in the history

Commits on Aug 12, 2024

  1. [ADD] estate: Add The Sprinkles

    -Add the property type form view and showing all the property of this type
    -Using of widgets creating statusbar to display state of the property
    -Creating a record to view "estate.property" to Descending ID
    -Creating a record to view "estate.property.offer" to Descending price
    -Add the sequence
    -Creating conditional display of buttons and fields
    -Add tag colors
    -Creating garden_area and orientation invisible
    -Adding colour to accept and refuse button
    -Creating offer is readonly when offer in sold,accept,cancel state
    -Create the estate.property.offer and estate.property.tag list views editable.
    -Create  the field date_availability on the estate.property list view optional
    and hidden by default.
    -Adding available filter by-default
    -Add a filter_domain to the living area to include properties with an area equal
    to or greater than the given value.
    -Add state button for property type offer
    krku-odoo committed Aug 12, 2024
    Configuration menu
    Copy the full SHA
    947622a View commit details
    Browse the repository at this point in the history

Commits on Aug 13, 2024

  1. [ADD] estate: Added inheritance to extend the functionality of curren…

    …t model
    
    Add business logic and view inheritance for real estate module
    
    - Prevent deletion of properties not in 'New' or 'Canceled' state using
    `ondelete`.
    - Set property state to 'Offer Received' on
     offer creation and prevent creating offers with lower amounts than existing
    ones.
    - Add `property_ids` field to `res.users` model to list salesperson’s available
     properties.
    - Extend `base.view_users_form` to display `property_ids` in a new notebook
    page.
    krku-odoo committed Aug 13, 2024
    Configuration menu
    Copy the full SHA
    5e7c24a View commit details
    Browse the repository at this point in the history
  2. [ADD] estate: Added Interact With Other Modules

    feat(estate_account): Implement invoice creation on property sale
    
    - Created `estate_account` module, dependent on `estate` and `account` modules.
    - Added logic in `estate.property` model to generate a customer invoice when a
    property is marked as 'Sold'.
    - The invoice includes:
      - A line charging 6% of the property's selling price.
      - A line charging an additional .00 as administrative fees.
    Completed chapter till Chapter-13
    krku-odoo committed Aug 13, 2024
    Configuration menu
    Copy the full SHA
    250a74b View commit details
    Browse the repository at this point in the history

Commits on Aug 14, 2024

  1. [ADD] estate: Added Kanban View

    Add minimal Kanban view for properties in real estate module
    
    - Created a basic Kanban view displaying property names.
    - Improved the view to conditionally show 'best price' and 'selling price' based
    on offer status.
    - Added fields: expected price, best price, selling price, and tags.
    - Grouped properties by type by default and disabled drag-and-drop functionality.
    krku-odoo committed Aug 14, 2024
    Configuration menu
    Copy the full SHA
    0e9c0c0 View commit details
    Browse the repository at this point in the history

Commits on Aug 20, 2024

  1. [IMP] estate: Add standard property types and demo data

    - Added master data for standard Real Estate Property Types: Residential,
    Commercial, Industrial, and Land.
    - Added demo data for the estate module, including properties like Big Villa
    and Trailer Home
    - Created demo data for offers linked to demo properties using existing
    partners.
    - Ensured that demo properties have their Property Type set to Residential.
    - Added date handling for demo offers to be relative to the module installation
    date.
    - Utilized `Command` methods to create offers directly within the One2many field
    of a new property.
    - Implemented data extension examples for XML-based record updates.
    krku-odoo committed Aug 20, 2024
    Configuration menu
    Copy the full SHA
    8e13d18 View commit details
    Browse the repository at this point in the history

Commits on Aug 21, 2024

  1. [ADD] estate: Added PDF Reports to the estate module

    - Implemented a property offers PDF report using QWeb templates.
    - Created `estate_property_templates.xml` to define the report template for
    displaying property offers.
    - Added `estate_property_reports.xml` for the ir.actions.report to include the
    report in the module's business logic.
    - Enhanced the report by adding logic to conditionally handle cases with no
    offers using `t-if` and `t-else`.
    - Introduced a sub-template to separate the table portion of the offers,
    promoting code reuse.
    - Created a new report for `res.users` to list all the Real Estate Properties
    for a salesperson, including property offers.
    - Extended the property report in the `estate_account` module to include invoice
     information for sold properties using QWeb inheritance.
    
    Files Added:
    - `estate/report/estate_property_templates.xml`
    - `estate/report/estate_property_reports.xml`
    - Updated `__manifest__.py` to include the new report files in the module's data
    list.
    krku-odoo committed Aug 21, 2024
    Configuration menu
    Copy the full SHA
    d811ef0 View commit details
    Browse the repository at this point in the history

Commits on Aug 29, 2024

  1. [IMP] estate: wizard,controllers,security

    *Add 'Properties' menu to list available properties with images and
    pagination on website  using of controller.
    
    - Created a 'Properties' menu on the website to display available properties in
     a grid.
    - Added image support for properties and displayed them on the front end.
    - Implemented pagination to display a maximum of 6 properties per page.
    - Created a dedicated, responsive property detail page using Bootstrap.
    
    *Add 'Add Offer' wizard to Real Estate module for bulk offer creation
    
    - Added 'Add Offer' button to the estate property tree view header.
    - Implemented wizard for selecting multiple properties to make an offer.
    - Wizard includes fields for price, validity, and buyer details.
    - Added 'Make an Offer' and 'Cancel' buttons to handle business logic and
    cancellation.
    
    *Implement security restrictions for Real Estate module
    
    - Created security.xml file to define security groups and access rights.
    - Added Real Estate Agent and Manager groups with appropriate access levels.
    - Set access rights: full access for Managers, limited access for Agents, and r
    estricted access for non-agents.
    - Defined record rules to restrict access to properties based on the agent
    assigned.
    - Implemented bypass for invoice creation security checks in estate_account
     module using `sudo()`.
    - Added company-based record rules for multi-company security management.
    - Restricted Settings menu visibility to Managers only.
    krku-odoo committed Aug 29, 2024
    Configuration menu
    Copy the full SHA
    3c09613 View commit details
    Browse the repository at this point in the history

Commits on Sep 4, 2024

  1. [ADD] dental: Created a new module

    - Created different models for this: dental.patients, dental.allergies,
      dental.habits, dental.chronic.condition, dental.medical.aids,
      dental.medication
    - Created appropriate views file for all of the models
    - Added security file: ir.model.access.csv
    krku-odoo committed Sep 4, 2024
    Configuration menu
    Copy the full SHA
    453d964 View commit details
    Browse the repository at this point in the history

Commits on Sep 5, 2024

  1. [IMP] dental: Add dental module with invoicing functionality

    - ADD the invoice
    - Visible on Website
    - Create form view for patient
    -Create customer history
    krku-odoo committed Sep 5, 2024
    Configuration menu
    Copy the full SHA
    0937960 View commit details
    Browse the repository at this point in the history

Commits on Sep 6, 2024

  1. [IMP] dental: Add controller

    -Create Controller
    -Show the the list of patient
    -Redirect medical aid and personal and medical history to the  form view of these
    krku-odoo committed Sep 6, 2024
    Configuration menu
    Copy the full SHA
    44a3499 View commit details
    Browse the repository at this point in the history

Commits on Sep 10, 2024

  1. [IMP] dental: Add breadcrumb and create form view template

    -Create breadcrumb to all the route
    -Create form view for Medical Aid and Personal
    -Create list view for Medical History and  Dental History
    -Create form view of each Dental History
    krku-odoo committed Sep 10, 2024
    Configuration menu
    Copy the full SHA
    550b9d0 View commit details
    Browse the repository at this point in the history

Commits on Sep 20, 2024

  1. [ADD] installment: Add Installment for sale order.

     Create Installment For sales Order
    -create setting for installment
    -create a button add emi to inherit sale order form view
    -creating product to sale order down payment and installment
    - show the wizard to all fields and calculate all value according to installment
    -create invoice for penalty with installment amount using cron
    -create document for installment and generate file request for sales.order
    krku-odoo committed Sep 20, 2024
    Configuration menu
    Copy the full SHA
    92478f7 View commit details
    Browse the repository at this point in the history

Commits on Sep 26, 2024

  1. [ADD] warranty: Add waranty feature for sale order

    -Created new model waranty feture for sale order
    -Create delete functionality for sale.order.line
    -Create wizard for show to product which is sale.order.line and show the year
     end_date
    krku-odoo committed Sep 26, 2024
    Configuration menu
    Copy the full SHA
    456c8ed View commit details
    Browse the repository at this point in the history
  2. [IMP] warranty: Add warranty fetures.

    - Introduced warranty management in the Sales Order (SO) process.
    - Updated system to handle warranty details for products.
    - Enhanced customer communication for warranty information.
    - Added flow for tracking warranty terms post-sale.
    krku-odoo committed Sep 26, 2024
    Configuration menu
    Copy the full SHA
    335e94c View commit details
    Browse the repository at this point in the history

Commits on Sep 27, 2024

  1. [ADD] warranty: Add warranty end_date in invoice report create

    -Create end date create in report
    krku-odoo committed Sep 27, 2024
    Configuration menu
    Copy the full SHA
    6057707 View commit details
    Browse the repository at this point in the history