From b9c90b57281423210bb53d6c94fde0c4d7e5d68c Mon Sep 17 00:00:00 2001 From: Sylvain LE GAL Date: Fri, 17 Jul 2015 11:30:58 +0200 Subject: [PATCH] [PORT][REF] new description and icon for 'web_dashboard_tile'; --- web_dashboard_tile/README.rst | 68 ++++++++++++++++++ web_dashboard_tile/__openerp__.py | 40 +---------- .../static/{src/img => description}/icon.png | Bin 3 files changed, 69 insertions(+), 39 deletions(-) create mode 100644 web_dashboard_tile/README.rst rename web_dashboard_tile/static/{src/img => description}/icon.png (100%) diff --git a/web_dashboard_tile/README.rst b/web_dashboard_tile/README.rst new file mode 100644 index 00000000..bf4bb220 --- /dev/null +++ b/web_dashboard_tile/README.rst @@ -0,0 +1,68 @@ +Add Tiles to Dashboard +====================== + +module to give you a dashboard where you can configure tile from any view +and add them as short cut. + +* Tile can be: + * displayed only for a user; + * global for all users (In that case, some tiles will be hidden if + the current user doesn't have access to the given model); +* The tile displays items count of a given model restricted to a given domain; +* Optionnaly, the tile can display the result of a function of a field; + * Function is one of sum/avg/min/max/median; + * Field must be integer or float; + +Usage +===== + +After installation, a dashboard has a `Maximize`-button that loads the dashboard's action in a normal view. + +* Dashboad sample, displaying Sale Orders to invoice: +.. image:: web_dashboard_tile/static/src/img/screenshot_dashboard.png +* Tree view displayed when user click on the tile: +.. image:: web_dashboard_tile/static/src/img/screenshot_action_click.png + +Kown issues/limits +================== +* can not edit tile from dashboard (color, sequence, function, ...); +* context are ignored; +* date filter can not be relative; +* combine domain of menue and filter so can not restore origin filter; + +possible future improvments +=========================== +* support context_today; +* add icons; +* support client side action (like inbox); + +Bug Tracker +=========== + +Bugs are tracked on `GitHub Issues `_. +In case of trouble, please check there if your issue has already been reported. +If you spotted it first, help us smashing it by providing a detailed and welcomed feedback +`here `_. + + +Credits +======= + +Contributors +------------ + +* Markus Schneider +* Sylvain Le Gal (https://twitter.com/legalsylvain) + +Maintainer +---------- + +.. image:: http://odoo-community.org/logo.png + :alt: Odoo Community Association + :target: http://odoo-community.org + +This module is maintained by the OCA. + +OCA, or the Odoo Community Association, is a nonprofit organization whose mission is to support the collaborative development of Odoo features and promote its widespread use. + +To contribute to this module, please visit http://odoo-community.org. diff --git a/web_dashboard_tile/__openerp__.py b/web_dashboard_tile/__openerp__.py index bd33b959..ab6afc6f 100644 --- a/web_dashboard_tile/__openerp__.py +++ b/web_dashboard_tile/__openerp__.py @@ -31,46 +31,8 @@ 'web_widget_color', ], 'author': "initOS GmbH & Co. KG,GRAP,Odoo Community Association (OCA)", - "category": "", + "category": "web", 'license': 'AGPL-3', - "description": """ -Add Tiles to Dashboard -====================== -Features: ---------- -module to give you a dashboard where you can configure tile from any view -and add them as short cut. - -* Tile can be: - * displayed only for a user; - * global for all users (In that case, some tiles will be hidden if - the current user doesn't have access to the given model); -* The tile displays items count of a given model restricted to a given domain; -* Optionnaly, the tile can display the result of a function of a field; - * Function is one of sum/avg/min/max/median; - * Field must be integer or float; - -Screenshot: ------------ -* Dashboad sample, displaying Sale Orders to invoice: -.. image:: web_dashboard_tile/static/src/img/screenshot_dashboard.png -* Tree view displayed when user click on the tile: -.. image:: web_dashboard_tile/static/src/img/screenshot_action_click.png - - -Kown issues/limits: -------------------- -* can not edit tile from dashboard (color, sequence, function, ...); -* context are ignored; -* date filter can not be relative; -* combine domain of menue and filter so can not restore origin filter; - -possible future improvments: ----------------------------- -* support context_today; -* add icons; -* support client side action (like inbox); - """, 'data': [ 'view/tile.xml', 'view/templates.xml', diff --git a/web_dashboard_tile/static/src/img/icon.png b/web_dashboard_tile/static/description/icon.png similarity index 100% rename from web_dashboard_tile/static/src/img/icon.png rename to web_dashboard_tile/static/description/icon.png