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: a new module to manage estate properties #163

Open
wants to merge 27 commits into
base: 18.0
Choose a base branch
from

Commits on Oct 24, 2024

  1. [ADD] chap1: Manifest

    malm-odoo committed Oct 24, 2024
    Configuration menu
    Copy the full SHA
    cd26d0b View commit details
    Browse the repository at this point in the history
  2. [ADD] chap2: __init__.py

    malm-odoo committed Oct 24, 2024
    Configuration menu
    Copy the full SHA
    98dc91c View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    2430f51 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    8478e5f View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    be2d317 View commit details
    Browse the repository at this point in the history
  6. [FIX] chap5: Changed dirs

    malm-odoo committed Oct 24, 2024
    Configuration menu
    Copy the full SHA
    760525b View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    640bb1d View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    9324b1e View commit details
    Browse the repository at this point in the history
  9. [FIX] chap5: style

    malm-odoo committed Oct 24, 2024
    Configuration menu
    Copy the full SHA
    9ff6ca6 View commit details
    Browse the repository at this point in the history
  10. [IMP] estate: Add a server action for better UX

    Problem
    ---------
    Users may want to cancel several houses and flats at once, currently
    this is not possible; they have to do it one by one.
    
    Objective
    ---------
    Add a way to cancel several estates in one go.
    
    Solution
    ---------
    Add a server action in the demo data so that it is available for new
    users. Old users can create the same server action on their database.
    
    task-123456
    aboo-odoo authored and malm-odoo committed Oct 24, 2024
    Configuration menu
    Copy the full SHA
    45fd826 View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    dddd880 View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    5539fb8 View commit details
    Browse the repository at this point in the history
  13. Configuration menu
    Copy the full SHA
    940160e View commit details
    Browse the repository at this point in the history
  14. Configuration menu
    Copy the full SHA
    c49def8 View commit details
    Browse the repository at this point in the history
  15. [ADD] estate: Added computed fiels and onchanges

    Problem
    ---------
    Users may want to see the total area after adding the garden area and the living area, as well as the best offer after adding multiple offers
    to the property. They also might want to either enter a validity number of days or a deadline, and the other should be computed automatically.
    
    Objective
    ---------
    Add a field (total area) dependant on two fields (garden and living area). Add another field which is the maximum of all offer prices.
    Add a relation between the validity date and the deadline fields (after creating them).
    
    Solution
    ---------
    Add a computed field for the total area depending on garden and living area fields. Add a computed field for the best price depending on the
    offer prices, computing the maximum of them all. Add an computed field for the date deadline and add both a compute and inverse function for it.
    
    task-xxxxxx
    malm-odoo committed Oct 24, 2024
    Configuration menu
    Copy the full SHA
    3c8de6e View commit details
    Browse the repository at this point in the history
  16. Configuration menu
    Copy the full SHA
    a896aae View commit details
    Browse the repository at this point in the history
  17. [ADD] estate: Added sold, cancel, accept, and refuse buttons. Alongsi…

    …de their actions.
    
    Problem
    ---------
    Users may want to modify the property status through buttons, and see their actions reflected in the data. Same applies to the offer status.
    
    Objective
    ---------
    Add a sold and cancel button for the property, modify the status based on their activity.
    Add accept and refuse buttons for the offers, modify the status based on their activity.
    Reflect the actions of offers on the property data.
    
    Solution
    ---------
    Add a sold and cancel button in the header part of the XML file, alongside their functions applied on press.
    Add a accept and refuse button in the list view of the offers.
    Based on which is clicked, modify the selling price and the buyer of the property as well as the status of the offer.
    
    task-xxxxxx
    malm-odoo committed Oct 24, 2024
    Configuration menu
    Copy the full SHA
    1a7e21f View commit details
    Browse the repository at this point in the history
  18. [ADD] estate: Added SQL and Python constraints

    Problem
    ---------
    Users may enter incorrect data like a negative expected or offer price. Also, they may create multiple property types and tags
    of the same name. The selling price of a property shouldn't be less than 90% of the expected price.
    
    Objective
    ---------
    Add constraints to the field boxes (expected, selling, and offer price). The property tags and types should have constraints too.
    Add constraints to prevent selling prices from being lower than 90% of the expected price.
    
    Solution
    ---------
    Added an SQL constraint checking the expected, selling, and offer price to be positive.
    Added an SQL constraint to check the uniqueness of the property tags and types.
    Added a Python constraint checking the selling price to be not lower than 90% of the expected price.
    malm-odoo committed Oct 24, 2024
    Configuration menu
    Copy the full SHA
    2f82a7a View commit details
    Browse the repository at this point in the history
  19. Configuration menu
    Copy the full SHA
    63198aa View commit details
    Browse the repository at this point in the history
  20. Configuration menu
    Copy the full SHA
    b0c767f View commit details
    Browse the repository at this point in the history
  21. Configuration menu
    Copy the full SHA
    ae52a8a View commit details
    Browse the repository at this point in the history

Commits on Oct 25, 2024

  1. Configuration menu
    Copy the full SHA
    7d94274 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    7de8a5f View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    a23543e View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    9fc9a00 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    69f7e7f View commit details
    Browse the repository at this point in the history

Commits on Oct 29, 2024

  1. Configuration menu
    Copy the full SHA
    fb39311 View commit details
    Browse the repository at this point in the history