From 8f7edfe58adbd753d9b1211021710f7daea0e096 Mon Sep 17 00:00:00 2001 From: Sylvain LE GAL Date: Wed, 6 Nov 2019 10:39:54 +0100 Subject: [PATCH] [MIG] web_dashboard_tile --- web_dashboard_tile/README.rst | 77 ---- web_dashboard_tile/__init__.py | 7 +- .../{__openerp__.py => __manifest__.py} | 22 +- web_dashboard_tile/controllers/__init__.py | 1 + web_dashboard_tile/controllers/main.py | 15 + web_dashboard_tile/demo/res_groups.yml | 25 -- web_dashboard_tile/demo/tile_category.xml | 16 + web_dashboard_tile/demo/tile_category.yml | 29 -- web_dashboard_tile/demo/tile_tile.xml | 29 ++ web_dashboard_tile/demo/tile_tile.yml | 43 --- web_dashboard_tile/i18n/ar.po | 332 ----------------- web_dashboard_tile/i18n/ca.po | 332 ----------------- web_dashboard_tile/i18n/de.po | 333 ------------------ web_dashboard_tile/i18n/es.po | 333 ------------------ web_dashboard_tile/i18n/fi.po | 332 ----------------- web_dashboard_tile/i18n/fr.po | 319 ++++++++++------- web_dashboard_tile/i18n/it.po | 332 ----------------- web_dashboard_tile/i18n/nl.po | 332 ----------------- web_dashboard_tile/i18n/pt_BR.po | 333 ------------------ web_dashboard_tile/i18n/sl.po | 332 ----------------- web_dashboard_tile/i18n/tr.po | 332 ----------------- .../migrations/12.0.1.0.0/post-migration.py | 29 ++ .../migrations/8.0.3.0/post-migration.py | 13 - .../migrations/8.0.4.0/post-migration.py | 31 -- web_dashboard_tile/models/__init__.py | 9 +- web_dashboard_tile/models/tile_category.py | 98 +++++- web_dashboard_tile/models/tile_tile.py | 280 +++++++++------ web_dashboard_tile/readme/CONTRIBUTORS.rst | 3 + web_dashboard_tile/readme/DESCRIPTION.rst | 16 + web_dashboard_tile/readme/ROADMAP.rst | 15 + web_dashboard_tile/readme/USAGE.rst | 11 + .../security/{rules.xml => ir_rule.xml} | 6 +- .../static/description/favorite_menu.png | Bin 0 -> 15576 bytes .../screenshot_action_click.png | Bin .../screenshot_dashboard.png | Bin .../css/{tile.css => web_dashboard_tile.css} | 0 web_dashboard_tile/static/src/img/avg.png | Bin 340 -> 0 bytes web_dashboard_tile/static/src/img/max.png | Bin 264 -> 0 bytes web_dashboard_tile/static/src/img/median.png | Bin 287 -> 0 bytes web_dashboard_tile/static/src/img/min.png | Bin 283 -> 0 bytes web_dashboard_tile/static/src/img/sum.png | Bin 305 -> 0 bytes web_dashboard_tile/static/src/js/custom_js.js | 141 -------- .../static/src/js/web_dashboard_tile.js | 112 ++++++ .../static/src/xml/custom_xml.xml | 13 - .../static/src/xml/web_dashboard_tile.xml | 19 + web_dashboard_tile/tests/__init__.py | 5 - web_dashboard_tile/tests/test_tile.py | 19 +- web_dashboard_tile/views/menu.xml | 14 + web_dashboard_tile/views/templates.xml | 39 +- web_dashboard_tile/views/tile.xml | 207 ----------- web_dashboard_tile/views/tile_category.xml | 63 ++++ web_dashboard_tile/views/tile_tile.xml | 158 +++++++++ 52 files changed, 994 insertions(+), 4213 deletions(-) rename web_dashboard_tile/{__openerp__.py => __manifest__.py} (63%) create mode 100644 web_dashboard_tile/controllers/__init__.py create mode 100644 web_dashboard_tile/controllers/main.py delete mode 100644 web_dashboard_tile/demo/res_groups.yml create mode 100644 web_dashboard_tile/demo/tile_category.xml delete mode 100644 web_dashboard_tile/demo/tile_category.yml create mode 100644 web_dashboard_tile/demo/tile_tile.xml delete mode 100644 web_dashboard_tile/demo/tile_tile.yml delete mode 100644 web_dashboard_tile/i18n/ar.po delete mode 100644 web_dashboard_tile/i18n/ca.po delete mode 100644 web_dashboard_tile/i18n/de.po delete mode 100644 web_dashboard_tile/i18n/es.po delete mode 100644 web_dashboard_tile/i18n/fi.po delete mode 100644 web_dashboard_tile/i18n/it.po delete mode 100644 web_dashboard_tile/i18n/nl.po delete mode 100644 web_dashboard_tile/i18n/pt_BR.po delete mode 100644 web_dashboard_tile/i18n/sl.po delete mode 100644 web_dashboard_tile/i18n/tr.po create mode 100644 web_dashboard_tile/migrations/12.0.1.0.0/post-migration.py delete mode 100644 web_dashboard_tile/migrations/8.0.3.0/post-migration.py delete mode 100644 web_dashboard_tile/migrations/8.0.4.0/post-migration.py create mode 100644 web_dashboard_tile/readme/CONTRIBUTORS.rst create mode 100644 web_dashboard_tile/readme/DESCRIPTION.rst create mode 100644 web_dashboard_tile/readme/ROADMAP.rst create mode 100644 web_dashboard_tile/readme/USAGE.rst rename web_dashboard_tile/security/{rules.xml => ir_rule.xml} (91%) create mode 100644 web_dashboard_tile/static/description/favorite_menu.png rename web_dashboard_tile/static/{src/img => description}/screenshot_action_click.png (100%) rename web_dashboard_tile/static/{src/img => description}/screenshot_dashboard.png (100%) rename web_dashboard_tile/static/src/css/{tile.css => web_dashboard_tile.css} (100%) delete mode 100644 web_dashboard_tile/static/src/img/avg.png delete mode 100644 web_dashboard_tile/static/src/img/max.png delete mode 100644 web_dashboard_tile/static/src/img/median.png delete mode 100644 web_dashboard_tile/static/src/img/min.png delete mode 100644 web_dashboard_tile/static/src/img/sum.png delete mode 100644 web_dashboard_tile/static/src/js/custom_js.js create mode 100644 web_dashboard_tile/static/src/js/web_dashboard_tile.js delete mode 100644 web_dashboard_tile/static/src/xml/custom_xml.xml create mode 100644 web_dashboard_tile/static/src/xml/web_dashboard_tile.xml create mode 100644 web_dashboard_tile/views/menu.xml delete mode 100644 web_dashboard_tile/views/tile.xml create mode 100644 web_dashboard_tile/views/tile_category.xml create mode 100644 web_dashboard_tile/views/tile_tile.xml diff --git a/web_dashboard_tile/README.rst b/web_dashboard_tile/README.rst index 22bef2394998..e69de29bb2d1 100644 --- a/web_dashboard_tile/README.rst +++ b/web_dashboard_tile/README.rst @@ -1,77 +0,0 @@ -Dashboard Tiles -=============== - -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. - -- Function is one of `sum`, `avg`, `min`, `max` or `median`. -- Field must be integer or float. - -Tile can be: - -- Displayed only for a user. -- Global for all users. -- Restricted to some groups. - -*Note: The tile will be hidden if the current user doesn't have access to the given model.* - -Usage -===== - -* Dashboad sample, displaying Sale Orders to invoice: - -.. image:: ./static/src/img/screenshot_dashboard.png - -* Tree view displayed when user click on the tile: - -.. image:: ./static/src/img/screenshot_action_click.png - -Known issues -============ -* Can not edit color from dashboard -* Original context is ignored. -* Original domain and filter are not restored. -* To preserve a relative date domain, you have to manually edit the tile's domain from `Configuration > User Interface > Dashboard Tile`. You can use the same variables available in filters (`uid`, `context_today()`, `current_date`, `time`, `datetime`, `relativedelta`). - -Roadmap -======= -* Add icons. -* Support client side action (like inbox). -* Restore original Domain + Filter when an action is set. -* Posibility to hide the tile based on a field expression. -* Posibility to set the background color based on a field expression. - -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) -* Iván Todorovich - -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/__init__.py b/web_dashboard_tile/__init__.py index 1d098b583ffa..91c5580fed36 100644 --- a/web_dashboard_tile/__init__.py +++ b/web_dashboard_tile/__init__.py @@ -1,7 +1,2 @@ -# -*- coding: utf-8 -*- -# © 2010-2013 OpenERP s.a. (). -# © 2014 initOS GmbH & Co. KG (). -# © 2015-Today GRAP -# License AGPL-3 - See http://www.gnu.org/licenses/agpl-3.0.html - +from . import controllers from . import models diff --git a/web_dashboard_tile/__openerp__.py b/web_dashboard_tile/__manifest__.py similarity index 63% rename from web_dashboard_tile/__openerp__.py rename to web_dashboard_tile/__manifest__.py index 7d78e47eaa4e..90fa483dfd8d 100644 --- a/web_dashboard_tile/__openerp__.py +++ b/web_dashboard_tile/__manifest__.py @@ -1,11 +1,10 @@ -# -*- coding: utf-8 -*- # © 2010-2013 OpenERP s.a. (). # © 2014 initOS GmbH & Co. KG (). # License AGPL-3 - See http://www.gnu.org/licenses/agpl-3.0.html { - "name": "Dashboard Tile", - "summary": "Add Tiles to Dashboard", - "version": "9.0.1.1.0", + "name": "Overview Dashboard (Tiles)", + "summary": "Add Overview Dashboards with Tiles", + "version": "12.0.1.0.0", "depends": ["web", "board", "mail", "web_widget_color"], "author": "initOS GmbH & Co. KG, " "GRAP, " @@ -18,15 +17,16 @@ "Iván Todorovich ", ], "data": [ - "views/tile.xml", - "views/templates.xml", "security/ir.model.access.csv", - "security/rules.xml", + "security/ir_rule.xml", + "views/menu.xml", + "views/tile_tile.xml", + "views/tile_category.xml", + "views/templates.xml", ], "demo": [ - "demo/res_groups.yml", - "demo/tile_category.yml", - "demo/tile_tile.yml", + "demo/tile_category.xml", + "demo/tile_tile.xml", ], - "qweb": ["static/src/xml/custom_xml.xml"], + "qweb": ["static/src/xml/web_dashboard_tile.xml"], } diff --git a/web_dashboard_tile/controllers/__init__.py b/web_dashboard_tile/controllers/__init__.py new file mode 100644 index 000000000000..12a7e529b674 --- /dev/null +++ b/web_dashboard_tile/controllers/__init__.py @@ -0,0 +1 @@ +from . import main diff --git a/web_dashboard_tile/controllers/main.py b/web_dashboard_tile/controllers/main.py new file mode 100644 index 000000000000..1f29fe29a28d --- /dev/null +++ b/web_dashboard_tile/controllers/main.py @@ -0,0 +1,15 @@ +# Copyright (C) 2019-Today: GTRAP () +# @author: Sylvain LE GAL (https://twitter.com/legalsylvain) +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). + +from odoo.http import Controller, route, request + + +class WebDashboardTile(Controller): + + @route('/web_dashboard_tile/create_tile', type='json', auth='user') + def create_tile(self, model_name, *args, **kwargs): + IrModel = request.env['ir.model'] + model = IrModel.search([('model', '=', model_name)]) + kwargs.update({'model_id': model.id}) + return request.env['tile.tile'].create(kwargs) diff --git a/web_dashboard_tile/demo/res_groups.yml b/web_dashboard_tile/demo/res_groups.yml deleted file mode 100644 index 735437c5c515..000000000000 --- a/web_dashboard_tile/demo/res_groups.yml +++ /dev/null @@ -1,25 +0,0 @@ -# -*- coding: utf-8 -*- -############################################################################## -# -# OpenERP, Open Source Management Solution -# Copyright (C) 2015-Today GRAP -# @author Sylvain LE GAL (https://twitter.com/legalsylvain) -# -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU Affero General Public License as -# published by the Free Software Foundation, either version 3 of the -# License, or (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU Affero General Public License for more details. -# -# You should have received a copy of the GNU Affero General Public License -# along with this program. If not, see . -# -############################################################################## - -- !record {model: res.groups, id: base.group_no_one}: - users: - - base.user_root diff --git a/web_dashboard_tile/demo/tile_category.xml b/web_dashboard_tile/demo/tile_category.xml new file mode 100644 index 000000000000..c8be7c677b2b --- /dev/null +++ b/web_dashboard_tile/demo/tile_category.xml @@ -0,0 +1,16 @@ + + + + + Modules + 1 + + + + + Currencies + 2 + + + + diff --git a/web_dashboard_tile/demo/tile_category.yml b/web_dashboard_tile/demo/tile_category.yml deleted file mode 100644 index 01bf0aeab682..000000000000 --- a/web_dashboard_tile/demo/tile_category.yml +++ /dev/null @@ -1,29 +0,0 @@ -# -*- coding: utf-8 -*- -############################################################################## -# -# OpenERP, Open Source Management Solution -# Copyright (C) 2015-Today GRAP -# @author Sylvain LE GAL (https://twitter.com/legalsylvain) -# -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU Affero General Public License as -# published by the Free Software Foundation, either version 3 of the -# License, or (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU Affero General Public License for more details. -# -# You should have received a copy of the GNU Affero General Public License -# along with this program. If not, see . -# -############################################################################## - -- !record {model: tile.category, id: modules}: - name: Modules - sequence: 0 - -- !record {model: tile.category, id: finance}: - name: Finance - sequence: 1 diff --git a/web_dashboard_tile/demo/tile_tile.xml b/web_dashboard_tile/demo/tile_tile.xml new file mode 100644 index 000000000000..aca1a2d349a3 --- /dev/null +++ b/web_dashboard_tile/demo/tile_tile.xml @@ -0,0 +1,29 @@ + + + + + Installed Modules + + + + [['state', 'in', ['installed', 'to upgrade', 'to remove']]] + + + + Installed OCA Modules + + + + [['state', 'in', ['installed', 'to upgrade', 'to remove']], ['author', 'ilike', 'Odoo Community Association (OCA)']] + + + + Currencies (Max Rate) + + + max + + [] + + + diff --git a/web_dashboard_tile/demo/tile_tile.yml b/web_dashboard_tile/demo/tile_tile.yml deleted file mode 100644 index 50cd7b69f13d..000000000000 --- a/web_dashboard_tile/demo/tile_tile.yml +++ /dev/null @@ -1,43 +0,0 @@ -# -*- coding: utf-8 -*- -############################################################################## -# -# OpenERP, Open Source Management Solution -# Copyright (C) 2015-Today GRAP -# @author Sylvain LE GAL (https://twitter.com/legalsylvain) -# -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU Affero General Public License as -# published by the Free Software Foundation, either version 3 of the -# License, or (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU Affero General Public License for more details. -# -# You should have received a copy of the GNU Affero General Public License -# along with this program. If not, see . -# -############################################################################## - -- !record {model: tile.tile, id: installed_modules}: - name: Installed Modules - category_id: modules - model_id: base.model_ir_module_module - domain: [['state', 'in', ['installed', 'to upgrade', 'to remove']]] - action_id: base.open_module_tree - -- !record {model: tile.tile, id: installed_OCA_modules}: - name: Installed OCA Modules - category_id: modules - model_id: base.model_ir_module_module - domain: [['state', 'in', ['installed', 'to upgrade', 'to remove']], ['author', 'ilike', 'Odoo Community Association (OCA)']] - action_id: base.open_module_tree - -- !record {model: tile.tile, id: all_currency_with_rate}: - name: Currencies (Max Rate) - category_id: finance - model_id: base.model_res_currency - domain: [] - secondary_function: max - secondary_field_id: base.field_res_currency_rate diff --git a/web_dashboard_tile/i18n/ar.po b/web_dashboard_tile/i18n/ar.po deleted file mode 100644 index baec909feb04..000000000000 --- a/web_dashboard_tile/i18n/ar.po +++ /dev/null @@ -1,332 +0,0 @@ -# Translation of Odoo Server. -# This file contains the translation of the following modules: -# * web_dashboard_tile -# -# Translators: -# OCA Transbot , 2018 -msgid "" -msgstr "" -"Project-Id-Version: Odoo Server 9.0c\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2018-01-25 03:54+0000\n" -"PO-Revision-Date: 2018-01-25 03:54+0000\n" -"Last-Translator: OCA Transbot , 2018\n" -"Language-Team: Arabic (https://www.transifex.com/oca/teams/23907/ar/)\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: \n" -"Language: ar\n" -"Plural-Forms: nplurals=6; plural=n==0 ? 0 : n==1 ? 1 : n==2 ? 2 : n%100>=3 && n%100<=10 ? 3 : n%100>=11 && n%100<=99 ? 4 : 5;\n" - -#. module: web_dashboard_tile -#: model:ir.model.fields,field_description:web_dashboard_tile.field_tile_tile_action_id -msgid "Action" -msgstr "" - -#. module: web_dashboard_tile -#: model:ir.model.fields,field_description:web_dashboard_tile.field_tile_tile_active -msgid "Active" -msgstr "" - -#. module: web_dashboard_tile -#: selection:tile.tile,primary_function:0 -#: selection:tile.tile,secondary_function:0 -msgid "Average" -msgstr "" - -#. module: web_dashboard_tile -#: model:ir.model.fields,field_description:web_dashboard_tile.field_tile_tile_background_color -msgid "Background color" -msgstr "" - -#. module: web_dashboard_tile -#: selection:tile.tile,primary_function:0 -#: selection:tile.tile,secondary_function:0 -msgid "Count" -msgstr "" - -#. module: web_dashboard_tile -#. openerp-web -#: code:addons/web_dashboard_tile/static/src/xml/custom_xml.xml:8 -#, python-format -msgid "Create" -msgstr "" - -#. module: web_dashboard_tile -#: model:ir.model.fields,field_description:web_dashboard_tile.field_tile_tile_create_uid -msgid "Created by" -msgstr "" - -#. module: web_dashboard_tile -#: model:ir.model.fields,field_description:web_dashboard_tile.field_tile_tile_create_date -msgid "Created on" -msgstr "" - -#. module: web_dashboard_tile -#: model:ir.actions.act_window,name:web_dashboard_tile.action_kanban_dashboard_tile -#: model:ir.actions.act_window,name:web_dashboard_tile.action_tree_dashboard_tile -#: model:ir.ui.menu,name:web_dashboard_tile.mail_dashboard -msgid "Dashboard" -msgstr "" - -#. module: web_dashboard_tile -#: model:ir.model,name:web_dashboard_tile.model_tile_tile -#: model:ir.ui.menu,name:web_dashboard_tile.menue_dashboard_tile -msgid "Dashboard Tile" -msgstr "" - -#. module: web_dashboard_tile -#: model:ir.ui.view,arch_db:web_dashboard_tile.dashboard_tile_tile_form_view -#: model:ir.ui.view,arch_db:web_dashboard_tile.dashboard_tile_tile_tree_view -msgid "Dashboard tiles" -msgstr "" - -#. module: web_dashboard_tile -#: model:ir.ui.view,arch_db:web_dashboard_tile.dashboard_tile_tile_form_view -msgid "Display" -msgstr "" - -#. module: web_dashboard_tile -#: model:ir.model.fields,field_description:web_dashboard_tile.field_tile_tile_display_name -msgid "Display Name" -msgstr "" - -#. module: web_dashboard_tile -#: model:ir.model.fields,field_description:web_dashboard_tile.field_tile_tile_domain -msgid "Domain" -msgstr "" - -#. module: web_dashboard_tile -#. openerp-web -#: code:addons/web_dashboard_tile/static/src/js/custom_js.js:57 -#, python-format -msgid "Error" -msgstr "" - -#. module: web_dashboard_tile -#: model:ir.model.fields,field_description:web_dashboard_tile.field_tile_tile_error -msgid "Error Details" -msgstr "" - -#. module: web_dashboard_tile -#: model:ir.model.fields,field_description:web_dashboard_tile.field_tile_tile_primary_field_id -msgid "Field" -msgstr "الحقل" - -#. module: web_dashboard_tile -#. openerp-web -#: code:addons/web_dashboard_tile/static/src/js/custom_js.js:57 -#, python-format -msgid "Filter name is required." -msgstr "" - -#. module: web_dashboard_tile -#: model:ir.model.fields,field_description:web_dashboard_tile.field_tile_tile_font_color -msgid "Font color" -msgstr "" - -#. module: web_dashboard_tile -#: model:ir.model.fields,field_description:web_dashboard_tile.field_tile_tile_primary_format -msgid "Format" -msgstr "" - -#. module: web_dashboard_tile -#: model:ir.model.fields,field_description:web_dashboard_tile.field_tile_tile_primary_function -msgid "Function" -msgstr "" - -#. module: web_dashboard_tile -#: model:ir.model.fields,field_description:web_dashboard_tile.field_tile_tile_group_ids -#: model:ir.ui.view,arch_db:web_dashboard_tile.dashboard_tile_tile_form_view -msgid "Groups" -msgstr "" - -#. module: web_dashboard_tile -#: model:ir.model.fields,field_description:web_dashboard_tile.field_tile_tile_primary_helper -msgid "Helper" -msgstr "" - -#. module: web_dashboard_tile -#: model:ir.model.fields,field_description:web_dashboard_tile.field_tile_tile_id -msgid "ID" -msgstr "" - -#. module: web_dashboard_tile -#: model:ir.model.fields,help:web_dashboard_tile.field_tile_tile_group_ids -msgid "" -"If this field is set, only users of this group can view this tile. Please " -"note that it will only work for global tiles (that is, when User field is " -"left empty)" -msgstr "" - -#. module: web_dashboard_tile -#: model:ir.model.fields,field_description:web_dashboard_tile.field_tile_tile___last_update -msgid "Last Modified on" -msgstr "" - -#. module: web_dashboard_tile -#: model:ir.model.fields,field_description:web_dashboard_tile.field_tile_tile_write_uid -msgid "Last Updated by" -msgstr "" - -#. module: web_dashboard_tile -#: model:ir.model.fields,field_description:web_dashboard_tile.field_tile_tile_write_date -msgid "Last Updated on" -msgstr "" - -#. module: web_dashboard_tile -#: model:ir.ui.view,arch_db:web_dashboard_tile.dashboard_tile_tile_form_view -msgid "Main Value" -msgstr "" - -#. module: web_dashboard_tile -#: selection:tile.tile,primary_function:0 -#: selection:tile.tile,secondary_function:0 -msgid "Maximum" -msgstr "" - -#. module: web_dashboard_tile -#: code:addons/web_dashboard_tile/models/tile_tile.py:39 -#, python-format -msgid "Maximum value of '%s'" -msgstr "" - -#. module: web_dashboard_tile -#: selection:tile.tile,primary_function:0 -#: selection:tile.tile,secondary_function:0 -msgid "Median" -msgstr "" - -#. module: web_dashboard_tile -#: code:addons/web_dashboard_tile/models/tile_tile.py:51 -#, python-format -msgid "Median value of '%s'" -msgstr "" - -#. module: web_dashboard_tile -#: selection:tile.tile,primary_function:0 -#: selection:tile.tile,secondary_function:0 -msgid "Minimum" -msgstr "" - -#. module: web_dashboard_tile -#: code:addons/web_dashboard_tile/models/tile_tile.py:35 -#: code:addons/web_dashboard_tile/models/tile_tile.py:47 -#, python-format -msgid "Minimum value of '%s'" -msgstr "" - -#. module: web_dashboard_tile -#: model:ir.model.fields,field_description:web_dashboard_tile.field_tile_tile_model_id -msgid "Model" -msgstr "" - -#. module: web_dashboard_tile -#: model:ir.model.fields,field_description:web_dashboard_tile.field_tile_tile_name -msgid "Name" -msgstr "" - -#. module: web_dashboard_tile -#: code:addons/web_dashboard_tile/models/tile_tile.py:31 -#, python-format -msgid "Number of records" -msgstr "" - -#. module: web_dashboard_tile -#: code:addons/web_dashboard_tile/models/tile_tile.py:241 -#, python-format -msgid "Please select a field from the selected model." -msgstr "" - -#. module: web_dashboard_tile -#: model:ir.model.fields,help:web_dashboard_tile.field_tile_tile_primary_format -#: model:ir.model.fields,help:web_dashboard_tile.field_tile_tile_secondary_format -msgid "" -"Python Format String valid with str.format()\n" -"ie: '{:,} Kgs' will output '1,000 Kgs' if value is 1000." -msgstr "" - -#. module: web_dashboard_tile -#: model:ir.model.fields,field_description:web_dashboard_tile.field_tile_tile_secondary_field_id -msgid "Secondary Field" -msgstr "" - -#. module: web_dashboard_tile -#: model:ir.model.fields,field_description:web_dashboard_tile.field_tile_tile_secondary_format -msgid "Secondary Format" -msgstr "" - -#. module: web_dashboard_tile -#: model:ir.model.fields,field_description:web_dashboard_tile.field_tile_tile_secondary_function -msgid "Secondary Function" -msgstr "" - -#. module: web_dashboard_tile -#: model:ir.model.fields,field_description:web_dashboard_tile.field_tile_tile_secondary_helper -msgid "Secondary Helper" -msgstr "" - -#. module: web_dashboard_tile -#: model:ir.model.fields,field_description:web_dashboard_tile.field_tile_tile_secondary_value -#: model:ir.ui.view,arch_db:web_dashboard_tile.dashboard_tile_tile_form_view -msgid "Secondary Value" -msgstr "" - -#. module: web_dashboard_tile -#: model:ir.model.fields,field_description:web_dashboard_tile.field_tile_tile_sequence -msgid "Sequence" -msgstr "" - -#. module: web_dashboard_tile -#. openerp-web -#: code:addons/web_dashboard_tile/static/src/js/custom_js.js:96 -#, python-format -msgid "Success" -msgstr "" - -#. module: web_dashboard_tile -#: selection:tile.tile,primary_function:0 -#: selection:tile.tile,secondary_function:0 -msgid "Sum" -msgstr "" - -#. module: web_dashboard_tile -#: model:ir.ui.view,arch_db:web_dashboard_tile.dashboard_tile_tile_form_view -msgid "Technical Informations" -msgstr "" - -#. module: web_dashboard_tile -#. openerp-web -#: code:addons/web_dashboard_tile/static/src/js/custom_js.js:96 -#, python-format -msgid "Tile is created" -msgstr "" - -#. module: web_dashboard_tile -#. openerp-web -#: code:addons/web_dashboard_tile/static/src/xml/custom_xml.xml:6 -#, python-format -msgid "Tile:" -msgstr "" - -#. module: web_dashboard_tile -#: code:addons/web_dashboard_tile/models/tile_tile.py:43 -#, python-format -msgid "Total value of '%s'" -msgstr "" - -#. module: web_dashboard_tile -#: code:addons/web_dashboard_tile/models/tile_tile.py:216 -#, python-format -msgid "Unimplemented Feature. Search on Active field disabled." -msgstr "" - -#. module: web_dashboard_tile -#: model:ir.model.fields,field_description:web_dashboard_tile.field_tile_tile_user_id -msgid "User" -msgstr "" - -#. module: web_dashboard_tile -#: model:ir.model.fields,field_description:web_dashboard_tile.field_tile_tile_primary_value -msgid "Value" -msgstr "" diff --git a/web_dashboard_tile/i18n/ca.po b/web_dashboard_tile/i18n/ca.po deleted file mode 100644 index c8f94eb99c30..000000000000 --- a/web_dashboard_tile/i18n/ca.po +++ /dev/null @@ -1,332 +0,0 @@ -# Translation of Odoo Server. -# This file contains the translation of the following modules: -# * web_dashboard_tile -# -# Translators: -# Marc Tormo i Bochaca , 2018 -msgid "" -msgstr "" -"Project-Id-Version: Odoo Server 9.0c\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2018-01-25 03:54+0000\n" -"PO-Revision-Date: 2018-01-25 03:54+0000\n" -"Last-Translator: Marc Tormo i Bochaca , 2018\n" -"Language-Team: Catalan (https://www.transifex.com/oca/teams/23907/ca/)\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: \n" -"Language: ca\n" -"Plural-Forms: nplurals=2; plural=(n != 1);\n" - -#. module: web_dashboard_tile -#: model:ir.model.fields,field_description:web_dashboard_tile.field_tile_tile_action_id -msgid "Action" -msgstr "" - -#. module: web_dashboard_tile -#: model:ir.model.fields,field_description:web_dashboard_tile.field_tile_tile_active -msgid "Active" -msgstr "" - -#. module: web_dashboard_tile -#: selection:tile.tile,primary_function:0 -#: selection:tile.tile,secondary_function:0 -msgid "Average" -msgstr "" - -#. module: web_dashboard_tile -#: model:ir.model.fields,field_description:web_dashboard_tile.field_tile_tile_background_color -msgid "Background color" -msgstr "" - -#. module: web_dashboard_tile -#: selection:tile.tile,primary_function:0 -#: selection:tile.tile,secondary_function:0 -msgid "Count" -msgstr "" - -#. module: web_dashboard_tile -#. openerp-web -#: code:addons/web_dashboard_tile/static/src/xml/custom_xml.xml:8 -#, python-format -msgid "Create" -msgstr "" - -#. module: web_dashboard_tile -#: model:ir.model.fields,field_description:web_dashboard_tile.field_tile_tile_create_uid -msgid "Created by" -msgstr "Creat per" - -#. module: web_dashboard_tile -#: model:ir.model.fields,field_description:web_dashboard_tile.field_tile_tile_create_date -msgid "Created on" -msgstr "Creat a " - -#. module: web_dashboard_tile -#: model:ir.actions.act_window,name:web_dashboard_tile.action_kanban_dashboard_tile -#: model:ir.actions.act_window,name:web_dashboard_tile.action_tree_dashboard_tile -#: model:ir.ui.menu,name:web_dashboard_tile.mail_dashboard -msgid "Dashboard" -msgstr "" - -#. module: web_dashboard_tile -#: model:ir.model,name:web_dashboard_tile.model_tile_tile -#: model:ir.ui.menu,name:web_dashboard_tile.menue_dashboard_tile -msgid "Dashboard Tile" -msgstr "" - -#. module: web_dashboard_tile -#: model:ir.ui.view,arch_db:web_dashboard_tile.dashboard_tile_tile_form_view -#: model:ir.ui.view,arch_db:web_dashboard_tile.dashboard_tile_tile_tree_view -msgid "Dashboard tiles" -msgstr "" - -#. module: web_dashboard_tile -#: model:ir.ui.view,arch_db:web_dashboard_tile.dashboard_tile_tile_form_view -msgid "Display" -msgstr "" - -#. module: web_dashboard_tile -#: model:ir.model.fields,field_description:web_dashboard_tile.field_tile_tile_display_name -msgid "Display Name" -msgstr "Nom a mostrar" - -#. module: web_dashboard_tile -#: model:ir.model.fields,field_description:web_dashboard_tile.field_tile_tile_domain -msgid "Domain" -msgstr "" - -#. module: web_dashboard_tile -#. openerp-web -#: code:addons/web_dashboard_tile/static/src/js/custom_js.js:57 -#, python-format -msgid "Error" -msgstr "" - -#. module: web_dashboard_tile -#: model:ir.model.fields,field_description:web_dashboard_tile.field_tile_tile_error -msgid "Error Details" -msgstr "" - -#. module: web_dashboard_tile -#: model:ir.model.fields,field_description:web_dashboard_tile.field_tile_tile_primary_field_id -msgid "Field" -msgstr "" - -#. module: web_dashboard_tile -#. openerp-web -#: code:addons/web_dashboard_tile/static/src/js/custom_js.js:57 -#, python-format -msgid "Filter name is required." -msgstr "" - -#. module: web_dashboard_tile -#: model:ir.model.fields,field_description:web_dashboard_tile.field_tile_tile_font_color -msgid "Font color" -msgstr "" - -#. module: web_dashboard_tile -#: model:ir.model.fields,field_description:web_dashboard_tile.field_tile_tile_primary_format -msgid "Format" -msgstr "" - -#. module: web_dashboard_tile -#: model:ir.model.fields,field_description:web_dashboard_tile.field_tile_tile_primary_function -msgid "Function" -msgstr "" - -#. module: web_dashboard_tile -#: model:ir.model.fields,field_description:web_dashboard_tile.field_tile_tile_group_ids -#: model:ir.ui.view,arch_db:web_dashboard_tile.dashboard_tile_tile_form_view -msgid "Groups" -msgstr "" - -#. module: web_dashboard_tile -#: model:ir.model.fields,field_description:web_dashboard_tile.field_tile_tile_primary_helper -msgid "Helper" -msgstr "" - -#. module: web_dashboard_tile -#: model:ir.model.fields,field_description:web_dashboard_tile.field_tile_tile_id -msgid "ID" -msgstr "ID" - -#. module: web_dashboard_tile -#: model:ir.model.fields,help:web_dashboard_tile.field_tile_tile_group_ids -msgid "" -"If this field is set, only users of this group can view this tile. Please " -"note that it will only work for global tiles (that is, when User field is " -"left empty)" -msgstr "" - -#. module: web_dashboard_tile -#: model:ir.model.fields,field_description:web_dashboard_tile.field_tile_tile___last_update -msgid "Last Modified on" -msgstr "Última modificació a" - -#. module: web_dashboard_tile -#: model:ir.model.fields,field_description:web_dashboard_tile.field_tile_tile_write_uid -msgid "Last Updated by" -msgstr "Última actualització per" - -#. module: web_dashboard_tile -#: model:ir.model.fields,field_description:web_dashboard_tile.field_tile_tile_write_date -msgid "Last Updated on" -msgstr "Última actualització a " - -#. module: web_dashboard_tile -#: model:ir.ui.view,arch_db:web_dashboard_tile.dashboard_tile_tile_form_view -msgid "Main Value" -msgstr "" - -#. module: web_dashboard_tile -#: selection:tile.tile,primary_function:0 -#: selection:tile.tile,secondary_function:0 -msgid "Maximum" -msgstr "" - -#. module: web_dashboard_tile -#: code:addons/web_dashboard_tile/models/tile_tile.py:39 -#, python-format -msgid "Maximum value of '%s'" -msgstr "" - -#. module: web_dashboard_tile -#: selection:tile.tile,primary_function:0 -#: selection:tile.tile,secondary_function:0 -msgid "Median" -msgstr "" - -#. module: web_dashboard_tile -#: code:addons/web_dashboard_tile/models/tile_tile.py:51 -#, python-format -msgid "Median value of '%s'" -msgstr "" - -#. module: web_dashboard_tile -#: selection:tile.tile,primary_function:0 -#: selection:tile.tile,secondary_function:0 -msgid "Minimum" -msgstr "" - -#. module: web_dashboard_tile -#: code:addons/web_dashboard_tile/models/tile_tile.py:35 -#: code:addons/web_dashboard_tile/models/tile_tile.py:47 -#, python-format -msgid "Minimum value of '%s'" -msgstr "" - -#. module: web_dashboard_tile -#: model:ir.model.fields,field_description:web_dashboard_tile.field_tile_tile_model_id -msgid "Model" -msgstr "" - -#. module: web_dashboard_tile -#: model:ir.model.fields,field_description:web_dashboard_tile.field_tile_tile_name -msgid "Name" -msgstr "" - -#. module: web_dashboard_tile -#: code:addons/web_dashboard_tile/models/tile_tile.py:31 -#, python-format -msgid "Number of records" -msgstr "" - -#. module: web_dashboard_tile -#: code:addons/web_dashboard_tile/models/tile_tile.py:241 -#, python-format -msgid "Please select a field from the selected model." -msgstr "" - -#. module: web_dashboard_tile -#: model:ir.model.fields,help:web_dashboard_tile.field_tile_tile_primary_format -#: model:ir.model.fields,help:web_dashboard_tile.field_tile_tile_secondary_format -msgid "" -"Python Format String valid with str.format()\n" -"ie: '{:,} Kgs' will output '1,000 Kgs' if value is 1000." -msgstr "" - -#. module: web_dashboard_tile -#: model:ir.model.fields,field_description:web_dashboard_tile.field_tile_tile_secondary_field_id -msgid "Secondary Field" -msgstr "" - -#. module: web_dashboard_tile -#: model:ir.model.fields,field_description:web_dashboard_tile.field_tile_tile_secondary_format -msgid "Secondary Format" -msgstr "" - -#. module: web_dashboard_tile -#: model:ir.model.fields,field_description:web_dashboard_tile.field_tile_tile_secondary_function -msgid "Secondary Function" -msgstr "" - -#. module: web_dashboard_tile -#: model:ir.model.fields,field_description:web_dashboard_tile.field_tile_tile_secondary_helper -msgid "Secondary Helper" -msgstr "" - -#. module: web_dashboard_tile -#: model:ir.model.fields,field_description:web_dashboard_tile.field_tile_tile_secondary_value -#: model:ir.ui.view,arch_db:web_dashboard_tile.dashboard_tile_tile_form_view -msgid "Secondary Value" -msgstr "" - -#. module: web_dashboard_tile -#: model:ir.model.fields,field_description:web_dashboard_tile.field_tile_tile_sequence -msgid "Sequence" -msgstr "" - -#. module: web_dashboard_tile -#. openerp-web -#: code:addons/web_dashboard_tile/static/src/js/custom_js.js:96 -#, python-format -msgid "Success" -msgstr "" - -#. module: web_dashboard_tile -#: selection:tile.tile,primary_function:0 -#: selection:tile.tile,secondary_function:0 -msgid "Sum" -msgstr "" - -#. module: web_dashboard_tile -#: model:ir.ui.view,arch_db:web_dashboard_tile.dashboard_tile_tile_form_view -msgid "Technical Informations" -msgstr "" - -#. module: web_dashboard_tile -#. openerp-web -#: code:addons/web_dashboard_tile/static/src/js/custom_js.js:96 -#, python-format -msgid "Tile is created" -msgstr "" - -#. module: web_dashboard_tile -#. openerp-web -#: code:addons/web_dashboard_tile/static/src/xml/custom_xml.xml:6 -#, python-format -msgid "Tile:" -msgstr "" - -#. module: web_dashboard_tile -#: code:addons/web_dashboard_tile/models/tile_tile.py:43 -#, python-format -msgid "Total value of '%s'" -msgstr "" - -#. module: web_dashboard_tile -#: code:addons/web_dashboard_tile/models/tile_tile.py:216 -#, python-format -msgid "Unimplemented Feature. Search on Active field disabled." -msgstr "" - -#. module: web_dashboard_tile -#: model:ir.model.fields,field_description:web_dashboard_tile.field_tile_tile_user_id -msgid "User" -msgstr "" - -#. module: web_dashboard_tile -#: model:ir.model.fields,field_description:web_dashboard_tile.field_tile_tile_primary_value -msgid "Value" -msgstr "" diff --git a/web_dashboard_tile/i18n/de.po b/web_dashboard_tile/i18n/de.po deleted file mode 100644 index a1a7695699f1..000000000000 --- a/web_dashboard_tile/i18n/de.po +++ /dev/null @@ -1,333 +0,0 @@ -# Translation of Odoo Server. -# This file contains the translation of the following modules: -# * web_dashboard_tile -# -# Translators: -# Rudolf Schnapka , 2018 -# OCA Transbot , 2018 -msgid "" -msgstr "" -"Project-Id-Version: Odoo Server 9.0c\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2018-01-25 03:54+0000\n" -"PO-Revision-Date: 2018-01-25 03:54+0000\n" -"Last-Translator: OCA Transbot , 2018\n" -"Language-Team: German (https://www.transifex.com/oca/teams/23907/de/)\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: \n" -"Language: de\n" -"Plural-Forms: nplurals=2; plural=(n != 1);\n" - -#. module: web_dashboard_tile -#: model:ir.model.fields,field_description:web_dashboard_tile.field_tile_tile_action_id -msgid "Action" -msgstr "" - -#. module: web_dashboard_tile -#: model:ir.model.fields,field_description:web_dashboard_tile.field_tile_tile_active -msgid "Active" -msgstr "" - -#. module: web_dashboard_tile -#: selection:tile.tile,primary_function:0 -#: selection:tile.tile,secondary_function:0 -msgid "Average" -msgstr "" - -#. module: web_dashboard_tile -#: model:ir.model.fields,field_description:web_dashboard_tile.field_tile_tile_background_color -msgid "Background color" -msgstr "" - -#. module: web_dashboard_tile -#: selection:tile.tile,primary_function:0 -#: selection:tile.tile,secondary_function:0 -msgid "Count" -msgstr "" - -#. module: web_dashboard_tile -#. openerp-web -#: code:addons/web_dashboard_tile/static/src/xml/custom_xml.xml:8 -#, python-format -msgid "Create" -msgstr "Anlegen" - -#. module: web_dashboard_tile -#: model:ir.model.fields,field_description:web_dashboard_tile.field_tile_tile_create_uid -msgid "Created by" -msgstr "Angelegt durch" - -#. module: web_dashboard_tile -#: model:ir.model.fields,field_description:web_dashboard_tile.field_tile_tile_create_date -msgid "Created on" -msgstr "Angelegt am" - -#. module: web_dashboard_tile -#: model:ir.actions.act_window,name:web_dashboard_tile.action_kanban_dashboard_tile -#: model:ir.actions.act_window,name:web_dashboard_tile.action_tree_dashboard_tile -#: model:ir.ui.menu,name:web_dashboard_tile.mail_dashboard -msgid "Dashboard" -msgstr "" - -#. module: web_dashboard_tile -#: model:ir.model,name:web_dashboard_tile.model_tile_tile -#: model:ir.ui.menu,name:web_dashboard_tile.menue_dashboard_tile -msgid "Dashboard Tile" -msgstr "" - -#. module: web_dashboard_tile -#: model:ir.ui.view,arch_db:web_dashboard_tile.dashboard_tile_tile_form_view -#: model:ir.ui.view,arch_db:web_dashboard_tile.dashboard_tile_tile_tree_view -msgid "Dashboard tiles" -msgstr "" - -#. module: web_dashboard_tile -#: model:ir.ui.view,arch_db:web_dashboard_tile.dashboard_tile_tile_form_view -msgid "Display" -msgstr "" - -#. module: web_dashboard_tile -#: model:ir.model.fields,field_description:web_dashboard_tile.field_tile_tile_display_name -msgid "Display Name" -msgstr "Anzeigebezeichnung" - -#. module: web_dashboard_tile -#: model:ir.model.fields,field_description:web_dashboard_tile.field_tile_tile_domain -msgid "Domain" -msgstr "" - -#. module: web_dashboard_tile -#. openerp-web -#: code:addons/web_dashboard_tile/static/src/js/custom_js.js:57 -#, python-format -msgid "Error" -msgstr "" - -#. module: web_dashboard_tile -#: model:ir.model.fields,field_description:web_dashboard_tile.field_tile_tile_error -msgid "Error Details" -msgstr "" - -#. module: web_dashboard_tile -#: model:ir.model.fields,field_description:web_dashboard_tile.field_tile_tile_primary_field_id -msgid "Field" -msgstr "Feld" - -#. module: web_dashboard_tile -#. openerp-web -#: code:addons/web_dashboard_tile/static/src/js/custom_js.js:57 -#, python-format -msgid "Filter name is required." -msgstr "" - -#. module: web_dashboard_tile -#: model:ir.model.fields,field_description:web_dashboard_tile.field_tile_tile_font_color -msgid "Font color" -msgstr "" - -#. module: web_dashboard_tile -#: model:ir.model.fields,field_description:web_dashboard_tile.field_tile_tile_primary_format -msgid "Format" -msgstr "" - -#. module: web_dashboard_tile -#: model:ir.model.fields,field_description:web_dashboard_tile.field_tile_tile_primary_function -msgid "Function" -msgstr "" - -#. module: web_dashboard_tile -#: model:ir.model.fields,field_description:web_dashboard_tile.field_tile_tile_group_ids -#: model:ir.ui.view,arch_db:web_dashboard_tile.dashboard_tile_tile_form_view -msgid "Groups" -msgstr "" - -#. module: web_dashboard_tile -#: model:ir.model.fields,field_description:web_dashboard_tile.field_tile_tile_primary_helper -msgid "Helper" -msgstr "" - -#. module: web_dashboard_tile -#: model:ir.model.fields,field_description:web_dashboard_tile.field_tile_tile_id -msgid "ID" -msgstr "ID" - -#. module: web_dashboard_tile -#: model:ir.model.fields,help:web_dashboard_tile.field_tile_tile_group_ids -msgid "" -"If this field is set, only users of this group can view this tile. Please " -"note that it will only work for global tiles (that is, when User field is " -"left empty)" -msgstr "" - -#. module: web_dashboard_tile -#: model:ir.model.fields,field_description:web_dashboard_tile.field_tile_tile___last_update -msgid "Last Modified on" -msgstr "Zuletzt geändert am" - -#. module: web_dashboard_tile -#: model:ir.model.fields,field_description:web_dashboard_tile.field_tile_tile_write_uid -msgid "Last Updated by" -msgstr "Zuletzt geändert durch" - -#. module: web_dashboard_tile -#: model:ir.model.fields,field_description:web_dashboard_tile.field_tile_tile_write_date -msgid "Last Updated on" -msgstr "Zuletzt aktualisiert am" - -#. module: web_dashboard_tile -#: model:ir.ui.view,arch_db:web_dashboard_tile.dashboard_tile_tile_form_view -msgid "Main Value" -msgstr "" - -#. module: web_dashboard_tile -#: selection:tile.tile,primary_function:0 -#: selection:tile.tile,secondary_function:0 -msgid "Maximum" -msgstr "" - -#. module: web_dashboard_tile -#: code:addons/web_dashboard_tile/models/tile_tile.py:39 -#, python-format -msgid "Maximum value of '%s'" -msgstr "" - -#. module: web_dashboard_tile -#: selection:tile.tile,primary_function:0 -#: selection:tile.tile,secondary_function:0 -msgid "Median" -msgstr "" - -#. module: web_dashboard_tile -#: code:addons/web_dashboard_tile/models/tile_tile.py:51 -#, python-format -msgid "Median value of '%s'" -msgstr "" - -#. module: web_dashboard_tile -#: selection:tile.tile,primary_function:0 -#: selection:tile.tile,secondary_function:0 -msgid "Minimum" -msgstr "" - -#. module: web_dashboard_tile -#: code:addons/web_dashboard_tile/models/tile_tile.py:35 -#: code:addons/web_dashboard_tile/models/tile_tile.py:47 -#, python-format -msgid "Minimum value of '%s'" -msgstr "" - -#. module: web_dashboard_tile -#: model:ir.model.fields,field_description:web_dashboard_tile.field_tile_tile_model_id -msgid "Model" -msgstr "" - -#. module: web_dashboard_tile -#: model:ir.model.fields,field_description:web_dashboard_tile.field_tile_tile_name -msgid "Name" -msgstr "" - -#. module: web_dashboard_tile -#: code:addons/web_dashboard_tile/models/tile_tile.py:31 -#, python-format -msgid "Number of records" -msgstr "" - -#. module: web_dashboard_tile -#: code:addons/web_dashboard_tile/models/tile_tile.py:241 -#, python-format -msgid "Please select a field from the selected model." -msgstr "" - -#. module: web_dashboard_tile -#: model:ir.model.fields,help:web_dashboard_tile.field_tile_tile_primary_format -#: model:ir.model.fields,help:web_dashboard_tile.field_tile_tile_secondary_format -msgid "" -"Python Format String valid with str.format()\n" -"ie: '{:,} Kgs' will output '1,000 Kgs' if value is 1000." -msgstr "" - -#. module: web_dashboard_tile -#: model:ir.model.fields,field_description:web_dashboard_tile.field_tile_tile_secondary_field_id -msgid "Secondary Field" -msgstr "" - -#. module: web_dashboard_tile -#: model:ir.model.fields,field_description:web_dashboard_tile.field_tile_tile_secondary_format -msgid "Secondary Format" -msgstr "" - -#. module: web_dashboard_tile -#: model:ir.model.fields,field_description:web_dashboard_tile.field_tile_tile_secondary_function -msgid "Secondary Function" -msgstr "" - -#. module: web_dashboard_tile -#: model:ir.model.fields,field_description:web_dashboard_tile.field_tile_tile_secondary_helper -msgid "Secondary Helper" -msgstr "" - -#. module: web_dashboard_tile -#: model:ir.model.fields,field_description:web_dashboard_tile.field_tile_tile_secondary_value -#: model:ir.ui.view,arch_db:web_dashboard_tile.dashboard_tile_tile_form_view -msgid "Secondary Value" -msgstr "" - -#. module: web_dashboard_tile -#: model:ir.model.fields,field_description:web_dashboard_tile.field_tile_tile_sequence -msgid "Sequence" -msgstr "" - -#. module: web_dashboard_tile -#. openerp-web -#: code:addons/web_dashboard_tile/static/src/js/custom_js.js:96 -#, python-format -msgid "Success" -msgstr "" - -#. module: web_dashboard_tile -#: selection:tile.tile,primary_function:0 -#: selection:tile.tile,secondary_function:0 -msgid "Sum" -msgstr "" - -#. module: web_dashboard_tile -#: model:ir.ui.view,arch_db:web_dashboard_tile.dashboard_tile_tile_form_view -msgid "Technical Informations" -msgstr "" - -#. module: web_dashboard_tile -#. openerp-web -#: code:addons/web_dashboard_tile/static/src/js/custom_js.js:96 -#, python-format -msgid "Tile is created" -msgstr "" - -#. module: web_dashboard_tile -#. openerp-web -#: code:addons/web_dashboard_tile/static/src/xml/custom_xml.xml:6 -#, python-format -msgid "Tile:" -msgstr "" - -#. module: web_dashboard_tile -#: code:addons/web_dashboard_tile/models/tile_tile.py:43 -#, python-format -msgid "Total value of '%s'" -msgstr "" - -#. module: web_dashboard_tile -#: code:addons/web_dashboard_tile/models/tile_tile.py:216 -#, python-format -msgid "Unimplemented Feature. Search on Active field disabled." -msgstr "" - -#. module: web_dashboard_tile -#: model:ir.model.fields,field_description:web_dashboard_tile.field_tile_tile_user_id -msgid "User" -msgstr "" - -#. module: web_dashboard_tile -#: model:ir.model.fields,field_description:web_dashboard_tile.field_tile_tile_primary_value -msgid "Value" -msgstr "" diff --git a/web_dashboard_tile/i18n/es.po b/web_dashboard_tile/i18n/es.po deleted file mode 100644 index b3feb292b31d..000000000000 --- a/web_dashboard_tile/i18n/es.po +++ /dev/null @@ -1,333 +0,0 @@ -# Translation of Odoo Server. -# This file contains the translation of the following modules: -# * web_dashboard_tile -# -# Translators: -# OCA Transbot , 2018 -# Pedro M. Baeza , 2018 -msgid "" -msgstr "" -"Project-Id-Version: Odoo Server 9.0c\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2018-01-25 03:54+0000\n" -"PO-Revision-Date: 2018-01-25 03:54+0000\n" -"Last-Translator: Pedro M. Baeza , 2018\n" -"Language-Team: Spanish (https://www.transifex.com/oca/teams/23907/es/)\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: \n" -"Language: es\n" -"Plural-Forms: nplurals=2; plural=(n != 1);\n" - -#. module: web_dashboard_tile -#: model:ir.model.fields,field_description:web_dashboard_tile.field_tile_tile_action_id -msgid "Action" -msgstr "" - -#. module: web_dashboard_tile -#: model:ir.model.fields,field_description:web_dashboard_tile.field_tile_tile_active -msgid "Active" -msgstr "" - -#. module: web_dashboard_tile -#: selection:tile.tile,primary_function:0 -#: selection:tile.tile,secondary_function:0 -msgid "Average" -msgstr "" - -#. module: web_dashboard_tile -#: model:ir.model.fields,field_description:web_dashboard_tile.field_tile_tile_background_color -msgid "Background color" -msgstr "" - -#. module: web_dashboard_tile -#: selection:tile.tile,primary_function:0 -#: selection:tile.tile,secondary_function:0 -msgid "Count" -msgstr "" - -#. module: web_dashboard_tile -#. openerp-web -#: code:addons/web_dashboard_tile/static/src/xml/custom_xml.xml:8 -#, python-format -msgid "Create" -msgstr "Crear" - -#. module: web_dashboard_tile -#: model:ir.model.fields,field_description:web_dashboard_tile.field_tile_tile_create_uid -msgid "Created by" -msgstr "" - -#. module: web_dashboard_tile -#: model:ir.model.fields,field_description:web_dashboard_tile.field_tile_tile_create_date -msgid "Created on" -msgstr "" - -#. module: web_dashboard_tile -#: model:ir.actions.act_window,name:web_dashboard_tile.action_kanban_dashboard_tile -#: model:ir.actions.act_window,name:web_dashboard_tile.action_tree_dashboard_tile -#: model:ir.ui.menu,name:web_dashboard_tile.mail_dashboard -msgid "Dashboard" -msgstr "" - -#. module: web_dashboard_tile -#: model:ir.model,name:web_dashboard_tile.model_tile_tile -#: model:ir.ui.menu,name:web_dashboard_tile.menue_dashboard_tile -msgid "Dashboard Tile" -msgstr "" - -#. module: web_dashboard_tile -#: model:ir.ui.view,arch_db:web_dashboard_tile.dashboard_tile_tile_form_view -#: model:ir.ui.view,arch_db:web_dashboard_tile.dashboard_tile_tile_tree_view -msgid "Dashboard tiles" -msgstr "" - -#. module: web_dashboard_tile -#: model:ir.ui.view,arch_db:web_dashboard_tile.dashboard_tile_tile_form_view -msgid "Display" -msgstr "" - -#. module: web_dashboard_tile -#: model:ir.model.fields,field_description:web_dashboard_tile.field_tile_tile_display_name -msgid "Display Name" -msgstr "" - -#. module: web_dashboard_tile -#: model:ir.model.fields,field_description:web_dashboard_tile.field_tile_tile_domain -msgid "Domain" -msgstr "" - -#. module: web_dashboard_tile -#. openerp-web -#: code:addons/web_dashboard_tile/static/src/js/custom_js.js:57 -#, python-format -msgid "Error" -msgstr "" - -#. module: web_dashboard_tile -#: model:ir.model.fields,field_description:web_dashboard_tile.field_tile_tile_error -msgid "Error Details" -msgstr "" - -#. module: web_dashboard_tile -#: model:ir.model.fields,field_description:web_dashboard_tile.field_tile_tile_primary_field_id -msgid "Field" -msgstr "Campo" - -#. module: web_dashboard_tile -#. openerp-web -#: code:addons/web_dashboard_tile/static/src/js/custom_js.js:57 -#, python-format -msgid "Filter name is required." -msgstr "" - -#. module: web_dashboard_tile -#: model:ir.model.fields,field_description:web_dashboard_tile.field_tile_tile_font_color -msgid "Font color" -msgstr "" - -#. module: web_dashboard_tile -#: model:ir.model.fields,field_description:web_dashboard_tile.field_tile_tile_primary_format -msgid "Format" -msgstr "" - -#. module: web_dashboard_tile -#: model:ir.model.fields,field_description:web_dashboard_tile.field_tile_tile_primary_function -msgid "Function" -msgstr "" - -#. module: web_dashboard_tile -#: model:ir.model.fields,field_description:web_dashboard_tile.field_tile_tile_group_ids -#: model:ir.ui.view,arch_db:web_dashboard_tile.dashboard_tile_tile_form_view -msgid "Groups" -msgstr "" - -#. module: web_dashboard_tile -#: model:ir.model.fields,field_description:web_dashboard_tile.field_tile_tile_primary_helper -msgid "Helper" -msgstr "" - -#. module: web_dashboard_tile -#: model:ir.model.fields,field_description:web_dashboard_tile.field_tile_tile_id -msgid "ID" -msgstr "" - -#. module: web_dashboard_tile -#: model:ir.model.fields,help:web_dashboard_tile.field_tile_tile_group_ids -msgid "" -"If this field is set, only users of this group can view this tile. Please " -"note that it will only work for global tiles (that is, when User field is " -"left empty)" -msgstr "" - -#. module: web_dashboard_tile -#: model:ir.model.fields,field_description:web_dashboard_tile.field_tile_tile___last_update -msgid "Last Modified on" -msgstr "" - -#. module: web_dashboard_tile -#: model:ir.model.fields,field_description:web_dashboard_tile.field_tile_tile_write_uid -msgid "Last Updated by" -msgstr "" - -#. module: web_dashboard_tile -#: model:ir.model.fields,field_description:web_dashboard_tile.field_tile_tile_write_date -msgid "Last Updated on" -msgstr "" - -#. module: web_dashboard_tile -#: model:ir.ui.view,arch_db:web_dashboard_tile.dashboard_tile_tile_form_view -msgid "Main Value" -msgstr "" - -#. module: web_dashboard_tile -#: selection:tile.tile,primary_function:0 -#: selection:tile.tile,secondary_function:0 -msgid "Maximum" -msgstr "" - -#. module: web_dashboard_tile -#: code:addons/web_dashboard_tile/models/tile_tile.py:39 -#, python-format -msgid "Maximum value of '%s'" -msgstr "" - -#. module: web_dashboard_tile -#: selection:tile.tile,primary_function:0 -#: selection:tile.tile,secondary_function:0 -msgid "Median" -msgstr "" - -#. module: web_dashboard_tile -#: code:addons/web_dashboard_tile/models/tile_tile.py:51 -#, python-format -msgid "Median value of '%s'" -msgstr "" - -#. module: web_dashboard_tile -#: selection:tile.tile,primary_function:0 -#: selection:tile.tile,secondary_function:0 -msgid "Minimum" -msgstr "" - -#. module: web_dashboard_tile -#: code:addons/web_dashboard_tile/models/tile_tile.py:35 -#: code:addons/web_dashboard_tile/models/tile_tile.py:47 -#, python-format -msgid "Minimum value of '%s'" -msgstr "" - -#. module: web_dashboard_tile -#: model:ir.model.fields,field_description:web_dashboard_tile.field_tile_tile_model_id -msgid "Model" -msgstr "" - -#. module: web_dashboard_tile -#: model:ir.model.fields,field_description:web_dashboard_tile.field_tile_tile_name -msgid "Name" -msgstr "" - -#. module: web_dashboard_tile -#: code:addons/web_dashboard_tile/models/tile_tile.py:31 -#, python-format -msgid "Number of records" -msgstr "" - -#. module: web_dashboard_tile -#: code:addons/web_dashboard_tile/models/tile_tile.py:241 -#, python-format -msgid "Please select a field from the selected model." -msgstr "" - -#. module: web_dashboard_tile -#: model:ir.model.fields,help:web_dashboard_tile.field_tile_tile_primary_format -#: model:ir.model.fields,help:web_dashboard_tile.field_tile_tile_secondary_format -msgid "" -"Python Format String valid with str.format()\n" -"ie: '{:,} Kgs' will output '1,000 Kgs' if value is 1000." -msgstr "" - -#. module: web_dashboard_tile -#: model:ir.model.fields,field_description:web_dashboard_tile.field_tile_tile_secondary_field_id -msgid "Secondary Field" -msgstr "" - -#. module: web_dashboard_tile -#: model:ir.model.fields,field_description:web_dashboard_tile.field_tile_tile_secondary_format -msgid "Secondary Format" -msgstr "" - -#. module: web_dashboard_tile -#: model:ir.model.fields,field_description:web_dashboard_tile.field_tile_tile_secondary_function -msgid "Secondary Function" -msgstr "" - -#. module: web_dashboard_tile -#: model:ir.model.fields,field_description:web_dashboard_tile.field_tile_tile_secondary_helper -msgid "Secondary Helper" -msgstr "" - -#. module: web_dashboard_tile -#: model:ir.model.fields,field_description:web_dashboard_tile.field_tile_tile_secondary_value -#: model:ir.ui.view,arch_db:web_dashboard_tile.dashboard_tile_tile_form_view -msgid "Secondary Value" -msgstr "" - -#. module: web_dashboard_tile -#: model:ir.model.fields,field_description:web_dashboard_tile.field_tile_tile_sequence -msgid "Sequence" -msgstr "" - -#. module: web_dashboard_tile -#. openerp-web -#: code:addons/web_dashboard_tile/static/src/js/custom_js.js:96 -#, python-format -msgid "Success" -msgstr "" - -#. module: web_dashboard_tile -#: selection:tile.tile,primary_function:0 -#: selection:tile.tile,secondary_function:0 -msgid "Sum" -msgstr "" - -#. module: web_dashboard_tile -#: model:ir.ui.view,arch_db:web_dashboard_tile.dashboard_tile_tile_form_view -msgid "Technical Informations" -msgstr "" - -#. module: web_dashboard_tile -#. openerp-web -#: code:addons/web_dashboard_tile/static/src/js/custom_js.js:96 -#, python-format -msgid "Tile is created" -msgstr "" - -#. module: web_dashboard_tile -#. openerp-web -#: code:addons/web_dashboard_tile/static/src/xml/custom_xml.xml:6 -#, python-format -msgid "Tile:" -msgstr "" - -#. module: web_dashboard_tile -#: code:addons/web_dashboard_tile/models/tile_tile.py:43 -#, python-format -msgid "Total value of '%s'" -msgstr "" - -#. module: web_dashboard_tile -#: code:addons/web_dashboard_tile/models/tile_tile.py:216 -#, python-format -msgid "Unimplemented Feature. Search on Active field disabled." -msgstr "" - -#. module: web_dashboard_tile -#: model:ir.model.fields,field_description:web_dashboard_tile.field_tile_tile_user_id -msgid "User" -msgstr "" - -#. module: web_dashboard_tile -#: model:ir.model.fields,field_description:web_dashboard_tile.field_tile_tile_primary_value -msgid "Value" -msgstr "" diff --git a/web_dashboard_tile/i18n/fi.po b/web_dashboard_tile/i18n/fi.po deleted file mode 100644 index ac240f69d6b7..000000000000 --- a/web_dashboard_tile/i18n/fi.po +++ /dev/null @@ -1,332 +0,0 @@ -# Translation of Odoo Server. -# This file contains the translation of the following modules: -# * web_dashboard_tile -# -# Translators: -# OCA Transbot , 2018 -msgid "" -msgstr "" -"Project-Id-Version: Odoo Server 9.0c\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2018-01-25 03:54+0000\n" -"PO-Revision-Date: 2018-01-25 03:54+0000\n" -"Last-Translator: OCA Transbot , 2018\n" -"Language-Team: Finnish (https://www.transifex.com/oca/teams/23907/fi/)\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: \n" -"Language: fi\n" -"Plural-Forms: nplurals=2; plural=(n != 1);\n" - -#. module: web_dashboard_tile -#: model:ir.model.fields,field_description:web_dashboard_tile.field_tile_tile_action_id -msgid "Action" -msgstr "" - -#. module: web_dashboard_tile -#: model:ir.model.fields,field_description:web_dashboard_tile.field_tile_tile_active -msgid "Active" -msgstr "" - -#. module: web_dashboard_tile -#: selection:tile.tile,primary_function:0 -#: selection:tile.tile,secondary_function:0 -msgid "Average" -msgstr "" - -#. module: web_dashboard_tile -#: model:ir.model.fields,field_description:web_dashboard_tile.field_tile_tile_background_color -msgid "Background color" -msgstr "" - -#. module: web_dashboard_tile -#: selection:tile.tile,primary_function:0 -#: selection:tile.tile,secondary_function:0 -msgid "Count" -msgstr "" - -#. module: web_dashboard_tile -#. openerp-web -#: code:addons/web_dashboard_tile/static/src/xml/custom_xml.xml:8 -#, python-format -msgid "Create" -msgstr "" - -#. module: web_dashboard_tile -#: model:ir.model.fields,field_description:web_dashboard_tile.field_tile_tile_create_uid -msgid "Created by" -msgstr "" - -#. module: web_dashboard_tile -#: model:ir.model.fields,field_description:web_dashboard_tile.field_tile_tile_create_date -msgid "Created on" -msgstr "" - -#. module: web_dashboard_tile -#: model:ir.actions.act_window,name:web_dashboard_tile.action_kanban_dashboard_tile -#: model:ir.actions.act_window,name:web_dashboard_tile.action_tree_dashboard_tile -#: model:ir.ui.menu,name:web_dashboard_tile.mail_dashboard -msgid "Dashboard" -msgstr "" - -#. module: web_dashboard_tile -#: model:ir.model,name:web_dashboard_tile.model_tile_tile -#: model:ir.ui.menu,name:web_dashboard_tile.menue_dashboard_tile -msgid "Dashboard Tile" -msgstr "" - -#. module: web_dashboard_tile -#: model:ir.ui.view,arch_db:web_dashboard_tile.dashboard_tile_tile_form_view -#: model:ir.ui.view,arch_db:web_dashboard_tile.dashboard_tile_tile_tree_view -msgid "Dashboard tiles" -msgstr "" - -#. module: web_dashboard_tile -#: model:ir.ui.view,arch_db:web_dashboard_tile.dashboard_tile_tile_form_view -msgid "Display" -msgstr "" - -#. module: web_dashboard_tile -#: model:ir.model.fields,field_description:web_dashboard_tile.field_tile_tile_display_name -msgid "Display Name" -msgstr "" - -#. module: web_dashboard_tile -#: model:ir.model.fields,field_description:web_dashboard_tile.field_tile_tile_domain -msgid "Domain" -msgstr "" - -#. module: web_dashboard_tile -#. openerp-web -#: code:addons/web_dashboard_tile/static/src/js/custom_js.js:57 -#, python-format -msgid "Error" -msgstr "" - -#. module: web_dashboard_tile -#: model:ir.model.fields,field_description:web_dashboard_tile.field_tile_tile_error -msgid "Error Details" -msgstr "" - -#. module: web_dashboard_tile -#: model:ir.model.fields,field_description:web_dashboard_tile.field_tile_tile_primary_field_id -msgid "Field" -msgstr "Kenttä" - -#. module: web_dashboard_tile -#. openerp-web -#: code:addons/web_dashboard_tile/static/src/js/custom_js.js:57 -#, python-format -msgid "Filter name is required." -msgstr "" - -#. module: web_dashboard_tile -#: model:ir.model.fields,field_description:web_dashboard_tile.field_tile_tile_font_color -msgid "Font color" -msgstr "" - -#. module: web_dashboard_tile -#: model:ir.model.fields,field_description:web_dashboard_tile.field_tile_tile_primary_format -msgid "Format" -msgstr "" - -#. module: web_dashboard_tile -#: model:ir.model.fields,field_description:web_dashboard_tile.field_tile_tile_primary_function -msgid "Function" -msgstr "" - -#. module: web_dashboard_tile -#: model:ir.model.fields,field_description:web_dashboard_tile.field_tile_tile_group_ids -#: model:ir.ui.view,arch_db:web_dashboard_tile.dashboard_tile_tile_form_view -msgid "Groups" -msgstr "" - -#. module: web_dashboard_tile -#: model:ir.model.fields,field_description:web_dashboard_tile.field_tile_tile_primary_helper -msgid "Helper" -msgstr "" - -#. module: web_dashboard_tile -#: model:ir.model.fields,field_description:web_dashboard_tile.field_tile_tile_id -msgid "ID" -msgstr "" - -#. module: web_dashboard_tile -#: model:ir.model.fields,help:web_dashboard_tile.field_tile_tile_group_ids -msgid "" -"If this field is set, only users of this group can view this tile. Please " -"note that it will only work for global tiles (that is, when User field is " -"left empty)" -msgstr "" - -#. module: web_dashboard_tile -#: model:ir.model.fields,field_description:web_dashboard_tile.field_tile_tile___last_update -msgid "Last Modified on" -msgstr "" - -#. module: web_dashboard_tile -#: model:ir.model.fields,field_description:web_dashboard_tile.field_tile_tile_write_uid -msgid "Last Updated by" -msgstr "" - -#. module: web_dashboard_tile -#: model:ir.model.fields,field_description:web_dashboard_tile.field_tile_tile_write_date -msgid "Last Updated on" -msgstr "" - -#. module: web_dashboard_tile -#: model:ir.ui.view,arch_db:web_dashboard_tile.dashboard_tile_tile_form_view -msgid "Main Value" -msgstr "" - -#. module: web_dashboard_tile -#: selection:tile.tile,primary_function:0 -#: selection:tile.tile,secondary_function:0 -msgid "Maximum" -msgstr "" - -#. module: web_dashboard_tile -#: code:addons/web_dashboard_tile/models/tile_tile.py:39 -#, python-format -msgid "Maximum value of '%s'" -msgstr "" - -#. module: web_dashboard_tile -#: selection:tile.tile,primary_function:0 -#: selection:tile.tile,secondary_function:0 -msgid "Median" -msgstr "" - -#. module: web_dashboard_tile -#: code:addons/web_dashboard_tile/models/tile_tile.py:51 -#, python-format -msgid "Median value of '%s'" -msgstr "" - -#. module: web_dashboard_tile -#: selection:tile.tile,primary_function:0 -#: selection:tile.tile,secondary_function:0 -msgid "Minimum" -msgstr "" - -#. module: web_dashboard_tile -#: code:addons/web_dashboard_tile/models/tile_tile.py:35 -#: code:addons/web_dashboard_tile/models/tile_tile.py:47 -#, python-format -msgid "Minimum value of '%s'" -msgstr "" - -#. module: web_dashboard_tile -#: model:ir.model.fields,field_description:web_dashboard_tile.field_tile_tile_model_id -msgid "Model" -msgstr "" - -#. module: web_dashboard_tile -#: model:ir.model.fields,field_description:web_dashboard_tile.field_tile_tile_name -msgid "Name" -msgstr "" - -#. module: web_dashboard_tile -#: code:addons/web_dashboard_tile/models/tile_tile.py:31 -#, python-format -msgid "Number of records" -msgstr "" - -#. module: web_dashboard_tile -#: code:addons/web_dashboard_tile/models/tile_tile.py:241 -#, python-format -msgid "Please select a field from the selected model." -msgstr "" - -#. module: web_dashboard_tile -#: model:ir.model.fields,help:web_dashboard_tile.field_tile_tile_primary_format -#: model:ir.model.fields,help:web_dashboard_tile.field_tile_tile_secondary_format -msgid "" -"Python Format String valid with str.format()\n" -"ie: '{:,} Kgs' will output '1,000 Kgs' if value is 1000." -msgstr "" - -#. module: web_dashboard_tile -#: model:ir.model.fields,field_description:web_dashboard_tile.field_tile_tile_secondary_field_id -msgid "Secondary Field" -msgstr "" - -#. module: web_dashboard_tile -#: model:ir.model.fields,field_description:web_dashboard_tile.field_tile_tile_secondary_format -msgid "Secondary Format" -msgstr "" - -#. module: web_dashboard_tile -#: model:ir.model.fields,field_description:web_dashboard_tile.field_tile_tile_secondary_function -msgid "Secondary Function" -msgstr "" - -#. module: web_dashboard_tile -#: model:ir.model.fields,field_description:web_dashboard_tile.field_tile_tile_secondary_helper -msgid "Secondary Helper" -msgstr "" - -#. module: web_dashboard_tile -#: model:ir.model.fields,field_description:web_dashboard_tile.field_tile_tile_secondary_value -#: model:ir.ui.view,arch_db:web_dashboard_tile.dashboard_tile_tile_form_view -msgid "Secondary Value" -msgstr "" - -#. module: web_dashboard_tile -#: model:ir.model.fields,field_description:web_dashboard_tile.field_tile_tile_sequence -msgid "Sequence" -msgstr "" - -#. module: web_dashboard_tile -#. openerp-web -#: code:addons/web_dashboard_tile/static/src/js/custom_js.js:96 -#, python-format -msgid "Success" -msgstr "" - -#. module: web_dashboard_tile -#: selection:tile.tile,primary_function:0 -#: selection:tile.tile,secondary_function:0 -msgid "Sum" -msgstr "" - -#. module: web_dashboard_tile -#: model:ir.ui.view,arch_db:web_dashboard_tile.dashboard_tile_tile_form_view -msgid "Technical Informations" -msgstr "" - -#. module: web_dashboard_tile -#. openerp-web -#: code:addons/web_dashboard_tile/static/src/js/custom_js.js:96 -#, python-format -msgid "Tile is created" -msgstr "" - -#. module: web_dashboard_tile -#. openerp-web -#: code:addons/web_dashboard_tile/static/src/xml/custom_xml.xml:6 -#, python-format -msgid "Tile:" -msgstr "" - -#. module: web_dashboard_tile -#: code:addons/web_dashboard_tile/models/tile_tile.py:43 -#, python-format -msgid "Total value of '%s'" -msgstr "" - -#. module: web_dashboard_tile -#: code:addons/web_dashboard_tile/models/tile_tile.py:216 -#, python-format -msgid "Unimplemented Feature. Search on Active field disabled." -msgstr "" - -#. module: web_dashboard_tile -#: model:ir.model.fields,field_description:web_dashboard_tile.field_tile_tile_user_id -msgid "User" -msgstr "" - -#. module: web_dashboard_tile -#: model:ir.model.fields,field_description:web_dashboard_tile.field_tile_tile_primary_value -msgid "Value" -msgstr "" diff --git a/web_dashboard_tile/i18n/fr.po b/web_dashboard_tile/i18n/fr.po index efd8077ce9b2..85c679280526 100644 --- a/web_dashboard_tile/i18n/fr.po +++ b/web_dashboard_tile/i18n/fr.po @@ -1,34 +1,52 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: -# * web_dashboard_tile -# -# Translators: -# leemannd , 2018 -# OCA Transbot , 2018 +# * web_dashboard_tile +# msgid "" msgstr "" -"Project-Id-Version: Odoo Server 9.0c\n" +"Project-Id-Version: Odoo Server 12.0\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2018-01-25 03:54+0000\n" -"PO-Revision-Date: 2018-01-25 03:54+0000\n" -"Last-Translator: OCA Transbot , 2018\n" -"Language-Team: French (https://www.transifex.com/oca/teams/23907/fr/)\n" +"POT-Creation-Date: 2020-09-09 14:06+0000\n" +"PO-Revision-Date: 2020-09-09 14:06+0000\n" +"Last-Translator: <>\n" +"Language-Team: \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: \n" -"Language: fr\n" -"Plural-Forms: nplurals=2; plural=(n > 1);\n" +"Plural-Forms: \n" #. module: web_dashboard_tile -#: model:ir.model.fields,field_description:web_dashboard_tile.field_tile_tile_action_id +#. openerp-web +#: code:addons/web_dashboard_tile/static/src/js/web_dashboard_tile.js:99 +#, python-format +msgid "'%s' added to the overview dashboard" +msgstr "'%s' a été ajouté au tableau de bord synthétique" + +#. module: web_dashboard_tile +#: model:ir.model.fields,field_description:web_dashboard_tile.field_tile_tile__action_id msgid "Action" msgstr "Action" #. module: web_dashboard_tile -#: model:ir.model.fields,field_description:web_dashboard_tile.field_tile_tile_active +#: model:ir.model.fields,field_description:web_dashboard_tile.field_tile_category__active +#: model:ir.model.fields,field_description:web_dashboard_tile.field_tile_tile__active msgid "Active" msgstr "Actif" +#. module: web_dashboard_tile +#. openerp-web +#: code:addons/web_dashboard_tile/static/src/xml/web_dashboard_tile.xml:15 +#, python-format +msgid "Add" +msgstr "Ajouter" + +#. module: web_dashboard_tile +#. openerp-web +#: code:addons/web_dashboard_tile/static/src/xml/web_dashboard_tile.xml:4 +#, python-format +msgid "Add to the Overview Dashboard" +msgstr "Ajouter au tableau de bord synthétique" + #. module: web_dashboard_tile #: selection:tile.tile,primary_function:0 #: selection:tile.tile,secondary_function:0 @@ -36,149 +54,162 @@ msgid "Average" msgstr "Moyenne" #. module: web_dashboard_tile -#: model:ir.model.fields,field_description:web_dashboard_tile.field_tile_tile_background_color -msgid "Background color" +#: model:ir.model.fields,field_description:web_dashboard_tile.field_tile_tile__background_color +msgid "Background Color" msgstr "Couleur de fond" #. module: web_dashboard_tile -#: selection:tile.tile,primary_function:0 -#: selection:tile.tile,secondary_function:0 -msgid "Count" -msgstr "Quantité" +#. openerp-web +#: code:addons/web_dashboard_tile/static/src/xml/web_dashboard_tile.xml:9 +#: model:ir.model.fields,field_description:web_dashboard_tile.field_tile_tile__category_id +#, python-format +msgid "Category" +msgstr "Catégorie" #. module: web_dashboard_tile #. openerp-web -#: code:addons/web_dashboard_tile/static/src/xml/custom_xml.xml:8 +#: code:addons/web_dashboard_tile/static/src/js/web_dashboard_tile.js:104 #, python-format -msgid "Create" -msgstr "Créer" +msgid "Could not add new element to the overview dashboard" +msgstr "Impossible d'ajouter un nouvel élément au tableau de bord synthétique" + +#. module: web_dashboard_tile +#: selection:tile.tile,primary_function:0 +#: selection:tile.tile,secondary_function:0 +msgid "Count" +msgstr "Quantité" #. module: web_dashboard_tile -#: model:ir.model.fields,field_description:web_dashboard_tile.field_tile_tile_create_uid +#: model:ir.model.fields,field_description:web_dashboard_tile.field_tile_category__create_uid +#: model:ir.model.fields,field_description:web_dashboard_tile.field_tile_tile__create_uid msgid "Created by" msgstr "Créé par" #. module: web_dashboard_tile -#: model:ir.model.fields,field_description:web_dashboard_tile.field_tile_tile_create_date +#: model:ir.model.fields,field_description:web_dashboard_tile.field_tile_category__create_date +#: model:ir.model.fields,field_description:web_dashboard_tile.field_tile_tile__create_date msgid "Created on" msgstr "Créé le" #. module: web_dashboard_tile -#: model:ir.actions.act_window,name:web_dashboard_tile.action_kanban_dashboard_tile -#: model:ir.actions.act_window,name:web_dashboard_tile.action_tree_dashboard_tile -#: model:ir.ui.menu,name:web_dashboard_tile.mail_dashboard -msgid "Dashboard" -msgstr "Tableau de bord" +#: model:ir.actions.act_window,name:web_dashboard_tile.action_tile_category +#: model:ir.ui.menu,name:web_dashboard_tile.menu_tile_category +msgid "Dashboard Categories" +msgstr "Catégorie de tableau de bord" + +#. module: web_dashboard_tile +#: model:ir.actions.act_window,name:web_dashboard_tile.action_category_2_tile +#: model:ir.actions.act_window,name:web_dashboard_tile.action_tile_tile +#: model:ir.ui.menu,name:web_dashboard_tile.menu_tile_tile +msgid "Dashboard Items" +msgstr "Elément de tableau de bord" #. module: web_dashboard_tile #: model:ir.model,name:web_dashboard_tile.model_tile_tile -#: model:ir.ui.menu,name:web_dashboard_tile.menue_dashboard_tile msgid "Dashboard Tile" msgstr "Indicateur de tableau de bord" #. module: web_dashboard_tile -#: model:ir.ui.view,arch_db:web_dashboard_tile.dashboard_tile_tile_form_view -#: model:ir.ui.view,arch_db:web_dashboard_tile.dashboard_tile_tile_tree_view -msgid "Dashboard tiles" -msgstr "Indicateurs de tableau de bord" +#: model:ir.model,name:web_dashboard_tile.model_tile_category +msgid "Dashboard Tile Category" +msgstr "Catégorie de tableau de bord" #. module: web_dashboard_tile -#: model:ir.ui.view,arch_db:web_dashboard_tile.dashboard_tile_tile_form_view +#: model_terms:ir.ui.view,arch_db:web_dashboard_tile.view_tile_tile_form msgid "Display" -msgstr "" +msgstr "Afficher" #. module: web_dashboard_tile -#: model:ir.model.fields,field_description:web_dashboard_tile.field_tile_tile_display_name +#: model:ir.model.fields,field_description:web_dashboard_tile.field_tile_category__display_name +#: model:ir.model.fields,field_description:web_dashboard_tile.field_tile_tile__display_name msgid "Display Name" msgstr "Nom affiché" #. module: web_dashboard_tile -#: model:ir.model.fields,field_description:web_dashboard_tile.field_tile_tile_domain +#: model:ir.model.fields,field_description:web_dashboard_tile.field_tile_tile__domain msgid "Domain" msgstr "Domaine" #. module: web_dashboard_tile #. openerp-web -#: code:addons/web_dashboard_tile/static/src/js/custom_js.js:57 +#: code:addons/web_dashboard_tile/static/src/js/web_dashboard_tile.js:75 #, python-format msgid "Error" msgstr "Erreur" #. module: web_dashboard_tile -#: model:ir.model.fields,field_description:web_dashboard_tile.field_tile_tile_error +#: model:ir.model.fields,field_description:web_dashboard_tile.field_tile_tile__error msgid "Error Details" -msgstr "" +msgstr "Détails de l'erreur" #. module: web_dashboard_tile -#: model:ir.model.fields,field_description:web_dashboard_tile.field_tile_tile_primary_field_id +#: model:ir.model.fields,field_description:web_dashboard_tile.field_tile_tile__primary_field_id msgid "Field" msgstr "Champ" #. module: web_dashboard_tile -#. openerp-web -#: code:addons/web_dashboard_tile/static/src/js/custom_js.js:57 -#, python-format -msgid "Filter name is required." -msgstr "Le nom du filtre est requis." - -#. module: web_dashboard_tile -#: model:ir.model.fields,field_description:web_dashboard_tile.field_tile_tile_font_color -msgid "Font color" -msgstr "" +#: model:ir.model.fields,field_description:web_dashboard_tile.field_tile_tile__font_color +msgid "Font Color" +msgstr "Couleur de la police" #. module: web_dashboard_tile -#: model:ir.model.fields,field_description:web_dashboard_tile.field_tile_tile_primary_format +#: model:ir.model.fields,field_description:web_dashboard_tile.field_tile_tile__primary_format msgid "Format" -msgstr "" +msgstr "Format" #. module: web_dashboard_tile -#: model:ir.model.fields,field_description:web_dashboard_tile.field_tile_tile_primary_function +#: model:ir.model.fields,field_description:web_dashboard_tile.field_tile_tile__primary_function msgid "Function" msgstr "Fonction" #. module: web_dashboard_tile -#: model:ir.model.fields,field_description:web_dashboard_tile.field_tile_tile_group_ids -#: model:ir.ui.view,arch_db:web_dashboard_tile.dashboard_tile_tile_form_view +#: model:ir.model.fields,field_description:web_dashboard_tile.field_tile_tile__group_ids msgid "Groups" -msgstr "" +msgstr "Groupes" #. module: web_dashboard_tile -#: model:ir.model.fields,field_description:web_dashboard_tile.field_tile_tile_primary_helper +#: model:ir.model.fields,field_description:web_dashboard_tile.field_tile_tile__primary_helper msgid "Helper" -msgstr "" +msgstr "Aide" #. module: web_dashboard_tile -#: model:ir.model.fields,field_description:web_dashboard_tile.field_tile_tile_id +#: model:ir.model.fields,field_description:web_dashboard_tile.field_tile_category__id +#: model:ir.model.fields,field_description:web_dashboard_tile.field_tile_tile__id msgid "ID" msgstr "ID" #. module: web_dashboard_tile -#: model:ir.model.fields,help:web_dashboard_tile.field_tile_tile_group_ids -msgid "" -"If this field is set, only users of this group can view this tile. Please " -"note that it will only work for global tiles (that is, when User field is " -"left empty)" -msgstr "" +#: model:ir.model.fields,help:web_dashboard_tile.field_tile_tile__group_ids +msgid "If this field is set, only users of this group can view this tile. Please note that it will only work for global tiles (that is, when User field is left empty)" +msgstr "Si ce champ est renseigné, les utilisateurs de ce groupe seulement pourront voir cet élément. Cette restriction ne fonctionne que s'il s'agit d'un élément global. (quand le champ Utilisateur n'est pas renseigné)\"" + +#. module: web_dashboard_tile +#: model_terms:ir.ui.view,arch_db:web_dashboard_tile.view_tile_category_form +msgid "Items" +msgstr "Éléments" #. module: web_dashboard_tile -#: model:ir.model.fields,field_description:web_dashboard_tile.field_tile_tile___last_update +#: model:ir.model.fields,field_description:web_dashboard_tile.field_tile_category____last_update +#: model:ir.model.fields,field_description:web_dashboard_tile.field_tile_tile____last_update msgid "Last Modified on" msgstr "Dernière modification le" #. module: web_dashboard_tile -#: model:ir.model.fields,field_description:web_dashboard_tile.field_tile_tile_write_uid +#: model:ir.model.fields,field_description:web_dashboard_tile.field_tile_category__write_uid +#: model:ir.model.fields,field_description:web_dashboard_tile.field_tile_tile__write_uid msgid "Last Updated by" -msgstr "Mis à jour par" +msgstr "Dernière mise à jour par" #. module: web_dashboard_tile -#: model:ir.model.fields,field_description:web_dashboard_tile.field_tile_tile_write_date +#: model:ir.model.fields,field_description:web_dashboard_tile.field_tile_category__write_date +#: model:ir.model.fields,field_description:web_dashboard_tile.field_tile_tile__write_date msgid "Last Updated on" -msgstr "Mis à jour le" +msgstr "Dernière mise à jour le" #. module: web_dashboard_tile -#: model:ir.ui.view,arch_db:web_dashboard_tile.dashboard_tile_tile_form_view +#: model_terms:ir.ui.view,arch_db:web_dashboard_tile.view_tile_tile_form msgid "Main Value" -msgstr "" +msgstr "Valeur principale" #. module: web_dashboard_tile #: selection:tile.tile,primary_function:0 @@ -187,7 +218,7 @@ msgid "Maximum" msgstr "Maximum" #. module: web_dashboard_tile -#: code:addons/web_dashboard_tile/models/tile_tile.py:39 +#: code:addons/web_dashboard_tile/models/tile_tile.py:41 #, python-format msgid "Maximum value of '%s'" msgstr "Valeur maximale du champ '%s'" @@ -199,7 +230,7 @@ msgid "Median" msgstr "Médiane" #. module: web_dashboard_tile -#: code:addons/web_dashboard_tile/models/tile_tile.py:51 +#: code:addons/web_dashboard_tile/models/tile_tile.py:61 #, python-format msgid "Median value of '%s'" msgstr "Valeur médian du champ '%s'" @@ -211,79 +242,117 @@ msgid "Minimum" msgstr "Minimum" #. module: web_dashboard_tile -#: code:addons/web_dashboard_tile/models/tile_tile.py:35 -#: code:addons/web_dashboard_tile/models/tile_tile.py:47 +#: code:addons/web_dashboard_tile/models/tile_tile.py:33 +#: code:addons/web_dashboard_tile/models/tile_tile.py:53 #, python-format msgid "Minimum value of '%s'" msgstr "Valeur minimale du champ '%s'" #. module: web_dashboard_tile -#: model:ir.model.fields,field_description:web_dashboard_tile.field_tile_tile_model_id +#: model:ir.model.fields,field_description:web_dashboard_tile.field_tile_tile__model_id msgid "Model" msgstr "Modèle" #. module: web_dashboard_tile -#: model:ir.model.fields,field_description:web_dashboard_tile.field_tile_tile_name +#. openerp-web +#: code:addons/web_dashboard_tile/static/src/xml/web_dashboard_tile.xml:5 +#: model:ir.model.fields,field_description:web_dashboard_tile.field_tile_category__name +#: model:ir.model.fields,field_description:web_dashboard_tile.field_tile_tile__name +#, python-format msgid "Name" -msgstr "" +msgstr "Nom" + +#. module: web_dashboard_tile +#. openerp-web +#: code:addons/web_dashboard_tile/static/src/js/web_dashboard_tile.js:75 +#, python-format +msgid "Name Field is required." +msgstr "Le nom du champ est requis." #. module: web_dashboard_tile -#: code:addons/web_dashboard_tile/models/tile_tile.py:31 +#: code:addons/web_dashboard_tile/models/tile_tile.py:25 #, python-format msgid "Number of records" -msgstr "" +msgstr "Nombre d'enregistrement" + +#. module: web_dashboard_tile +#: model:ir.model.fields,field_description:web_dashboard_tile.field_tile_category__action_id +msgid "Odoo Action" +msgstr "Action Odoo" + +#. module: web_dashboard_tile +#: model:ir.model.fields,field_description:web_dashboard_tile.field_tile_category__menu_id +msgid "Odoo Menu" +msgstr "Menu Odoo" + +#. module: web_dashboard_tile +#: model:ir.ui.menu,name:web_dashboard_tile.menu_dashboard_tile +msgid "Overview" +msgstr "Vue d'ensemble" #. module: web_dashboard_tile -#: code:addons/web_dashboard_tile/models/tile_tile.py:241 +#. openerp-web +#: code:addons/web_dashboard_tile/static/src/js/web_dashboard_tile.js:100 +#, python-format +msgid "Please refresh your browser for the changes to take effect." +msgstr "Veuillez rafraichir votre navigateur pour voir les changements." + +#. module: web_dashboard_tile +#: code:addons/web_dashboard_tile/models/tile_tile.py:252 #, python-format msgid "Please select a field from the selected model." -msgstr "" +msgstr "Veuillez sélectionner un champ correspondant au modèle sélectionné" #. module: web_dashboard_tile -#: model:ir.model.fields,help:web_dashboard_tile.field_tile_tile_primary_format -#: model:ir.model.fields,help:web_dashboard_tile.field_tile_tile_secondary_format -msgid "" -"Python Format String valid with str.format()\n" +#: model:ir.model.fields,help:web_dashboard_tile.field_tile_tile__primary_format +#: model:ir.model.fields,help:web_dashboard_tile.field_tile_tile__secondary_format +msgid "Python Format String valid with str.format()\n" "ie: '{:,} Kgs' will output '1,000 Kgs' if value is 1000." -msgstr "" +msgstr "Chaine de format python valide, avec str.format()\n" +"par exemple: {:,} Kgs' affichera '1000 Kgs' si la valeur est 1000." #. module: web_dashboard_tile -#: model:ir.model.fields,field_description:web_dashboard_tile.field_tile_tile_secondary_field_id +#: model:ir.model.fields,field_description:web_dashboard_tile.field_tile_tile__secondary_field_id msgid "Secondary Field" -msgstr "" +msgstr "champ secondaire" #. module: web_dashboard_tile -#: model:ir.model.fields,field_description:web_dashboard_tile.field_tile_tile_secondary_format +#: model:ir.model.fields,field_description:web_dashboard_tile.field_tile_tile__secondary_format msgid "Secondary Format" -msgstr "" +msgstr "Format secondaire" #. module: web_dashboard_tile -#: model:ir.model.fields,field_description:web_dashboard_tile.field_tile_tile_secondary_function +#: model:ir.model.fields,field_description:web_dashboard_tile.field_tile_tile__secondary_function msgid "Secondary Function" -msgstr "" +msgstr "Fonction secondaire" #. module: web_dashboard_tile -#: model:ir.model.fields,field_description:web_dashboard_tile.field_tile_tile_secondary_helper +#: model:ir.model.fields,field_description:web_dashboard_tile.field_tile_tile__secondary_helper msgid "Secondary Helper" -msgstr "" +msgstr "Aide secondaire" #. module: web_dashboard_tile -#: model:ir.model.fields,field_description:web_dashboard_tile.field_tile_tile_secondary_value -#: model:ir.ui.view,arch_db:web_dashboard_tile.dashboard_tile_tile_form_view +#: model:ir.model.fields,field_description:web_dashboard_tile.field_tile_tile__secondary_value +#: model_terms:ir.ui.view,arch_db:web_dashboard_tile.view_tile_tile_form msgid "Secondary Value" -msgstr "" +msgstr "Valeur secondaire" #. module: web_dashboard_tile -#: model:ir.model.fields,field_description:web_dashboard_tile.field_tile_tile_sequence +#: model_terms:ir.ui.view,arch_db:web_dashboard_tile.view_tile_tile_form +msgid "Security" +msgstr "Sécurité" + +#. module: web_dashboard_tile +#: model:ir.model.fields,field_description:web_dashboard_tile.field_tile_category__sequence +#: model:ir.model.fields,field_description:web_dashboard_tile.field_tile_tile__sequence msgid "Sequence" msgstr "Séquence" #. module: web_dashboard_tile -#. openerp-web -#: code:addons/web_dashboard_tile/static/src/js/custom_js.js:96 -#, python-format -msgid "Success" -msgstr "Succès" +#: model:ir.ui.menu,name:web_dashboard_tile.menu_dashboard_tile_settings +#: model_terms:ir.ui.view,arch_db:web_dashboard_tile.view_tile_tile_form +msgid "Settings" +msgstr "Configuration" #. module: web_dashboard_tile #: selection:tile.tile,primary_function:0 @@ -292,42 +361,40 @@ msgid "Sum" msgstr "Somme" #. module: web_dashboard_tile -#: model:ir.ui.view,arch_db:web_dashboard_tile.dashboard_tile_tile_form_view +#: model_terms:ir.ui.view,arch_db:web_dashboard_tile.view_tile_category_form +#: model_terms:ir.ui.view,arch_db:web_dashboard_tile.view_tile_tile_form msgid "Technical Informations" -msgstr "" +msgstr "Informations techniques" #. module: web_dashboard_tile -#. openerp-web -#: code:addons/web_dashboard_tile/static/src/js/custom_js.js:96 -#, python-format -msgid "Tile is created" -msgstr "L'indicateur a été créé" +#: model:ir.model.fields,field_description:web_dashboard_tile.field_tile_category__tile_ids +msgid "Tiles" +msgstr "Elements" #. module: web_dashboard_tile -#. openerp-web -#: code:addons/web_dashboard_tile/static/src/xml/custom_xml.xml:6 -#, python-format -msgid "Tile:" -msgstr "Indicateur :" +#: model:ir.model.fields,field_description:web_dashboard_tile.field_tile_category__tile_qty +msgid "Tiles Quantity" +msgstr "Nombre d'éléments" #. module: web_dashboard_tile -#: code:addons/web_dashboard_tile/models/tile_tile.py:43 +#: code:addons/web_dashboard_tile/models/tile_tile.py:46 #, python-format msgid "Total value of '%s'" msgstr "Somme du champ '%s'" #. module: web_dashboard_tile -#: code:addons/web_dashboard_tile/models/tile_tile.py:216 +#: code:addons/web_dashboard_tile/models/tile_tile.py:223 #, python-format msgid "Unimplemented Feature. Search on Active field disabled." -msgstr "" +msgstr "Fonctionnalité non implémenté. La recherche sur le champ 'Actif' est désactivé." #. module: web_dashboard_tile -#: model:ir.model.fields,field_description:web_dashboard_tile.field_tile_tile_user_id +#: model:ir.model.fields,field_description:web_dashboard_tile.field_tile_tile__user_id msgid "User" msgstr "Utilisateur" #. module: web_dashboard_tile -#: model:ir.model.fields,field_description:web_dashboard_tile.field_tile_tile_primary_value +#: model:ir.model.fields,field_description:web_dashboard_tile.field_tile_tile__primary_value msgid "Value" -msgstr "" +msgstr "Valeur" + diff --git a/web_dashboard_tile/i18n/it.po b/web_dashboard_tile/i18n/it.po deleted file mode 100644 index 07e8fdbf33bf..000000000000 --- a/web_dashboard_tile/i18n/it.po +++ /dev/null @@ -1,332 +0,0 @@ -# Translation of Odoo Server. -# This file contains the translation of the following modules: -# * web_dashboard_tile -# -# Translators: -# OCA Transbot , 2018 -msgid "" -msgstr "" -"Project-Id-Version: Odoo Server 9.0c\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2018-01-25 03:54+0000\n" -"PO-Revision-Date: 2018-01-25 03:54+0000\n" -"Last-Translator: OCA Transbot , 2018\n" -"Language-Team: Italian (https://www.transifex.com/oca/teams/23907/it/)\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: \n" -"Language: it\n" -"Plural-Forms: nplurals=2; plural=(n != 1);\n" - -#. module: web_dashboard_tile -#: model:ir.model.fields,field_description:web_dashboard_tile.field_tile_tile_action_id -msgid "Action" -msgstr "" - -#. module: web_dashboard_tile -#: model:ir.model.fields,field_description:web_dashboard_tile.field_tile_tile_active -msgid "Active" -msgstr "" - -#. module: web_dashboard_tile -#: selection:tile.tile,primary_function:0 -#: selection:tile.tile,secondary_function:0 -msgid "Average" -msgstr "" - -#. module: web_dashboard_tile -#: model:ir.model.fields,field_description:web_dashboard_tile.field_tile_tile_background_color -msgid "Background color" -msgstr "" - -#. module: web_dashboard_tile -#: selection:tile.tile,primary_function:0 -#: selection:tile.tile,secondary_function:0 -msgid "Count" -msgstr "" - -#. module: web_dashboard_tile -#. openerp-web -#: code:addons/web_dashboard_tile/static/src/xml/custom_xml.xml:8 -#, python-format -msgid "Create" -msgstr "" - -#. module: web_dashboard_tile -#: model:ir.model.fields,field_description:web_dashboard_tile.field_tile_tile_create_uid -msgid "Created by" -msgstr "" - -#. module: web_dashboard_tile -#: model:ir.model.fields,field_description:web_dashboard_tile.field_tile_tile_create_date -msgid "Created on" -msgstr "" - -#. module: web_dashboard_tile -#: model:ir.actions.act_window,name:web_dashboard_tile.action_kanban_dashboard_tile -#: model:ir.actions.act_window,name:web_dashboard_tile.action_tree_dashboard_tile -#: model:ir.ui.menu,name:web_dashboard_tile.mail_dashboard -msgid "Dashboard" -msgstr "" - -#. module: web_dashboard_tile -#: model:ir.model,name:web_dashboard_tile.model_tile_tile -#: model:ir.ui.menu,name:web_dashboard_tile.menue_dashboard_tile -msgid "Dashboard Tile" -msgstr "" - -#. module: web_dashboard_tile -#: model:ir.ui.view,arch_db:web_dashboard_tile.dashboard_tile_tile_form_view -#: model:ir.ui.view,arch_db:web_dashboard_tile.dashboard_tile_tile_tree_view -msgid "Dashboard tiles" -msgstr "" - -#. module: web_dashboard_tile -#: model:ir.ui.view,arch_db:web_dashboard_tile.dashboard_tile_tile_form_view -msgid "Display" -msgstr "" - -#. module: web_dashboard_tile -#: model:ir.model.fields,field_description:web_dashboard_tile.field_tile_tile_display_name -msgid "Display Name" -msgstr "" - -#. module: web_dashboard_tile -#: model:ir.model.fields,field_description:web_dashboard_tile.field_tile_tile_domain -msgid "Domain" -msgstr "" - -#. module: web_dashboard_tile -#. openerp-web -#: code:addons/web_dashboard_tile/static/src/js/custom_js.js:57 -#, python-format -msgid "Error" -msgstr "" - -#. module: web_dashboard_tile -#: model:ir.model.fields,field_description:web_dashboard_tile.field_tile_tile_error -msgid "Error Details" -msgstr "" - -#. module: web_dashboard_tile -#: model:ir.model.fields,field_description:web_dashboard_tile.field_tile_tile_primary_field_id -msgid "Field" -msgstr "Campo" - -#. module: web_dashboard_tile -#. openerp-web -#: code:addons/web_dashboard_tile/static/src/js/custom_js.js:57 -#, python-format -msgid "Filter name is required." -msgstr "" - -#. module: web_dashboard_tile -#: model:ir.model.fields,field_description:web_dashboard_tile.field_tile_tile_font_color -msgid "Font color" -msgstr "" - -#. module: web_dashboard_tile -#: model:ir.model.fields,field_description:web_dashboard_tile.field_tile_tile_primary_format -msgid "Format" -msgstr "" - -#. module: web_dashboard_tile -#: model:ir.model.fields,field_description:web_dashboard_tile.field_tile_tile_primary_function -msgid "Function" -msgstr "" - -#. module: web_dashboard_tile -#: model:ir.model.fields,field_description:web_dashboard_tile.field_tile_tile_group_ids -#: model:ir.ui.view,arch_db:web_dashboard_tile.dashboard_tile_tile_form_view -msgid "Groups" -msgstr "" - -#. module: web_dashboard_tile -#: model:ir.model.fields,field_description:web_dashboard_tile.field_tile_tile_primary_helper -msgid "Helper" -msgstr "" - -#. module: web_dashboard_tile -#: model:ir.model.fields,field_description:web_dashboard_tile.field_tile_tile_id -msgid "ID" -msgstr "" - -#. module: web_dashboard_tile -#: model:ir.model.fields,help:web_dashboard_tile.field_tile_tile_group_ids -msgid "" -"If this field is set, only users of this group can view this tile. Please " -"note that it will only work for global tiles (that is, when User field is " -"left empty)" -msgstr "" - -#. module: web_dashboard_tile -#: model:ir.model.fields,field_description:web_dashboard_tile.field_tile_tile___last_update -msgid "Last Modified on" -msgstr "" - -#. module: web_dashboard_tile -#: model:ir.model.fields,field_description:web_dashboard_tile.field_tile_tile_write_uid -msgid "Last Updated by" -msgstr "" - -#. module: web_dashboard_tile -#: model:ir.model.fields,field_description:web_dashboard_tile.field_tile_tile_write_date -msgid "Last Updated on" -msgstr "" - -#. module: web_dashboard_tile -#: model:ir.ui.view,arch_db:web_dashboard_tile.dashboard_tile_tile_form_view -msgid "Main Value" -msgstr "" - -#. module: web_dashboard_tile -#: selection:tile.tile,primary_function:0 -#: selection:tile.tile,secondary_function:0 -msgid "Maximum" -msgstr "" - -#. module: web_dashboard_tile -#: code:addons/web_dashboard_tile/models/tile_tile.py:39 -#, python-format -msgid "Maximum value of '%s'" -msgstr "" - -#. module: web_dashboard_tile -#: selection:tile.tile,primary_function:0 -#: selection:tile.tile,secondary_function:0 -msgid "Median" -msgstr "" - -#. module: web_dashboard_tile -#: code:addons/web_dashboard_tile/models/tile_tile.py:51 -#, python-format -msgid "Median value of '%s'" -msgstr "" - -#. module: web_dashboard_tile -#: selection:tile.tile,primary_function:0 -#: selection:tile.tile,secondary_function:0 -msgid "Minimum" -msgstr "" - -#. module: web_dashboard_tile -#: code:addons/web_dashboard_tile/models/tile_tile.py:35 -#: code:addons/web_dashboard_tile/models/tile_tile.py:47 -#, python-format -msgid "Minimum value of '%s'" -msgstr "" - -#. module: web_dashboard_tile -#: model:ir.model.fields,field_description:web_dashboard_tile.field_tile_tile_model_id -msgid "Model" -msgstr "" - -#. module: web_dashboard_tile -#: model:ir.model.fields,field_description:web_dashboard_tile.field_tile_tile_name -msgid "Name" -msgstr "" - -#. module: web_dashboard_tile -#: code:addons/web_dashboard_tile/models/tile_tile.py:31 -#, python-format -msgid "Number of records" -msgstr "" - -#. module: web_dashboard_tile -#: code:addons/web_dashboard_tile/models/tile_tile.py:241 -#, python-format -msgid "Please select a field from the selected model." -msgstr "" - -#. module: web_dashboard_tile -#: model:ir.model.fields,help:web_dashboard_tile.field_tile_tile_primary_format -#: model:ir.model.fields,help:web_dashboard_tile.field_tile_tile_secondary_format -msgid "" -"Python Format String valid with str.format()\n" -"ie: '{:,} Kgs' will output '1,000 Kgs' if value is 1000." -msgstr "" - -#. module: web_dashboard_tile -#: model:ir.model.fields,field_description:web_dashboard_tile.field_tile_tile_secondary_field_id -msgid "Secondary Field" -msgstr "" - -#. module: web_dashboard_tile -#: model:ir.model.fields,field_description:web_dashboard_tile.field_tile_tile_secondary_format -msgid "Secondary Format" -msgstr "" - -#. module: web_dashboard_tile -#: model:ir.model.fields,field_description:web_dashboard_tile.field_tile_tile_secondary_function -msgid "Secondary Function" -msgstr "" - -#. module: web_dashboard_tile -#: model:ir.model.fields,field_description:web_dashboard_tile.field_tile_tile_secondary_helper -msgid "Secondary Helper" -msgstr "" - -#. module: web_dashboard_tile -#: model:ir.model.fields,field_description:web_dashboard_tile.field_tile_tile_secondary_value -#: model:ir.ui.view,arch_db:web_dashboard_tile.dashboard_tile_tile_form_view -msgid "Secondary Value" -msgstr "" - -#. module: web_dashboard_tile -#: model:ir.model.fields,field_description:web_dashboard_tile.field_tile_tile_sequence -msgid "Sequence" -msgstr "" - -#. module: web_dashboard_tile -#. openerp-web -#: code:addons/web_dashboard_tile/static/src/js/custom_js.js:96 -#, python-format -msgid "Success" -msgstr "" - -#. module: web_dashboard_tile -#: selection:tile.tile,primary_function:0 -#: selection:tile.tile,secondary_function:0 -msgid "Sum" -msgstr "" - -#. module: web_dashboard_tile -#: model:ir.ui.view,arch_db:web_dashboard_tile.dashboard_tile_tile_form_view -msgid "Technical Informations" -msgstr "" - -#. module: web_dashboard_tile -#. openerp-web -#: code:addons/web_dashboard_tile/static/src/js/custom_js.js:96 -#, python-format -msgid "Tile is created" -msgstr "" - -#. module: web_dashboard_tile -#. openerp-web -#: code:addons/web_dashboard_tile/static/src/xml/custom_xml.xml:6 -#, python-format -msgid "Tile:" -msgstr "" - -#. module: web_dashboard_tile -#: code:addons/web_dashboard_tile/models/tile_tile.py:43 -#, python-format -msgid "Total value of '%s'" -msgstr "" - -#. module: web_dashboard_tile -#: code:addons/web_dashboard_tile/models/tile_tile.py:216 -#, python-format -msgid "Unimplemented Feature. Search on Active field disabled." -msgstr "" - -#. module: web_dashboard_tile -#: model:ir.model.fields,field_description:web_dashboard_tile.field_tile_tile_user_id -msgid "User" -msgstr "" - -#. module: web_dashboard_tile -#: model:ir.model.fields,field_description:web_dashboard_tile.field_tile_tile_primary_value -msgid "Value" -msgstr "" diff --git a/web_dashboard_tile/i18n/nl.po b/web_dashboard_tile/i18n/nl.po deleted file mode 100644 index a2699d59cd3c..000000000000 --- a/web_dashboard_tile/i18n/nl.po +++ /dev/null @@ -1,332 +0,0 @@ -# Translation of Odoo Server. -# This file contains the translation of the following modules: -# * web_dashboard_tile -# -# Translators: -# OCA Transbot , 2018 -msgid "" -msgstr "" -"Project-Id-Version: Odoo Server 9.0c\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2018-01-25 03:54+0000\n" -"PO-Revision-Date: 2018-01-25 03:54+0000\n" -"Last-Translator: OCA Transbot , 2018\n" -"Language-Team: Dutch (https://www.transifex.com/oca/teams/23907/nl/)\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: \n" -"Language: nl\n" -"Plural-Forms: nplurals=2; plural=(n != 1);\n" - -#. module: web_dashboard_tile -#: model:ir.model.fields,field_description:web_dashboard_tile.field_tile_tile_action_id -msgid "Action" -msgstr "" - -#. module: web_dashboard_tile -#: model:ir.model.fields,field_description:web_dashboard_tile.field_tile_tile_active -msgid "Active" -msgstr "" - -#. module: web_dashboard_tile -#: selection:tile.tile,primary_function:0 -#: selection:tile.tile,secondary_function:0 -msgid "Average" -msgstr "" - -#. module: web_dashboard_tile -#: model:ir.model.fields,field_description:web_dashboard_tile.field_tile_tile_background_color -msgid "Background color" -msgstr "" - -#. module: web_dashboard_tile -#: selection:tile.tile,primary_function:0 -#: selection:tile.tile,secondary_function:0 -msgid "Count" -msgstr "" - -#. module: web_dashboard_tile -#. openerp-web -#: code:addons/web_dashboard_tile/static/src/xml/custom_xml.xml:8 -#, python-format -msgid "Create" -msgstr "" - -#. module: web_dashboard_tile -#: model:ir.model.fields,field_description:web_dashboard_tile.field_tile_tile_create_uid -msgid "Created by" -msgstr "" - -#. module: web_dashboard_tile -#: model:ir.model.fields,field_description:web_dashboard_tile.field_tile_tile_create_date -msgid "Created on" -msgstr "" - -#. module: web_dashboard_tile -#: model:ir.actions.act_window,name:web_dashboard_tile.action_kanban_dashboard_tile -#: model:ir.actions.act_window,name:web_dashboard_tile.action_tree_dashboard_tile -#: model:ir.ui.menu,name:web_dashboard_tile.mail_dashboard -msgid "Dashboard" -msgstr "" - -#. module: web_dashboard_tile -#: model:ir.model,name:web_dashboard_tile.model_tile_tile -#: model:ir.ui.menu,name:web_dashboard_tile.menue_dashboard_tile -msgid "Dashboard Tile" -msgstr "" - -#. module: web_dashboard_tile -#: model:ir.ui.view,arch_db:web_dashboard_tile.dashboard_tile_tile_form_view -#: model:ir.ui.view,arch_db:web_dashboard_tile.dashboard_tile_tile_tree_view -msgid "Dashboard tiles" -msgstr "" - -#. module: web_dashboard_tile -#: model:ir.ui.view,arch_db:web_dashboard_tile.dashboard_tile_tile_form_view -msgid "Display" -msgstr "" - -#. module: web_dashboard_tile -#: model:ir.model.fields,field_description:web_dashboard_tile.field_tile_tile_display_name -msgid "Display Name" -msgstr "" - -#. module: web_dashboard_tile -#: model:ir.model.fields,field_description:web_dashboard_tile.field_tile_tile_domain -msgid "Domain" -msgstr "" - -#. module: web_dashboard_tile -#. openerp-web -#: code:addons/web_dashboard_tile/static/src/js/custom_js.js:57 -#, python-format -msgid "Error" -msgstr "" - -#. module: web_dashboard_tile -#: model:ir.model.fields,field_description:web_dashboard_tile.field_tile_tile_error -msgid "Error Details" -msgstr "" - -#. module: web_dashboard_tile -#: model:ir.model.fields,field_description:web_dashboard_tile.field_tile_tile_primary_field_id -msgid "Field" -msgstr "Veld" - -#. module: web_dashboard_tile -#. openerp-web -#: code:addons/web_dashboard_tile/static/src/js/custom_js.js:57 -#, python-format -msgid "Filter name is required." -msgstr "" - -#. module: web_dashboard_tile -#: model:ir.model.fields,field_description:web_dashboard_tile.field_tile_tile_font_color -msgid "Font color" -msgstr "" - -#. module: web_dashboard_tile -#: model:ir.model.fields,field_description:web_dashboard_tile.field_tile_tile_primary_format -msgid "Format" -msgstr "" - -#. module: web_dashboard_tile -#: model:ir.model.fields,field_description:web_dashboard_tile.field_tile_tile_primary_function -msgid "Function" -msgstr "" - -#. module: web_dashboard_tile -#: model:ir.model.fields,field_description:web_dashboard_tile.field_tile_tile_group_ids -#: model:ir.ui.view,arch_db:web_dashboard_tile.dashboard_tile_tile_form_view -msgid "Groups" -msgstr "" - -#. module: web_dashboard_tile -#: model:ir.model.fields,field_description:web_dashboard_tile.field_tile_tile_primary_helper -msgid "Helper" -msgstr "" - -#. module: web_dashboard_tile -#: model:ir.model.fields,field_description:web_dashboard_tile.field_tile_tile_id -msgid "ID" -msgstr "" - -#. module: web_dashboard_tile -#: model:ir.model.fields,help:web_dashboard_tile.field_tile_tile_group_ids -msgid "" -"If this field is set, only users of this group can view this tile. Please " -"note that it will only work for global tiles (that is, when User field is " -"left empty)" -msgstr "" - -#. module: web_dashboard_tile -#: model:ir.model.fields,field_description:web_dashboard_tile.field_tile_tile___last_update -msgid "Last Modified on" -msgstr "" - -#. module: web_dashboard_tile -#: model:ir.model.fields,field_description:web_dashboard_tile.field_tile_tile_write_uid -msgid "Last Updated by" -msgstr "" - -#. module: web_dashboard_tile -#: model:ir.model.fields,field_description:web_dashboard_tile.field_tile_tile_write_date -msgid "Last Updated on" -msgstr "" - -#. module: web_dashboard_tile -#: model:ir.ui.view,arch_db:web_dashboard_tile.dashboard_tile_tile_form_view -msgid "Main Value" -msgstr "" - -#. module: web_dashboard_tile -#: selection:tile.tile,primary_function:0 -#: selection:tile.tile,secondary_function:0 -msgid "Maximum" -msgstr "" - -#. module: web_dashboard_tile -#: code:addons/web_dashboard_tile/models/tile_tile.py:39 -#, python-format -msgid "Maximum value of '%s'" -msgstr "" - -#. module: web_dashboard_tile -#: selection:tile.tile,primary_function:0 -#: selection:tile.tile,secondary_function:0 -msgid "Median" -msgstr "" - -#. module: web_dashboard_tile -#: code:addons/web_dashboard_tile/models/tile_tile.py:51 -#, python-format -msgid "Median value of '%s'" -msgstr "" - -#. module: web_dashboard_tile -#: selection:tile.tile,primary_function:0 -#: selection:tile.tile,secondary_function:0 -msgid "Minimum" -msgstr "" - -#. module: web_dashboard_tile -#: code:addons/web_dashboard_tile/models/tile_tile.py:35 -#: code:addons/web_dashboard_tile/models/tile_tile.py:47 -#, python-format -msgid "Minimum value of '%s'" -msgstr "" - -#. module: web_dashboard_tile -#: model:ir.model.fields,field_description:web_dashboard_tile.field_tile_tile_model_id -msgid "Model" -msgstr "" - -#. module: web_dashboard_tile -#: model:ir.model.fields,field_description:web_dashboard_tile.field_tile_tile_name -msgid "Name" -msgstr "" - -#. module: web_dashboard_tile -#: code:addons/web_dashboard_tile/models/tile_tile.py:31 -#, python-format -msgid "Number of records" -msgstr "" - -#. module: web_dashboard_tile -#: code:addons/web_dashboard_tile/models/tile_tile.py:241 -#, python-format -msgid "Please select a field from the selected model." -msgstr "" - -#. module: web_dashboard_tile -#: model:ir.model.fields,help:web_dashboard_tile.field_tile_tile_primary_format -#: model:ir.model.fields,help:web_dashboard_tile.field_tile_tile_secondary_format -msgid "" -"Python Format String valid with str.format()\n" -"ie: '{:,} Kgs' will output '1,000 Kgs' if value is 1000." -msgstr "" - -#. module: web_dashboard_tile -#: model:ir.model.fields,field_description:web_dashboard_tile.field_tile_tile_secondary_field_id -msgid "Secondary Field" -msgstr "" - -#. module: web_dashboard_tile -#: model:ir.model.fields,field_description:web_dashboard_tile.field_tile_tile_secondary_format -msgid "Secondary Format" -msgstr "" - -#. module: web_dashboard_tile -#: model:ir.model.fields,field_description:web_dashboard_tile.field_tile_tile_secondary_function -msgid "Secondary Function" -msgstr "" - -#. module: web_dashboard_tile -#: model:ir.model.fields,field_description:web_dashboard_tile.field_tile_tile_secondary_helper -msgid "Secondary Helper" -msgstr "" - -#. module: web_dashboard_tile -#: model:ir.model.fields,field_description:web_dashboard_tile.field_tile_tile_secondary_value -#: model:ir.ui.view,arch_db:web_dashboard_tile.dashboard_tile_tile_form_view -msgid "Secondary Value" -msgstr "" - -#. module: web_dashboard_tile -#: model:ir.model.fields,field_description:web_dashboard_tile.field_tile_tile_sequence -msgid "Sequence" -msgstr "" - -#. module: web_dashboard_tile -#. openerp-web -#: code:addons/web_dashboard_tile/static/src/js/custom_js.js:96 -#, python-format -msgid "Success" -msgstr "" - -#. module: web_dashboard_tile -#: selection:tile.tile,primary_function:0 -#: selection:tile.tile,secondary_function:0 -msgid "Sum" -msgstr "" - -#. module: web_dashboard_tile -#: model:ir.ui.view,arch_db:web_dashboard_tile.dashboard_tile_tile_form_view -msgid "Technical Informations" -msgstr "" - -#. module: web_dashboard_tile -#. openerp-web -#: code:addons/web_dashboard_tile/static/src/js/custom_js.js:96 -#, python-format -msgid "Tile is created" -msgstr "" - -#. module: web_dashboard_tile -#. openerp-web -#: code:addons/web_dashboard_tile/static/src/xml/custom_xml.xml:6 -#, python-format -msgid "Tile:" -msgstr "" - -#. module: web_dashboard_tile -#: code:addons/web_dashboard_tile/models/tile_tile.py:43 -#, python-format -msgid "Total value of '%s'" -msgstr "" - -#. module: web_dashboard_tile -#: code:addons/web_dashboard_tile/models/tile_tile.py:216 -#, python-format -msgid "Unimplemented Feature. Search on Active field disabled." -msgstr "" - -#. module: web_dashboard_tile -#: model:ir.model.fields,field_description:web_dashboard_tile.field_tile_tile_user_id -msgid "User" -msgstr "" - -#. module: web_dashboard_tile -#: model:ir.model.fields,field_description:web_dashboard_tile.field_tile_tile_primary_value -msgid "Value" -msgstr "" diff --git a/web_dashboard_tile/i18n/pt_BR.po b/web_dashboard_tile/i18n/pt_BR.po deleted file mode 100644 index 2254f37a42f2..000000000000 --- a/web_dashboard_tile/i18n/pt_BR.po +++ /dev/null @@ -1,333 +0,0 @@ -# Translation of Odoo Server. -# This file contains the translation of the following modules: -# * web_dashboard_tile -# -# Translators: -# Armando Vulcano Junior , 2018 -# OCA Transbot , 2018 -msgid "" -msgstr "" -"Project-Id-Version: Odoo Server 9.0c\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2018-01-25 03:54+0000\n" -"PO-Revision-Date: 2018-01-25 03:54+0000\n" -"Last-Translator: OCA Transbot , 2018\n" -"Language-Team: Portuguese (Brazil) (https://www.transifex.com/oca/teams/23907/pt_BR/)\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: \n" -"Language: pt_BR\n" -"Plural-Forms: nplurals=2; plural=(n > 1);\n" - -#. module: web_dashboard_tile -#: model:ir.model.fields,field_description:web_dashboard_tile.field_tile_tile_action_id -msgid "Action" -msgstr "" - -#. module: web_dashboard_tile -#: model:ir.model.fields,field_description:web_dashboard_tile.field_tile_tile_active -msgid "Active" -msgstr "" - -#. module: web_dashboard_tile -#: selection:tile.tile,primary_function:0 -#: selection:tile.tile,secondary_function:0 -msgid "Average" -msgstr "" - -#. module: web_dashboard_tile -#: model:ir.model.fields,field_description:web_dashboard_tile.field_tile_tile_background_color -msgid "Background color" -msgstr "" - -#. module: web_dashboard_tile -#: selection:tile.tile,primary_function:0 -#: selection:tile.tile,secondary_function:0 -msgid "Count" -msgstr "" - -#. module: web_dashboard_tile -#. openerp-web -#: code:addons/web_dashboard_tile/static/src/xml/custom_xml.xml:8 -#, python-format -msgid "Create" -msgstr "Criar" - -#. module: web_dashboard_tile -#: model:ir.model.fields,field_description:web_dashboard_tile.field_tile_tile_create_uid -msgid "Created by" -msgstr "Criado por" - -#. module: web_dashboard_tile -#: model:ir.model.fields,field_description:web_dashboard_tile.field_tile_tile_create_date -msgid "Created on" -msgstr "Criado em" - -#. module: web_dashboard_tile -#: model:ir.actions.act_window,name:web_dashboard_tile.action_kanban_dashboard_tile -#: model:ir.actions.act_window,name:web_dashboard_tile.action_tree_dashboard_tile -#: model:ir.ui.menu,name:web_dashboard_tile.mail_dashboard -msgid "Dashboard" -msgstr "" - -#. module: web_dashboard_tile -#: model:ir.model,name:web_dashboard_tile.model_tile_tile -#: model:ir.ui.menu,name:web_dashboard_tile.menue_dashboard_tile -msgid "Dashboard Tile" -msgstr "" - -#. module: web_dashboard_tile -#: model:ir.ui.view,arch_db:web_dashboard_tile.dashboard_tile_tile_form_view -#: model:ir.ui.view,arch_db:web_dashboard_tile.dashboard_tile_tile_tree_view -msgid "Dashboard tiles" -msgstr "" - -#. module: web_dashboard_tile -#: model:ir.ui.view,arch_db:web_dashboard_tile.dashboard_tile_tile_form_view -msgid "Display" -msgstr "" - -#. module: web_dashboard_tile -#: model:ir.model.fields,field_description:web_dashboard_tile.field_tile_tile_display_name -msgid "Display Name" -msgstr "Mostrar Nome" - -#. module: web_dashboard_tile -#: model:ir.model.fields,field_description:web_dashboard_tile.field_tile_tile_domain -msgid "Domain" -msgstr "" - -#. module: web_dashboard_tile -#. openerp-web -#: code:addons/web_dashboard_tile/static/src/js/custom_js.js:57 -#, python-format -msgid "Error" -msgstr "" - -#. module: web_dashboard_tile -#: model:ir.model.fields,field_description:web_dashboard_tile.field_tile_tile_error -msgid "Error Details" -msgstr "" - -#. module: web_dashboard_tile -#: model:ir.model.fields,field_description:web_dashboard_tile.field_tile_tile_primary_field_id -msgid "Field" -msgstr "Campo" - -#. module: web_dashboard_tile -#. openerp-web -#: code:addons/web_dashboard_tile/static/src/js/custom_js.js:57 -#, python-format -msgid "Filter name is required." -msgstr "" - -#. module: web_dashboard_tile -#: model:ir.model.fields,field_description:web_dashboard_tile.field_tile_tile_font_color -msgid "Font color" -msgstr "" - -#. module: web_dashboard_tile -#: model:ir.model.fields,field_description:web_dashboard_tile.field_tile_tile_primary_format -msgid "Format" -msgstr "" - -#. module: web_dashboard_tile -#: model:ir.model.fields,field_description:web_dashboard_tile.field_tile_tile_primary_function -msgid "Function" -msgstr "" - -#. module: web_dashboard_tile -#: model:ir.model.fields,field_description:web_dashboard_tile.field_tile_tile_group_ids -#: model:ir.ui.view,arch_db:web_dashboard_tile.dashboard_tile_tile_form_view -msgid "Groups" -msgstr "" - -#. module: web_dashboard_tile -#: model:ir.model.fields,field_description:web_dashboard_tile.field_tile_tile_primary_helper -msgid "Helper" -msgstr "" - -#. module: web_dashboard_tile -#: model:ir.model.fields,field_description:web_dashboard_tile.field_tile_tile_id -msgid "ID" -msgstr "ID" - -#. module: web_dashboard_tile -#: model:ir.model.fields,help:web_dashboard_tile.field_tile_tile_group_ids -msgid "" -"If this field is set, only users of this group can view this tile. Please " -"note that it will only work for global tiles (that is, when User field is " -"left empty)" -msgstr "" - -#. module: web_dashboard_tile -#: model:ir.model.fields,field_description:web_dashboard_tile.field_tile_tile___last_update -msgid "Last Modified on" -msgstr "Última Modificação em" - -#. module: web_dashboard_tile -#: model:ir.model.fields,field_description:web_dashboard_tile.field_tile_tile_write_uid -msgid "Last Updated by" -msgstr "Última Atualização por" - -#. module: web_dashboard_tile -#: model:ir.model.fields,field_description:web_dashboard_tile.field_tile_tile_write_date -msgid "Last Updated on" -msgstr "Última Atualização em" - -#. module: web_dashboard_tile -#: model:ir.ui.view,arch_db:web_dashboard_tile.dashboard_tile_tile_form_view -msgid "Main Value" -msgstr "" - -#. module: web_dashboard_tile -#: selection:tile.tile,primary_function:0 -#: selection:tile.tile,secondary_function:0 -msgid "Maximum" -msgstr "" - -#. module: web_dashboard_tile -#: code:addons/web_dashboard_tile/models/tile_tile.py:39 -#, python-format -msgid "Maximum value of '%s'" -msgstr "" - -#. module: web_dashboard_tile -#: selection:tile.tile,primary_function:0 -#: selection:tile.tile,secondary_function:0 -msgid "Median" -msgstr "" - -#. module: web_dashboard_tile -#: code:addons/web_dashboard_tile/models/tile_tile.py:51 -#, python-format -msgid "Median value of '%s'" -msgstr "" - -#. module: web_dashboard_tile -#: selection:tile.tile,primary_function:0 -#: selection:tile.tile,secondary_function:0 -msgid "Minimum" -msgstr "" - -#. module: web_dashboard_tile -#: code:addons/web_dashboard_tile/models/tile_tile.py:35 -#: code:addons/web_dashboard_tile/models/tile_tile.py:47 -#, python-format -msgid "Minimum value of '%s'" -msgstr "" - -#. module: web_dashboard_tile -#: model:ir.model.fields,field_description:web_dashboard_tile.field_tile_tile_model_id -msgid "Model" -msgstr "" - -#. module: web_dashboard_tile -#: model:ir.model.fields,field_description:web_dashboard_tile.field_tile_tile_name -msgid "Name" -msgstr "" - -#. module: web_dashboard_tile -#: code:addons/web_dashboard_tile/models/tile_tile.py:31 -#, python-format -msgid "Number of records" -msgstr "" - -#. module: web_dashboard_tile -#: code:addons/web_dashboard_tile/models/tile_tile.py:241 -#, python-format -msgid "Please select a field from the selected model." -msgstr "" - -#. module: web_dashboard_tile -#: model:ir.model.fields,help:web_dashboard_tile.field_tile_tile_primary_format -#: model:ir.model.fields,help:web_dashboard_tile.field_tile_tile_secondary_format -msgid "" -"Python Format String valid with str.format()\n" -"ie: '{:,} Kgs' will output '1,000 Kgs' if value is 1000." -msgstr "" - -#. module: web_dashboard_tile -#: model:ir.model.fields,field_description:web_dashboard_tile.field_tile_tile_secondary_field_id -msgid "Secondary Field" -msgstr "" - -#. module: web_dashboard_tile -#: model:ir.model.fields,field_description:web_dashboard_tile.field_tile_tile_secondary_format -msgid "Secondary Format" -msgstr "" - -#. module: web_dashboard_tile -#: model:ir.model.fields,field_description:web_dashboard_tile.field_tile_tile_secondary_function -msgid "Secondary Function" -msgstr "" - -#. module: web_dashboard_tile -#: model:ir.model.fields,field_description:web_dashboard_tile.field_tile_tile_secondary_helper -msgid "Secondary Helper" -msgstr "" - -#. module: web_dashboard_tile -#: model:ir.model.fields,field_description:web_dashboard_tile.field_tile_tile_secondary_value -#: model:ir.ui.view,arch_db:web_dashboard_tile.dashboard_tile_tile_form_view -msgid "Secondary Value" -msgstr "" - -#. module: web_dashboard_tile -#: model:ir.model.fields,field_description:web_dashboard_tile.field_tile_tile_sequence -msgid "Sequence" -msgstr "" - -#. module: web_dashboard_tile -#. openerp-web -#: code:addons/web_dashboard_tile/static/src/js/custom_js.js:96 -#, python-format -msgid "Success" -msgstr "" - -#. module: web_dashboard_tile -#: selection:tile.tile,primary_function:0 -#: selection:tile.tile,secondary_function:0 -msgid "Sum" -msgstr "" - -#. module: web_dashboard_tile -#: model:ir.ui.view,arch_db:web_dashboard_tile.dashboard_tile_tile_form_view -msgid "Technical Informations" -msgstr "" - -#. module: web_dashboard_tile -#. openerp-web -#: code:addons/web_dashboard_tile/static/src/js/custom_js.js:96 -#, python-format -msgid "Tile is created" -msgstr "" - -#. module: web_dashboard_tile -#. openerp-web -#: code:addons/web_dashboard_tile/static/src/xml/custom_xml.xml:6 -#, python-format -msgid "Tile:" -msgstr "" - -#. module: web_dashboard_tile -#: code:addons/web_dashboard_tile/models/tile_tile.py:43 -#, python-format -msgid "Total value of '%s'" -msgstr "" - -#. module: web_dashboard_tile -#: code:addons/web_dashboard_tile/models/tile_tile.py:216 -#, python-format -msgid "Unimplemented Feature. Search on Active field disabled." -msgstr "" - -#. module: web_dashboard_tile -#: model:ir.model.fields,field_description:web_dashboard_tile.field_tile_tile_user_id -msgid "User" -msgstr "" - -#. module: web_dashboard_tile -#: model:ir.model.fields,field_description:web_dashboard_tile.field_tile_tile_primary_value -msgid "Value" -msgstr "" diff --git a/web_dashboard_tile/i18n/sl.po b/web_dashboard_tile/i18n/sl.po deleted file mode 100644 index 41c6e417f496..000000000000 --- a/web_dashboard_tile/i18n/sl.po +++ /dev/null @@ -1,332 +0,0 @@ -# Translation of Odoo Server. -# This file contains the translation of the following modules: -# * web_dashboard_tile -# -# Translators: -# OCA Transbot , 2018 -msgid "" -msgstr "" -"Project-Id-Version: Odoo Server 9.0c\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2018-01-25 03:54+0000\n" -"PO-Revision-Date: 2018-01-25 03:54+0000\n" -"Last-Translator: OCA Transbot , 2018\n" -"Language-Team: Slovenian (https://www.transifex.com/oca/teams/23907/sl/)\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: \n" -"Language: sl\n" -"Plural-Forms: nplurals=4; plural=(n%100==1 ? 0 : n%100==2 ? 1 : n%100==3 || n%100==4 ? 2 : 3);\n" - -#. module: web_dashboard_tile -#: model:ir.model.fields,field_description:web_dashboard_tile.field_tile_tile_action_id -msgid "Action" -msgstr "Dejanje" - -#. module: web_dashboard_tile -#: model:ir.model.fields,field_description:web_dashboard_tile.field_tile_tile_active -msgid "Active" -msgstr "Aktivno" - -#. module: web_dashboard_tile -#: selection:tile.tile,primary_function:0 -#: selection:tile.tile,secondary_function:0 -msgid "Average" -msgstr "Povprečje" - -#. module: web_dashboard_tile -#: model:ir.model.fields,field_description:web_dashboard_tile.field_tile_tile_background_color -msgid "Background color" -msgstr "Barva ozadja" - -#. module: web_dashboard_tile -#: selection:tile.tile,primary_function:0 -#: selection:tile.tile,secondary_function:0 -msgid "Count" -msgstr "Štetje" - -#. module: web_dashboard_tile -#. openerp-web -#: code:addons/web_dashboard_tile/static/src/xml/custom_xml.xml:8 -#, python-format -msgid "Create" -msgstr "Ustvari" - -#. module: web_dashboard_tile -#: model:ir.model.fields,field_description:web_dashboard_tile.field_tile_tile_create_uid -msgid "Created by" -msgstr "Ustvaril" - -#. module: web_dashboard_tile -#: model:ir.model.fields,field_description:web_dashboard_tile.field_tile_tile_create_date -msgid "Created on" -msgstr "Ustvarjeno" - -#. module: web_dashboard_tile -#: model:ir.actions.act_window,name:web_dashboard_tile.action_kanban_dashboard_tile -#: model:ir.actions.act_window,name:web_dashboard_tile.action_tree_dashboard_tile -#: model:ir.ui.menu,name:web_dashboard_tile.mail_dashboard -msgid "Dashboard" -msgstr "Nadzorna plošča" - -#. module: web_dashboard_tile -#: model:ir.model,name:web_dashboard_tile.model_tile_tile -#: model:ir.ui.menu,name:web_dashboard_tile.menue_dashboard_tile -msgid "Dashboard Tile" -msgstr "Okvir nadzorne plošče" - -#. module: web_dashboard_tile -#: model:ir.ui.view,arch_db:web_dashboard_tile.dashboard_tile_tile_form_view -#: model:ir.ui.view,arch_db:web_dashboard_tile.dashboard_tile_tile_tree_view -msgid "Dashboard tiles" -msgstr "Okvirji nadzorne plošče" - -#. module: web_dashboard_tile -#: model:ir.ui.view,arch_db:web_dashboard_tile.dashboard_tile_tile_form_view -msgid "Display" -msgstr "" - -#. module: web_dashboard_tile -#: model:ir.model.fields,field_description:web_dashboard_tile.field_tile_tile_display_name -msgid "Display Name" -msgstr "" - -#. module: web_dashboard_tile -#: model:ir.model.fields,field_description:web_dashboard_tile.field_tile_tile_domain -msgid "Domain" -msgstr "Domena" - -#. module: web_dashboard_tile -#. openerp-web -#: code:addons/web_dashboard_tile/static/src/js/custom_js.js:57 -#, python-format -msgid "Error" -msgstr "Napaka" - -#. module: web_dashboard_tile -#: model:ir.model.fields,field_description:web_dashboard_tile.field_tile_tile_error -msgid "Error Details" -msgstr "" - -#. module: web_dashboard_tile -#: model:ir.model.fields,field_description:web_dashboard_tile.field_tile_tile_primary_field_id -msgid "Field" -msgstr "Polje" - -#. module: web_dashboard_tile -#. openerp-web -#: code:addons/web_dashboard_tile/static/src/js/custom_js.js:57 -#, python-format -msgid "Filter name is required." -msgstr "Zahtevan je naziv filtra." - -#. module: web_dashboard_tile -#: model:ir.model.fields,field_description:web_dashboard_tile.field_tile_tile_font_color -msgid "Font color" -msgstr "" - -#. module: web_dashboard_tile -#: model:ir.model.fields,field_description:web_dashboard_tile.field_tile_tile_primary_format -msgid "Format" -msgstr "" - -#. module: web_dashboard_tile -#: model:ir.model.fields,field_description:web_dashboard_tile.field_tile_tile_primary_function -msgid "Function" -msgstr "Funkcija" - -#. module: web_dashboard_tile -#: model:ir.model.fields,field_description:web_dashboard_tile.field_tile_tile_group_ids -#: model:ir.ui.view,arch_db:web_dashboard_tile.dashboard_tile_tile_form_view -msgid "Groups" -msgstr "" - -#. module: web_dashboard_tile -#: model:ir.model.fields,field_description:web_dashboard_tile.field_tile_tile_primary_helper -msgid "Helper" -msgstr "" - -#. module: web_dashboard_tile -#: model:ir.model.fields,field_description:web_dashboard_tile.field_tile_tile_id -msgid "ID" -msgstr "ID" - -#. module: web_dashboard_tile -#: model:ir.model.fields,help:web_dashboard_tile.field_tile_tile_group_ids -msgid "" -"If this field is set, only users of this group can view this tile. Please " -"note that it will only work for global tiles (that is, when User field is " -"left empty)" -msgstr "" - -#. module: web_dashboard_tile -#: model:ir.model.fields,field_description:web_dashboard_tile.field_tile_tile___last_update -msgid "Last Modified on" -msgstr "" - -#. module: web_dashboard_tile -#: model:ir.model.fields,field_description:web_dashboard_tile.field_tile_tile_write_uid -msgid "Last Updated by" -msgstr "Zadnjič posodobil" - -#. module: web_dashboard_tile -#: model:ir.model.fields,field_description:web_dashboard_tile.field_tile_tile_write_date -msgid "Last Updated on" -msgstr "Zadnjič posodobljeno" - -#. module: web_dashboard_tile -#: model:ir.ui.view,arch_db:web_dashboard_tile.dashboard_tile_tile_form_view -msgid "Main Value" -msgstr "" - -#. module: web_dashboard_tile -#: selection:tile.tile,primary_function:0 -#: selection:tile.tile,secondary_function:0 -msgid "Maximum" -msgstr "Maksimum" - -#. module: web_dashboard_tile -#: code:addons/web_dashboard_tile/models/tile_tile.py:39 -#, python-format -msgid "Maximum value of '%s'" -msgstr "Maksimalna vrednost '%s'" - -#. module: web_dashboard_tile -#: selection:tile.tile,primary_function:0 -#: selection:tile.tile,secondary_function:0 -msgid "Median" -msgstr "Sredina" - -#. module: web_dashboard_tile -#: code:addons/web_dashboard_tile/models/tile_tile.py:51 -#, python-format -msgid "Median value of '%s'" -msgstr "Srednja vrednost '%s'" - -#. module: web_dashboard_tile -#: selection:tile.tile,primary_function:0 -#: selection:tile.tile,secondary_function:0 -msgid "Minimum" -msgstr "Minimum" - -#. module: web_dashboard_tile -#: code:addons/web_dashboard_tile/models/tile_tile.py:35 -#: code:addons/web_dashboard_tile/models/tile_tile.py:47 -#, python-format -msgid "Minimum value of '%s'" -msgstr "Minimalna vrednost '%s'" - -#. module: web_dashboard_tile -#: model:ir.model.fields,field_description:web_dashboard_tile.field_tile_tile_model_id -msgid "Model" -msgstr "Model" - -#. module: web_dashboard_tile -#: model:ir.model.fields,field_description:web_dashboard_tile.field_tile_tile_name -msgid "Name" -msgstr "" - -#. module: web_dashboard_tile -#: code:addons/web_dashboard_tile/models/tile_tile.py:31 -#, python-format -msgid "Number of records" -msgstr "" - -#. module: web_dashboard_tile -#: code:addons/web_dashboard_tile/models/tile_tile.py:241 -#, python-format -msgid "Please select a field from the selected model." -msgstr "" - -#. module: web_dashboard_tile -#: model:ir.model.fields,help:web_dashboard_tile.field_tile_tile_primary_format -#: model:ir.model.fields,help:web_dashboard_tile.field_tile_tile_secondary_format -msgid "" -"Python Format String valid with str.format()\n" -"ie: '{:,} Kgs' will output '1,000 Kgs' if value is 1000." -msgstr "" - -#. module: web_dashboard_tile -#: model:ir.model.fields,field_description:web_dashboard_tile.field_tile_tile_secondary_field_id -msgid "Secondary Field" -msgstr "" - -#. module: web_dashboard_tile -#: model:ir.model.fields,field_description:web_dashboard_tile.field_tile_tile_secondary_format -msgid "Secondary Format" -msgstr "" - -#. module: web_dashboard_tile -#: model:ir.model.fields,field_description:web_dashboard_tile.field_tile_tile_secondary_function -msgid "Secondary Function" -msgstr "" - -#. module: web_dashboard_tile -#: model:ir.model.fields,field_description:web_dashboard_tile.field_tile_tile_secondary_helper -msgid "Secondary Helper" -msgstr "" - -#. module: web_dashboard_tile -#: model:ir.model.fields,field_description:web_dashboard_tile.field_tile_tile_secondary_value -#: model:ir.ui.view,arch_db:web_dashboard_tile.dashboard_tile_tile_form_view -msgid "Secondary Value" -msgstr "" - -#. module: web_dashboard_tile -#: model:ir.model.fields,field_description:web_dashboard_tile.field_tile_tile_sequence -msgid "Sequence" -msgstr "Zaporedje" - -#. module: web_dashboard_tile -#. openerp-web -#: code:addons/web_dashboard_tile/static/src/js/custom_js.js:96 -#, python-format -msgid "Success" -msgstr "Uspeh" - -#. module: web_dashboard_tile -#: selection:tile.tile,primary_function:0 -#: selection:tile.tile,secondary_function:0 -msgid "Sum" -msgstr "Vsota" - -#. module: web_dashboard_tile -#: model:ir.ui.view,arch_db:web_dashboard_tile.dashboard_tile_tile_form_view -msgid "Technical Informations" -msgstr "" - -#. module: web_dashboard_tile -#. openerp-web -#: code:addons/web_dashboard_tile/static/src/js/custom_js.js:96 -#, python-format -msgid "Tile is created" -msgstr "Okvir je ustvarjen" - -#. module: web_dashboard_tile -#. openerp-web -#: code:addons/web_dashboard_tile/static/src/xml/custom_xml.xml:6 -#, python-format -msgid "Tile:" -msgstr "Okvir:" - -#. module: web_dashboard_tile -#: code:addons/web_dashboard_tile/models/tile_tile.py:43 -#, python-format -msgid "Total value of '%s'" -msgstr "Skupna vrednost '%s'" - -#. module: web_dashboard_tile -#: code:addons/web_dashboard_tile/models/tile_tile.py:216 -#, python-format -msgid "Unimplemented Feature. Search on Active field disabled." -msgstr "" - -#. module: web_dashboard_tile -#: model:ir.model.fields,field_description:web_dashboard_tile.field_tile_tile_user_id -msgid "User" -msgstr "Uporabnik" - -#. module: web_dashboard_tile -#: model:ir.model.fields,field_description:web_dashboard_tile.field_tile_tile_primary_value -msgid "Value" -msgstr "" diff --git a/web_dashboard_tile/i18n/tr.po b/web_dashboard_tile/i18n/tr.po deleted file mode 100644 index 39362c36126c..000000000000 --- a/web_dashboard_tile/i18n/tr.po +++ /dev/null @@ -1,332 +0,0 @@ -# Translation of Odoo Server. -# This file contains the translation of the following modules: -# * web_dashboard_tile -# -# Translators: -# OCA Transbot , 2018 -msgid "" -msgstr "" -"Project-Id-Version: Odoo Server 9.0c\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2018-01-25 03:54+0000\n" -"PO-Revision-Date: 2018-01-25 03:54+0000\n" -"Last-Translator: OCA Transbot , 2018\n" -"Language-Team: Turkish (https://www.transifex.com/oca/teams/23907/tr/)\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: \n" -"Language: tr\n" -"Plural-Forms: nplurals=2; plural=(n > 1);\n" - -#. module: web_dashboard_tile -#: model:ir.model.fields,field_description:web_dashboard_tile.field_tile_tile_action_id -msgid "Action" -msgstr "" - -#. module: web_dashboard_tile -#: model:ir.model.fields,field_description:web_dashboard_tile.field_tile_tile_active -msgid "Active" -msgstr "" - -#. module: web_dashboard_tile -#: selection:tile.tile,primary_function:0 -#: selection:tile.tile,secondary_function:0 -msgid "Average" -msgstr "" - -#. module: web_dashboard_tile -#: model:ir.model.fields,field_description:web_dashboard_tile.field_tile_tile_background_color -msgid "Background color" -msgstr "" - -#. module: web_dashboard_tile -#: selection:tile.tile,primary_function:0 -#: selection:tile.tile,secondary_function:0 -msgid "Count" -msgstr "" - -#. module: web_dashboard_tile -#. openerp-web -#: code:addons/web_dashboard_tile/static/src/xml/custom_xml.xml:8 -#, python-format -msgid "Create" -msgstr "" - -#. module: web_dashboard_tile -#: model:ir.model.fields,field_description:web_dashboard_tile.field_tile_tile_create_uid -msgid "Created by" -msgstr "" - -#. module: web_dashboard_tile -#: model:ir.model.fields,field_description:web_dashboard_tile.field_tile_tile_create_date -msgid "Created on" -msgstr "" - -#. module: web_dashboard_tile -#: model:ir.actions.act_window,name:web_dashboard_tile.action_kanban_dashboard_tile -#: model:ir.actions.act_window,name:web_dashboard_tile.action_tree_dashboard_tile -#: model:ir.ui.menu,name:web_dashboard_tile.mail_dashboard -msgid "Dashboard" -msgstr "" - -#. module: web_dashboard_tile -#: model:ir.model,name:web_dashboard_tile.model_tile_tile -#: model:ir.ui.menu,name:web_dashboard_tile.menue_dashboard_tile -msgid "Dashboard Tile" -msgstr "" - -#. module: web_dashboard_tile -#: model:ir.ui.view,arch_db:web_dashboard_tile.dashboard_tile_tile_form_view -#: model:ir.ui.view,arch_db:web_dashboard_tile.dashboard_tile_tile_tree_view -msgid "Dashboard tiles" -msgstr "" - -#. module: web_dashboard_tile -#: model:ir.ui.view,arch_db:web_dashboard_tile.dashboard_tile_tile_form_view -msgid "Display" -msgstr "" - -#. module: web_dashboard_tile -#: model:ir.model.fields,field_description:web_dashboard_tile.field_tile_tile_display_name -msgid "Display Name" -msgstr "" - -#. module: web_dashboard_tile -#: model:ir.model.fields,field_description:web_dashboard_tile.field_tile_tile_domain -msgid "Domain" -msgstr "" - -#. module: web_dashboard_tile -#. openerp-web -#: code:addons/web_dashboard_tile/static/src/js/custom_js.js:57 -#, python-format -msgid "Error" -msgstr "" - -#. module: web_dashboard_tile -#: model:ir.model.fields,field_description:web_dashboard_tile.field_tile_tile_error -msgid "Error Details" -msgstr "" - -#. module: web_dashboard_tile -#: model:ir.model.fields,field_description:web_dashboard_tile.field_tile_tile_primary_field_id -msgid "Field" -msgstr "Alan" - -#. module: web_dashboard_tile -#. openerp-web -#: code:addons/web_dashboard_tile/static/src/js/custom_js.js:57 -#, python-format -msgid "Filter name is required." -msgstr "" - -#. module: web_dashboard_tile -#: model:ir.model.fields,field_description:web_dashboard_tile.field_tile_tile_font_color -msgid "Font color" -msgstr "" - -#. module: web_dashboard_tile -#: model:ir.model.fields,field_description:web_dashboard_tile.field_tile_tile_primary_format -msgid "Format" -msgstr "" - -#. module: web_dashboard_tile -#: model:ir.model.fields,field_description:web_dashboard_tile.field_tile_tile_primary_function -msgid "Function" -msgstr "" - -#. module: web_dashboard_tile -#: model:ir.model.fields,field_description:web_dashboard_tile.field_tile_tile_group_ids -#: model:ir.ui.view,arch_db:web_dashboard_tile.dashboard_tile_tile_form_view -msgid "Groups" -msgstr "" - -#. module: web_dashboard_tile -#: model:ir.model.fields,field_description:web_dashboard_tile.field_tile_tile_primary_helper -msgid "Helper" -msgstr "" - -#. module: web_dashboard_tile -#: model:ir.model.fields,field_description:web_dashboard_tile.field_tile_tile_id -msgid "ID" -msgstr "" - -#. module: web_dashboard_tile -#: model:ir.model.fields,help:web_dashboard_tile.field_tile_tile_group_ids -msgid "" -"If this field is set, only users of this group can view this tile. Please " -"note that it will only work for global tiles (that is, when User field is " -"left empty)" -msgstr "" - -#. module: web_dashboard_tile -#: model:ir.model.fields,field_description:web_dashboard_tile.field_tile_tile___last_update -msgid "Last Modified on" -msgstr "" - -#. module: web_dashboard_tile -#: model:ir.model.fields,field_description:web_dashboard_tile.field_tile_tile_write_uid -msgid "Last Updated by" -msgstr "" - -#. module: web_dashboard_tile -#: model:ir.model.fields,field_description:web_dashboard_tile.field_tile_tile_write_date -msgid "Last Updated on" -msgstr "" - -#. module: web_dashboard_tile -#: model:ir.ui.view,arch_db:web_dashboard_tile.dashboard_tile_tile_form_view -msgid "Main Value" -msgstr "" - -#. module: web_dashboard_tile -#: selection:tile.tile,primary_function:0 -#: selection:tile.tile,secondary_function:0 -msgid "Maximum" -msgstr "" - -#. module: web_dashboard_tile -#: code:addons/web_dashboard_tile/models/tile_tile.py:39 -#, python-format -msgid "Maximum value of '%s'" -msgstr "" - -#. module: web_dashboard_tile -#: selection:tile.tile,primary_function:0 -#: selection:tile.tile,secondary_function:0 -msgid "Median" -msgstr "" - -#. module: web_dashboard_tile -#: code:addons/web_dashboard_tile/models/tile_tile.py:51 -#, python-format -msgid "Median value of '%s'" -msgstr "" - -#. module: web_dashboard_tile -#: selection:tile.tile,primary_function:0 -#: selection:tile.tile,secondary_function:0 -msgid "Minimum" -msgstr "" - -#. module: web_dashboard_tile -#: code:addons/web_dashboard_tile/models/tile_tile.py:35 -#: code:addons/web_dashboard_tile/models/tile_tile.py:47 -#, python-format -msgid "Minimum value of '%s'" -msgstr "" - -#. module: web_dashboard_tile -#: model:ir.model.fields,field_description:web_dashboard_tile.field_tile_tile_model_id -msgid "Model" -msgstr "" - -#. module: web_dashboard_tile -#: model:ir.model.fields,field_description:web_dashboard_tile.field_tile_tile_name -msgid "Name" -msgstr "" - -#. module: web_dashboard_tile -#: code:addons/web_dashboard_tile/models/tile_tile.py:31 -#, python-format -msgid "Number of records" -msgstr "" - -#. module: web_dashboard_tile -#: code:addons/web_dashboard_tile/models/tile_tile.py:241 -#, python-format -msgid "Please select a field from the selected model." -msgstr "" - -#. module: web_dashboard_tile -#: model:ir.model.fields,help:web_dashboard_tile.field_tile_tile_primary_format -#: model:ir.model.fields,help:web_dashboard_tile.field_tile_tile_secondary_format -msgid "" -"Python Format String valid with str.format()\n" -"ie: '{:,} Kgs' will output '1,000 Kgs' if value is 1000." -msgstr "" - -#. module: web_dashboard_tile -#: model:ir.model.fields,field_description:web_dashboard_tile.field_tile_tile_secondary_field_id -msgid "Secondary Field" -msgstr "" - -#. module: web_dashboard_tile -#: model:ir.model.fields,field_description:web_dashboard_tile.field_tile_tile_secondary_format -msgid "Secondary Format" -msgstr "" - -#. module: web_dashboard_tile -#: model:ir.model.fields,field_description:web_dashboard_tile.field_tile_tile_secondary_function -msgid "Secondary Function" -msgstr "" - -#. module: web_dashboard_tile -#: model:ir.model.fields,field_description:web_dashboard_tile.field_tile_tile_secondary_helper -msgid "Secondary Helper" -msgstr "" - -#. module: web_dashboard_tile -#: model:ir.model.fields,field_description:web_dashboard_tile.field_tile_tile_secondary_value -#: model:ir.ui.view,arch_db:web_dashboard_tile.dashboard_tile_tile_form_view -msgid "Secondary Value" -msgstr "" - -#. module: web_dashboard_tile -#: model:ir.model.fields,field_description:web_dashboard_tile.field_tile_tile_sequence -msgid "Sequence" -msgstr "" - -#. module: web_dashboard_tile -#. openerp-web -#: code:addons/web_dashboard_tile/static/src/js/custom_js.js:96 -#, python-format -msgid "Success" -msgstr "" - -#. module: web_dashboard_tile -#: selection:tile.tile,primary_function:0 -#: selection:tile.tile,secondary_function:0 -msgid "Sum" -msgstr "" - -#. module: web_dashboard_tile -#: model:ir.ui.view,arch_db:web_dashboard_tile.dashboard_tile_tile_form_view -msgid "Technical Informations" -msgstr "" - -#. module: web_dashboard_tile -#. openerp-web -#: code:addons/web_dashboard_tile/static/src/js/custom_js.js:96 -#, python-format -msgid "Tile is created" -msgstr "" - -#. module: web_dashboard_tile -#. openerp-web -#: code:addons/web_dashboard_tile/static/src/xml/custom_xml.xml:6 -#, python-format -msgid "Tile:" -msgstr "" - -#. module: web_dashboard_tile -#: code:addons/web_dashboard_tile/models/tile_tile.py:43 -#, python-format -msgid "Total value of '%s'" -msgstr "" - -#. module: web_dashboard_tile -#: code:addons/web_dashboard_tile/models/tile_tile.py:216 -#, python-format -msgid "Unimplemented Feature. Search on Active field disabled." -msgstr "" - -#. module: web_dashboard_tile -#: model:ir.model.fields,field_description:web_dashboard_tile.field_tile_tile_user_id -msgid "User" -msgstr "" - -#. module: web_dashboard_tile -#: model:ir.model.fields,field_description:web_dashboard_tile.field_tile_tile_primary_value -msgid "Value" -msgstr "" diff --git a/web_dashboard_tile/migrations/12.0.1.0.0/post-migration.py b/web_dashboard_tile/migrations/12.0.1.0.0/post-migration.py new file mode 100644 index 000000000000..118657c6d728 --- /dev/null +++ b/web_dashboard_tile/migrations/12.0.1.0.0/post-migration.py @@ -0,0 +1,29 @@ +# Copyright (C) 2019-Today: GTRAP () +# @author: Sylvain LE GAL (https://twitter.com/legalsylvain) +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). +import odoo + + +def migrate(cr, version): + if not version: + return + + with odoo.api.Environment.manage(): + env = odoo.api.Environment(cr, odoo.SUPERUSER_ID, {}) + + # categories was optional in previous versions + # affecting all tiles without categories + tiles_without_category = env["tile.tile"].search( + [('category_id', '=', False)]) + if tiles_without_category: + default_category = env["tile.category"].create({ + "name": "Default Category", + }) + tiles_without_category.write({ + 'category_id': default_category.id + }) + + # Enable all categories, to generate actions and menus + categories = env['tile.category'].with_context( + active_test=False).search([]) + categories.write({'active': True}) diff --git a/web_dashboard_tile/migrations/8.0.3.0/post-migration.py b/web_dashboard_tile/migrations/8.0.3.0/post-migration.py deleted file mode 100644 index c19f1870c304..000000000000 --- a/web_dashboard_tile/migrations/8.0.3.0/post-migration.py +++ /dev/null @@ -1,13 +0,0 @@ -# -*- coding: utf-8 -*- -# © 2016 Iván Todorovich -# License AGPL-3 - See http://www.gnu.org/licenses/agpl-3.0.html - - -def migrate(cr, version): - if version is None: - return - - # Rename old fields - cr.execute("""UPDATE tile_tile SET primary_function = 'count'""") - cr.execute("""UPDATE tile_tile SET secondary_function = field_function""") - cr.execute("""UPDATE tile_tile SET secondary_field_id = field_id""") diff --git a/web_dashboard_tile/migrations/8.0.4.0/post-migration.py b/web_dashboard_tile/migrations/8.0.4.0/post-migration.py deleted file mode 100644 index 674121edced9..000000000000 --- a/web_dashboard_tile/migrations/8.0.4.0/post-migration.py +++ /dev/null @@ -1,31 +0,0 @@ -# -*- coding: utf-8 -*- -# © 2016 Iván Todorovich -# License AGPL-3 - See http://www.gnu.org/licenses/agpl-3.0.html - - -def migrate(cr, version): - if version is None: - return - - # Update ir.rule - cr.execute( - """ - SELECT res_id FROM ir_model_data - WHERE name = 'model_tile_rule' - AND module = 'web_dashboard_tile'""" - ) - rule_id = cr.fetchone()[0] - new_domain = """[ - "|", - ("user_id","=",user.id), - ("user_id","=",False), - "|", - ("group_ids","=",False), - ("group_ids","in",[g.id for g in user.groups_id]), - ]""" - cr.execute( - """ - UPDATE ir_rule SET domain_force = '%(domain)s' - WHERE id = '%(id)s' """ - % {"domain": new_domain, "id": rule_id} - ) diff --git a/web_dashboard_tile/models/__init__.py b/web_dashboard_tile/models/__init__.py index 3a515832501b..aaaf277fe272 100644 --- a/web_dashboard_tile/models/__init__.py +++ b/web_dashboard_tile/models/__init__.py @@ -1,7 +1,2 @@ -# -*- coding: utf-8 -*- -# © 2010-2013 OpenERP s.a. (). -# © 2014 initOS GmbH & Co. KG (). -# © 2015-Today GRAP -# License AGPL-3 - See http://www.gnu.org/licenses/agpl-3.0.html - -from . import tile_tile, tile_category +from . import tile_tile +from . import tile_category diff --git a/web_dashboard_tile/models/tile_category.py b/web_dashboard_tile/models/tile_category.py index e7b8d843c357..aff5271291ee 100644 --- a/web_dashboard_tile/models/tile_category.py +++ b/web_dashboard_tile/models/tile_category.py @@ -1,8 +1,8 @@ -# -*- coding: utf-8 -*- # © 2018 Iván Todorovich +# © 2019-Today GRAP # License AGPL-3 - See http://www.gnu.org/licenses/agpl-3.0.html -from openerp import fields, models +from odoo import api, fields, models class TileCategory(models.Model): @@ -11,7 +11,95 @@ class TileCategory(models.Model): _order = "sequence asc" name = fields.Char(required=True) - sequence = fields.Integer( - help="Used to order the tile categories", default=0 + + sequence = fields.Integer(required=True, default=10) + + active = fields.Boolean(default=True) + + action_id = fields.Many2one( + string='Odoo Action', comodel_name='ir.actions.act_window', + readonly=True) + + menu_id = fields.Many2one( + string='Odoo Menu', comodel_name='ir.ui.menu', readonly=True) + + tile_ids = fields.One2many( + string='Tiles', comodel_name='tile.tile', + inverse_name='category_id') + + tile_qty = fields.Integer( + string='Tiles Quantity', + compute='_compute_tile_qty', + store=True, ) - fold = fields.Boolean("Folded by default") + + @api.depends('tile_ids') + def _compute_tile_qty(self): + for category in self: + category.tile_qty = len(category.tile_ids) + + def _prepare_action(self): + self.ensure_one() + return { + 'name': self.name, + 'res_model': 'tile.tile', + 'type': 'ir.actions.act_window', + 'view_mode': 'kanban', + 'domain': "[" + "'('hidden', '=', False)," + "'|', ('user_id', '=', False), ('user_id', '=', uid)," + "('category_id', '=', %d)" + "]" % self.id, + } + + def _prepare_menu(self): + self.ensure_one() + return { + 'name': self.name, + 'parent_id': self.env.ref( + 'web_dashboard_tile.menu_dashboard_tile').id, + 'action': 'ir.actions.act_window,%d' % self.action_id.id, + 'sequence': self.sequence, + } + + def _create_ui(self): + IrUiMenu = self.env['ir.ui.menu'] + IrActionsActWindows = self.env['ir.actions.act_window'] + for category in self: + if not category.action_id: + category.action_id = IrActionsActWindows.create( + category._prepare_action()) + if not category.menu_id: + category.menu_id = IrUiMenu.create(category._prepare_menu()) + + def _delete_ui(self): + for category in self: + if category.menu_id: + category.menu_id.unlink() + if category.action_id: + category.action_id.unlink() + + @api.model + def create(self, vals): + category = super().create(vals) + if category.active: + category._create_ui() + return category + + def write(self, vals): + res = super().write(vals) + if 'active' in vals.keys(): + if vals.get('active'): + self._create_ui() + else: + self._delete_ui() + if 'sequence' in vals.keys(): + self.mapped('menu_id').write({'sequence': vals['sequence']}) + if 'name' in vals.keys(): + self.mapped('menu_id').write({'name': vals['name']}) + self.mapped('action_id').write({'name': vals['name']}) + return res + + def unlink(self): + self._delete_ui() + super().unlink() diff --git a/web_dashboard_tile/models/tile_tile.py b/web_dashboard_tile/models/tile_tile.py index eeacb9bc67d5..4b9f7b241b93 100644 --- a/web_dashboard_tile/models/tile_tile.py +++ b/web_dashboard_tile/models/tile_tile.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- # © 2010-2013 OpenERP s.a. (). # © 2014 initOS GmbH & Co. KG (). # © 2015-Today GRAP @@ -6,22 +5,14 @@ import datetime import time +from statistics import median from dateutil.relativedelta import relativedelta from collections import OrderedDict -from openerp import api, fields, models -from openerp.tools.safe_eval import safe_eval as eval -from openerp.tools.translate import _ -from openerp.exceptions import ValidationError, except_orm - - -def median(vals): - # https://docs.python.org/3/library/statistics.html#statistics.median - # TODO : refactor, using statistics.median when Odoo will be available - # in Python 3.4 - even = (0 if len(vals) % 2 else 1) + 1 - half = (len(vals) - 1) / 2 - return sum(sorted(vals)[half : half + even]) / float(even) +from odoo import api, fields, models +from odoo.tools.safe_eval import safe_eval as eval +from odoo.tools.translate import _ +from odoo.exceptions import ValidationError, except_orm FIELD_FUNCTIONS = OrderedDict( @@ -84,160 +75,211 @@ class TileTile(models.Model): _description = "Dashboard Tile" _order = "sequence, name" - def _get_eval_context(self): - def _context_today(): - return fields.Date.from_string(fields.Date.context_today(self)) - - context = self.env.context.copy() - context.update( - { - "time": time, - "datetime": datetime, - "relativedelta": relativedelta, - "context_today": _context_today, - "current_date": fields.Date.today(), - } - ) - return context - # Column Section name = fields.Char(required=True) + sequence = fields.Integer(default=0, required=True) - category_id = fields.Many2one("tile.category", "Category") - user_id = fields.Many2one("res.users", "User") - background_color = fields.Char(default="#0E6C7E", oldname="color") + + category_id = fields.Many2one( + string="Category", comodel_name="tile.category", required=True, + ondelete="CASCADE") + + user_id = fields.Many2one(string="User", comodel_name="res.users") + + background_color = fields.Char(default="#0E6C7E") + font_color = fields.Char(default="#FFFFFF") group_ids = fields.Many2many( - "res.groups", + comodel_name="res.groups", string="Groups", help="If this field is set, only users of this group can view this " "tile. Please note that it will only work for global tiles " "(that is, when User field is left empty)", ) - model_id = fields.Many2one("ir.model", "Model", required=True) + model_id = fields.Many2one( + comodel_name="ir.model", string="Model", required=True + ) + + model_name = fields.Char(string="Model name", related="model_id.model") + domain = fields.Text(default="[]") - action_id = fields.Many2one("ir.actions.act_window", "Action") + + action_id = fields.Many2one( + comodel_name="ir.actions.act_window", + string="Action", help="Let empty to use the default action related to" + " the selected model.", + domain="[('res_model', '=', model_name)]") active = fields.Boolean( compute="_compute_active", search="_search_active", readonly=True ) + hide_if_null = fields.Boolean( + string="Hide if null", help="If checked, the item will be hidden" + " if the primary value is null.") + + hidden = fields.Boolean( + string="Hidden", compute="_compute_data", + search="_search_hidden") + # Primary Value primary_function = fields.Selection( - FIELD_FUNCTION_SELECTION, string="Function", default="count" + string="Primary Function", required=True, + selection=FIELD_FUNCTION_SELECTION, default="count", ) + primary_field_id = fields.Many2one( - "ir.model.fields", - string="Field", + comodel_name="ir.model.fields", + string="Primary Field", domain="[('model_id', '=', model_id)," " ('ttype', 'in', ['float', 'integer', 'monetary'])]", ) + primary_format = fields.Char( - string="Format", + string="Primary Format", help="Python Format String valid with str.format()\n" "ie: '{:,} Kgs' will output '1,000 Kgs' if value is 1000.", ) - primary_value = fields.Char(string="Value", compute="_compute_data") - primary_helper = fields.Char(string="Helper", compute="_compute_helper") + + primary_value = fields.Float( + string="Primary alue", compute="_compute_data") + + primary_formated_value = fields.Char( + string="Primary Formated Value", compute="_compute_data") + + primary_helper = fields.Char( + string="Primary Helper", compute="_compute_helper", + store=True) # Secondary Value secondary_function = fields.Selection( - FIELD_FUNCTION_SELECTION, string="Secondary Function" + string="Secondary Function", selection=FIELD_FUNCTION_SELECTION, ) + secondary_field_id = fields.Many2one( - "ir.model.fields", + comodel_name="ir.model.fields", string="Secondary Field", domain="[('model_id', '=', model_id)," " ('ttype', 'in', ['float', 'integer', 'monetary'])]", ) + secondary_format = fields.Char( string="Secondary Format", help="Python Format String valid with str.format()\n" "ie: '{:,} Kgs' will output '1,000 Kgs' if value is 1000.", ) - secondary_value = fields.Char( - string="Secondary Value", compute="_compute_data" + + secondary_value = fields.Float( + string="Secondary Value", compute="_compute_data") + + secondary_formated_value = fields.Char( + string="Secondary Formated Value", compute="_compute_data" ) + secondary_helper = fields.Char( - string="Secondary Helper", compute="_compute_helper" + string="Secondary Helper", compute="_compute_helper", + store=True ) error = fields.Char(string="Error Details", compute="_compute_data") - @api.one + # Compute Section + @api.depends("primary_format", "secondary_format", "model_id", "domain") def _compute_data(self): - if not self.active: - return - model = self.env[self.model_id.model] - eval_context = self._get_eval_context() - domain = self.domain or "[]" - try: - count = model.search_count(eval(domain, eval_context)) - except Exception as e: - self.primary_value = self.secondary_value = "ERR!" - self.error = str(e) - return - fields = [ - f.name - for f in [self.primary_field_id, self.secondary_field_id] - if f - ] - read_vals = ( - fields - and model.search_read(eval(domain, eval_context), fields) - or [] - ) - for f in ["primary_", "secondary_"]: - f_function = f + "function" - f_field_id = f + "field_id" - f_format = f + "format" - f_value = f + "value" - value = 0 - if not self[f_function]: - self[f_value] = False - else: - if self[f_function] == "count": - value = count + for tile in self: + if not tile.model_id or not tile.active: + return + model = self.env[tile.model_id.model] + eval_context = self._get_eval_context() + domain = tile.domain or "[]" + try: + count = model.search_count(eval(domain, eval_context)) + except Exception as e: + tile.primary_value = 0.0 + tile.primary_formated_value =\ + tile.secondary_formated_value = _("Error") + tile.error = str(e) + return + fields = [ + f.name + for f in [tile.primary_field_id, tile.secondary_field_id] + if f + ] + read_vals = ( + fields + and model.search_read(eval(domain, eval_context), fields) + or [] + ) + for f in ["primary_", "secondary_"]: + f_function = f + "function" + f_field_id = f + "field_id" + f_format = f + "format" + f_value = f + "value" + f_formated_value = f + "formated_value" + value = 0 + if not tile[f_function]: + tile[f_value] = 0.0 + tile[f_formated_value] = False else: - func = FIELD_FUNCTIONS[self[f_function]]["func"] - vals = [x[self[f_field_id].name] for x in read_vals] - value = func(vals) - try: - self[f_value] = (self[f_format] or "{:,}").format(value) - except ValueError as e: - self[f_value] = "F_ERR!" - self.error = str(e) - return - - @api.one - @api.onchange( + if tile[f_function] == "count": + value = count + else: + func = FIELD_FUNCTIONS[tile[f_function]]["func"] + vals = [x[tile[f_field_id].name] for x in read_vals] + value = func(vals or [0.0]) + try: + tile[f_value] = value + tile[f_formated_value] = ( + tile[f_format] or "{:,}").format(value) + if tile.hide_if_null and not value: + tile.hidden = True + except ValueError as e: + tile[f_value] = 0.0 + tile[f_formated_value] = _("Error") + tile.error = str(e) + + @api.depends( "primary_function", "primary_field_id", "secondary_function", "secondary_field_id", ) def _compute_helper(self): - for f in ["primary_", "secondary_"]: - f_function = f + "function" - f_field_id = f + "field_id" - f_helper = f + "helper" - self[f_helper] = "" - field_func = FIELD_FUNCTIONS.get(self[f_function], {}) - help = field_func.get("help", False) - if help: - if self[f_function] != "count" and self[f_field_id]: - desc = self[f_field_id].field_description - self[f_helper] = help % desc - else: - self[f_helper] = help + for tile in self: + for f in ["primary_", "secondary_"]: + f_function = f + "function" + f_field_id = f + "field_id" + f_helper = f + "helper" + tile[f_helper] = "" + field_func = FIELD_FUNCTIONS.get(tile[f_function], {}) + help = field_func.get("help", False) + if help: + if tile[f_function] != "count" and tile[f_field_id]: + desc = tile[f_field_id].field_description + tile[f_helper] = help % desc + else: + tile[f_helper] = help - @api.one def _compute_active(self): ima = self.env["ir.model.access"] - for rec in self: - rec.active = ima.check(rec.model_id.model, "read", False) + for tile in self: + if tile.model_id: + tile.active = ima.check(tile.model_id.model, "read", False) + else: + tile.active = True + + # Search Sections + def _search_hidden(self, operator, operand): + items = self.search([]) + hidden_tile_ids = [x.id for x in items if x.hidden] + if (operator == "=" and operand is False) or\ + (operator == "!=" and operand is True): + domain = [("id", "not in", hidden_tile_ids)] + else: + domain = [("id", "in", hidden_tile_ids)] + return domain def _search_active(self, operator, value): cr = self.env.cr @@ -259,8 +301,7 @@ def _search_active(self, operator, value): ids.append(result[0]) return [("id", "in", ids)] - # Constraints and onchanges - @api.multi + # Constraints Sections @api.constrains("model_id", "primary_field_id", "secondary_field_id") def _check_model_id_field_id(self): for rec in self: @@ -276,10 +317,12 @@ def _check_model_id_field_id(self): _("Please select a field from the selected model.") ) + # Onchange Sections @api.onchange("model_id") def _onchange_model_id(self): self.primary_field_id = False self.secondary_field_id = False + self.action_id = False @api.onchange("primary_function", "secondary_function") def _onchange_function(self): @@ -319,3 +362,20 @@ def add(self, vals): .id ) self.create(vals) + + @api.model + def _get_eval_context(self): + def _context_today(): + return fields.Date.from_string(fields.Date.context_today(self)) + + context = self.env.context.copy() + context.update( + { + "time": time, + "datetime": datetime, + "relativedelta": relativedelta, + "context_today": _context_today, + "current_date": fields.Date.today(), + } + ) + return context diff --git a/web_dashboard_tile/readme/CONTRIBUTORS.rst b/web_dashboard_tile/readme/CONTRIBUTORS.rst new file mode 100644 index 000000000000..9af10b4f5b42 --- /dev/null +++ b/web_dashboard_tile/readme/CONTRIBUTORS.rst @@ -0,0 +1,3 @@ +* Markus Schneider +* Sylvain Le Gal (https://twitter.com/legalsylvain) +* Iván Todorovich diff --git a/web_dashboard_tile/readme/DESCRIPTION.rst b/web_dashboard_tile/readme/DESCRIPTION.rst new file mode 100644 index 000000000000..e08e2cb076b5 --- /dev/null +++ b/web_dashboard_tile/readme/DESCRIPTION.rst @@ -0,0 +1,16 @@ +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. + +- Function is one of `sum`, `avg`, `min`, `max` or `median`. +- Field must be integer or float. + +Tile can be: + +- Displayed only for a user. +- Global for all users. +- Restricted to some groups. + +*Note: The tile will be hidden if the current user doesn't have access to the given model.* diff --git a/web_dashboard_tile/readme/ROADMAP.rst b/web_dashboard_tile/readme/ROADMAP.rst new file mode 100644 index 000000000000..d1a546ca5a27 --- /dev/null +++ b/web_dashboard_tile/readme/ROADMAP.rst @@ -0,0 +1,15 @@ +**Known issues** + +* Can not edit color from dashboard +* Original context is ignored. +* Original domain and filter are not restored. +* To preserve a relative date domain, you have to manually edit the tile's domain from `Configuration > User Interface > Dashboard Tile`. You can use the same variables available in filters (`uid`, `context_today()`, `current_date`, `time`, `datetime`, `relativedelta`). + +**Roadmap** + +* Add icons. +* Support client side action (like inbox). +* Restore original Domain + Filter when an action is set. +* Posibility to hide the tile based on a field expression. +* Posibility to set the background color based on a field expression. + diff --git a/web_dashboard_tile/readme/USAGE.rst b/web_dashboard_tile/readme/USAGE.rst new file mode 100644 index 000000000000..e8321c3afdd6 --- /dev/null +++ b/web_dashboard_tile/readme/USAGE.rst @@ -0,0 +1,11 @@ +when you are in a tree view, with a domain, you can save it in the favorite menu: + +.. image:: ./static/src/img/favorite_menu.png + +* Dashboad sample, displaying Sale Orders to invoice: + +.. image:: ./static/src/img/screenshot_dashboard.png + +* Tree view displayed when user click on the tile: + +.. image:: ./static/src/img/screenshot_action_click.png diff --git a/web_dashboard_tile/security/rules.xml b/web_dashboard_tile/security/ir_rule.xml similarity index 91% rename from web_dashboard_tile/security/rules.xml rename to web_dashboard_tile/security/ir_rule.xml index 05637bfdc25c..f30705e35d14 100644 --- a/web_dashboard_tile/security/rules.xml +++ b/web_dashboard_tile/security/ir_rule.xml @@ -1,6 +1,5 @@ - - + tile.owner @@ -18,5 +17,4 @@ - - + diff --git a/web_dashboard_tile/static/description/favorite_menu.png b/web_dashboard_tile/static/description/favorite_menu.png new file mode 100644 index 0000000000000000000000000000000000000000..a3d036115da6204e4128137f36e4ef1719d34742 GIT binary patch literal 15576 zcmbWe1#nzVlO@`+n3>tKn3?voY~* zL}yoZRCQO~sJ?mfkZ6FNKysr z>+**B8UEGBb{5reR<<*Bb~AJ|0hrm^*_hBe89SPo*gBcpIbVWy^8o-v07(%+757Zw zhM#-lqtE4MNpD+TypRuht*mPjp<2S&WJsIn$6rfowWYBF4(@F$l`Z&8*a;Z9-pYZq zrJ2BIh|C~i<2N9h)*8zYudBH~u=K=wiYj>p7%}47a5%COt6{_*kr^l_NEU+ciW z_9bCLjNk|U8|baCP73`Wm$NSZ7l-bkW2V2nA%AiC@%ab$(Ih4$eDCLCB>8!x2o*09 zDEPmbeKN2hu~)?G!x8QrZ+W5cm7PS${%2G?%V$jA^(R=mjbI39V$)4>I0$(CJ%~j+oT*0dMEVa0y_;!EOkhqWrFVtT@K*;xDe& z3JaZ=ZJuu5+ivB@TZvsev*%aL*y|AT?g`LG`a@fjeJkoX+Z}V@Qj41-AKs;9|G&*lS!UeH&FH&d`t88J7UWRwKjpAwbvnomGsn~ z>nG-Y(a$u{E#BzI=+OM0jks#VS2wkr@Ee5bnyvmKbp8G4S4^6ZMQQ7$huX1s(RKOk zgPN{KdhguM!PUPDJbPN>B!nGu8*Yemo@6i->+RO42Y&aW7vOZA9?@f$?{1s1fyICzxFyb^by`9?$JB!x`W4Ab@y-&U7g6Q zd;iwmTH$+Y4-RZWm$8o(+(AC_)q7g}9MmnaX?lt)v*#7wgz9txPI6_kPci-&dP79> z%}K1Tx%U5Nj~VCl;hTRn?F0>~uTh(HZ1ow`4B{TPxR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3<7P6>mOUNG3+p7 zP5H5_q0nX1nYCODpU$}cxyUywEl-Dmp+z9h_?Xn(%$mtF*>l-d8W(SEmb{zvh+Sga zX`8v1)W84wW4oYZMbRUZ;9|y8vS;))*N6W*y+(V9RuSW=j(4+d&pl@B+Zz)-mpL$A zQ-5~AWyby!7M~|IFG@&c?|!|z@@C-^;kr%Dx2xJOYaCcO+j_}shX+q(GyEd1pPzZs jcP+E$o4=p6KQb(z=J|E&+*QoL5Mc0h^>bP0l+XkKyXJ@& diff --git a/web_dashboard_tile/static/src/img/max.png b/web_dashboard_tile/static/src/img/max.png deleted file mode 100644 index ff33ee437159ee65f4aaab262dffff800bf5a3df..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 264 zcmeAS@N?(olHy`uVBq!ia0vp^5+KaM1|%Pp+x`GjEX7WqAsj$Z!;#Vf4nJ z@ErkR#;MwT(m=sgo-U3d9-YYv60aI2MzL)@Y5d1se09}{11Fqxxg~%=>)rq6&DJ6_ zL2QW`D>4u6Ub}>5aS7mj+4!+_N2QL``(Pu9bejH=Gnb^no z;V5GykZOySIZ!#}7^Co-9d1ma{42wsKW1Slo^Q_AzJ0=HpsN`?UHx3vIVCg!0IU#M AU;qFB diff --git a/web_dashboard_tile/static/src/img/median.png b/web_dashboard_tile/static/src/img/median.png deleted file mode 100644 index 61d5dd7c264544941b4de07c7c19da7391b485b9..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 287 zcmeAS@N?(olHy`uVBq!ia0vp^5+KaM1|%Pp+x`GjEX7WqAsj$Z!;#Vf4nJ z@ErkR#;MwT(m=t3o-U3d9-YYv60aI2MzL+(vgMDv`0AA_6H^vWW90#Yt5>fUlx1gY zGlPJzsqO)`j6BAhjxD-pR%S6WGk-I1XIIwXyY)me;BZYDFEewHKwu6~oZ0#4-}-{G zcBR63>Y5$*bYqVeTs=7H;RL&nw>C7&v9&-crN|A!;5+s)%rtX1_le3eJ-29 zs`9Jhi-OWc_AlMcNvFlS9yQF^lqzwAv6JClyi?%;7Vl*q58|`9;|^zMWvvK%{+NY9 Y4nJ z@ErkR#;MwT(m=tzo-U3d9-UXG8uBqI3b@|S+0*X6VcTb;dj~g6IpCXP(^kIW8{0Rt zZrQ@fNv<1rJu=XNd^C^60O! zL;j>i8&aRu1Tih)n4nJ z@ErkR#;MwT(m=t>o-U3d9-UXGZsa{=AmBP*`5S{+gOzL!t0aR23)c;%v<4|7h8_Wp z2|_hDZk*fsaMg*Re?Rvx*ZA;0xrlXbo6Xb6&}6oqVhlR#e1Gqe6lV~z6t^j3*V{bl z@|NziyB^HV2!7vt;;2l+F}pC!0>kONAssPiQknNM7e2nnmo#&=%n^fd%Z|i#i3n$<-Cv4-^i-E0O&miPgg&ebxsLQ06?H_C;$Ke diff --git a/web_dashboard_tile/static/src/js/custom_js.js b/web_dashboard_tile/static/src/js/custom_js.js deleted file mode 100644 index 66094df850a9..000000000000 --- a/web_dashboard_tile/static/src/js/custom_js.js +++ /dev/null @@ -1,141 +0,0 @@ -// @@@ web_dashboard_tile custom JS @@@ -//############################################################################# -// -// Copyright (C) 2010-2013 OpenERP s.a. () -// Copyright (C) 2014 initOS GmbH & Co. KG () -// Copyright (C) 2018 Iván Todorovich () -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as published -// by the Free Software Foundation, either version 3 of the License, or -// (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . -// -//############################################################################# - -odoo.define('web_dashboard_tile', function (require) { -"use strict"; - -var core = require('web.core'); -var data = require('web.data'); -var FavoriteMenu = require('web.FavoriteMenu'); -var ActionManager = require('web.ActionManager'); -var ViewManager = require('web.ViewManager'); -var Model = require('web.DataModel'); -var session = require('web.session'); -var pyeval = require('web.pyeval'); -var _t = core._t; -var QWeb = core.qweb; - - -FavoriteMenu.include({ - - prepare_dropdown_menu: function (filters) { - var self = this; - this._super(filters); - var am = this.findAncestor(function (a) { - return a instanceof ActionManager; - }); - if (am && am.get_inner_widget() instanceof ViewManager) { - this.view_manager = am.get_inner_widget(); - this.add_to_dashboard_tile_available = true; - this.$('.o_favorites_menu').append(QWeb.render('SearchView.addtodashboardtile')); - this.$add_to_dashboard_tile = this.$('.o_add_to_dashboard_tile'); - this.$add_dashboard_tile_btn = this.$add_to_dashboard_tile.eq(1).find('button'); - this.$add_dashboard_tile_input = this.$add_to_dashboard_tile.eq(0).find('input'); - this.$add_dashboard_tile_link = this.$('.o_add_to_dashboard_tile_link'); - var title = this.searchview.get_title(); - this.$add_dashboard_tile_input.val(title); - this.$add_dashboard_tile_link.click(function (e) { - e.preventDefault(); - self.toggle_dashboard_tile_menu(); - }); - this.$add_dashboard_tile_btn.click(this.proxy('add_dashboard_tile')); - } - }, - - toggle_dashboard_tile_menu: function (is_open) { - this.$add_dashboard_tile_link - .toggleClass('o_closed_menu', !(_.isUndefined(is_open)) ? !is_open : undefined) - .toggleClass('o_open_menu', is_open); - this.$add_to_dashboard_tile.toggle(is_open); - if (this.$add_dashboard_tile_link.hasClass('o_open_menu')) { - this.$add_dashboard_tile_input.focus(); - } - }, - - close_menus: function () { - if (this.add_to_dashboard_tile_available) { - this.toggle_dashboard_tile_menu(false); - } - this._super(); - }, - - add_dashboard_tile: function () { - var self = this; - - var search_data = this.searchview.build_search_data(), - context = new data.CompoundContext(this.searchview.dataset.get_context() || []), - domain = new data.CompoundDomain(this.searchview.dataset.get_domain() || []); - _.each(search_data.contexts, context.add, context); - _.each(search_data.domains, domain.add, domain); - - context.add({ - group_by: pyeval.eval('groupbys', search_data.groupbys || []) - }); - - context.add(this.view_manager.active_view.controller.get_context()); - - var c = pyeval.eval('context', context); - for(var k in c) { - if (c.hasOwnProperty(k) && /^search_default_/.test(k)) { - delete c[k]; - } - } - - this.toggle_dashboard_tile_menu(false); - - c.dashboard_merge_domains_contexts = false; - var d = pyeval.eval('domain', domain), - tile = new Model('tile.tile'), - name = self.$add_dashboard_tile_input.val(); - - var private_filter = !this.$('#oe_searchview_custom_public').prop('checked'); - if (_.isEmpty(name)){ - this.do_warn(_t("Error"), _t("Filter name is required.")); - return false; - } - - // Don't save user_context keys in the custom filter, otherwise end - // up with e.g. wrong uid or lang stored *and used in subsequent - // reqs* - var ctx = context; - _(_.keys(session.user_context)).each(function (key) { - delete ctx[key]; - }); - - var vals = { - name: name, - user_id: private_filter ? session.uid : false, - model_id: self.view_manager.active_view.controller.model, - //context: context, - domain: d, - action_id: self.action_id || false, - }; - - // FIXME: current context? - return tile.call('add', [vals]).done(function (id) { - self.do_notify(_t("Success"), _t("Tile is created")); - }); - }, -}); - -}); - diff --git a/web_dashboard_tile/static/src/js/web_dashboard_tile.js b/web_dashboard_tile/static/src/js/web_dashboard_tile.js new file mode 100644 index 000000000000..1458eb009099 --- /dev/null +++ b/web_dashboard_tile/static/src/js/web_dashboard_tile.js @@ -0,0 +1,112 @@ +/* +Copyright (C) 2010-2013 OpenERP s.a. () +Copyright (C) 2014 initOS GmbH & Co. KG () +Copyright (C) 2018 Iván Todorovich () +Copyright (C) 2019-Today GRAP (http://www.grap.coop) +@author: Sylvain LE GAL (https://twitter.com/legalsylvain) +License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). +*/ + + +odoo.define('web_dashboard_tile', function (require) { + 'use strict'; + var core = require('web.core'); + var FavoriteMenu = require('web.FavoriteMenu'); + var Domain = require('web.Domain'); + var qweb = core.qweb; + var _t = core._t; + + FavoriteMenu.include({ + + start: function () { + var self = this; + if (this.action_id === undefined) { + return this._super(); + } + if (this.action.type === 'ir.actions.act_window') { + this.add_to_dashboard_available = true; + this.$('.o_favorites_menu').append(qweb.render('SearchView.addtodashboardtile')); + this.$add_to_dashboard_tile = this.$('.o_add_to_dashboard_tile'); + this.$add_to_dashboard_tile_name = this.$('.o_add_to_dashboard_tile_name')[0]; + + // Add event on button and link clicks + this.$add_to_dashboard_tile_link = this.$('.o_add_to_dashboard_tile_link'); + this.$add_to_dashboard_tile_link.click(function (e) { + e.preventDefault(); + self._toggleDashboardTileMenu(); + }); + this.$add_to_dashboard_tile_button = this.$('.o_add_to_dashboard_tile_button'); + this.$add_to_dashboard_tile_button.click(this.proxy('_addDashboardTile')); + + // Add categories to the select list + this.$add_to_dashboard_tile_category = this.$('.o_add_to_dashboard_tile_category')[0]; + this._rpc({ + model: 'tile.category', + method: 'search_read', + args: [[], ['id', 'name']], + }).then(function (res) { + res.forEach(function(item){ + var newOption = document.createElement("option"); + newOption.text = item.name; + newOption.value = item.id; + self.$add_to_dashboard_tile_category.appendChild(newOption); + }); + }); + } + return this._super(); + }, + + _toggleDashboardTileMenu: function (isOpen) { + this.$add_to_dashboard_tile_link + .toggleClass('o_closed_menu', !(_.isUndefined(isOpen)) ? !isOpen : undefined) + .toggleClass('o_open_menu', isOpen); + this.$add_to_dashboard_tile.toggle(isOpen); + if (this.$add_to_dashboard_tile_link.hasClass('o_open_menu')) { + this.$add_to_dashboard_tile_name.focus(); + } + }, + + _addDashboardTile: function () { + var self = this; + var tile_name = this.$add_to_dashboard_tile_name.value; + var tile_category_id = this.$add_to_dashboard_tile_category.value; + + if (!tile_name.length){ + this.do_warn(_t("Error"), _t("Name Field is required.")); + this.$add_to_dashboard_tile_name.focus(); + return; + } + + var search_data = this.searchview.build_search_data(); + var domain = this.action.domain ? this.action.domain.slice(0) : []; + + _.each(search_data.domains, function (d) { + domain.push.apply(domain, Domain.prototype.stringToArray(d)); + }); + + return this._rpc({ + route: '/web_dashboard_tile/create_tile', + params: { + model_name: self.action.res_model, + name: tile_name, + category_id: tile_category_id, + domain: domain, + action_id: this.action_id, + }, + }).then(function (res) { + if (res) { + self.do_notify( + _.str.sprintf(_t("'%s' added to the overview dashboard"), tile_name), + _t('Please refresh your browser for the changes to take effect.') + ); + self._toggleDashboardTileMenu(false); + } else { + self.do_warn(_t("Could not add new element to the overview dashboard")); + } + }); + + }, + + }); + +}); diff --git a/web_dashboard_tile/static/src/xml/custom_xml.xml b/web_dashboard_tile/static/src/xml/custom_xml.xml deleted file mode 100644 index ba60a2447f3c..000000000000 --- a/web_dashboard_tile/static/src/xml/custom_xml.xml +++ /dev/null @@ -1,13 +0,0 @@ - diff --git a/web_dashboard_tile/static/src/xml/web_dashboard_tile.xml b/web_dashboard_tile/static/src/xml/web_dashboard_tile.xml new file mode 100644 index 000000000000..aefcccc4588f --- /dev/null +++ b/web_dashboard_tile/static/src/xml/web_dashboard_tile.xml @@ -0,0 +1,19 @@ + diff --git a/web_dashboard_tile/tests/__init__.py b/web_dashboard_tile/tests/__init__.py index 4f8c7e8bf045..474a84ea1355 100644 --- a/web_dashboard_tile/tests/__init__.py +++ b/web_dashboard_tile/tests/__init__.py @@ -1,6 +1 @@ -# -*- coding: utf-8 -*- -# © 2016 Antonio Espinosa - -# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). -# flake8: noqa - from . import test_tile diff --git a/web_dashboard_tile/tests/test_tile.py b/web_dashboard_tile/tests/test_tile.py index ec6b309b102c..e8e764096ceb 100644 --- a/web_dashboard_tile/tests/test_tile.py +++ b/web_dashboard_tile/tests/test_tile.py @@ -1,31 +1,33 @@ -# -*- coding: utf-8 -*- # © 2016 Antonio Espinosa - # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). -from openerp.tests.common import TransactionCase +from odoo.tests.common import TransactionCase class TestTile(TransactionCase): def test_tile(self): - tile_obj = self.env["tile.tile"] + TileTile = self.env["tile.tile"] model_id = self.env["ir.model"].search([("model", "=", "tile.tile")]) + category_id = self.env.ref("web_dashboard_tile.category_default").id field_id = self.env["ir.model.fields"].search( [("model_id", "=", model_id.id), ("name", "=", "sequence")] ) - self.tile1 = tile_obj.create( + self.tile1 = TileTile.create( { "name": "Count / Sum", "sequence": 1, + "category_id": category_id, "model_id": model_id.id, "domain": "[('model_id', '=', %d)]" % model_id.id, "secondary_function": "sum", "secondary_field_id": field_id.id, } ) - self.tile2 = tile_obj.create( + self.tile2 = TileTile.create( { "name": "Min / Max", "sequence": 2, + "category_id": category_id, "model_id": model_id.id, "domain": "[('model_id', '=', %d)]" % model_id.id, "primary_function": "min", @@ -34,10 +36,11 @@ def test_tile(self): "secondary_field_id": field_id.id, } ) - self.tile3 = tile_obj.create( + self.tile3 = TileTile.create( { "name": "Avg / Median", "sequence": 3, + "category_id": category_id, "model_id": model_id.id, "domain": "[('model_id', '=', %d)]" % model_id.id, "primary_function": "avg", @@ -55,6 +58,6 @@ def test_tile(self): # max self.assertEqual(self.tile2.secondary_value, "3") # average - self.assertEqual(self.tile3.primary_value, "2") + self.assertEqual(self.tile3.primary_value, "2.0") # median - self.assertEqual(self.tile3.secondary_value, "2.0") + self.assertEqual(self.tile3.secondary_value, "2") diff --git a/web_dashboard_tile/views/menu.xml b/web_dashboard_tile/views/menu.xml new file mode 100644 index 000000000000..a2dd84a61d0f --- /dev/null +++ b/web_dashboard_tile/views/menu.xml @@ -0,0 +1,14 @@ + + + + + + + + diff --git a/web_dashboard_tile/views/templates.xml b/web_dashboard_tile/views/templates.xml index e7a68b213299..4dc0dfe57187 100644 --- a/web_dashboard_tile/views/templates.xml +++ b/web_dashboard_tile/views/templates.xml @@ -1,33 +1,14 @@ - - - - - - - + diff --git a/web_dashboard_tile/views/tile.xml b/web_dashboard_tile/views/tile.xml deleted file mode 100644 index 4a629eb17d43..000000000000 --- a/web_dashboard_tile/views/tile.xml +++ /dev/null @@ -1,207 +0,0 @@ - - - - - tile.tile - - - - - - - - - - - - - - - - - - tile.tile - -
- -

- -

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-
-
-
- - - - tile.tile - - - - - - - - - - - - - - - - - -
-
- - - - -
-
-
-
-
-
-
-
- - - tile.category - -
- - - - - -
- - -
-
- - - tile.category - - - - - - - - - - - Dashboard - tile.tile - form - tree,kanban,form - - - - - - - Dashboard - tile.tile - form - kanban,form - ['|',('user_id','=',False),('user_id','=',uid)] - - - - - Dashboard - - - - - -
-
diff --git a/web_dashboard_tile/views/tile_category.xml b/web_dashboard_tile/views/tile_category.xml new file mode 100644 index 000000000000..b8c8eab58d48 --- /dev/null +++ b/web_dashboard_tile/views/tile_category.xml @@ -0,0 +1,63 @@ + + + + + Dashboard Items + tile.tile + form + tree,form + {'search_default_category_id': active_id} + + + + tile.category + +
+ +
+ + +
+
+
+ + + + +
+
+
+
+ + + tile.category + + + + + + + + + + + + Dashboard Categories + tile.category + form + tree,kanban,form + {'active_test': False} + + + + +
diff --git a/web_dashboard_tile/views/tile_tile.xml b/web_dashboard_tile/views/tile_tile.xml new file mode 100644 index 000000000000..f8a85745db83 --- /dev/null +++ b/web_dashboard_tile/views/tile_tile.xml @@ -0,0 +1,158 @@ + + + + + tile.tile + + + + + + + + + tile.tile + + + + + + + + + + + + + + + + + + + tile.tile + +
+ +

+ +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+
+
+ + + tile.tile + + + + + + + + + + + + + + + + + + + + + + + + + Dashboard Items + tile.tile + form + tree,form,kanban + + + + +