Skip to content

19.0 tutorials prway#1358

Draft
prway-odoo wants to merge 15 commits into
odoo:19.0from
odoo-dev:19.0-tutorials-prway
Draft

19.0 tutorials prway#1358
prway-odoo wants to merge 15 commits into
odoo:19.0from
odoo-dev:19.0-tutorials-prway

Conversation

@prway-odoo

Copy link
Copy Markdown

No description provided.

cede-odoo and others added 8 commits August 11, 2025 16:30
…template, font, carousel option, product specification + update dynamic snippet, snippet addition, newsletter

closes odoo#916

X-original-commit: dd31619
Signed-off-by: Antoine Vandevenne (anv) <anv@odoo.com>
The carousel template file was loaded too late in the manifest data
sequence, causing a ParseError when new_page_templates tried to
reference it.

closes odoo#988

X-original-commit: 34d70b5
Signed-off-by: Antoine Vandevenne (anv) <anv@odoo.com>
Some imports are missing in the manifest causing some warnings and
the css doesn't load properly.
Fix was fixed in the master branch, backporting it in 19.0
for the onboarding classes that always happen in the lastest stable.

task-none

Part-of: odoo#1037
Signed-off-by: Antoine Vandevenne (anv) <anv@odoo.com>
`json` routes were deprecated to `jsonrpc` in 19.0, let's
get rid of the warning to avoid confusion for the newdoos.

task-none

closes odoo#1037

Signed-off-by: Antoine Vandevenne (anv) <anv@odoo.com>
-Add the basic structure for the estate module as part of
the Odoo Server Framework 101 training.
Reformat the module manifest to follow the project's coding style
and add the standard metadata fields required by the tutorial.

This commit does not introduce any functional changes.
Add the standard LGPL-3 license declaration to the module
manifest so that the module includes the required licensing
information expected by Odoo modules.
Introduce the estate property model as the foundation for
managing real estate properties in the module.

Register the model so it is loaded during module
initialization and can be extended by subsequent features,
such as views, security rules, and related models.
@robodoo

robodoo commented Jul 3, 2026

Copy link
Copy Markdown

Pull request status dashboard

Reformat the Python files to follow the project's coding style
and improve readability.

This commit does not change the module's behavior.
Apply the project's formatting conventions by removing an
unnecessary blank line.

No functional changes are introduced.
Define the access rights for the estate property model to allow
internal users to manage property records according to the module's
security configuration.
Include the security access file in the module manifest to ensure
the module's access control rules are applied during installation
and module upgrades.
Reformat the model to follow the project's coding style by
organizing imports, removing unnecessary whitespace, and
improving the readability of the field definitions.

This commit does not introduce any functional changes.
Provide a graphical interface for the Estate module so users can
manage property records from the Odoo backend.

This lays the foundation for interacting with the module through
standard Odoo workflows rather than direct database access.
@prway-odoo
prway-odoo force-pushed the 19.0-tutorials-prway branch from cc47e43 to b24eefb Compare July 20, 2026 10:59
Establish relationships between property records and their
associated entities to accurately model the Estate domain.

This provides the foundation for managing related data through
the Odoo ORM and user interface.

@bit-odoo bit-odoo left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Hello @prway-odoo
Good Start!

Can you please improve all your commit titles and add the commit message as well?
Also, improve the PR title and description.

And you have left many unneccary empty lines.

Thanks

Comment thread .vscode/settings.json

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

unneccary file diff.

Comment on lines +1 to +2
from datetime import timedelta
from odoo import models, fields

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Please followe the import coding guidelines.

Comment thread estate/security/ir.model.access.csv Outdated
@@ -0,0 +1,3 @@
id,name,model_id:id,group_id:id,perm_read,perm_write,perm_create,perm_unlink
access_estate_property,access_estate_property,model_estate_property,base.group_user,1,1,1,1
,,,,,,, No newline at end of file

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

unneccary diff and should be one empty line at the end of the file.

Comment thread estate/views/estate_property_views.xml Outdated
Comment on lines +69 to +72
<filter
name="available"
string="Available"
domain="['|',('state','=','new'),('state','=','offer_received')]"/>

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Indentation issues.

Comment thread estate/views/estate_property_views.xml Outdated
Comment on lines +75 to +78
<filter
name="group_by_postcode"
string="Postcode"
context="{'group_by':'postcode'}"/>

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Indentation issue.

readonly=True,
copy=False,
)

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

unneccary space.

)

bedrooms = fields.Integer(default=2)

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

unneccary space.

garage = fields.Boolean()
garden = fields.Boolean()
garden_area = fields.Integer()

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

unneccary space.

<field name="expected_price"/>
<field name="selling_price"/>
</group>

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

unneccary space.

<field name="state"/>
</group>
</group>

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

unneccary space.

@prway-odoo
prway-odoo force-pushed the 19.0-tutorials-prway branch 3 times, most recently from 476f9da to f8d0221 Compare July 24, 2026 08:43
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.

6 participants