Skip to content

Technical training - palm#10

Closed
pauloamed wants to merge 7 commits intoodoo:16.0from
pauloamed:16.0
Closed

Technical training - palm#10
pauloamed wants to merge 7 commits intoodoo:16.0from
pauloamed:16.0

Conversation

@pauloamed
Copy link
Copy Markdown

No description provided.

Copy link
Copy Markdown

@fdardenne fdardenne left a comment

Choose a reason for hiding this comment

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

Didn't see you created a PR !
It is good, I don't have critical information to share, good job!
I left a few comment just so you can maybe learn a few thing

Comment thread owl_playground/static/src/todo_list/todo_list.js
name: name,
res_model: "awesome_tshirt.order",
views: [
[false, "list"],
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

By not including [false, "form"] the user will not be able to open a record in your list view

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

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

Thanks!

I get now that

  • the first view type indicates the one that will be open when we click the button
  • the view type will only be available if we add it to the views list of doAction

Now, would there be a difference between the second and third view types in the order declared in the views list of doAction?

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Nothing that I know of. Maybe if the second view is not defined then it will take the third view

Comment thread awesome_tshirt/static/src/pie_chart/pie_chart.js
Comment thread awesome_tshirt/static/src/pie_chart/pie_chart.js
Comment thread owl_playground/static/src/counter/counter.xml
Comment thread awesome_tshirt/static/src/dashboard.js
@fdardenne fdardenne closed this Oct 3, 2023
ABE-Mark45 added a commit to ABE-Mark45/tutorials that referenced this pull request Nov 30, 2023
Arbaaz-Khan-Tech added a commit to odoo-dev/tutorials that referenced this pull request May 1, 2026
- Added SQL constraints to ensure data integrity for offer prices, property tag/type names, and selling/expected prices.
- Introduced a new button to automatically accept the best offer for a property.
- Implemented a new button to automatically reject offers that are 90% lower than the expected price.
- Implemented custom display order logic for various models:
- estate.property: Ordered by ID in descending order.
- estate.property.offer: Ordered by Price in descending order.
- estate.property.tag: Ordered by Name.
- estate.property.type: Ordered by Name.

Chapter odoo#10 & 11
Arbaaz-Khan-Tech added a commit to odoo-dev/tutorials that referenced this pull request May 1, 2026
- Display connected properties in an inline view within the property type XML.
- Introduce "Accept" and "Refuse" action buttons in the property offer views.
- Configure these buttons to be visible only when the offer status allows the action.

Chapter odoo#10 & 11
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.

2 participants