Skip to content

[ADD] training: chapter 1-6 #889

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

Conversation

aarp-odoo
Copy link

No description provided.

@robodoo
Copy link

robodoo commented Jul 24, 2025

Pull request status dashboard

… Odoo guidelines

This commit resolves multiple formatting and linting issues to align with Odoo's official coding guidelines:
- Added missing newline at end of files (`__init__.py`, `__manifest__.py`, `estate_property.py`).
- Removed unused import `timedelta` from `datetime`.
- Added an extra blank line before class definition `EstateProperty` in file `estate_property.py`.
- Removed trailing whitespace from lines 5 and 17 in `estate_property.py`.
- Ensured proper indentation and closing bracket formatting.

These improvements enhance code readability, maintainability, and compliance with Odoo community standards.
Copy link

@bit-odoo bit-odoo left a comment

Choose a reason for hiding this comment

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

Comment on lines +8 to +21
<field name="name"/>
<field name="description"/>
<field name="postcode"/>
<field name="date_availability"/>
<field name="expected_price"/>
<field name="selling_price"/>
<field name="bedrooms"/>
<field name="living_area"/>
<field name="facades"/>
<field name="garage"/>
<field name="garden"/>
<field name="garden_area"/>
<field name="garden_orientation"/>
<field name="state"/>

Choose a reason for hiding this comment

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

No need to display every field in list view. We can display only those are important fields and other fields we can add in optional.

@@ -0,0 +1,42 @@
from odoo import fields, models
from dateutil.relativedelta import relativedelta

Choose a reason for hiding this comment

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

'description': """Real Estate Application.""",
'summary': """Real Estate Application for beginner.""",
'depends': ['base'],
'author': "Aaryan Parpyani (aarp)",

Choose a reason for hiding this comment

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

You can follow the same quote through the file.

<menuitem id="test_first_level_menu" name="Advertisements" parent="test_menu_root"/>
<menuitem id="test_model_menu_action" name="Estate Property" parent="test_first_level_menu" action="estate_property"/>
</data>
</odoo>

Choose a reason for hiding this comment

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

Should be an empty line at the end of the file.

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