-
Notifications
You must be signed in to change notification settings - Fork 2.3k
XAFR - Technical Training #740
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
xafr-odoo
wants to merge
21
commits into
odoo:18.0
Choose a base branch
from
odoo-dev:18.0-training-xafr
base: 18.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
21 commits
Select commit
Hold shift + click to select a range
c33277d
[ADD] Chapter 1: Manifest & init
xafr-odoo 7bbe040
[IMP] Chapter 1: Manifest & init
xafr-odoo 6c39232
[IMP] Chapter 2: New Application
xafr-odoo c398bbf
[IMP] Chapter 3: Models & Basic Fields
xafr-odoo bcdabc8
[IMP] Chapter 4: Security (+ added license in manifest to remove warn…
xafr-odoo a8cf2ae
[IMP] estate - Chapter 5: UI
xafr-odoo 82d7ec7
[IMP] estate - Chapter 5: UI
xafr-odoo 92195f6
[IMP] estate - Chapter 6: Basic Views
xafr-odoo a5ea174
[IMP] estate: Chapter 7
xafr-odoo 93b7190
[IMP] estate: Chapter 8
xafr-odoo b517f01
[IMP] estate: Chapter 9
xafr-odoo 6ee2a07
[IMP] estate: Chapter 10
xafr-odoo a4863d5
[IMP] estate: Chapter 11
xafr-odoo 1742244
[IMP] estate: Chapter 12
xafr-odoo 3ebcdc6
[IMP] estate: Chapter 13
xafr-odoo 6a42330
[IMP] estate: Chapter 13
xafr-odoo 7e14dac
[IMP] estate: Chapter 14
xafr-odoo 92ffc6d
[IMP] estate: Chapter 15
xafr-odoo 27cf297
[IMP] awesome_owl: Chapter 1
xafr-odoo 4e78b9f
[IMP] awesome_owl: Chapter 2
xafr-odoo 05a315d
[IMP] awesome_owl: Chapter 2
xafr-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
[IMP] estate: Chapter 14
QWeb Templates
- Loading branch information
commit 7e14dacf078afb18970a53a40f52aaba8d7a613d
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 |
---|---|---|
|
@@ -129,4 +129,4 @@ dmypy.json | |
.pyre/ | ||
|
||
# PyCharm Demo Config | ||
.run/rd-demo.run.xml | ||
.run/rd-demo.run.xml |
This file was deleted.
Oops, something went wrong.
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
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 |
---|---|---|
|
@@ -3,8 +3,8 @@ | |
<record id="estate_property_model_action" model="ir.actions.act_window"> | ||
<field name="name">Properties</field> | ||
<field name="res_model">estate.property</field> | ||
<field name="view_mode">list,form</field> | ||
<field name="context">{'search_default_availability': True}</field> | ||
<field name="view_mode">list,form,kanban</field> | ||
<!-- <field name="context">{'search_default_availability': True}</field>--> | ||
</record> | ||
|
||
<record id="estate_property_list_view" model="ir.ui.view"> | ||
|
@@ -104,4 +104,44 @@ | |
</search> | ||
</field> | ||
</record> | ||
|
||
<record id="estate_property_kanban_view" model="ir.ui.view"> | ||
<field name="name">estate.property.kanban</field> | ||
<field name="model">estate.property</field> | ||
<field name="arch" type="xml"> | ||
<kanban default_group_by="property_type_id" groups_draggable="False" records_draggable="False"> | ||
<field name="state"/> | ||
<templates> | ||
<t t-name="kanban-box"> | ||
<div> | ||
<field name="name"/> | ||
<div t-if="record.state.raw_value == 'new'"> | ||
This is new! | ||
</div> | ||
</div> | ||
</t> | ||
<t t-name="card"> | ||
<div> | ||
<h2><field name="name"/></h2> | ||
</div> | ||
<div> | ||
Expected price: | ||
<field name="expected_price"/>€ | ||
</div> | ||
<div t-if="record.state.raw_value == 'offer_received'"> | ||
Best Offer: | ||
<field name="best_offer"/>€ | ||
</div> | ||
<div t-if="record.state.raw_value == 'offer_accepted'"> | ||
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. You should use a 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. Ah yes indeed |
||
Selling price: | ||
<field name="selling_price"/>€ | ||
</div> | ||
<div> | ||
<field name="tag_ids"/> | ||
</div> | ||
</t> | ||
</templates> | ||
</kanban> | ||
</field> | ||
</record> | ||
</odoo> |
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.
No need to leave a commented line :)