-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
12.0 mig web dashboard tile #1428
12.0 mig web dashboard tile #1428
Conversation
341f97e
to
8f7edfe
Compare
101432e
to
698433e
Compare
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.
quick review but LGTM 👍
web_dashboard_tile/__manifest__.py
Outdated
"contributors": [ | ||
"initOS GmbH & Co. KG", | ||
"GRAP", | ||
"Iván Todorovich <[email protected]>", | ||
], |
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.
Is this key even used? 🤔 I guess we should move this to CONTRIBUTORS.rst
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.
I put values in authors
keys.
for category in self: | ||
if category.menu_id: | ||
category.menu_id.unlink() | ||
if category.action_id: | ||
category.action_id.unlink() |
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.
for category in self: | |
if category.menu_id: | |
category.menu_id.unlink() | |
if category.action_id: | |
category.action_id.unlink() | |
self.menu_id.unlink() | |
self.action_id.unlink() |
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.
is unlink
working for 0 items ? i added test in V8 because there was some trouble if no action or menu was present.
maybe it's an obsolete problem. (don't tested).
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.
Yes it works :) unlink
on an empty recordset simply doesn't do anything
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.
thanks for your answer.
524f5e8
to
124f335
Compare
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.
Functionnal review ✔️
We use this module in production server since one year and it is working greeaat
Be able to open a title without getting context group_by garbage from the title view.
- refactor tile category - improve description - add legalsylvain as maintainer - update code and translation
Co-authored-by: Iván Todorovich <[email protected]>
…d name and category_id in the tile search view
124f335
to
ac41778
Compare
…he fly tiles, but that was limited regarding configuration
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.
LGTM
/ocabot merge nobump |
This PR looks fantastic, let's merge it! |
Congratulations, your PR was merged at 9452113. Thanks a lot for contributing to OCA. ❤️ |
web_dashboard_tile
to V12.CC : co original author : @ivantodorovich
CC : @quentinDupont,
Description
Adds a dashboard where you can configure tiles from any view and add them as short cut.
By default, the tile displays items count of a given model restricted to a given domain.
Optionally, the tile can display the result of a function on a field.
Tile can be:
Note: The tile will be hidden if the current user doesn't have access to the given model.
Configuration
First, you have to create tile categories.
Odoo menu and action are automatically created. You should refresh your browser to see new menu items.
Then you can create tiles.
You can optionally define a secondary value, for that purpose :
Usage
Note
When you are in a tree view, with a domain, you can save it in the favorite menu, but the configuration is limited.
Migration Changes