[ADD] awesome_owl, awesome_dashboard : Training OWL#793
Closed
Lud0do1202 wants to merge 3 commits intoodoo:18.0from
Closed
[ADD] awesome_owl, awesome_dashboard : Training OWL#793Lud0do1202 wants to merge 3 commits intoodoo:18.0from
Lud0do1202 wants to merge 3 commits intoodoo:18.0from
Conversation
- Create models for properties, types, tags, and offers - Add views: form, list, kanban, search with filters and grouped displays - Implement business logic: compute fields, onchanges, actions (sold, cancel, accept, refuse), constraints (SQL and Python) - Use field attributes: readonly, invisible, optional - Apply UI enhancements: decorations, badges, smart buttons - Add seller-based property listings - Prevent deletion of properties unless in allowed states - Restrict offer creation to higher prices than existing ones - Add default ordering on models - Create estate_account module to generate an invoice upon property sale
30e73cb to
1fa0f1d
Compare
- Create a standalone counter component using Owl, with incrementing logic and a parent sum updater - Implement a dynamic todo list with a todo_item component, supporting create, check/uncheck, and delete actions via button click or 'Enter' key - Replace extraContent prop with default slot for flexibility - Add a toggle button to show/hide the counter component
- Add a dashboard view with sample dashboard items - Create a service to fetch dashboard data - Add "Customers" and "Leads" buttons linking to CRM views - Add a PieChart component to the dashboard - Fetch data at regular intervals with reactive updates - Move dashboard files to a dedicated folder to create a bundle - Add LazyComponent to load the dashboard via this bundle - Refactor charts folder into dashboard directory and add a registry entry - Use a dict for dashboard data (instead of a list) - Add a custom dialog for dashboard configuration (enable/disable cards) - Support dynamic cards as components inside dashboard items
1fa0f1d to
ae13c42
Compare
| import { AwesomeDashboardItem } from "@awesome_dashboard/dashboard/dashboard_item"; | ||
| import { registry } from "@web/core/registry"; | ||
| import { CogMenu } from "@web/search/cog_menu/cog_menu"; | ||
| import { AwesomeDashboardConfigDialog } from "@awesome_dashboard/dashboard/dialogs/dashboard_config_dailog"; |
There was a problem hiding this comment.
Suggested change
| import { AwesomeDashboardConfigDialog } from "@awesome_dashboard/dashboard/dialogs/dashboard_config_dailog"; | |
| import { AwesomeDashboardConfigDialog } from "@awesome_dashboard/dashboard/dialogs/dashboard_config_dialog"; |
Misspelling, happens 🤷
Don't forget to rename your file too
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.

Chapter 1 and 2 of the training for OWL
https://www.odoo.com/documentation/18.0/developer/tutorials/discover_js_framework.html