Skip to content

Conversation

@mohamedakhalil18
Copy link

No description provided.

@robodoo
Copy link

robodoo commented Jan 19, 2026

Pull request status dashboard

Copy link

@artn-odoo artn-odoo left a comment

Choose a reason for hiding this comment

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

Good job so far, just a few styling nitpicks but it's good overall !
We try to always add a newline at the end of a file. This can be done by activating the Insert Final Newline if you are using vscode.
Also, we have pretty strict guidelines regarding the commit titles and message. You can find them here for future commits https://www.odoo.com/documentation/16.0/contributing/development/git_guidelines.html

Comment on lines 3 to 12
'version':'1.0',
'summary':'Track advertisements added for real estate and allow selling them',
'website':'https://www.odoo.com/app/estate',
'depends':[
'base'
],
'application':True,
'installable':True,
'author':'moali',
'license':'LGPL-3'

Choose a reason for hiding this comment

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

Try to leave a white space after :

Suggested change
'version':'1.0',
'summary':'Track advertisements added for real estate and allow selling them',
'website':'https://www.odoo.com/app/estate',
'depends':[
'base'
],
'application':True,
'installable':True,
'author':'moali',
'license':'LGPL-3'
'version':' 1.0',
'summary': 'Track advertisements added for real estate and allow selling them',
'website': 'https://www.odoo.com/app/estate',
'depends': [
'base'
],
'application': True,
'installable': True,
'author': 'moali',
'license': 'LGPL-3'

_name = 'estate_property'
_description = 'Estate Property'

name = fields.Char(string = "Property Name", required = True)

Choose a reason for hiding this comment

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

We try not to put white spaces around the = sign in function calls or function definitions.
The same can be said for all the fields below.

Suggested change
name = fields.Char(string = "Property Name", required = True)
name = fields.Char(string="Property Name", required=True)

@mohamedakhalil18
Copy link
Author

I have created a new commit with the formatted code

@artn-odoo artn-odoo requested a review from csan-odoo January 21, 2026 08:57
Copy link

@csan-odoo csan-odoo left a comment

Choose a reason for hiding this comment

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

Great work overall! Just a few minor adjustments needed. Also:

  • When defining view names, please follow the usual Odoo convention by using dot notation (e.g., module.view_name).
  • Make sure to include any unnecessary files in the .gitignore to keep the repository clean.

Thanks!

# -*- coding: utf-8 -*-

from . import controllers
from . import controllers

Choose a reason for hiding this comment

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

same as above

@artn-odoo artn-odoo requested review from artn-odoo and removed request for artn-odoo January 21, 2026 10:12
 Estate

Included related fields in order to allow the communication between the estate property base model and tags, types, offers, users, and partners model to extend the funcationalities of the current module to cater for the business need of having specific sales info. for each record
 Estate

Added computation fields and onchange methods to facilitate data entry for each user and incorporate automation that computes best offer - garden orientation and area - validity dates and deadlines
Estate

Added action buttons to sell/cancel an apartment and accept or refuse a given offer.

The added actions and functionalities are aiming to provide the user of the estate app with more flexible actions in order to complete their tasks of selling or cancelling real estate listings as well as accepting or refusing any given offer against that listing. Moreover, accepting an offer will automatically sell the listing to that bidder
SQL and python constraints were added to the module in order to enforce checks on the validity of selling price and uniqueness of tags and types
Added the stat_button and inline editting of lists and tags as well as improved the widgets options and visibility on the ui in order to improve the overall user experience of the estate module
…g the formatting

Resolved all the comments through following the odoo convention
… under salesperson

Modified the CRUD actions in order to cater for the business logic and prevent deletion of properties that has offers. Also included the properties listed under each salesperson to show the user the more information regarding their listed properties
…ties

Added the estate_account module and overrided the estate_property sell method in order to automate the invoice creation process and link betweem the estate property module and the invoince module
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.

4 participants