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: initial setup of models, views, and constraints #114

Open
wants to merge 22 commits into
base: 17.0
Choose a base branch
from

Commits on Aug 13, 2024

  1. [ADD] estate: created estate_property

    After this commit:
    -read the file structure
    -created model given in exercise
    -given the access right
    yasp-odoo committed Aug 13, 2024
    Configuration menu
    Copy the full SHA
    87a63a8 View commit details
    Browse the repository at this point in the history
  2. [IMP] estate: added actions, menus, and custom views for estate_property

    After this commit:
    - Added actions and menus to access estate_property model
    - Created custom list, form, and search views
    - Defined default attributes and fields behavior for estate_property model
    yasp-odoo committed Aug 13, 2024
    Configuration menu
    Copy the full SHA
    39a54d9 View commit details
    Browse the repository at this point in the history
  3. [IMP] estate: add buttons to manage property state

    - Added 'Cancel' and 'Sold' buttons to estate.property
    - Added 'Accept' and 'Refuse' buttons to estate.property.offer
    - Ensure business logic updates property state and details
    yasp-odoo committed Aug 13, 2024
    Configuration menu
    Copy the full SHA
    3e3189f View commit details
    Browse the repository at this point in the history
  4. [IMP] estate: add SQL and Python constraints to ensure data consistency

    - Added SQL constraints for positive expected price, selling price, and offer
      price.
    - Enforced unique names for property types and tags using SQL constraints.
    - Implemented a Python constraint to prevent selling price from being lower than
      90% of the expected price.
    yasp-odoo committed Aug 13, 2024
    Configuration menu
    Copy the full SHA
    3fa5a36 View commit details
    Browse the repository at this point in the history
  5. [IMP] estate: enhance UI with conditional displays and inline views

    - Add inline views for property types linked to properties.
    - Implement statusbar widget for property state representation.
    - Set default model ordering for consistent list views.
    - Enable manual ordering for property types using sequence fields.
    - Apply conditional visibility for buttons and fields based on property and
      offer states.
    - Restrict property type creation and editing from the property form view.
    - Introduce color tags for property types and conditional button display.
    yasp-odoo committed Aug 13, 2024
    Configuration menu
    Copy the full SHA
    fa0a041 View commit details
    Browse the repository at this point in the history

Commits on Aug 20, 2024

  1. [IMP] estate: enhance UI with inline views, status bar, and condition…

    …al display
    
    - Implemented inline list view for properties in property types form.
    - Applied statusbar widget to display property state.
    - Set default model ordering for properties, offers, tags, and types.
    - Added manual ordering for property types with sequence field.
    - Implemented conditional display of fields and buttons in property form.
    - Enabled inline editing for offers and tags in list views.
    - Applied decorations to distinguish offers and properties in list views.
    - Updated search view with default 'Available' filter and optimized area search.
    yasp-odoo committed Aug 20, 2024
    Configuration menu
    Copy the full SHA
    51ec85a View commit details
    Browse the repository at this point in the history

Commits on Aug 21, 2024

  1. [IMP] estate: stat button on property type for related offers

    - Implemented `property_type_id` to `estate.property.offer` as a related field.
    - Implemented `offer_ids` and `offer_count` to `estate.property.type` to track
      related offers.
    - Implemented a stat button on `estate.property.type` to view related offers
      with a filtered domain.
    yasp-odoo committed Aug 21, 2024
    Configuration menu
    Copy the full SHA
    a88922e View commit details
    Browse the repository at this point in the history
  2. [IMP] estate: add salesperson's property list to user view

    - Added `property_ids` field to the `res.users` model, showing properties linked
      to the salesperson.
    - Applied a domain on `property_ids` to only list properties that are available
      (not sold or canceled).
    - Extended the user form view to include the `property_ids` field in a new
      notebook page.
    yasp-odoo committed Aug 21, 2024
    Configuration menu
    Copy the full SHA
    7de8e7d View commit details
    Browse the repository at this point in the history

Commits on Aug 22, 2024

  1. [ADD] estate_account: override action_sold to create invoices

    - Created estate_account module to link estate and account modules.
    - In estate_property.py, inherited estate.property model.
    - Overrode action_sold method to return the super call.
    yasp-odoo committed Aug 22, 2024
    Configuration menu
    Copy the full SHA
    576fb56 View commit details
    Browse the repository at this point in the history
  2. [IMP] estate: enhance invoice creation and update Kanban view

    - Added functionality to create a customer invoice when a property is marked as
     'Sold'.
    - Set `partner_id` from the estate property and invoice type to 'Customer
      Invoice'.
    - Included two invoice lines: 6% of selling price and an additional 100.00 in
      fees.
    - Enhanced Kanban view to display expected price, best price, selling price, and
      tags.
    - Applied conditional logic and default grouping by property type; disabled
      drag-and-drop.
    yasp-odoo committed Aug 22, 2024
    Configuration menu
    Copy the full SHA
    2fe6926 View commit details
    Browse the repository at this point in the history

Commits on Aug 28, 2024

  1. [IMP] estate: add icon to Estate menu

    - Added an icon to the Estate main menu
    yasp-odoo committed Aug 28, 2024
    Configuration menu
    Copy the full SHA
    644cd99 View commit details
    Browse the repository at this point in the history

Commits on Aug 30, 2024

  1. [IMP] estate: implement demo data with valid property offers and part…

    …ners
    
    - Added demo data for the estate module:
    - Created property records with valid details, including pricing and
      availability.
    - Added property offers linked to existing partner records to demonstrate
      functionality.
    - Ensured that the demo data complies with data integrity constraints.
    yasp-odoo committed Aug 30, 2024
    Configuration menu
    Copy the full SHA
    ca2a277 View commit details
    Browse the repository at this point in the history
  2. [IMP] estate: enhance demo data with eval, function, and X2many commands

    - Added offers with dates relative to module installation using eval.
    - Validated one demo offer using the Accept Offer button and refused others
      with function.
    - Created a new property with associated offers using Command in the
      One2many field.
    yasp-odoo committed Aug 30, 2024
    Configuration menu
    Copy the full SHA
    759254d View commit details
    Browse the repository at this point in the history

Commits on Sep 3, 2024

  1. [IMP] estate: implement PDF reports for property offers and sales det…

    …ails
    
    - Added a minimal property offers report template using QWeb.
    - Integrated the report into the Print menu of the Property views.
    - Enhanced the report with additional property data and conditional logic for
      offers.
    - Created a sub-template for property offers and reused it in a new report for
      salesmen's properties.
    - Inherited the property report in the estate_account module to include invoice
      details for sold properties.
    yasp-odoo committed Sep 3, 2024
    Configuration menu
    Copy the full SHA
    458794c View commit details
    Browse the repository at this point in the history
  2. [IMP] estate: implement security groups, access rights, and property …

    …access rule
    
    - Added security groups for Real Estate Agents and Managers.
    - Defined access rights for agents and managers for properties, types, and tags.
    - Implemented a rule to restrict property access for agents based on assigned
      salesperson.
    - Updated estate_account to bypass access rights in action_sold.
    yasp-odoo committed Sep 3, 2024
    Configuration menu
    Copy the full SHA
    3abb2df View commit details
    Browse the repository at this point in the history
  3. [IMP] estate: properties menu with grid view and property details page

    - Added a 'Properties' menu on the website to display available properties in a
      grid.
    - Implemented image display for properties on the front-end.
    - Added a pager with a maximum of 6 properties per page.
    - Created a dedicated, mobile-friendly page for each property using Bootstrap
      components.
    yasp-odoo committed Sep 3, 2024
    Configuration menu
    Copy the full SHA
    1cd5df5 View commit details
    Browse the repository at this point in the history

Commits on Sep 4, 2024

  1. [ADD] dental: added dental application

    After this commit
    - added different menus and sub-menus
    - Implemented corresponding views
    yasp-odoo committed Sep 4, 2024
    Configuration menu
    Copy the full SHA
    8f22a5f View commit details
    Browse the repository at this point in the history

Commits on Sep 5, 2024

  1. [IMP] dental: implemented various views, controller and portal

    After this commit
    - added controller so that dental will be visible in my account
    - implemented invoice in dental
    yasp-odoo committed Sep 5, 2024
    Configuration menu
    Copy the full SHA
    4e50a3f View commit details
    Browse the repository at this point in the history

Commits on Sep 11, 2024

  1. [IMP] dental: enhance Portal Views with Dental Patient Details

    After this commit
    
    - Created a DentalPortal to manage dental records on the portal.
    - Added routes for viewing patient details, medical history,
      medical aid information, and dental history via the portal.
    - Extended the portal_my_home template to include a Dental section for
      easy access.
    - Implemented templates for viewing and managing dental records on the portal,
      providing a user-friendly interface for patients to view their details and
      history.
    yasp-odoo committed Sep 11, 2024
    Configuration menu
    Copy the full SHA
    89b321a View commit details
    Browse the repository at this point in the history

Commits on Sep 17, 2024

  1. [ADD] installment: added installment app

    After this commit:
    - implemented installment module
    - added wizard button in subscription module
    - implemented business logic
    yasp-odoo committed Sep 17, 2024
    Configuration menu
    Copy the full SHA
    b7e46d2 View commit details
    Browse the repository at this point in the history

Commits on Sep 23, 2024

  1. [IMP] installment: implemented new features

    After this commit:
    
    - Create models for account move, sale order, and res config settings.
    - Implemented wizard for adding EMI with corresponding views.
    - Update security access controls.
    - Implemented views for res config settings and sale order.
    - Implemented necessary data files for product setup.
    yasp-odoo committed Sep 23, 2024
    Configuration menu
    Copy the full SHA
    6e3c45f View commit details
    Browse the repository at this point in the history

Commits on Sep 26, 2024

  1. [ADD] warranty: implemented Warranty Functionality to Sales and Inven…

    …tory
    
    After this commit:
    
    - Added warranty configuration model and settings.
    - Extended sale order and sale order line models to include warranty fields.
    - Implemented warranty wizard for adding warranties to sale orders.
    - Created views for managing warranty settings and applying warranties to
      products.
    - Added security rules to control access to warranty features.
    yasp-odoo committed Sep 26, 2024
    Configuration menu
    Copy the full SHA
    a7c8e66 View commit details
    Browse the repository at this point in the history