-
Notifications
You must be signed in to change notification settings - Fork 3k
Tutorials #1174
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
Open
coder-odoo
wants to merge
18
commits into
odoo:19.0
Choose a base branch
from
odoo-dev:19.0-Tutorials-coder
base: 19.0
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
+1,547
−22
Open
Tutorials #1174
Changes from 1 commit
Commits
Show all changes
18 commits
Select commit
Hold shift + click to select a range
34e5c4f
[ADD] estate: fix errors in the previous commit
coder-odoo f6b71c7
[IMP] estate: Adding access rights for the group user
coder-odoo ae8e6d9
[IMP] estate: Adding default UI
coder-odoo 04a9478
[IMP] estate: Adding custom form/list and a search engine
coder-odoo c2bb0ee
[IMP] estate: Adding Tags, offers, property type, salesman and buyer
coder-odoo 3d095b8
[IMP] estate: Adding computed/onchange fields to improve the user exp…
coder-odoo bca84cb
[IMP] estate: Adding Sold/Cancel button and Accepted/Refused offer
coder-odoo 799b2e2
[IMP] estate: Make sure that the data stays consistent
coder-odoo d31c05f
[IMP] estate: Add The Sprinkles
coder-odoo f6ffdb2
[IMP] estate: Adding inheritance
coder-odoo 0338f3c
[IMP] estate: Adding interaction with the Invoicing app
coder-odoo 9dda914
[IMP] estate: Adding Kanban views
coder-odoo f260cfe
[IMP] estate: Adding a button to link the property to the invoice
coder-odoo 2590d73
[ADD] awesome_owl: Js - All Part 1
coder-odoo 08a98ed
[ADD] awesome_dashboard: JS - All part 2
coder-odoo 0fa2f47
[IMP] estate: Adding define module data
coder-odoo d2f3243
[IMP] estate: Adding safeguard your code with unit tests
coder-odoo 56f00cd
[IMP] estate: Adding restrict access to data
coder-odoo File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Some comments aren't visible on the classic Files Changed page.
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,4 @@ | ||
| # -*- coding: utf-8 -*- | ||
| # Part of Odoo. See LICENSE file for full copyright and licensing details. | ||
|
|
||
| from . import models |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,11 @@ | ||
| { | ||
| 'name': "Real Estate", | ||
| 'depends': ['base'], | ||
| 'author': "Odoo", | ||
| 'category': 'Category', | ||
| 'license': 'LGPL-3', | ||
| 'application': True, | ||
| 'description': """ | ||
| A app for real estate | ||
| """ | ||
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,4 @@ | ||
| # -*- coding: utf-8 -*- | ||
| # Part of Odoo. See LICENSE file for full copyright and licensing details. | ||
|
|
||
| from . import estate_property |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,26 @@ | ||
| # -*- coding: utf-8 -*- | ||
| # Part of Odoo. See LICENSE file for full copyright and licensing details. | ||
|
|
||
| from odoo import fields, models | ||
|
|
||
|
|
||
| class EstateProperty(models.Model): | ||
| _name = "estate.property" | ||
| _description = "A table for estate properties" | ||
|
|
||
| name = fields.Char('Property Name', required=True) | ||
| description = fields.Text() | ||
| postcode = fields.Char('Post Code') | ||
| date_availability = fields.Date() | ||
| expected_price = fields.Float(required=True) | ||
| selling_price = fields.Float() | ||
| bedrooms = fields.Integer() | ||
| living_area = fields.Integer() | ||
| facades = fields.Integer() | ||
| garage = fields.Boolean() | ||
| garden = fields.Boolean() | ||
| garden_area = fields.Integer() | ||
| garden_orientation = fields.Selection( | ||
| string='Garden Orientation', | ||
| selection=[('north', 'North'), ('south', 'South'), ('east', 'East'), ('west', 'West')], | ||
| help="Type is used to choose the orientation") | ||
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.