-
Notifications
You must be signed in to change notification settings - Fork 3k
CYMO - Technical training 19.0 #1172
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
Closed
+986
−3
Closed
Changes from 2 commits
Commits
Show all changes
17 commits
Select commit
Hold shift + click to select a range
18ca504
[ADD] estate: Create Real Estate module manifest
MrRose765 427542d
[IMP] estate: create estate_property model add basic fields. \n Chapt…
MrRose765 a1468e3
[IMP] estate: Create access rights for estate property.
MrRose765 cd2072a
[IMP] estate: Default menus and form view for estate properties.
MrRose765 808607a
[IMP] estate: Add list,form and search views for estate properties
MrRose765 36b521e
[IMP] estate: Add property types, tags and offers.
MrRose765 cce5435
[IMP] estate: Add total_area, best_price and validity date.
MrRose765 ad97a22
[IMP] estate: Add possibility to sold/cancel property and accept/refu…
MrRose765 140606d
[IMP] estate: Add constraints on prices and tag/property names.
MrRose765 b9b4573
[IMP] estate: add constraints and UI improvements
MrRose765 3b94c34
[IMP] estate: link users to properties and protect deletion
MrRose765 88da1d4
[ADD] estate_account: Add creation of invoice when a property is sold.
MrRose765 9231b81
[IMP] estate: Add kanban view for estate properties.
MrRose765 f65151f
[IMP] awesome_owl: Add counter and todolists components
MrRose765 81d376b
[IMP] estate: introduce standard and demo data
MrRose765 a6b1799
[IMP] estate: add managers and user groups with their rules.
MrRose765 46c3f0a
[IMP] estate: Add constraints and tests on estate properties.
MrRose765 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 @@ | ||
| 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,10 @@ | ||
| { | ||
| 'name': 'Real Estate', | ||
| 'author': 'test :)', | ||
| 'depends': [ | ||
| 'base', | ||
| ], | ||
| 'installable': True, | ||
MrRose765 marked this conversation as resolved.
Show resolved
Hide resolved
|
||
| 'application': True, | ||
| 'auto_install': False | ||
MrRose765 marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
| } | ||
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 @@ | ||
| 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,21 @@ | ||
| from odoo import models, fields | ||
|
|
||
| class EstateProperty(models.Model): | ||
| _name = "estate.property" | ||
| _description = "Handle real estate property" | ||
|
|
||
| name = fields.Char(required=True) | ||
| description = fields.Text() | ||
| postcode = fields.Char() | ||
| date_availability = fields.Date() | ||
MrRose765 marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
| 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( | ||
| selection=[('north', 'North'), ('south', 'South'), ('east', 'East'), ('west', 'West')], | ||
| ) | ||
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.