-
Notifications
You must be signed in to change notification settings - Fork 2.6k
trcaz - Industry onboarding #986
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
trcazier
wants to merge
29
commits into
odoo:19.0
Choose a base branch
from
odoo-dev:19.0-tutorial-industry-trcaz
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.
Open
Changes from 1 commit
Commits
Show all changes
29 commits
Select commit
Hold shift + click to select a range
ce16fab
[ADD] estate: copy estate from 19.0-tutorial-trcaz branch
trcazier d31e6b3
[IMP] estate: add CSV data file for property type
trcazier d1be6e1
[IMP] estate: add default property data
trcazier e065871
[IMP] estate: add offer data & change property data ids
trcazier 6b6d7c3
[IMP] estate: renamed property type data id for clarity
trcazier 0c9993b
[FIX] estate: modify data to comply with estate model constraints
trcazier b043d1a
[FIX] estate: add xml file missing in manifest
trcazier c3bed90
[IMP] estate: improve 90% offer error message
trcazier a127540
[IMP] estate: add property type to property data
trcazier 002dfba
[FIX] estate: fix runbot warning for string
trcazier 44f4e3e
[IMP] estate: modify date to be evaluated based on module installatio…
trcazier c0f4786
[IMP] estate: accept 1 data offer and refuse 2 + fix same id
trcazier 193323b
[IMP] estate: add new property with offers created inside the field
trcazier 244c35d
[FIX] estate: modify _ format parameters for runbot style
trcazier a07d26c
[ADD] x_estate: add new importable module x_estate
trcazier 1e82b73
[IMP] x_estate: add property_type model, views, menu, and add many2on…
trcazier bdb9f65
[IMP] x_estate: add property tags model, view, menu and property fiel…
trcazier 6def407
[CLN] x_estate: add empty line at the end of files
trcazier 0b05411
[IMP] x_estate: add offer model, view and add it to property model an…
trcazier a5a4058
[FIX] x_estate: change offer buyer relation from user to partner
trcazier 8cb6ed6
[IMP] x_estate: add selling price field to property model
trcazier f368391
[IMP] x_estate: add offer action to accept offer in list view
trcazier 94f4a3c
[IMP] x_estate: add total area computed field to property
trcazier 9bc6f35
[IMP] x_estate: add json route to get properties as a public user
trcazier 3e89bd5
[CLN] x_estate: reduce the number of lines
trcazier bad506f
[CLN] x_estate: reduce the number of lines
trcazier 47d5056
[CLN] x_estate: add empty line at the end of file
trcazier 4348d79
[IMP] x_estate: remove optional=disabled from date availability
trcazier d9cc923
[IMP] estate: make test data relative and remove optional
trcazier 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 |
---|---|---|
|
@@ -79,6 +79,19 @@ | |
<field name="selection">[('x_north', "North"), ('x_south', "South"), ('x_east', "East"), ('x_west', "West")]</field> | ||
</record> | ||
|
||
|
||
<record id="field_real_estate_property_total_area" model="ir.model.fields"> | ||
<field name="model_id" ref="real_estate_property_model" /> | ||
<field name="name">x_total_area</field> | ||
<field name="field_description">Total Area</field> | ||
<field name="ttype">float</field> | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Makes not much sense, but since other areas are integers, this one should be an integer as well |
||
<field name="depends">x_living_area,x_garden_area</field> | ||
<field name="compute"><![CDATA[ | ||
for property in self: | ||
property['x_total_area'] = property.x_living_area + property.x_garden_area | ||
trcazier marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
]]></field> | ||
</record> | ||
|
||
<record id="field_real_estate_property_type_id" model="ir.model.fields"> | ||
<field name="model_id" ref="real_estate_property_model" /> | ||
<field name="name">x_property_type_id</field> | ||
|
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
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Wasn't it asked to use
ir.model.fields.selection
?