From 4a02b825e87e844cc6293402066186cb1772504c Mon Sep 17 00:00:00 2001 From: Enric Tobella Date: Tue, 14 Apr 2020 09:16:25 +0200 Subject: [PATCH 001/404] [12.0][ADD] kpi_dashboard --- kpi_dashboard/README.rst | 96 ++++ kpi_dashboard/__init__.py | 2 + kpi_dashboard/__manifest__.py | 23 + kpi_dashboard/models/__init__.py | 4 + .../models/ir_actions_act_window_view.py | 10 + kpi_dashboard/models/ir_ui_view.py | 10 + kpi_dashboard/models/kpi_dashboard.py | 182 +++++++ kpi_dashboard/models/kpi_kpi.py | 110 +++++ kpi_dashboard/readme/CONFIGURE.rst | 19 + kpi_dashboard/readme/CONTRIBUTORS.rst | 1 + kpi_dashboard/readme/DESCRIPTION.rst | 1 + kpi_dashboard/security/ir.model.access.csv | 9 + kpi_dashboard/security/security.xml | 22 + kpi_dashboard/static/description/icon.png | Bin 0 -> 9455 bytes kpi_dashboard/static/description/index.html | 449 ++++++++++++++++++ kpi_dashboard/static/lib/gauge/GaugeMeter.js | 276 +++++++++++ .../gridster/jquery.dsmorse-gridster.min.css | 2 + .../gridster/jquery.dsmorse-gridster.min.js | 2 + .../static/src/js/dashboard_controller.js | 76 +++ .../static/src/js/dashboard_model.js | 23 + .../static/src/js/dashboard_renderer.js | 74 +++ kpi_dashboard/static/src/js/dashboard_view.js | 44 ++ .../static/src/js/widget/abstract_widget.js | 91 ++++ .../static/src/js/widget/graph_widget.js | 108 +++++ .../static/src/js/widget/meter_widget.js | 39 ++ .../static/src/js/widget/number_widget.js | 72 +++ .../static/src/js/widget/text_widget.js | 17 + .../static/src/js/widget_registry.js | 7 + .../static/src/scss/kpi_dashboard.scss | 112 +++++ kpi_dashboard/static/src/xml/dashboard.xml | 76 +++ kpi_dashboard/views/kpi_dashboard.xml | 111 +++++ kpi_dashboard/views/kpi_kpi.xml | 89 ++++ kpi_dashboard/views/kpi_menu.xml | 12 + kpi_dashboard/views/webclient_templates.xml | 25 + kpi_dashboard/wizards/__init__.py | 1 + kpi_dashboard/wizards/kpi_dashboard_menu.py | 17 + kpi_dashboard/wizards/kpi_dashboard_menu.xml | 38 ++ 37 files changed, 2250 insertions(+) create mode 100644 kpi_dashboard/README.rst create mode 100644 kpi_dashboard/__init__.py create mode 100644 kpi_dashboard/__manifest__.py create mode 100644 kpi_dashboard/models/__init__.py create mode 100644 kpi_dashboard/models/ir_actions_act_window_view.py create mode 100644 kpi_dashboard/models/ir_ui_view.py create mode 100644 kpi_dashboard/models/kpi_dashboard.py create mode 100644 kpi_dashboard/models/kpi_kpi.py create mode 100644 kpi_dashboard/readme/CONFIGURE.rst create mode 100644 kpi_dashboard/readme/CONTRIBUTORS.rst create mode 100644 kpi_dashboard/readme/DESCRIPTION.rst create mode 100644 kpi_dashboard/security/ir.model.access.csv create mode 100755 kpi_dashboard/security/security.xml create mode 100644 kpi_dashboard/static/description/icon.png create mode 100644 kpi_dashboard/static/description/index.html create mode 100644 kpi_dashboard/static/lib/gauge/GaugeMeter.js create mode 100644 kpi_dashboard/static/lib/gridster/jquery.dsmorse-gridster.min.css create mode 100644 kpi_dashboard/static/lib/gridster/jquery.dsmorse-gridster.min.js create mode 100644 kpi_dashboard/static/src/js/dashboard_controller.js create mode 100644 kpi_dashboard/static/src/js/dashboard_model.js create mode 100644 kpi_dashboard/static/src/js/dashboard_renderer.js create mode 100644 kpi_dashboard/static/src/js/dashboard_view.js create mode 100644 kpi_dashboard/static/src/js/widget/abstract_widget.js create mode 100644 kpi_dashboard/static/src/js/widget/graph_widget.js create mode 100644 kpi_dashboard/static/src/js/widget/meter_widget.js create mode 100644 kpi_dashboard/static/src/js/widget/number_widget.js create mode 100644 kpi_dashboard/static/src/js/widget/text_widget.js create mode 100644 kpi_dashboard/static/src/js/widget_registry.js create mode 100644 kpi_dashboard/static/src/scss/kpi_dashboard.scss create mode 100644 kpi_dashboard/static/src/xml/dashboard.xml create mode 100644 kpi_dashboard/views/kpi_dashboard.xml create mode 100644 kpi_dashboard/views/kpi_kpi.xml create mode 100644 kpi_dashboard/views/kpi_menu.xml create mode 100644 kpi_dashboard/views/webclient_templates.xml create mode 100644 kpi_dashboard/wizards/__init__.py create mode 100644 kpi_dashboard/wizards/kpi_dashboard_menu.py create mode 100644 kpi_dashboard/wizards/kpi_dashboard_menu.xml diff --git a/kpi_dashboard/README.rst b/kpi_dashboard/README.rst new file mode 100644 index 000000000..0c3200d94 --- /dev/null +++ b/kpi_dashboard/README.rst @@ -0,0 +1,96 @@ +============= +Kpi Dashboard +============= + +.. !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + !! This file is generated by oca-gen-addon-readme !! + !! changes will be overwritten. !! + !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + +.. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png + :target: https://odoo-community.org/page/development-status + :alt: Beta +.. |badge2| image:: https://img.shields.io/badge/licence-AGPL--3-blue.png + :target: http://www.gnu.org/licenses/agpl-3.0-standalone.html + :alt: License: AGPL-3 +.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Freporting--engine-lightgray.png?logo=github + :target: https://github.com/OCA/reporting-engine/tree/12.0/kpi_dashboard + :alt: OCA/reporting-engine +.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png + :target: https://translation.odoo-community.org/projects/reporting-engine-12-0/reporting-engine-12-0-kpi_dashboard + :alt: Translate me on Weblate +.. |badge5| image:: https://img.shields.io/badge/runbot-Try%20me-875A7B.png + :target: https://runbot.odoo-community.org/runbot/143/12.0 + :alt: Try me on Runbot + +|badge1| |badge2| |badge3| |badge4| |badge5| + +This module adds new kinds of dashboards on a specific new type of view. + +**Table of contents** + +.. contents:: + :local: + +Configuration +============= + +Configure KPIs +~~~~~~~~~~~~~~ + +#. Access `Dashboards > Configuration > KPI Dashboards > Configure KPI` +#. Create a new KPI specifying the computation method and the kpi type + + #. Number: result must contain a `value` and, if needed, a `previous` + #. Meter: result must contain `value`, `min` and `max` + #. Graph: result must contain a list on `graphs` containing `values`, `title` and `key` + + +Configure dashboards +~~~~~~~~~~~~~~~~~~~~ + +#. Access `Dashboards > Configuration > KPI Dashboards > Configure Dashboards` +#. Create a new dashboard and specify all the standard parameters on `Widget configuration` +#. Append elements on KPIs +#. You can preview the element using the dashboard view +#. You can create the menu entry directly using the `Generate menu` button + +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 `_. + +Do not contact contributors directly about support or help with technical issues. + +Credits +======= + +Authors +~~~~~~~ + +* Creu Blanca + +Contributors +~~~~~~~~~~~~ + +* Enric Tobella + +Maintainers +~~~~~~~~~~~ + +This module is maintained by the OCA. + +.. image:: https://odoo-community.org/logo.png + :alt: Odoo Community Association + :target: https://odoo-community.org + +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. + +This module is part of the `OCA/reporting-engine `_ project on GitHub. + +You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute. diff --git a/kpi_dashboard/__init__.py b/kpi_dashboard/__init__.py new file mode 100644 index 000000000..aee8895e7 --- /dev/null +++ b/kpi_dashboard/__init__.py @@ -0,0 +1,2 @@ +from . import models +from . import wizards diff --git a/kpi_dashboard/__manifest__.py b/kpi_dashboard/__manifest__.py new file mode 100644 index 000000000..deb7d214b --- /dev/null +++ b/kpi_dashboard/__manifest__.py @@ -0,0 +1,23 @@ +# Copyright 2020 Creu Blanca +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). + +{ + "name": "Kpi Dashboard", + "summary": """ + Create Dashboards using kpis""", + "version": "12.0.1.0.0", + "license": "AGPL-3", + "author": "Creu Blanca,Odoo Community Association (OCA)", + "website": "https://github.com/reporting-engine", + "depends": ["bus", "board", "base_sparse_field", "web_widget_color"], + "qweb": ["static/src/xml/dashboard.xml"], + "data": [ + "wizards/kpi_dashboard_menu.xml", + "security/security.xml", + "security/ir.model.access.csv", + "views/kpi_menu.xml", + "views/webclient_templates.xml", + "views/kpi_kpi.xml", + "views/kpi_dashboard.xml", + ], +} diff --git a/kpi_dashboard/models/__init__.py b/kpi_dashboard/models/__init__.py new file mode 100644 index 000000000..b67f67ba6 --- /dev/null +++ b/kpi_dashboard/models/__init__.py @@ -0,0 +1,4 @@ +from . import kpi_dashboard +from . import kpi_kpi +from . import ir_actions_act_window_view +from . import ir_ui_view diff --git a/kpi_dashboard/models/ir_actions_act_window_view.py b/kpi_dashboard/models/ir_actions_act_window_view.py new file mode 100644 index 000000000..ad2a2a8c0 --- /dev/null +++ b/kpi_dashboard/models/ir_actions_act_window_view.py @@ -0,0 +1,10 @@ +# Copyright 2019 Creu Blanca +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). + +from odoo import fields, models + + +class IrActionsActWindowView(models.Model): + _inherit = "ir.actions.act_window.view" + + view_mode = fields.Selection(selection_add=[("dashboard", "Dashboard")]) diff --git a/kpi_dashboard/models/ir_ui_view.py b/kpi_dashboard/models/ir_ui_view.py new file mode 100644 index 000000000..6c4e32738 --- /dev/null +++ b/kpi_dashboard/models/ir_ui_view.py @@ -0,0 +1,10 @@ +# Copyright 2019 Creu Blanca +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). + +from odoo import fields, models + + +class IrUiView(models.Model): + _inherit = "ir.ui.view" + + type = fields.Selection(selection_add=[("dashboard", "Dashboard")]) diff --git a/kpi_dashboard/models/kpi_dashboard.py b/kpi_dashboard/models/kpi_dashboard.py new file mode 100644 index 000000000..bdfb36831 --- /dev/null +++ b/kpi_dashboard/models/kpi_dashboard.py @@ -0,0 +1,182 @@ +# Copyright 2020 Creu Blanca +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). + +from odoo import api, fields, models, _ +from odoo.exceptions import ValidationError + + +class KpiDashboard(models.Model): + + _name = "kpi.dashboard" + _description = "Dashboard" + + name = fields.Char(required=True) + active = fields.Boolean(default=True,) + item_ids = fields.One2many( + "kpi.dashboard.item", inverse_name="dashboard_id", copy=True, + ) + number_of_columns = fields.Integer(default=5, required=True) + width = fields.Integer(compute="_compute_width") + margin_y = fields.Integer(default=10, required=True) + margin_x = fields.Integer(default=10, required=True) + widget_dimension_x = fields.Integer(default=250, required=True) + widget_dimension_y = fields.Integer(default=250, required=True) + background_color = fields.Char(required=True, default="#f9f9f9") + group_ids = fields.Many2many("res.groups",) + menu_id = fields.Many2one("ir.ui.menu", copy=False) + + def write(self, vals): + res = super().write(vals) + if "group_ids" in vals: + for rec in self: + if rec.menu_id: + rec.menu_id.write( + {"groups_id": [(6, 0, rec.group_ids.ids)]} + ) + return res + + @api.depends("widget_dimension_x", "margin_x", "number_of_columns") + def _compute_width(self): + for rec in self: + rec.width = ( + rec.margin_x * (rec.number_of_columns + 1) + + rec.widget_dimension_x * rec.number_of_columns + ) + + def read_dashboard(self): + self.ensure_one() + result = { + "name": self.name, + "width": self.width, + "item_ids": self.item_ids.read_dashboard(), + "max_cols": self.number_of_columns, + "margin_x": self.margin_x, + "margin_y": self.margin_y, + "widget_dimension_x": self.widget_dimension_x, + "widget_dimension_y": self.widget_dimension_y, + "background_color": self.background_color, + } + if self.menu_id: + result["action_id"] = self.menu_id.action.id + return result + + def _generate_menu_vals(self, menu, action): + return { + "parent_id": menu.id or False, + "name": self.name, + "action": "%s,%s" % (action._name, action.id), + "groups_id": [(6, 0, self.group_ids.ids)], + } + + def _generate_action_vals(self, menu): + return { + "name": self.name, + "res_model": self._name, + "view_mode": "dashboard", + "res_id": self.id, + } + + def _generate_menu(self, menu): + action = self.env["ir.actions.act_window"].create( + self._generate_action_vals(menu) + ) + self.menu_id = self.env["ir.ui.menu"].create( + self._generate_menu_vals(menu, action) + ) + + +class KpiDashboardItem(models.Model): + _name = "kpi.dashboard.item" + _description = "Dashboard Items" + _order = "row asc, column asc" + + name = fields.Char(required=True) + kpi_id = fields.Many2one("kpi.kpi") + dashboard_id = fields.Many2one("kpi.dashboard", required=True,) + column = fields.Integer(required=True, default=1) + row = fields.Integer(required=True, default=1) + end_row = fields.Integer(store=True, compute='_compute_end_row') + end_column = fields.Integer(store=True, compute='_compute_end_column') + size_x = fields.Integer(required=True, default=1) + size_y = fields.Integer(required=True, default=1) + color = fields.Char() + font_color = fields.Char() + + @api.depends('row', 'size_y') + def _compute_end_row(self): + for r in self: + r.end_row = r.row + r.size_y - 1 + + @api.depends('column', 'size_x') + def _compute_end_column(self): + for r in self: + r.end_column = r.column + r.size_x - 1 + + @api.constrains('size_y') + def _check_size_y(self): + for rec in self: + if rec.size_y > 10: + raise ValidationError(_( + 'Size Y of the widget cannot be bigger than 10')) + + def _check_size_domain(self): + return [ + ('dashboard_id', '=', self.dashboard_id.id), + ('id', '!=', self.id), + ('row', '<=', self.end_row), + ('end_row', '>=', self.row), + ('column', '<=', self.end_column), + ('end_column', '>=', self.column), + ] + + @api.constrains('end_row', 'end_column', 'row', 'column') + def _check_size(self): + for r in self: + if self.search(r._check_size_domain(), limit=1): + raise ValidationError(_( + 'Widgets cannot be crossed by other widgets' + )) + if r.end_column > r.dashboard_id.number_of_columns: + raise ValidationError(_( + 'Widget %s is bigger than expected' + ) % r.display_name) + + @api.onchange("kpi_id") + def _onchange_kpi(self): + for rec in self: + if not rec.name and rec.kpi_id: + rec.name = rec.kpi_id.name + + def _read_dashboard(self): + vals = { + "id": self.id, + "name": self.name, + "col": self.column, + "row": self.row, + "sizex": self.size_x, + "sizey": self.size_y, + "color": self.color, + "font_color": self.font_color or "000000", + } + if self.kpi_id: + vals.update( + { + "widget": self.kpi_id.widget, + "kpi_id": self.kpi_id.id, + "suffix": self.kpi_id.suffix or "", + "prefix": self.kpi_id.prefix or "", + "value": self.kpi_id.value, + "value_last_update": self.kpi_id.value_last_update, + } + ) + if self.kpi_id.action_ids: + vals["actions"] = self.kpi_id.action_ids.read_dashboard() + else: + vals["widget"] = "base_text" + return vals + + def read_dashboard(self): + result = [] + for kpi in self: + result.append(kpi._read_dashboard()) + return result diff --git a/kpi_dashboard/models/kpi_kpi.py b/kpi_dashboard/models/kpi_kpi.py new file mode 100644 index 000000000..41e6c5b60 --- /dev/null +++ b/kpi_dashboard/models/kpi_kpi.py @@ -0,0 +1,110 @@ +# Copyright 2020 Creu Blanca +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). + +from odoo import api, fields, models +import ast + + +class KpiKpi(models.Model): + _name = "kpi.kpi" + _description = "Kpi Kpi" + + name = fields.Char(required=True) + active = fields.Boolean(default=True) + cron_id = fields.Many2one("ir.cron", readonly=True, copy=False) + computation_method = fields.Selection( + [("function", "Function")], required=True + ) + value = fields.Serialized() + dashboard_item_ids = fields.One2many("kpi.dashboard.item", inverse_name="kpi_id") + model_id = fields.Many2one("ir.model",) + function = fields.Char() + args = fields.Char() + kwargs = fields.Char() + widget = fields.Selection( + [("number", "Number"), ("meter", "Meter"), ("graph", "Graph")], + required=True, + default="number", + ) + value_last_update = fields.Datetime(readonly=True) + prefix = fields.Char() + suffix = fields.Char() + action_ids = fields.One2many( + "kpi.kpi.action", + inverse_name='kpi_id', + help="Actions that can be opened from the KPI" + ) + + def _cron_vals(self): + return { + "name": self.name, + "model_id": self.env.ref("kpi_dashboard.model_kpi_kpi").id, + "interval_number": 1, + "interval_type": "hours", + "state": "code", + "code": "model.browse(%s).compute()" % self.id, + "active": True, + } + + def compute(self): + for record in self: + record._compute() + return True + + def _compute(self): + self.write( + { + "value": getattr( + self, "_compute_value_%s" % self.computation_method + )() + } + ) + notifications = [] + for dashboard_item in self.dashboard_item_ids: + channel = "kpi_dashboard_%s" % dashboard_item.dashboard_id.id + notifications.append([channel, dashboard_item._read_dashboard()]) + if notifications: + self.env["bus.bus"].sendmany(notifications) + + def _compute_value_function(self): + obj = self + if self.model_id: + obj = self.env[self.model_id.model] + args = ast.literal_eval(self.args or "[]") + kwargs = ast.literal_eval(self.kwargs or "{}") + return getattr(obj, self.function)(*args, **kwargs) + + def generate_cron(self): + self.ensure_one() + self.cron_id = self.env["ir.cron"].create(self._cron_vals()) + + @api.multi + def write(self, vals): + if "value" in vals: + vals["value_last_update"] = fields.Datetime.now() + return super().write(vals) + + +class KpiKpiAction(models.Model): + _name = 'kpi.kpi.action' + _description = 'KPI action' + + kpi_id = fields.Many2one('kpi.kpi', required=True, ondelete='cascade') + action = fields.Reference( + selection=[('ir.actions.report', 'ir.actions.report'), + ('ir.actions.act_window', 'ir.actions.act_window'), + ('ir.actions.act_url', 'ir.actions.act_url'), + ('ir.actions.server', 'ir.actions.server'), + ('ir.actions.client', 'ir.actions.client')], + required=True, + ) + + def read_dashboard(self): + result = [] + for r in self: + result.append({ + 'id': r.action.id, + 'type': r.action._name, + 'name': r.action.name + }) + return result diff --git a/kpi_dashboard/readme/CONFIGURE.rst b/kpi_dashboard/readme/CONFIGURE.rst new file mode 100644 index 000000000..c4d0bea03 --- /dev/null +++ b/kpi_dashboard/readme/CONFIGURE.rst @@ -0,0 +1,19 @@ +Configure KPIs +~~~~~~~~~~~~~~ + +#. Access `Dashboards > Configuration > KPI Dashboards > Configure KPI` +#. Create a new KPI specifying the computation method and the kpi type + + #. Number: result must contain a `value` and, if needed, a `previous` + #. Meter: result must contain `value`, `min` and `max` + #. Graph: result must contain a list on `graphs` containing `values`, `title` and `key` + + +Configure dashboards +~~~~~~~~~~~~~~~~~~~~ + +#. Access `Dashboards > Configuration > KPI Dashboards > Configure Dashboards` +#. Create a new dashboard and specify all the standard parameters on `Widget configuration` +#. Append elements on KPIs +#. You can preview the element using the dashboard view +#. You can create the menu entry directly using the `Generate menu` button diff --git a/kpi_dashboard/readme/CONTRIBUTORS.rst b/kpi_dashboard/readme/CONTRIBUTORS.rst new file mode 100644 index 000000000..93ec993e0 --- /dev/null +++ b/kpi_dashboard/readme/CONTRIBUTORS.rst @@ -0,0 +1 @@ +* Enric Tobella diff --git a/kpi_dashboard/readme/DESCRIPTION.rst b/kpi_dashboard/readme/DESCRIPTION.rst new file mode 100644 index 000000000..82da260f0 --- /dev/null +++ b/kpi_dashboard/readme/DESCRIPTION.rst @@ -0,0 +1 @@ +This module adds new kinds of dashboards on a specific new type of view. diff --git a/kpi_dashboard/security/ir.model.access.csv b/kpi_dashboard/security/ir.model.access.csv new file mode 100644 index 000000000..6f7b25b78 --- /dev/null +++ b/kpi_dashboard/security/ir.model.access.csv @@ -0,0 +1,9 @@ +id,name,model_id:id,group_id:id,perm_read,perm_write,perm_create,perm_unlink +access_kpi_dashboard,access_kpi_dashboard,model_kpi_dashboard,base.group_user,1,0,0,0 +access_kpi_dashboard_kpi,access_kpi_dashboard_kpi,model_kpi_dashboard_item,base.group_user,1,0,0,0 +access_kpi_kpi,access_kpi_kpi,model_kpi_kpi,base.group_user,1,0,0,0 +access_kpi_kpi_action,access_kpi_kpi_action,model_kpi_kpi_action,base.group_user,1,0,0,0 +manage_kpi_dashboard,manage_kpi_dashboard,model_kpi_dashboard,group_kpi_dashboard_manager,1,1,1,1 +manage_kpi_dashboard_kpi,manage_kpi_dashboard_kpi,model_kpi_dashboard_item,group_kpi_dashboard_manager,1,1,1,1 +manage_kpi_kpi,manage_kpi_kpi,model_kpi_kpi,group_kpi_dashboard_manager,1,1,1,1 +manage_kpi_kpi_action,manage_kpi_kpi_action,model_kpi_kpi_action,group_kpi_dashboard_manager,1,1,1,1 diff --git a/kpi_dashboard/security/security.xml b/kpi_dashboard/security/security.xml new file mode 100755 index 000000000..fb16b0f7e --- /dev/null +++ b/kpi_dashboard/security/security.xml @@ -0,0 +1,22 @@ + + + + Manage KPI Dashboards + + + + + + KPI Dashboard: User + + ['|', ('group_ids', '=', False), ('group_ids', 'in', user.groups_id.ids)] + + + + KPI Dashboard: All + + [(1, '=', 1)] + + + + diff --git a/kpi_dashboard/static/description/icon.png b/kpi_dashboard/static/description/icon.png new file mode 100644 index 0000000000000000000000000000000000000000..3a0328b516c4980e8e44cdb63fd945757ddd132d GIT binary patch literal 9455 zcmW++2RxMjAAjx~&dlBk9S+%}OXg)AGE&Cb*&}d0jUxM@u(PQx^-s)697TX`ehR4?GS^qbkof1cslKgkU)h65qZ9Oc=ml_0temigYLJfnz{IDzUf>bGs4N!v3=Z3jMq&A#7%rM5eQ#dc?k~! zVpnB`o+K7|Al`Q_U;eD$B zfJtP*jH`siUq~{KE)`jP2|#TUEFGRryE2`i0**z#*^6~AI|YzIWy$Cu#CSLW3q=GA z6`?GZymC;dCPk~rBS%eCb`5OLr;RUZ;D`}um=H)BfVIq%7VhiMr)_#G0N#zrNH|__ zc+blN2UAB0=617@>_u;MPHN;P;N#YoE=)R#i$k_`UAA>WWCcEVMh~L_ zj--gtp&|K1#58Yz*AHCTMziU1Jzt_jG0I@qAOHsk$2}yTmVkBp_eHuY$A9)>P6o~I z%aQ?!(GqeQ-Y+b0I(m9pwgi(IIZZzsbMv+9w{PFtd_<_(LA~0H(xz{=FhLB@(1&qHA5EJw1>>=%q2f&^X>IQ{!GJ4e9U z&KlB)z(84HmNgm2hg2C0>WM{E(DdPr+EeU_N@57;PC2&DmGFW_9kP&%?X4}+xWi)( z;)z%wI5>D4a*5XwD)P--sPkoY(a~WBw;E~AW`Yue4kFa^LM3X`8x|}ZUeMnqr}>kH zG%WWW>3ml$Yez?i%)2pbKPI7?5o?hydokgQyZsNEr{a|mLdt;X2TX(#B1j35xPnPW z*bMSSOauW>o;*=kO8ojw91VX!qoOQb)zHJ!odWB}d+*K?#sY_jqPdg{Sm2HdYzdEx zOGVPhVRTGPtv0o}RfVP;Nd(|CB)I;*t&QO8h zFfekr30S!-LHmV_Su-W+rEwYXJ^;6&3|L$mMC8*bQptyOo9;>Qb9Q9`ySe3%V$A*9 zeKEe+b0{#KWGp$F+tga)0RtI)nhMa-K@JS}2krK~n8vJ=Ngm?R!9G<~RyuU0d?nz# z-5EK$o(!F?hmX*2Yt6+coY`6jGbb7tF#6nHA zuKk=GGJ;ZwON1iAfG$E#Y7MnZVmrY|j0eVI(DN_MNFJmyZ|;w4tf@=CCDZ#5N_0K= z$;R~bbk?}TpfDjfB&aiQ$VA}s?P}xPERJG{kxk5~R`iRS(SK5d+Xs9swCozZISbnS zk!)I0>t=A<-^z(cmSFz3=jZ23u13X><0b)P)^1T_))Kr`e!-pb#q&J*Q`p+B6la%C zuVl&0duN<;uOsB3%T9Fp8t{ED108<+W(nOZd?gDnfNBC3>M8WE61$So|P zVvqH0SNtDTcsUdzaMDpT=Ty0pDHHNL@Z0w$Y`XO z2M-_r1S+GaH%pz#Uy0*w$Vdl=X=rQXEzO}d6J^R6zjM1u&c9vYLvLp?W7w(?np9x1 zE_0JSAJCPB%i7p*Wvg)pn5T`8k3-uR?*NT|J`eS#_#54p>!p(mLDvmc-3o0mX*mp_ zN*AeS<>#^-{S%W<*mz^!X$w_2dHWpcJ6^j64qFBft-o}o_Vx80o0>}Du;>kLts;$8 zC`7q$QI(dKYG`Wa8#wl@V4jVWBRGQ@1dr-hstpQL)Tl+aqVpGpbSfN>5i&QMXfiZ> zaA?T1VGe?rpQ@;+pkrVdd{klI&jVS@I5_iz!=UMpTsa~mBga?1r}aRBm1WS;TT*s0f0lY=JBl66Upy)-k4J}lh=P^8(SXk~0xW=T9v*B|gzIhN z>qsO7dFd~mgxAy4V?&)=5ieYq?zi?ZEoj)&2o)RLy=@hbCRcfT5jigwtQGE{L*8<@Yd{zg;CsL5mvzfDY}P-wos_6PfprFVaeqNE%h zKZhLtcQld;ZD+>=nqN~>GvROfueSzJD&BE*}XfU|H&(FssBqY=hPCt`d zH?@s2>I(|;fcW&YM6#V#!kUIP8$Nkdh0A(bEVj``-AAyYgwY~jB zT|I7Bf@%;7aL7Wf4dZ%VqF$eiaC38OV6oy3Z#TER2G+fOCd9Iaoy6aLYbPTN{XRPz z;U!V|vBf%H!}52L2gH_+j;`bTcQRXB+y9onc^wLm5wi3-Be}U>k_u>2Eg$=k!(l@I zcCg+flakT2Nej3i0yn+g+}%NYb?ta;R?(g5SnwsQ49U8Wng8d|{B+lyRcEDvR3+`O{zfmrmvFrL6acVP%yG98X zo&+VBg@px@i)%o?dG(`T;n*$S5*rnyiR#=wW}}GsAcfyQpE|>a{=$Hjg=-*_K;UtD z#z-)AXwSRY?OPefw^iI+ z)AXz#PfEjlwTes|_{sB?4(O@fg0AJ^g8gP}ex9Ucf*@_^J(s_5jJV}c)s$`Myn|Kd z$6>}#q^n{4vN@+Os$m7KV+`}c%4)4pv@06af4-x5#wj!KKb%caK{A&Y#Rfs z-po?Dcb1({W=6FKIUirH&(yg=*6aLCekcKwyfK^JN5{wcA3nhO(o}SK#!CINhI`-I z1)6&n7O&ZmyFMuNwvEic#IiOAwNkR=u5it{B9n2sAJV5pNhar=j5`*N!Na;c7g!l$ z3aYBqUkqqTJ=Re-;)s!EOeij=7SQZ3Hq}ZRds%IM*PtM$wV z@;rlc*NRK7i3y5BETSKuumEN`Xu_8GP1Ri=OKQ$@I^ko8>H6)4rjiG5{VBM>B|%`&&s^)jS|-_95&yc=GqjNo{zFkw%%HHhS~e=s zD#sfS+-?*t|J!+ozP6KvtOl!R)@@-z24}`9{QaVLD^9VCSR2b`b!KC#o;Ki<+wXB6 zx3&O0LOWcg4&rv4QG0)4yb}7BFSEg~=IR5#ZRj8kg}dS7_V&^%#Do==#`u zpy6{ox?jWuR(;pg+f@mT>#HGWHAJRRDDDv~@(IDw&R>9643kK#HN`!1vBJHnC+RM&yIh8{gG2q zA%e*U3|N0XSRa~oX-3EAneep)@{h2vvd3Xvy$7og(sayr@95+e6~Xvi1tUqnIxoIH zVWo*OwYElb#uyW{Imam6f2rGbjR!Y3`#gPqkv57dB6K^wRGxc9B(t|aYDGS=m$&S!NmCtrMMaUg(c zc2qC=2Z`EEFMW-me5B)24AqF*bV5Dr-M5ig(l-WPS%CgaPzs6p_gnCIvTJ=Y<6!gT zVt@AfYCzjjsMEGi=rDQHo0yc;HqoRNnNFeWZgcm?f;cp(6CNylj36DoL(?TS7eU#+ z7&mfr#y))+CJOXQKUMZ7QIdS9@#-}7y2K1{8)cCt0~-X0O!O?Qx#E4Og+;A2SjalQ zs7r?qn0H044=sDN$SRG$arw~n=+T_DNdSrarmu)V6@|?1-ZB#hRn`uilTGPJ@fqEy zGt(f0B+^JDP&f=r{#Y_wi#AVDf-y!RIXU^0jXsFpf>=Ji*TeqSY!H~AMbJdCGLhC) zn7Rx+sXw6uYj;WRYrLd^5IZq@6JI1C^YkgnedZEYy<&4(z%Q$5yv#Boo{AH8n$a zhb4Y3PWdr269&?V%uI$xMcUrMzl=;w<_nm*qr=c3Rl@i5wWB;e-`t7D&c-mcQl7x! zZWB`UGcw=Y2=}~wzrfLx=uet<;m3~=8I~ZRuzvMQUQdr+yTV|ATf1Uuomr__nDf=X zZ3WYJtHp_ri(}SQAPjv+Y+0=fH4krOP@S&=zZ-t1jW1o@}z;xk8 z(Nz1co&El^HK^NrhVHa-_;&88vTU>_J33=%{if;BEY*J#1n59=07jrGQ#IP>@u#3A z;!q+E1Rj3ZJ+!4bq9F8PXJ@yMgZL;>&gYA0%_Kbi8?S=XGM~dnQZQ!yBSgcZhY96H zrWnU;k)qy`rX&&xlDyA%(a1Hhi5CWkmg(`Gb%m(HKi-7Z!LKGRP_B8@`7&hdDy5n= z`OIxqxiVfX@OX1p(mQu>0Ai*v_cTMiw4qRt3~NBvr9oBy0)r>w3p~V0SCm=An6@3n)>@z!|o-$HvDK z|3D2ZMJkLE5loMKl6R^ez@Zz%S$&mbeoqH5`Bb){Ei21q&VP)hWS2tjShfFtGE+$z zzCR$P#uktu+#!w)cX!lWN1XU%K-r=s{|j?)Akf@q#3b#{6cZCuJ~gCxuMXRmI$nGtnH+-h z+GEi!*X=AP<|fG`1>MBdTb?28JYc=fGvAi2I<$B(rs$;eoJCyR6_bc~p!XR@O-+sD z=eH`-ye})I5ic1eL~TDmtfJ|8`0VJ*Yr=hNCd)G1p2MMz4C3^Mj?7;!w|Ly%JqmuW zlIEW^Ft%z?*|fpXda>Jr^1noFZEwFgVV%|*XhH@acv8rdGxeEX{M$(vG{Zw+x(ei@ zmfXb22}8-?Fi`vo-YVrTH*C?a8%M=Hv9MqVH7H^J$KsD?>!SFZ;ZsvnHr_gn=7acz z#W?0eCdVhVMWN12VV^$>WlQ?f;P^{(&pYTops|btm6aj>_Uz+hqpGwB)vWp0Cf5y< zft8-je~nn?W11plq}N)4A{l8I7$!ks_x$PXW-2XaRFswX_BnF{R#6YIwMhAgd5F9X zGmwdadS6(a^fjHtXg8=l?Rc0Sm%hk6E9!5cLVloEy4eh(=FwgP`)~I^5~pBEWo+F6 zSf2ncyMurJN91#cJTy_u8Y}@%!bq1RkGC~-bV@SXRd4F{R-*V`bS+6;W5vZ(&+I<9$;-V|eNfLa5n-6% z2(}&uGRF;p92eS*sE*oR$@pexaqr*meB)VhmIg@h{uzkk$9~qh#cHhw#>O%)b@+(| z^IQgqzuj~Sk(J;swEM-3TrJAPCq9k^^^`q{IItKBRXYe}e0Tdr=Huf7da3$l4PdpwWDop%^}n;dD#K4s#DYA8SHZ z&1!riV4W4R7R#C))JH1~axJ)RYnM$$lIR%6fIVA@zV{XVyx}C+a-Dt8Y9M)^KU0+H zR4IUb2CJ{Hg>CuaXtD50jB(_Tcx=Z$^WYu2u5kubqmwp%drJ6 z?Fo40g!Qd<-l=TQxqHEOuPX0;^z7iX?Ke^a%XT<13TA^5`4Xcw6D@Ur&VT&CUe0d} z1GjOVF1^L@>O)l@?bD~$wzgf(nxX1OGD8fEV?TdJcZc2KoUe|oP1#=$$7ee|xbY)A zDZq+cuTpc(fFdj^=!;{k03C69lMQ(|>uhRfRu%+!k&YOi-3|1QKB z z?n?eq1XP>p-IM$Z^C;2L3itnbJZAip*Zo0aw2bs8@(s^~*8T9go!%dHcAz2lM;`yp zD=7&xjFV$S&5uDaiScyD?B-i1ze`+CoRtz`Wn+Zl&#s4&}MO{@N!ufrzjG$B79)Y2d3tBk&)TxUTw@QS0TEL_?njX|@vq?Uz(nBFK5Pq7*xj#u*R&i|?7+6# z+|r_n#SW&LXhtheZdah{ZVoqwyT{D>MC3nkFF#N)xLi{p7J1jXlmVeb;cP5?e(=f# zuT7fvjSbjS781v?7{)-X3*?>tq?)Yd)~|1{BDS(pqC zC}~H#WXlkUW*H5CDOo<)#x7%RY)A;ShGhI5s*#cRDA8YgqG(HeKDx+#(ZQ?386dv! zlXCO)w91~Vw4AmOcATuV653fa9R$fyK8ul%rG z-wfS zihugoZyr38Im?Zuh6@RcF~t1anQu7>#lPpb#}4cOA!EM11`%f*07RqOVkmX{p~KJ9 z^zP;K#|)$`^Rb{rnHGH{~>1(fawV0*Z#)}M`m8-?ZJV<+e}s9wE# z)l&az?w^5{)`S(%MRzxdNqrs1n*-=jS^_jqE*5XDrA0+VE`5^*p3CuM<&dZEeCjoz zR;uu_H9ZPZV|fQq`Cyw4nscrVwi!fE6ciMmX$!_hN7uF;jjKG)d2@aC4ropY)8etW=xJvni)8eHi`H$%#zn^WJ5NLc-rqk|u&&4Z6fD_m&JfSI1Bvb?b<*n&sfl0^t z=HnmRl`XrFvMKB%9}>PaA`m-fK6a0(8=qPkWS5bb4=v?XcWi&hRY?O5HdulRi4?fN zlsJ*N-0Qw+Yic@s0(2uy%F@ib;GjXt01Fmx5XbRo6+n|pP(&nodMoap^z{~q ziEeaUT@Mxe3vJSfI6?uLND(CNr=#^W<1b}jzW58bIfyWTDle$mmS(|x-0|2UlX+9k zQ^EX7Nw}?EzVoBfT(-LT|=9N@^hcn-_p&sqG z&*oVs2JSU+N4ZD`FhCAWaS;>|wH2G*Id|?pa#@>tyxX`+4HyIArWDvVrX)2WAOQff z0qyHu&-S@i^MS-+j--!pr4fPBj~_8({~e1bfcl0wI1kaoN>mJL6KUPQm5N7lB(ui1 zE-o%kq)&djzWJ}ob<-GfDlkB;F31j-VHKvQUGQ3sp`CwyGJk_i!y^sD0fqC@$9|jO zOqN!r!8-p==F@ZVP=U$qSpY(gQ0)59P1&t@y?5rvg<}E+GB}26NYPp4f2YFQrQtot5mn3wu_qprZ=>Ig-$ zbW26Ws~IgY>}^5w`vTB(G`PTZaDiGBo5o(tp)qli|NeV( z@H_=R8V39rt5J5YB2Ky?4eJJ#b`_iBe2ot~6%7mLt5t8Vwi^Jy7|jWXqa3amOIoRb zOr}WVFP--DsS`1WpN%~)t3R!arKF^Q$e12KEqU36AWwnCBICpH4XCsfnyrHr>$I$4 z!DpKX$OKLWarN7nv@!uIA+~RNO)l$$w}p(;b>mx8pwYvu;dD_unryX_NhT8*Tj>BTrTTL&!?O+%Rv;b?B??gSzdp?6Uug9{ zd@V08Z$BdI?fpoCS$)t4mg4rT8Q_I}h`0d-vYZ^|dOB*Q^S|xqTV*vIg?@fVFSmMpaw0qtTRbx} z({Pg?#{2`sc9)M5N$*N|4;^t$+QP?#mov zGVC@I*lBVrOU-%2y!7%)fAKjpEFsgQc4{amtiHb95KQEwvf<(3T<9-Zm$xIew#P22 zc2Ix|App^>v6(3L_MCU0d3W##AB0M~3D00EWoKZqsJYT(#@w$Y_H7G22M~ApVFTRHMI_3be)Lkn#0F*V8Pq zc}`Cjy$bE;FJ6H7p=0y#R>`}-m4(0F>%@P|?7fx{=R^uFdISRnZ2W_xQhD{YuR3t< z{6yxu=4~JkeA;|(J6_nv#>Nvs&FuLA&PW^he@t(UwFFE8)|a!R{`E`K`i^ZnyE4$k z;(749Ix|oi$c3QbEJ3b~D_kQsPz~fIUKym($a_7dJ?o+40*OLl^{=&oq$<#Q(yyrp z{J-FAniyAw9tPbe&IhQ|a`DqFTVQGQ&Gq3!C2==4x{6EJwiPZ8zub-iXoUtkJiG{} zPaR&}_fn8_z~(=;5lD-aPWD3z8PZS@AaUiomF!G8I}Mf>e~0g#BelA-5#`cj;O5>N Xviia!U7SGha1wx#SCgwmn*{w2TRX*I literal 0 HcmV?d00001 diff --git a/kpi_dashboard/static/description/index.html b/kpi_dashboard/static/description/index.html new file mode 100644 index 000000000..ae2c154bc --- /dev/null +++ b/kpi_dashboard/static/description/index.html @@ -0,0 +1,449 @@ + + + + + + +Kpi Dashboard + + + +
+

Kpi Dashboard

+ + +

Beta License: AGPL-3 OCA/reporting-engine Translate me on Weblate Try me on Runbot

+

This module adds new kinds of dashboards on a specific new type of view.

+

Table of contents

+ +
+

Configuration

+
+

Configure KPIs

+
    +
  1. Access Dashboards > Configuration > KPI Dashboards > Configure KPI
  2. +
  3. Create a new KPI specifying the computation method and the kpi type
      +
    1. Number: result must contain a value and, if needed, a previous
    2. +
    3. Meter: result must contain value, min and max
    4. +
    5. Graph: result must contain a list on graphs containing values, title and key
    6. +
    +
  4. +
+
+
+

Configure dashboards

+
    +
  1. Access Dashboards > Configuration > KPI Dashboards > Configure Dashboards
  2. +
  3. Create a new dashboard and specify all the standard parameters on Widget configuration
  4. +
  5. Append elements on KPIs
  6. +
  7. You can preview the element using the dashboard view
  8. +
  9. You can create the menu entry directly using the Generate menu button
  10. +
+
+
+
+

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.

+

Do not contact contributors directly about support or help with technical issues.

+
+
+

Credits

+
+

Authors

+
    +
  • Creu Blanca
  • +
+
+
+

Contributors

+ +
+
+

Maintainers

+

This module is maintained by the OCA.

+Odoo Community Association +

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.

+

This module is part of the OCA/reporting-engine project on GitHub.

+

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.

+
+
+
+ + diff --git a/kpi_dashboard/static/lib/gauge/GaugeMeter.js b/kpi_dashboard/static/lib/gauge/GaugeMeter.js new file mode 100644 index 000000000..214d1c241 --- /dev/null +++ b/kpi_dashboard/static/lib/gauge/GaugeMeter.js @@ -0,0 +1,276 @@ +; +/* + * AshAlom Gauge Meter. Version 2.0.0 + * Copyright AshAlom.com All rights reserved. + * https://github.com/AshAlom/GaugeMeter <- Deleted! + * https://github.com/githubsrinath/GaugeMeter <- Backup original. + * + * Original created by Dr Ash Alom + * + * This is a bug fixed and modified version of the AshAlom Gauge Meter. + * Copyright 2018 Michael Wolf (Mictronics) + * https://github.com/mictronics/GaugeMeter + * + */ +!function ($) { + $.fn.gaugeMeter = function (t) { + var defaults = $.extend({ + id: "", + percent: 0, + used: null, + min: null, + total: null, + size: 100, + prepend: "", + append: "", + theme: "Red-Gold-Green", + color: "", + back: "RGBa(0,0,0,.06)", + width: 3, + style: "Full", + stripe: "0", + animationstep: 1, + animate_gauge_colors: false, + animate_text_colors: false, + label: "", + label_color: "Black", + text: "", + text_size: 0.22, + fill: "", + showvalue: false + }, t); + return this.each(function () { + + function getThemeColor(e) { + var t = "#2C94E0"; + return e || (e = 1e-14), + "Red-Gold-Green" === option.theme && (e > 0 && (t = "#d90000"), e > 10 && (t = "#e32100"), e > 20 && (t = "#f35100"), e > 30 && (t = "#ff8700"), e > 40 && (t = "#ffb800"), e > 50 && (t = "#ffd900"), e > 60 && (t = "#dcd800"), e > 70 && (t = "#a6d900"), e > 80 && (t = "#69d900"), e > 90 && (t = "#32d900")), + "Green-Gold-Red" === option.theme && (e > 0 && (t = "#32d900"), e > 10 && (t = "#69d900"), e > 20 && (t = "#a6d900"), e > 30 && (t = "#dcd800"), e > 40 && (t = "#ffd900"), e > 50 && (t = "#ffb800"), e > 60 && (t = "#ff8700"), e > 70 && (t = "#f35100"), e > 80 && (t = "#e32100"), e > 90 && (t = "#d90000")), + "Green-Red" === option.theme && (e > 0 && (t = "#32d900"), e > 10 && (t = "#41c900"), e > 20 && (t = "#56b300"), e > 30 && (t = "#6f9900"), e > 40 && (t = "#8a7b00"), e > 50 && (t = "#a75e00"), e > 60 && (t = "#c24000"), e > 70 && (t = "#db2600"), e > 80 && (t = "#f01000"), e > 90 && (t = "#ff0000")), + "Red-Green" === option.theme && (e > 0 && (t = "#ff0000"), e > 10 && (t = "#f01000"), e > 20 && (t = "#db2600"), e > 30 && (t = "#c24000"), e > 40 && (t = "#a75e00"), e > 50 && (t = "#8a7b00"), e > 60 && (t = "#6f9900"), e > 70 && (t = "#56b300"), e > 80 && (t = "#41c900"), e > 90 && (t = "#32d900")), + "DarkBlue-LightBlue" === option.theme && (e > 0 && (t = "#2c94e0"), e > 10 && (t = "#2b96e1"), e > 20 && (t = "#2b99e4"), e > 30 && (t = "#2a9ce7"), e > 40 && (t = "#28a0e9"), e > 50 && (t = "#26a4ed"), e > 60 && (t = "#25a8f0"), e > 70 && (t = "#24acf3"), e > 80 && (t = "#23aff5"), e > 90 && (t = "#21b2f7")), + "LightBlue-DarkBlue" === option.theme && (e > 0 && (t = "#21b2f7"), e > 10 && (t = "#23aff5"), e > 20 && (t = "#24acf3"), e > 30 && (t = "#25a8f0"), e > 40 && (t = "#26a4ed"), e > 50 && (t = "#28a0e9"), e > 60 && (t = "#2a9ce7"), e > 70 && (t = "#2b99e4"), e > 80 && (t = "#2b96e1"), e > 90 && (t = "#2c94e0")), + "DarkRed-LightRed" === option.theme && (e > 0 && (t = "#d90000"), e > 10 && (t = "#dc0000"), e > 20 && (t = "#e00000"), e > 30 && (t = "#e40000"), e > 40 && (t = "#ea0000"), e > 50 && (t = "#ee0000"), e > 60 && (t = "#f30000"), e > 70 && (t = "#f90000"), e > 80 && (t = "#fc0000"), e > 90 && (t = "#ff0000")), + "LightRed-DarkRed" === option.theme && (e > 0 && (t = "#ff0000"), e > 10 && (t = "#fc0000"), e > 20 && (t = "#f90000"), e > 30 && (t = "#f30000"), e > 40 && (t = "#ee0000"), e > 50 && (t = "#ea0000"), e > 60 && (t = "#e40000"), e > 70 && (t = "#e00000"), e > 80 && (t = "#dc0000"), e > 90 && (t = "#d90000")), + "DarkGreen-LightGreen" === option.theme && (e > 0 && (t = "#32d900"), e > 10 && (t = "#33db00"), e > 20 && (t = "#34df00"), e > 30 && (t = "#34e200"), e > 40 && (t = "#36e700"), e > 50 && (t = "#37ec00"), e > 60 && (t = "#38f100"), e > 70 && (t = "#38f600"), e > 80 && (t = "#39f900"), e > 90 && (t = "#3afc00")), + "LightGreen-DarkGreen" === option.theme && (e > 0 && (t = "#3afc00"), e > 10 && (t = "#39f900"), e > 20 && (t = "#38f600"), e > 30 && (t = "#38f100"), e > 40 && (t = "#37ec00"), e > 50 && (t = "#36e700"), e > 60 && (t = "#34e200"), e > 70 && (t = "#34df00"), e > 80 && (t = "#33db00"), e > 90 && (t = "#32d900")), + "DarkGold-LightGold" === option.theme && (e > 0 && (t = "#ffb800"), e > 10 && (t = "#ffba00"), e > 20 && (t = "#ffbd00"), e > 30 && (t = "#ffc200"), e > 40 && (t = "#ffc600"), e > 50 && (t = "#ffcb00"), e > 60 && (t = "#ffcf00"), e > 70 && (t = "#ffd400"), e > 80 && (t = "#ffd600"), e > 90 && (t = "#ffd900")), + "LightGold-DarkGold" === option.theme && (e > 0 && (t = "#ffd900"), e > 10 && (t = "#ffd600"), e > 20 && (t = "#ffd400"), e > 30 && (t = "#ffcf00"), e > 40 && (t = "#ffcb00"), e > 50 && (t = "#ffc600"), e > 60 && (t = "#ffc200"), e > 70 && (t = "#ffbd00"), e > 80 && (t = "#ffba00"), e > 90 && (t = "#ffb800")), + "White" === option.theme && (t = "#fff"), + "Black" === option.theme && (t = "#000"), + t; + } + /* The label below gauge. */ + function createLabel(t, a) { + if(t.children("b").length === 0){ + $("").appendTo(t).html(option.label).css({ + "line-height": option.size + 5 * a + "px", + color: option.label_color + }); + } + } + /* Prepend and append text, the gauge text or percentage value. */ + function createSpanTag(t) { + var fgcolor = ""; + if (option.animate_text_colors === true){ + fgcolor = option.fgcolor; + } + var child = t.children("span"); + if(child.length !== 0){ + child.html(r).css({color: fgcolor}); + return; + } + if(option.text_size <= 0.0 || Number.isNaN(option.text_size)){ + option.text_size = 0.22; + } + if(option.text_size > 0.5){ + option.text_size = 0.5; + } + $("").appendTo(t).html(r).css({ + "line-height": option.size + "px", + "font-size": option.text_size * option.size + "px", + color: fgcolor + }); + } + /* Get data attributes as options from div tag. Fall back to defaults when not exists. */ + function getDataAttr(t) { + $.each(dataAttr, function (index, element) { + if(t.data(element) !== undefined && t.data(element) !== null){ + option[element] = t.data(element); + } else { + option[element] = $(defaults).attr(element); + } + + if(element === "fill"){ + s = option[element]; + } + + if((element === "size" || + element === "width" || + element === "animationstep" || + element === "stripe" + ) && !Number.isInteger(option[element])){ + option[element] = parseInt(option[element]); + } + + if(element === "text_size"){ + option[element] = parseFloat(option[element]); + } + }); + } + /* Draws the gauge. */ + function drawGauge(a) { + if(M < 0) M = 0; + if(M > 100) M = 100; + var lw = option.width < 1 || isNaN(option.width) ? option.size / 20 : option.width; + g.clearRect(0, 0, b.width, b.height); + g.beginPath(); + g.arc(m, v, x, G, k, !1); + if(s){ + g.fillStyle = option.fill; + g.fill(); + } + g.lineWidth = lw; + g.strokeStyle = option.back; + option.stripe > parseInt(0) ? g.setLineDash([option.stripe], 1) : g.lineCap = "round"; + g.stroke(); + g.beginPath(); + g.arc(m, v, x, -I, P * a - I, !1); + g.lineWidth = lw; + g.strokeStyle = option.fgcolor; + g.stroke(); + c > M && (M += z, requestAnimationFrame(function(){ + drawGauge(Math.min(M, c) / 100); + }, p)); + } + + $(this).attr("data-id", $(this).attr("id")); + var r, + dataAttr = ["percent", + "used", + "min", + "total", + "size", + "prepend", + "append", + "theme", + "color", + "back", + "width", + "style", + "stripe", + "animationstep", + "animate_gauge_colors", + "animate_text_colors", + "label", + "label_color", + "text", + "text_size", + "fill", + "showvalue"], + option = {}, + c = 0, + p = $(this), + s = false; + p.addClass("gaugeMeter"); + getDataAttr(p); + + if(Number.isInteger(option.used) && Number.isInteger(option.total)){ + var u = option.used; + var t = option.total; + if(Number.isInteger(option.min)) { + if(option.min < 0) { + t -= option.min; + u -= option.min; + } + } + c = u / (t / 100); + } else { + if(Number.isInteger(option.percent)){ + c = option.percent; + } else { + c = parseInt(defaults.percent); + } + } + if(c < 0) c = 0; + if(c > 100) c = 100; + + if( option.text !== "" && option.text !== null && option.text !== undefined){ + if(option.append !== "" && option.append !== null && option.append !== undefined){ + r = option.text + "" + option.append + ""; + } else { + r = option.text; + } + if(option.prepend !== "" && option.prepend !== null && option.prepend !== undefined){ + r = "" + option.prepend + "" + r; + } + } else { + if(defaults.showvalue === true || option.showvalue === true){ + r = option.used; + } else { + r = c.toString(); + } + if(option.prepend !== "" && option.prepend !== null && option.prepend !== undefined){ + r = "" + option.prepend + "" + r; + } + + if(option.append !== "" && option.append !== null && option.append !== undefined){ + r = r + "" + option.append + ""; + } + } + + option.fgcolor = getThemeColor(c); + if(option.color !== "" && option.color !== null && option.color !== undefined){ + option.fgcolor = option.color; + } + + if(option.animate_gauge_colors === true){ + option.fgcolor = getThemeColor(c); + } + createSpanTag(p); + + if(option.style !== "" && option.style !== null && option.style !== undefined){ + createLabel(p, option.size / 13); + } + + $(this).width(option.size + "px"); + + var b = $("").attr({width: option.size, height: option.size}).get(0), + g = b.getContext("2d"), + m = b.width / 2, + v = b.height / 2, + _ = 360 * option.percent, + x = (_ * (Math.PI / 180), b.width / 2.5), + k = 2.3 * Math.PI, + G = 0, + M = 0 === option.animationstep ? c : 0, + z = Math.max(option.animationstep, 0), + P = 2 * Math.PI, + I = Math.PI / 2, + R = option.style; + var child = $(this).children("canvas"); + if(child.length !== 0){ + /* Replace existing canvas when new percentage was written. */ + child.replaceWith(b); + } else { + /* Initially create canvas. */ + $(b).appendTo($(this)); + } + + if ("Semi" === R){ + k = 2 * Math.PI; + G = 3.13; + P = 1 * Math.PI; + I = Math.PI / .996; + } + if ("Arch" === R){ + k = 2.195 * Math.PI; + G = 1, G = 655.99999; + P = 1.4 * Math.PI; + I = Math.PI / .8335; + } + drawGauge(M / 100); + }); + }; +} +(jQuery); diff --git a/kpi_dashboard/static/lib/gridster/jquery.dsmorse-gridster.min.css b/kpi_dashboard/static/lib/gridster/jquery.dsmorse-gridster.min.css new file mode 100644 index 000000000..dddc94a0f --- /dev/null +++ b/kpi_dashboard/static/lib/gridster/jquery.dsmorse-gridster.min.css @@ -0,0 +1,2 @@ +/*! gridster.js - v0.8.0 - 2019-01-10 - * https://dsmorse.github.io/gridster.js/ - Copyright (c) 2019 ducksboard; Licensed MIT */ +.gridster{position:relative}.gridster>*{-webkit-transition:height .4s,width .4s;-moz-transition:height .4s,width .4s;-o-transition:height .4s,width .4s;-ms-transition:height .4s,width .4s;transition:height .4s,width .4s}.gridster .gs-w{z-index:2;position:absolute}.gridster .preview-holder{z-index:1;position:absolute;background-color:#fff;border-color:#fff;opacity:.3}.gridster .player-revert{z-index:10!important;-webkit-transition:left .3s,top .3s!important;-moz-transition:left .3s,top .3s!important;-o-transition:left .3s,top .3s!important;transition:left .3s,top .3s!important}.gridster.collapsed{height:auto!important}.gridster.collapsed .gs-w{position:static!important}.ready .gs-w:not(.preview-holder),.ready .resize-preview-holder{-webkit-transition:opacity .3s,left .3s,top .3s,width .3s,height .3s;-moz-transition:opacity .3s,left .3s,top .3s,width .3s,height .3s;-o-transition:opacity .3s,left .3s,top .3s,width .3s,height .3s;transition:opacity .3s,left .3s,top .3s,width .3s,height .3s}.gridster .dragging,.gridster .resizing{z-index:10!important;-webkit-transition:all 0s!important;-moz-transition:all 0s!important;-o-transition:all 0s!important;transition:all 0s!important}.gs-resize-handle{position:absolute;z-index:1}.gs-resize-handle-both{width:20px;height:20px;bottom:-8px;right:-8px;background-image:url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBzdGFuZGFsb25lPSJubyI/Pg08IS0tIEdlbmVyYXRvcjogQWRvYmUgRmlyZXdvcmtzIENTNiwgRXhwb3J0IFNWRyBFeHRlbnNpb24gYnkgQWFyb24gQmVhbGwgKGh0dHA6Ly9maXJld29ya3MuYWJlYWxsLmNvbSkgLiBWZXJzaW9uOiAwLjYuMSAgLS0+DTwhRE9DVFlQRSBzdmcgUFVCTElDICItLy9XM0MvL0RURCBTVkcgMS4xLy9FTiIgImh0dHA6Ly93d3cudzMub3JnL0dyYXBoaWNzL1NWRy8xLjEvRFREL3N2ZzExLmR0ZCI+DTxzdmcgaWQ9IlVudGl0bGVkLVBhZ2UlMjAxIiB2aWV3Qm94PSIwIDAgNiA2IiBzdHlsZT0iYmFja2dyb3VuZC1jb2xvcjojZmZmZmZmMDAiIHZlcnNpb249IjEuMSINCXhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIHhtbDpzcGFjZT0icHJlc2VydmUiDQl4PSIwcHgiIHk9IjBweCIgd2lkdGg9IjZweCIgaGVpZ2h0PSI2cHgiDT4NCTxnIG9wYWNpdHk9IjAuMzAyIj4NCQk8cGF0aCBkPSJNIDYgNiBMIDAgNiBMIDAgNC4yIEwgNCA0LjIgTCA0LjIgNC4yIEwgNC4yIDAgTCA2IDAgTCA2IDYgTCA2IDYgWiIgZmlsbD0iIzAwMDAwMCIvPg0JPC9nPg08L3N2Zz4=);background-position:top left;background-repeat:no-repeat;cursor:se-resize;z-index:20}.gs-resize-handle-x{top:0;bottom:13px;right:-5px;width:10px;cursor:e-resize}.gs-resize-handle-y{left:0;right:13px;bottom:-5px;height:10px;cursor:s-resize}.gs-w:hover .gs-resize-handle,.resizing .gs-resize-handle{opacity:1}.gs-resize-handle,.gs-w.dragging .gs-resize-handle{opacity:0}.gs-resize-disabled .gs-resize-handle,[data-max-sizex="1"] .gs-resize-handle-x,[data-max-sizey="1"] .gs-resize-handle-y,[data-max-sizey="1"][data-max-sizex="1"] .gs-resize-handle{display:none!important} \ No newline at end of file diff --git a/kpi_dashboard/static/lib/gridster/jquery.dsmorse-gridster.min.js b/kpi_dashboard/static/lib/gridster/jquery.dsmorse-gridster.min.js new file mode 100644 index 000000000..7bcfaf036 --- /dev/null +++ b/kpi_dashboard/static/lib/gridster/jquery.dsmorse-gridster.min.js @@ -0,0 +1,2 @@ +/*! gridster.js - v0.8.0 - 2019-01-10 - * https://dsmorse.github.io/gridster.js/ - Copyright (c) 2019 ducksboard; Licensed MIT */ !function(a,b){"use strict";"object"==typeof exports?module.exports=b(require("jquery")):"function"==typeof define&&define.amd?define("gridster-coords",["jquery"],b):a.GridsterCoords=b(a.$||a.jQuery)}(this,function(a){"use strict";function b(b){return b[0]&&a.isPlainObject(b[0])?this.data=b[0]:this.el=b,this.isCoords=!0,this.coords={},this.init(),this}var c=b.prototype;return c.init=function(){this.set(),this.original_coords=this.get()},c.set=function(a,b){var c=this.el;if(c&&!a&&(this.data=c.offset(),this.data.width=c[0].scrollWidth,this.data.height=c[0].scrollHeight),c&&a&&!b){var d=c.offset();this.data.top=d.top,this.data.left=d.left}var e=this.data;return void 0===e.left&&(e.left=e.x1),void 0===e.top&&(e.top=e.y1),this.coords.x1=e.left,this.coords.y1=e.top,this.coords.x2=e.left+e.width,this.coords.y2=e.top+e.height,this.coords.cx=e.left+e.width/2,this.coords.cy=e.top+e.height/2,this.coords.width=e.width,this.coords.height=e.height,this.coords.el=c||!1,this},c.update=function(b){if(!b&&!this.el)return this;if(b){var c=a.extend({},this.data,b);return this.data=c,this.set(!0,!0)}return this.set(!0),this},c.get=function(){return this.coords},c.destroy=function(){this.el.removeData("coords"),delete this.el},a.fn.coords=function(){if(this.data("coords"))return this.data("coords");var a=new b(this);return this.data("coords",a),a},b}),function(a,b){"use strict";"object"==typeof exports?module.exports=b(require("jquery")):"function"==typeof define&&define.amd?define("gridster-collision",["jquery","gridster-coords"],b):a.GridsterCollision=b(a.$||a.jQuery,a.GridsterCoords)}(this,function(a,b){"use strict";function c(b,c,e){this.options=a.extend(d,e),this.$element=b,this.last_colliders=[],this.last_colliders_coords=[],this.set_colliders(c),this.init()}var d={colliders_context:document.body,overlapping_region:"C"};c.defaults=d;var e=c.prototype;return e.init=function(){this.find_collisions()},e.overlaps=function(a,b){var c=!1,d=!1;return(b.x1>=a.x1&&b.x1<=a.x2||b.x2>=a.x1&&b.x2<=a.x2||a.x1>=b.x1&&a.x2<=b.x2)&&(c=!0),(b.y1>=a.y1&&b.y1<=a.y2||b.y2>=a.y1&&b.y2<=a.y2||a.y1>=b.y1&&a.y2<=b.y2)&&(d=!0),c&&d},e.detect_overlapping_region=function(a,b){var c="",d="";return a.y1>b.cy&&a.y1b.y1&&a.y2b.cx&&a.x1b.x1&&a.x2this.player_max_left?e=this.player_max_left:ethis.player_max_top?f=this.player_max_top:f=q&&(l=n+h)0&&(this.$scroll_container[i](l),this["scroll_offset_"+a]-=h),this},j.manage_scroll=function(a){this.scroll_in("x",a),this.scroll_in("y",a)},j.calculate_dimensions=function(){this.scroller_height=this.$scroll_container.height(),this.scroller_width=this.$scroll_container.width()},j.drag_handler=function(b){if(!this.disabled&&(1===b.which||f)&&!this.ignore_drag(b)){var c=this,d=!0;return this.$player=a(b.currentTarget),this.el_init_pos=this.get_actual_pos(this.$player),this.mouse_init_pos=this.get_mouse_pos(b),this.offsetY=this.mouse_init_pos.top-this.el_init_pos.top,this.$document.on(this.pointer_events.move,function(a){var b=c.get_mouse_pos(a),e=Math.abs(b.left-c.mouse_init_pos.left),f=Math.abs(b.top-c.mouse_init_pos.top);return(e>c.options.distance||f>c.options.distance)&&(d?(d=!1,c.on_dragstart.call(c,a),!1):(!0===c.is_dragging&&c.on_dragmove.call(c,a),!1))}),!!f&&void 0}},j.on_dragstart=function(a){if(a.preventDefault(),this.is_dragging)return this;this.drag_start=this.is_dragging=!0;var b=this.$container.offset();return this.baseX=Math.round(b.left),this.baseY=Math.round(b.top),"clone"===this.options.helper?(this.$helper=this.$player.clone().appendTo(this.$container).addClass("helper"),this.helper=!0):this.helper=!1,this.scroll_container_offset_y=this.$scroll_container.scrollTop(),this.scroll_container_offset_x=this.$scroll_container.scrollLeft(),this.el_init_offset=this.$player.offset(),this.player_width=this.$player.width(),this.player_height=this.$player.height(),this.set_limits(this.options.container_width),this.options.start&&this.options.start.call(this.$player,a,this.get_drag_data(a)),!1},j.on_dragmove=function(a){var b=this.get_drag_data(a);this.options.autoscroll&&this.manage_scroll(b),this.options.move_element&&(this.helper?this.$helper:this.$player).css({position:"absolute",left:b.position.left,top:b.position.top});var c=this.last_position||b.position;return b.prev_position=c,this.options.drag&&this.options.drag.call(this.$player,a,b),this.last_position=b.position,!1},j.on_dragstop=function(a){var b=this.get_drag_data(a);return this.drag_start=!1,this.options.stop&&this.options.stop.call(this.$player,a,b),this.helper&&this.options.remove_helper&&this.$helper.remove(),!1},j.on_select_start=function(a){if(!this.disabled&&!this.ignore_drag(a))return!1},j.enable=function(){this.disabled=!1},j.disable=function(){this.disabled=!0},j.destroy=function(){this.disable(),this.$container.off(this.ns),this.$document.off(this.ns),d.off(this.ns),a.removeData(this.$container,"drag")},j.ignore_drag=function(b){return this.options.handle?!a(b.target).is(this.options.handle):a.isFunction(this.options.ignore_dragging)?this.options.ignore_dragging(b):this.options.resize?!a(b.target).is(this.options.items):a(b.target).is(this.options.ignore_dragging.join(", "))},a.fn.gridDraggable=function(a){return new b(this,a)},a.fn.dragg=function(c){return this.each(function(){a.data(this,"drag")||a.data(this,"drag",new b(this,c))})},b}),function(a,b){"use strict";"object"==typeof exports?module.exports=b(require("jquery"),require("./jquery.draggable.js"),require("./jquery.collision.js"),require("./jquery.coords.js"),require("./utils.js")):"function"==typeof define&&define.amd?define(["jquery","gridster-draggable","gridster-collision"],b):a.Gridster=b(a.$||a.jQuery,a.GridsterDraggable,a.GridsterCollision)}(this,function(a,b,c){"use strict";function d(b,c){this.options=a.extend(!0,{},g,c),this.options.draggable=this.options.draggable||{},this.options.draggable=a.extend(!0,{},this.options.draggable,{scroll_container:this.options.scroll_container}),this.$el=a(b),this.$scroll_container=this.options.scroll_container===window?a(window):this.$el.closest(this.options.scroll_container),this.$wrapper=this.$el.parent(),this.$widgets=this.$el.children(this.options.widget_selector).addClass("gs-w"),this.$changed=a([]),this.w_queue={},this.is_responsive()?this.min_widget_width=this.get_responsive_col_width():this.min_widget_width=this.options.widget_base_dimensions[0],this.min_widget_height=this.options.widget_base_dimensions[1],this.is_resizing=!1,this.min_col_count=this.options.min_cols,this.prev_col_count=this.min_col_count,this.generated_stylesheets=[],this.$style_tags=a([]),typeof this.options.limit==typeof!0&&(console.log("limit: bool is deprecated, consider using limit: { width: boolean, height: boolean} instead"),this.options.limit={width:this.options.limit,height:this.options.limit}),this.options.auto_init&&this.init()}function e(a){for(var b=["col","row","size_x","size_y"],c={},d=0,e=b.length;dc.row?1:-1})},d.sort_by_row_and_col_asc=function(a){return a=a.sort(function(a,b){return a=e(a),b=e(b),a.row>b.row||a.row===b.row&&a.col>b.col?1:-1})},d.sort_by_col_asc=function(a){return a=a.sort(function(a,b){return a=e(a),b=e(b),a.col>b.col?1:-1})},d.sort_by_row_desc=function(a){return a=a.sort(function(a,b){return a=e(a),b=e(b),a.row+a.size_yi&&this.add_faux_rows(Math.max(d-i,0));var k={col:j,row:g.row,size_x:c,size_y:d};return this.mutate_widget_in_gridmap(b,g,k),this.set_dom_grid_height(),this.set_dom_grid_width(),f&&f.call(this,k.size_x,k.size_y),b},h.collapse_widget=function(a,b){var c=a.coords().grid,d=parseInt(a.attr("pre_expand_sizex")),e=parseInt(a.attr("pre_expand_sizey")),f=parseInt(a.attr("pre_expand_col")),g={col:f,row:c.row,size_x:d,size_y:e};return this.mutate_widget_in_gridmap(a,c,g),this.set_dom_grid_height(),this.set_dom_grid_width(),b&&b.call(this,g.size_x,g.size_y),a},h.fit_to_content=function(a,b,c,d){var e=a.coords().grid,f=this.$wrapper.width(),g=this.$wrapper.height(),h=this.options.widget_base_dimensions[0]+2*this.options.widget_margins[0],i=this.options.widget_base_dimensions[1]+2*this.options.widget_margins[1],j=Math.ceil((f+2*this.options.widget_margins[0])/h),k=Math.ceil((g+2*this.options.widget_margins[1])/i),l={col:e.col,row:e.row,size_x:Math.min(b,j),size_y:Math.min(c,k)};return this.mutate_widget_in_gridmap(a,e,l),this.set_dom_grid_height(),this.set_dom_grid_width(),d&&d.call(this,l.size_x,l.size_y),a},h.center_widgets=debounce(function(){var b,c=this.$wrapper.width();b=this.is_responsive()?this.get_responsive_col_width():this.options.widget_base_dimensions[0]+2*this.options.widget_margins[0];var d=2*Math.floor(Math.max(Math.floor(c/b),this.min_col_count)/2);this.options.min_cols=d,this.options.max_cols=d,this.options.extra_cols=0,this.set_dom_grid_width(d),this.cols=d;var e=(d-this.prev_col_count)/2;return e<0?(this.get_min_col()>-1*e?this.shift_cols(e):this.resize_widget_dimensions(this.options),setTimeout(a.proxy(function(){this.resize_widget_dimensions(this.options)},this),0)):e>0?(this.resize_widget_dimensions(this.options),setTimeout(a.proxy(function(){this.shift_cols(e)},this),0)):(this.resize_widget_dimensions(this.options),setTimeout(a.proxy(function(){this.resize_widget_dimensions(this.options)},this),0)),this.prev_col_count=d,this},200),h.get_min_col=function(){return Math.min.apply(Math,this.$widgets.map(a.proxy(function(b,c){return this.get_cells_occupied(a(c).coords().grid).cols},this)).get())},h.shift_cols=function(b){var c=this.$widgets.map(a.proxy(function(b,c){var d=a(c);return this.dom_to_coords(d)},this));c=d.sort_by_row_and_col_asc(c),c.each(a.proxy(function(c,d){var e=a(d.el),f=e.coords().grid,g=parseInt(e.attr("data-col")),h={col:Math.max(Math.round(g+b),1),row:f.row,size_x:f.size_x,size_y:f.size_y};setTimeout(a.proxy(function(){this.mutate_widget_in_gridmap(e,f,h)},this),0)},this))},h.mutate_widget_in_gridmap=function(b,c,d){var e=c.size_y,f=this.get_cells_occupied(c),g=this.get_cells_occupied(d),h=[];a.each(f.cols,function(b,c){-1===a.inArray(c,g.cols)&&h.push(c)});var i=[];a.each(g.cols,function(b,c){-1===a.inArray(c,f.cols)&&i.push(c)});var j=[];a.each(f.rows,function(b,c){-1===a.inArray(c,g.rows)&&j.push(c)});var k=[];if(a.each(g.rows,function(b,c){-1===a.inArray(c,f.rows)&&k.push(c)}),this.remove_from_gridmap(c),i.length){var l=[d.col,d.row,d.size_x,Math.min(e,d.size_y),b];this.empty_cells.apply(this,l)}if(k.length){var m=[d.col,d.row,d.size_x,d.size_y,b];this.empty_cells.apply(this,m)}if(c.col=d.col,c.row=d.row,c.size_x=d.size_x,c.size_y=d.size_y,this.add_to_gridmap(d,b),b.removeClass("player-revert"),this.update_widget_dimensions(b,d),this.options.shift_widgets_up){if(h.length){var n=[h[0],d.row,h[h.length-1]-h[0]+1,Math.min(e,d.size_y),b];this.remove_empty_cells.apply(this,n)}if(j.length){var o=[d.col,d.row,d.size_x,d.size_y,b];this.remove_empty_cells.apply(this,o)}}return this.move_widget_up(b),this},h.empty_cells=function(b,c,d,e,f){return this.widgets_below({col:b,row:c-e,size_x:d,size_y:e}).not(f).each(a.proxy(function(b,d){var f=a(d),g=f.coords().grid;if(g.row<=c+e-1){var h=c+e-g.row;this.move_widget_down(f,h)}},this)),this.is_resizing||this.set_dom_grid_height(),this},h.remove_empty_cells=function(b,c,d,e,f){return this.widgets_below({col:b,row:c,size_x:d,size_y:e}).not(f).each(a.proxy(function(b,c){this.move_widget_up(a(c),e)},this)),this.set_dom_grid_height(),this},h.next_position=function(a,b){a||(a=1),b||(b=1);for(var c,e=this.gridmap,f=e.length,g=[],h=1;h';return this.resize_handle_tpl=a.map(b,function(a){return c.replace("{type}",a)}).join(""),a.isArray(this.options.draggable.ignore_dragging)&&this.options.draggable.ignore_dragging.push("."+this.resize_handle_class),this},h.on_start_drag=function(b,c){this.$helper.add(this.$player).add(this.$wrapper).addClass("dragging"),this.highest_col=this.get_highest_occupied_cell().col,this.$player.addClass("player"),this.player_grid_data=this.$player.coords().grid,this.placeholder_grid_data=a.extend({},this.player_grid_data),this.get_highest_occupied_cell().row+this.player_grid_data.size_y<=this.options.max_rows&&this.set_dom_grid_height(this.$el.height()+this.player_grid_data.size_y*this.min_widget_height),this.set_dom_grid_width(this.cols);var d=this.player_grid_data.size_x,e=this.cols-this.highest_col;this.options.max_cols===1/0&&e<=d&&this.add_faux_cols(Math.min(d-e,1));var f=this.faux_grid,g=this.$player.data("coords").coords;this.cells_occupied_by_player=this.get_cells_occupied(this.player_grid_data),this.cells_occupied_by_placeholder=this.get_cells_occupied(this.placeholder_grid_data),this.last_cols=[],this.last_rows=[],this.collision_api=this.$helper.collision(f,this.options.collision),this.$preview_holder=a("<"+this.$player.get(0).tagName+" />",{class:"preview-holder","data-row":this.$player.attr("data-row"),"data-col":this.$player.attr("data-col"),css:{width:g.width,height:g.height}}).appendTo(this.$el),this.options.draggable.start&&this.options.draggable.start.call(this,b,c)},h.on_drag=function(a,b){if(null===this.$player)return!1;var c=this.options.widget_margins,d=this.$preview_holder.attr("data-col"),e=this.$preview_holder.attr("data-row"),f={left:b.position.left+this.baseX-c[0]*d,top:b.position.top+this.baseY-c[1]*e};if(this.options.max_cols===1/0){this.placeholder_grid_data.col+this.placeholder_grid_data.size_x-1>=this.cols-1&&this.options.max_cols>=this.cols+1&&(this.add_faux_cols(1),this.set_dom_grid_width(this.cols+1),this.drag_api.set_limits(this.cols*this.min_widget_width+(this.cols+1)*this.options.widget_margins[0])),this.collision_api.set_colliders(this.faux_grid)}this.colliders_data=this.collision_api.get_closest_colliders(f),this.on_overlapped_column_change(this.on_start_overlapping_column,this.on_stop_overlapping_column),this.on_overlapped_row_change(this.on_start_overlapping_row,this.on_stop_overlapping_row),this.helper&&this.$player&&this.$player.css({left:b.position.left,top:b.position.top}),this.options.draggable.drag&&this.options.draggable.drag.call(this,a,b)},h.on_stop_drag=function(a,b){this.$helper.add(this.$player).add(this.$wrapper).removeClass("dragging");var c=this.options.widget_margins,d=this.$preview_holder.attr("data-col"),e=this.$preview_holder.attr("data-row");b.position.left=b.position.left+this.baseX-c[0]*d,b.position.top=b.position.top+this.baseY-c[1]*e,this.colliders_data=this.collision_api.get_closest_colliders(b.position),this.on_overlapped_column_change(this.on_start_overlapping_column,this.on_stop_overlapping_column),this.on_overlapped_row_change(this.on_start_overlapping_row,this.on_stop_overlapping_row),this.$changed=this.$changed.add(this.$player);var f=this.placeholder_grid_data.el.coords().grid;f.col===this.placeholder_grid_data.col&&f.row===this.placeholder_grid_data.row||(this.update_widget_position(f,!1),this.options.collision.wait_for_mouseup&&this.for_each_cell_occupied(this.placeholder_grid_data,function(a,b){if(this.is_widget(a,b)){var c=this.placeholder_grid_data.row+this.placeholder_grid_data.size_y,d=parseInt(this.gridmap[a][b][0].getAttribute("data-row")),e=c-d;!this.move_widget_down(this.is_widget(a,b),e)&&this.set_placeholder(this.placeholder_grid_data.el.coords().grid.col,this.placeholder_grid_data.el.coords().grid.row)}})),this.cells_occupied_by_player=this.get_cells_occupied(this.placeholder_grid_data);var g=this.placeholder_grid_data.col,h=this.placeholder_grid_data.row;this.set_cells_player_occupies(g,h),this.$player.coords().grid.row=h,this.$player.coords().grid.col=g,this.$player.addClass("player-revert").removeClass("player").attr({"data-col":g,"data-row":h}).css({left:"",top:""}),this.options.draggable.stop&&this.options.draggable.stop.call(this,a,b),this.$preview_holder.remove(),this.$player=null,this.$helper=null,this.placeholder_grid_data={},this.player_grid_data={},this.cells_occupied_by_placeholder={},this.cells_occupied_by_player={},this.w_queue={},this.set_dom_grid_height(),this.set_dom_grid_width(),this.options.max_cols===1/0&&this.drag_api.set_limits(this.cols*this.min_widget_width+(this.cols+1)*this.options.widget_margins[0])},h.on_start_resize=function(b,c){this.$resized_widget=c.$player.closest(".gs-w"),this.resize_coords=this.$resized_widget.coords(),this.resize_wgd=this.resize_coords.grid,this.resize_initial_width=this.resize_coords.coords.width,this.resize_initial_height=this.resize_coords.coords.height,this.resize_initial_sizex=this.resize_coords.grid.size_x,this.resize_initial_sizey=this.resize_coords.grid.size_y,this.resize_initial_col=this.resize_coords.grid.col,this.resize_last_sizex=this.resize_initial_sizex, +this.resize_last_sizey=this.resize_initial_sizey,this.resize_max_size_x=Math.min(this.resize_wgd.max_size_x||this.options.resize.max_size[0],this.options.max_cols-this.resize_initial_col+1),this.resize_max_size_y=this.resize_wgd.max_size_y||this.options.resize.max_size[1],this.resize_min_size_x=this.resize_wgd.min_size_x||this.options.resize.min_size[0]||1,this.resize_min_size_y=this.resize_wgd.min_size_y||this.options.resize.min_size[1]||1,this.resize_initial_last_col=this.get_highest_occupied_cell().col,this.set_dom_grid_width(this.cols),this.resize_dir={right:c.$player.is("."+this.resize_handle_class+"-x"),bottom:c.$player.is("."+this.resize_handle_class+"-y")},this.is_responsive()||this.$resized_widget.css({"min-width":this.options.widget_base_dimensions[0],"min-height":this.options.widget_base_dimensions[1]});var d=this.$resized_widget.get(0).tagName;this.$resize_preview_holder=a("<"+d+" />",{class:"preview-holder resize-preview-holder","data-row":this.$resized_widget.attr("data-row"),"data-col":this.$resized_widget.attr("data-col"),css:{width:this.resize_initial_width,height:this.resize_initial_height}}).appendTo(this.$el),this.$resized_widget.addClass("resizing"),this.options.resize.start&&this.options.resize.start.call(this,b,c,this.$resized_widget),this.$el.trigger("gridster:resizestart")},h.on_stop_resize=function(b,c){this.$resized_widget.removeClass("resizing").css({width:"",height:"","min-width":"","min-height":""}),delay(a.proxy(function(){this.$resize_preview_holder.remove().css({"min-width":"","min-height":""}),this.options.resize.stop&&this.options.resize.stop.call(this,b,c,this.$resized_widget),this.$el.trigger("gridster:resizestop")},this),300),this.set_dom_grid_width(),this.set_dom_grid_height(),this.options.max_cols===1/0&&this.drag_api.set_limits(this.cols*this.min_widget_width)},h.on_resize=function(a,b){var c,d=b.pointer.diff_left,e=b.pointer.diff_top,f=this.is_responsive()?this.get_responsive_col_width():this.options.widget_base_dimensions[0],g=this.options.widget_base_dimensions[1],h=this.options.widget_margins[0],i=this.options.widget_margins[1],j=this.resize_max_size_x,k=this.resize_min_size_x,l=this.resize_max_size_y,m=this.resize_min_size_y,n=this.options.max_cols===1/0,o=Math.ceil(d/(f+2*h)-.2),p=Math.ceil(e/(g+2*i)-.2),q=Math.max(1,this.resize_initial_sizex+o),r=Math.max(1,this.resize_initial_sizey+p),s=Math.floor(this.container_width/this.min_widget_width-this.resize_initial_col+1),t=s*this.min_widget_width+(s-1)*h;q=Math.max(Math.min(q,j),k),q=Math.min(s,q),c=j*f+(q-1)*h;var u=Math.min(c,t),v=k*f+(q-1)*h;r=Math.max(Math.min(r,l),m);var w=l*g+(r-1)*i,x=m*g+(r-1)*i;if(this.resize_dir.right?r=this.resize_initial_sizey:this.resize_dir.bottom&&(q=this.resize_initial_sizex),n){var y=this.resize_initial_col+q-1;n&&this.resize_initial_last_col<=y&&(this.set_dom_grid_width(Math.max(y+1,this.cols)),this.colsparseInt(this.options.max_rows)&&(e=!0),h>parseInt(this.options.max_cols)&&(e=!0),this.is_player_in(h,i)&&(e=!0)}return e},h.can_placeholder_be_set=function(a,b,c,d){for(var e=!0,f=0;fparseInt(this.options.max_rows)&&(e=!1),h>parseInt(this.options.max_cols)&&(e=!1),this.is_occupied(h,i)&&!this.is_widget_queued_and_can_move(j)&&(e=!1)}return e},h.queue_widget=function(a,b,c){var d=c,e=d.coords().grid,f=a+"_"+b;if(f in this.w_queue)return!1;this.w_queue[f]=d;for(var g=0;g=0&&a.inArray(c,d.rows)>=0},h.is_placeholder_in=function(b,c){var d=this.cells_occupied_by_placeholder||{};return this.is_placeholder_in_col(b)&&a.inArray(c,d.rows)>=0},h.is_placeholder_in_col=function(b){var c=this.cells_occupied_by_placeholder||[];return a.inArray(b,c.cols)>=0},h.is_empty=function(a,b){return void 0===this.gridmap[a]||!this.gridmap[a][b]},h.is_valid_col=function(a,b){return this.options.max_cols===1/0||this.cols>=this.calculate_highest_col(a,b)},h.is_valid_row=function(a,b){return this.rows>=this.calculate_highest_row(a,b)},h.calculate_highest_col=function(a,b){return a+(b||1)-1},h.calculate_highest_row=function(a,b){return a+(b||1)-1},h.is_occupied=function(b,c){return!!this.gridmap[b]&&(!this.is_player(b,c)&&(!!this.gridmap[b][c]&&(!this.options.ignore_self_occupied||this.$player.data()!==a(this.gridmap[b][c]).data())))},h.is_widget=function(a,b){var c=this.gridmap[a];return!!c&&((c=c[b])||!1)},h.is_static=function(a,b){var c=this.gridmap[a];return!!c&&!(!(c=c[b])||!c.hasClass(this.options.static_class))},h.is_widget_under_player=function(a,b){return!!this.is_widget(a,b)&&this.is_player_in(a,b)},h.get_widgets_under_player=function(b){b||(b=this.cells_occupied_by_player||{cols:[],rows:[]});var c=a([]);return a.each(b.cols,a.proxy(function(d,e){a.each(b.rows,a.proxy(function(a,b){this.is_widget(e,b)&&(c=c.add(this.gridmap[e][b]))},this))},this)),c},h.set_placeholder=function(b,c){var d=a.extend({},this.placeholder_grid_data),e=b+d.size_x-1;e>this.cols&&(b-=e-b);var f=this.placeholder_grid_data.row0&&(this.is_empty(a,h)||this.is_player(a,h)||this.is_widget(a,h)&&g[h].is(f));)d[a].push(h),e=h0&&(!this.is_widget(f,h)||this.is_player_in(f,h)||g[h].is(a.el));)this.is_player(f,h)||this.is_placeholder_in(f,h)||this.is_player_in(f,h)||d[f].push(h),h=b&&a[d[0]]},h.get_widgets_overlapped=function(){var b=a([]),c=[],d=this.cells_occupied_by_player.rows.slice(0);return d.reverse(),a.each(this.cells_occupied_by_player.cols,a.proxy(function(e,f){a.each(d,a.proxy(function(d,e){if(!this.gridmap[f])return!0;var g=this.gridmap[f][e];this.is_occupied(f,e)&&!this.is_player(g)&&-1===a.inArray(g,c)&&(b=b.add(g),c.push(g))},this))},this)),b},h.on_start_overlapping_column=function(a){this.set_player(a,void 0,!1)},h.on_start_overlapping_row=function(a){this.set_player(void 0,a,!1)},h.on_stop_overlapping_column=function(a){var b=this;this.options.shift_larger_widgets_down&&this.for_each_widget_below(a,this.cells_occupied_by_player.rows[0],function(a,c){b.move_widget_up(this,b.player_grid_data.size_y)})},h.on_stop_overlapping_row=function(a){var b=this,c=this.cells_occupied_by_player.cols;if(this.options.shift_larger_widgets_down)for(var d=0,e=c.length;dthis.options.max_rows)return!1;if(f=[],g=c,!b)return!1;if(this.failed=!1,-1===a.inArray(b,f)){var h=b.coords().grid,i=e+c;if(this.widgets_below(b).each(a.proxy(function(b,c){if(!0!==this.failed){var d=a(c),e=d.coords().grid,f=this.displacement_diff(e,h,g);f>0&&(this.failed=!1===this.move_widget_down(d,f))}},this)),this.failed)return!1;this.remove_from_gridmap(h),h.row=i,this.update_widget_position(h,b),b.attr("data-row",h.row),this.$changed=this.$changed.add(b),f.push(b)}return!0},h.can_go_up_to_row=function(b,c,d){var e,f=!0,g=[],h=b.row;if(this.for_each_column_occupied(b,function(a){for(g[a]=[],e=h;e--&&this.is_empty(a,e)&&!this.is_placeholder_in(a,e);)g[a].push(e);if(!g[a].length)return f=!1,!0}),!f)return!1;for(e=d,e=1;e0?c:0},h.widgets_below=function(b){var c=a([]),e=a.isPlainObject(b)?b:b.coords().grid;if(void 0===e)return c;var f=this,g=e.row+e.size_y-1;return this.for_each_column_occupied(e,function(b){f.for_each_widget_below(b,g,function(b,d){if(!f.is_player(this)&&-1===a.inArray(this,c))return c=c.add(this),!0})}),d.sort_by_row_asc(c)},h.set_cells_player_occupies=function(a,b){return this.remove_from_gridmap(this.placeholder_grid_data),this.placeholder_grid_data.col=a,this.placeholder_grid_data.row=b,this.add_to_gridmap(this.placeholder_grid_data,this.$player),this},h.empty_cells_player_occupies=function(){return this.remove_from_gridmap(this.placeholder_grid_data),this},h.can_go_down=function(b){var c=!0,d=this;return b.hasClass(this.options.static_class)&&(c=!1),this.widgets_below(b).each(function(){a(this).hasClass(d.options.static_class)&&(c=!1)}),c},h.can_go_up=function(a){var b=a.coords().grid,c=b.row,d=c-1,e=!0;return 1!==c&&(this.for_each_column_occupied(b,function(a){if(this.is_occupied(a,d)||this.is_player(a,d)||this.is_placeholder_in(a,d)||this.is_player_in(a,d))return e=!1,!0}),e)},h.can_move_to=function(a,b,c){var d=a.el,e={size_y:a.size_y,size_x:a.size_x,col:b,row:c},f=!0;if(this.options.max_cols!==1/0){if(b+a.size_x-1>this.cols)return!1}return!(this.options.max_rows0&&this.is_widget(d,m)&&-1===a.inArray(g[d][m],l)&&(h=f.call(g[d][m],d,m),l.push(g[d][m]),h)););},"for_each/below":function(){for(m=e+1,i=g[d].length;m=1;f--)for(a=c-1;a>=1;a--)if(this.is_widget(f,a)){d.push(a),e.push(f);break}return{col:Math.max.apply(Math,e),row:Math.max.apply(Math,d)}},h.get_widgets_in_range=function(b,c,d,e){var f,g,h,i,j=a([]);for(f=d;f>=b;f--)for(g=e;g>=c;g--)!1!==(h=this.is_widget(f,g))&&(i=h.data("coords").grid,i.col>=b&&i.col<=d&&i.row>=c&&i.row<=e&&(j=j.add(h)));return j},h.get_widgets_at_cell=function(a,b){return this.get_widgets_in_range(a,b,a,b)},h.get_widgets_from=function(b,c){var d=a();return b&&(d=d.add(this.$widgets.filter(function(){var c=parseInt(a(this).attr("data-col"));return c===b||c>b}))),c&&(d=d.add(this.$widgets.filter(function(){var b=parseInt(a(this).attr("data-row"));return b===c||b>c}))),d},h.set_dom_grid_height=function(a){if(void 0===a){var b=this.get_highest_occupied_cell().row;a=(b+1)*this.options.widget_margins[1]+b*this.min_widget_height}return this.container_height=a,this.$el.css("height",this.container_height),this},h.set_dom_grid_width=function(a){void 0===a&&(a=this.get_highest_occupied_cell().col);var b=this.options.max_cols===1/0?this.options.max_cols:this.cols;return a=Math.min(b,Math.max(a,this.options.min_cols)),this.container_width=(a+1)*this.options.widget_margins[0]+a*this.min_widget_width,this.is_responsive()?(this.$el.css({"min-width":"100%","max-width":"100%"}),this):(this.$el.css("width",this.container_width),this)},h.is_responsive=function(){return this.options.autogenerate_stylesheet&&"auto"===this.options.widget_base_dimensions[0]&&this.options.max_cols!==1/0},h.get_responsive_col_width=function(){var a=this.cols||this.options.max_cols;return(this.$el[0].clientWidth-3-(a+1)*this.options.widget_margins[0])/a},h.resize_responsive_layout=function(){return this.min_widget_width=this.get_responsive_col_width(),this.generate_stylesheet(),this.update_widgets_dimensions(),this.drag_api.set_limits(this.cols*this.min_widget_width+(this.cols+1)*this.options.widget_margins[0]),this},h.toggle_collapsed_grid=function(a,b){return a?(this.$widgets.css({"margin-top":b.widget_margins[0],"margin-bottom":b.widget_margins[0],"min-height":b.widget_base_dimensions[1]}),this.$el.addClass("collapsed"),this.resize_api&&this.disable_resize(),this.drag_api&&this.disable()):(this.$widgets.css({"margin-top":"auto","margin-bottom":"auto","min-height":"auto"}),this.$el.removeClass("collapsed"),this.resize_api&&this.enable_resize(),this.drag_api&&this.enable()),this},h.generate_stylesheet=function(b){var c,e="",f=this.is_responsive()&&this.options.responsive_breakpoint&&a(window).width()=0)return!1;for(this.generated_stylesheets.push(g),d.generated_stylesheets.push(g),c=1;c<=b.cols+1;c++)e+=b.namespace+' [data-col="'+c+'"] { left:'+(f?this.options.widget_margins[0]:c*b.widget_margins[0]+(c-1)*b.widget_base_dimensions[0])+"px; }\n";for(c=1;c<=b.rows+1;c++)e+=b.namespace+' [data-row="'+c+'"] { top:'+(c*b.widget_margins[1]+(c-1)*b.widget_base_dimensions[1])+"px; }\n";for(var h=1;h<=b.rows;h++)e+=b.namespace+' [data-sizey="'+h+'"] { height:'+(f?"auto":h*b.widget_base_dimensions[1]+(h-1)*b.widget_margins[1])+(f?"":"px")+"; }\n";for(var i=1;i<=b.cols;i++){var j=i*b.widget_base_dimensions[0]+(i-1)*b.widget_margins[0];e+=b.namespace+' [data-sizex="'+i+'"] { width:'+(f?this.$wrapper.width()-2*this.options.widget_margins[0]:j>this.$wrapper.width()?this.$wrapper.width():j)+"px; }\n"}return this.remove_style_tags(),this.add_style_tag(e)},h.add_style_tag=function(a){var b=document,c="gridster-stylesheet";if(""!==this.options.namespace&&(c=c+"-"+this.options.namespace),!document.getElementById(c)){var d=b.createElement("style");d.id=c,b.getElementsByTagName("head")[0].appendChild(d),d.setAttribute("type","text/css"),d.styleSheet?d.styleSheet.cssText=a:d.appendChild(document.createTextNode(a)),this.remove_style_tags(),this.$style_tags=this.$style_tags.add(d)}return this},h.remove_style_tags=function(){var b=d.generated_stylesheets,c=this.generated_stylesheets;this.$style_tags.remove(),d.generated_stylesheets=a.map(b,function(b){if(-1===a.inArray(b,c))return b})},h.generate_faux_grid=function(a,b){this.faux_grid=[],this.gridmap=[];var c,d;for(c=b;c>0;c--)for(this.gridmap[c]=[],d=a;d>0;d--)this.add_faux_cell(d,c);return this},h.add_faux_cell=function(b,c){var d=a({left:this.baseX+(c-1)*this.min_widget_width,top:this.baseY+(b-1)*this.min_widget_height,width:this.min_widget_width,height:this.min_widget_height,col:c,row:b,original_col:c,original_row:b}).coords();return a.isArray(this.gridmap[c])||(this.gridmap[c]=[]),void 0===this.gridmap[c][b]&&(this.gridmap[c][b]=!1),this.faux_grid.push(d),this},h.add_faux_rows=function(a){a=window.parseInt(a,10);for(var b=this.rows,c=b+parseInt(a||1),d=c;d>b;d--)for(var e=this.cols;e>=1;e--)this.add_faux_cell(d,e);return this.rows=c,this.options.autogenerate_stylesheet&&this.generate_stylesheet(),this},h.add_faux_cols=function(a){a=window.parseInt(a,10);var b=this.cols,c=b+parseInt(a||1);c=Math.min(c,this.options.max_cols);for(var d=b+1;d<=c;d++)for(var e=this.rows;e>=1;e--)this.add_faux_cell(e,d);return this.cols=c,this.options.autogenerate_stylesheet&&this.generate_stylesheet(),this},h.recalculate_faux_grid=function(){var b=this.$wrapper.width();return this.baseX=(f.width()-b)/2,this.baseY=this.$wrapper.offset().top,"relative"===this.$wrapper.css("position")&&(this.baseX=this.baseY=0),a.each(this.faux_grid,a.proxy(function(a,b){this.faux_grid[a]=b.update({left:this.baseX+(b.data.col-1)*this.min_widget_width,top:this.baseY+(b.data.row-1)*this.min_widget_height})},this)),this.is_responsive()&&this.resize_responsive_layout(),this.options.center_widgets&&this.center_widgets(),this},h.resize_widget_dimensions=function(b){return b.widget_margins&&(this.options.widget_margins=b.widget_margins),b.widget_base_dimensions&&(this.options.widget_base_dimensions=b.widget_base_dimensions),this.min_widget_width=2*this.options.widget_margins[0]+this.options.widget_base_dimensions[0],this.min_widget_height=2*this.options.widget_margins[1]+this.options.widget_base_dimensions[1],this.$widgets.each(a.proxy(function(b,c){var d=a(c);this.resize_widget(d)},this)),this.generate_grid_and_stylesheet(),this.get_widgets_from_DOM(),this.set_dom_grid_height(),this.set_dom_grid_width(),this},h.get_widgets_from_DOM=function(){var b=this.$widgets.map(a.proxy(function(b,c){var d=a(c);return this.dom_to_coords(d)},this));return b=d.sort_by_row_and_col_asc(b),a(b).map(a.proxy(function(a,b){return this.register_widget(b)||null},this)).length&&this.$el.trigger("gridster:positionschanged"),this},h.get_num_widgets=function(){return this.$widgets.length},h.set_num_columns=function(b){var c=this.options.max_cols,d=Math.floor(b/(this.min_widget_width+this.options.widget_margins[0]))+this.options.extra_cols,e=this.$widgets.map(function(){return a(this).attr("data-col")}).get();e.length||(e=[0]);var f=Math.max.apply(Math,e);this.cols=Math.max(f,d,this.options.min_cols),c!==1/0&&c>=f&&c'); + this.$buttons.append(qweb.render( + "kpi_dashboard.buttons", {widget: this})); + + this._updateButtons(); + this.$buttons.appendTo($node); + }, + }); + + return DashboardController; + +}); diff --git a/kpi_dashboard/static/src/js/dashboard_model.js b/kpi_dashboard/static/src/js/dashboard_model.js new file mode 100644 index 000000000..ddf7425e3 --- /dev/null +++ b/kpi_dashboard/static/src/js/dashboard_model.js @@ -0,0 +1,23 @@ +odoo.define('kpi_dashboard.DashboardModel', function (require) { + "use strict"; + + var BasicModel = require('web.BasicModel'); + + var DashboardModel = BasicModel.extend({ + _fetchRecord: function (record, options) { + return this._rpc({ + model: record.model, + method: 'read_dashboard', + args: [[record.res_id]], + context: _.extend({}, record.getContext(), {bin_size: true}), + }) + .then(function (result) { + record.specialData = result; + return result + }) + } + }); + + return DashboardModel; + +}); diff --git a/kpi_dashboard/static/src/js/dashboard_renderer.js b/kpi_dashboard/static/src/js/dashboard_renderer.js new file mode 100644 index 000000000..6ff43ef58 --- /dev/null +++ b/kpi_dashboard/static/src/js/dashboard_renderer.js @@ -0,0 +1,74 @@ +odoo.define('kpi_dashboard.DashboardRenderer', function (require) { + "use strict"; + + var BasicRenderer = require('web.BasicRenderer'); + var core = require('web.core'); + var registry = require('kpi_dashboard.widget_registry'); + var BusService = require('bus.BusService'); + var qweb = core.qweb; + + var DashboardRenderer= BasicRenderer.extend({ + className: "o_dashboard_view", + _getDashboardWidget: function (kpi) { + var Widget = registry.getAny([ + kpi.widget, 'abstract', + ]); + var widget = new Widget(this, kpi); + return widget; + }, + _renderView: function () { + this.$el.html($(qweb.render('dashboard_kpi.dashboard'))); + this.$el.css( + 'background-color', this.state.specialData.background_color); + this.$el.find('.gridster') + .css('width', this.state.specialData.width); + this.$grid = this.$el.find('.gridster ul'); + var self = this; + this.kpi_widget = {}; + _.each(this.state.specialData.item_ids, function (kpi) { + var element = $(qweb.render( + 'kpi_dashboard.kpi', {widget: kpi})); + element.css('background-color', kpi.color); + element.css('color', kpi.font_color); + self.$grid.append(element); + self.kpi_widget[kpi.id] = self._getDashboardWidget(kpi); + self.kpi_widget[kpi.id].appendTo(element); + }); + this.$grid.gridster({ + widget_margins: [ + this.state.specialData.margin_x, + this.state.specialData.margin_y, + ], + widget_base_dimensions: [ + this.state.specialData.widget_dimension_x, + this.state.specialData.widget_dimension_y, + ], + cols: this.state.specialData.max_cols, + }).data('gridster').disable(); + this.channel = 'kpi_dashboard_' + this.state.res_id; + this.call( + 'bus_service', 'addChannel', this.channel); + this.call('bus_service', 'startPolling'); + this.call( + 'bus_service', 'onNotification', + this, this._onNotification + ); + return $.when(); + }, + _onNotification: function (notifications) { + var self = this; + _.each(notifications, function (notification) { + var channel = notification[0]; + var message = notification[1]; + if (channel === self.channel && message) { + var widget = self.kpi_widget[message.id]; + if (widget !== undefined) { + widget._fillWidget(message); + } + } + }); + }, + }); + + return DashboardRenderer; +}); diff --git a/kpi_dashboard/static/src/js/dashboard_view.js b/kpi_dashboard/static/src/js/dashboard_view.js new file mode 100644 index 000000000..b31df5cbb --- /dev/null +++ b/kpi_dashboard/static/src/js/dashboard_view.js @@ -0,0 +1,44 @@ +odoo.define('kpi_dashboard.DashboardView', function (require) { + "use strict"; + + var BasicView = require('web.BasicView'); + var DashboardController = require('kpi_dashboard.DashboardController'); + var DashboardModel = require('kpi_dashboard.DashboardModel'); + var DashboardRenderer = require('kpi_dashboard.DashboardRenderer'); + var view_registry = require('web.view_registry'); + var core = require('web.core'); + + var _lt = core._lt; + + var DashboardView = BasicView.extend({ + jsLibs: [ + '/kpi_dashboard/static/lib/gridster/jquery.dsmorse-gridster.min.js', + ], + cssLibs: [ + '/kpi_dashboard/static/lib/gridster/jquery.dsmorse-gridster.min.css', + ], + accesskey: "d", + display_name: _lt("Dashboard"), + icon: 'fa-tachometer', + viewType: 'dashboard', + config: _.extend({}, BasicView.prototype.config, { + Controller: DashboardController, + Renderer: DashboardRenderer, + Model: DashboardModel, + }), + multi_record: false, + searchable: false, + init: function () { + this._super.apply(this, arguments); + this.controllerParams.mode = 'readonly'; + this.loadParams.type = 'record'; + if (! this.loadParams.res_id && this.loadParams.context.res_id) { + this.loadParams.res_id = this.loadParams.context.res_id; + } + }, + }); + + view_registry.add('dashboard', DashboardView); + + return DashboardView; +}); diff --git a/kpi_dashboard/static/src/js/widget/abstract_widget.js b/kpi_dashboard/static/src/js/widget/abstract_widget.js new file mode 100644 index 000000000..b99b2d9e1 --- /dev/null +++ b/kpi_dashboard/static/src/js/widget/abstract_widget.js @@ -0,0 +1,91 @@ +odoo.define('kpi_dashboard.AbstractWidget', function (require) { + "use strict"; + var Widget = require('web.Widget'); + var field_utils = require('web.field_utils'); + var time = require('web.time'); + var ajax = require('web.ajax'); + var registry = require('kpi_dashboard.widget_registry'); + + var AbstractWidget = Widget.extend({ + template: 'kpi_dashboard.base_widget', // Template used by the widget + cssLibs: [], // Specific css of the widget + jsLibs: [], // Specific Javascript libraries of the widget + events: { + 'click .o_kpi_dashboard_toggle_button': '_onClickToggleButton', + 'click .direct_action': '_onClickDirectAction', + }, + init: function (parent, kpi_values) { + this._super(parent); + this.col = kpi_values.col; + this.row = kpi_values.row; + this.sizex = kpi_values.sizex; + this.sizey = kpi_values.sizey; + this.color = kpi_values.color; + this.values = kpi_values; + this.margin_x = parent.state.specialData.margin_x; + this.margin_y = parent.state.specialData.margin_y; + this.widget_dimension_x = parent.state.specialData.widget_dimension_x; + this.widget_dimension_y = parent.state.specialData.widget_dimension_y; + this.prefix = kpi_values.prefix; + this.suffix = kpi_values.suffix; + this.actions = kpi_values.actions; + this.widget_size_x = this.widget_dimension_x * this.sizex + + (this.sizex - 1) * this.margin_x; + this.widget_size_y = this.widget_dimension_y * this.sizey + + (this.sizey - 1) * this.margin_y; + }, + willStart: function () { + // We need to load the libraries before the start + return $.when(ajax.loadLibs(this), this._super.apply(this, arguments)); + }, + start: function () { + var self = this; + return this._super.apply(this, arguments).then(function () { + self._fillWidget(self.values); + }); + }, + _onClickToggleButton: function (event) { + event.preventDefault(); + this.$el.toggleClass('o_dropdown_open'); + }, + _fillWidget: function (values) { + // This function fills the widget values + if (this.$el === undefined) + return; + this.fillWidget(values); + var item = this.$el.find('[data-bind="value_last_update_display"]'); + if (item && values.value_last_update !== undefined) { + var value = field_utils.parse.datetime(values.value_last_update); + item.text(value.clone().add( + this.getSession().getTZOffset(value), 'minutes').format( + time.getLangDatetimeFormat() + )); + } + var $manage = this.$el.find('.o_kpi_dashboard_manage'); + if ($manage && this.showManagePanel(values)) + $manage.toggleClass('hidden', false); + }, + showManagePanel: function (values) { + // Hook for extensions + return (values.actions !== undefined); + }, + fillWidget: function (values) { + // Specific function that will be changed by specific widget + var value = values.value; + var self = this; + _.each(value, function (val, key) { + var item = self.$el.find('[data-bind=' + key + ']') + if (item) + item.text(val); + }) + }, + _onClickDirectAction: function(event) { + event.preventDefault(); + var $data = $(event.currentTarget).closest('a'); + return this.do_action($($data).data('id')); + } + }); + + registry.add('abstract', AbstractWidget); + return AbstractWidget; +}); diff --git a/kpi_dashboard/static/src/js/widget/graph_widget.js b/kpi_dashboard/static/src/js/widget/graph_widget.js new file mode 100644 index 000000000..94d606882 --- /dev/null +++ b/kpi_dashboard/static/src/js/widget/graph_widget.js @@ -0,0 +1,108 @@ +odoo.define('kpi_dashboard.GraphWidget', function (require) { + "use strict"; + + var AbstractWidget = require('kpi_dashboard.AbstractWidget'); + var registry = require('kpi_dashboard.widget_registry'); + var core = require('web.core'); + var qweb = core.qweb; + + + var GraphWidget = AbstractWidget.extend({ + template: 'kpi_dashboard.graph', + jsLibs: [ + '/web/static/lib/nvd3/d3.v3.js', + '/web/static/lib/nvd3/nv.d3.js', + '/web/static/src/js/libs/nvd3.js', + ], + cssLibs: [ + '/web/static/lib/nvd3/nv.d3.css', + ], + start: function () { + this._onResize = this._onResize.bind(this); + nv.utils.windowResize(this._onResize); + return this._super.apply(this, arguments); + }, + destroy: function () { + if ('nv' in window && nv.utils && nv.utils.offWindowResize) { + // if the widget is destroyed before the lazy loaded libs (nv) are + // actually loaded (i.e. after the widget has actually started), + // nv is undefined, but the handler isn't bound yet anyway + nv.utils.offWindowResize(this._onResize); + } + this._super.apply(this, arguments); + }, + _getChartOptions: function (values) { + return { + x: function (d, u) { return u; }, + margin: {'left': 0, 'right': 0, 'top': 5, 'bottom': 0}, + showYAxis: false, + showXAxis: false, + showLegend: false, + height: this.widget_size_y - 90, + width: this.widget_size_x - 20, + }; + }, + _chartConfiguration: function (values) { + + this.chart.forceY([0]); + this.chart.xAxis.tickFormat(function (d) { + var label = ''; + _.each(values.value.graphs, function (v) { + if (v.values[d] && v.values[d].x) { + label = v.values[d].x; + } + }); + return label; + }); + this.chart.yAxis.tickFormat(d3.format(',.2f')); + + this.chart.tooltip.contentGenerator(function (key) { + return qweb.render('GraphCustomTooltip', { + 'color': key.point.color, + 'key': key.series[0].title, + 'value': d3.format(',.2f')(key.point.y) + }); + }); + }, + _addGraph: function (values) { + var data = values.value.graphs; + this.$svg.addClass('o_graph_linechart'); + this.chart = nv.models.lineChart(); + this.chart.options( + this._getChartOptions(values) + ); + this._chartConfiguration(values); + d3.select(this.$('svg')[0]) + .datum(data) + .transition().duration(600) + .call(this.chart); + this.$('svg').css('height', this.widget_size_y - 90); + this._customizeChart(); + }, + fillWidget: function (values) { + var self = this; + var element = this.$el.find('[data-bind="value"]'); + element.empty(); + element.css('padding-left', 10).css('padding-right', 10); + this.chart = null; + nv.addGraph(function () { + self.$svg = self.$el.find( + '[data-bind="value"]' + ).append(''); + self._addGraph(values); + }); + }, + _customizeChart: function () { + // Hook function + }, + _onResize: function () { + if (this.chart) { + this.chart.update(); + this._customizeChart(); + } + }, + }); + + registry.add('graph', GraphWidget); + return GraphWidget; +}); diff --git a/kpi_dashboard/static/src/js/widget/meter_widget.js b/kpi_dashboard/static/src/js/widget/meter_widget.js new file mode 100644 index 000000000..3d342a2a3 --- /dev/null +++ b/kpi_dashboard/static/src/js/widget/meter_widget.js @@ -0,0 +1,39 @@ +odoo.define('kpi_dashboard.MeterWidget', function (require) { + "use strict"; + + var AbstractWidget = require('kpi_dashboard.AbstractWidget'); + var registry = require('kpi_dashboard.widget_registry'); + + + var MeterWidget = AbstractWidget.extend({ + template: 'kpi_dashboard.meter', + jsLibs: [ + '/kpi_dashboard/static/lib/gauge/GaugeMeter.js', + ], + fillWidget: function (values) { + var input = this.$el.find('[data-bind="value"]'); + var options = this._getMeterOptions(values); + var margin = (this.widget_dimension_x - options.size)/2; + input.gaugeMeter(options); + input.parent().css('padding-left', margin); + }, + _getMeterOptions: function (values) { + var size = Math.min( + this.widget_size_x, + this.widget_size_y - 40) - 10; + return { + percent: values.value.value, + style: 'Arch', + width: 10, + size: size, + prepend: values.prefix !== undefined ? values.prefix : '', + append: values.suffix !== undefined ? values.suffix : '', + color: values.font_color, + animate_text_colors: true, + }; + }, + }); + + registry.add('meter', MeterWidget); + return MeterWidget; +}); diff --git a/kpi_dashboard/static/src/js/widget/number_widget.js b/kpi_dashboard/static/src/js/widget/number_widget.js new file mode 100644 index 000000000..987c612e5 --- /dev/null +++ b/kpi_dashboard/static/src/js/widget/number_widget.js @@ -0,0 +1,72 @@ +odoo.define('kpi_dashboard.NumberWidget', function (require) { + "use strict"; + + var AbstractWidget = require('kpi_dashboard.AbstractWidget'); + var registry = require('kpi_dashboard.widget_registry'); + var field_utils = require('web.field_utils'); + + + var NumberWidget = AbstractWidget.extend({ + template: 'kpi_dashboard.number', + shortNumber: function (num) { + if (Math.abs(num) >= 1000000000000) { + return field_utils.format.integer(num / 1000000000000, false, { + digits: [3, 1]}) + 'T'; + } + if (Math.abs(num) >= 1000000000) { + return field_utils.format.integer(num / 1000000000, false, { + digits: [3,1]}) + 'G'; + } + if (Math.abs(num) >= 1000000) { + return field_utils.format.integer(num / 1000000, false, { + digits: [3, 1]}) + 'M'; + } + if (Math.abs(num) >= 1000) { + return field_utils.format.float(num / 1000, false, { + digits: [3, 1]}) + 'K'; + } + if (Math.abs(num) >= 10) { + return field_utils.format.float(num, false, { + digits: [3, 1]}); + } + return field_utils.format.float(num, false, { + digits: [3, 2]}); + }, + fillWidget: function (values) { + var widget = this.$el; + var value = values.value.value; + if (value === undefined) { + value = 0; + } + var item = widget.find('[data-bind="value"]'); + if (item) { + item.text(this.shortNumber(value)); + } + var previous = values.value.previous; + + var $change_rate = widget.find('.change-rate'); + if (previous === undefined) { + $change_rate.toggleClass('active', false); + } else { + var difference = 0; + if (previous !== 0) { + difference = field_utils.format.integer( + (100 * value / previous) - 100) + '%'; + } + $change_rate.toggleClass('active', true); + var $difference = widget.find('[data-bind="difference"]'); + $difference.text(difference); + var $arrow = widget.find('[data-bind="arrow"]'); + if (value < previous) { + $arrow.toggleClass('fa-arrow-up', false); + $arrow.toggleClass('fa-arrow-down', true); + } else { + $arrow.toggleClass('fa-arrow-up', true); + $arrow.toggleClass('fa-arrow-down', false); + } + } + }, + }); + registry.add('number', NumberWidget); + return NumberWidget; +}); diff --git a/kpi_dashboard/static/src/js/widget/text_widget.js b/kpi_dashboard/static/src/js/widget/text_widget.js new file mode 100644 index 000000000..2af3774f4 --- /dev/null +++ b/kpi_dashboard/static/src/js/widget/text_widget.js @@ -0,0 +1,17 @@ +odoo.define('kpi_dashboard.TextWidget', function (require) { + "use strict"; + + var AbstractWidget = require('kpi_dashboard.AbstractWidget'); + var registry = require('kpi_dashboard.widget_registry'); + + + var TextWidget = AbstractWidget.extend({ + template: 'kpi_dashboard.base_text', + fillWidget: function () { + return; + }, + }); + + registry.add('base_text', TextWidget); + return TextWidget; +}); diff --git a/kpi_dashboard/static/src/js/widget_registry.js b/kpi_dashboard/static/src/js/widget_registry.js new file mode 100644 index 000000000..1616886b3 --- /dev/null +++ b/kpi_dashboard/static/src/js/widget_registry.js @@ -0,0 +1,7 @@ +odoo.define('kpi_dashboard.widget_registry', function (require) { + "use strict"; + + var Registry = require('web.Registry'); + + return new Registry(); +}); diff --git a/kpi_dashboard/static/src/scss/kpi_dashboard.scss b/kpi_dashboard/static/src/scss/kpi_dashboard.scss new file mode 100644 index 000000000..fb580e2a0 --- /dev/null +++ b/kpi_dashboard/static/src/scss/kpi_dashboard.scss @@ -0,0 +1,112 @@ +.o_dashboard_view { + height: 100%; + @include o-webclient-padding($top: $o-horizontal-padding/2, $bottom: $o-horizontal-padding/2); + display: flex; + >.gridster { + margin: 0 auto; + >ul { + >li { + text-align: center; + list-style: none outside none; + } + } + } + .updated_at { + font-size: 15px; + position: absolute; + bottom: 0px; + left: 0; + right: 0; + } + .gs-w { + padding: 10px; + } + .centered { + position: absolute; + left: 0; + right: 0; + } + .numbervalue { + text-transform: uppercase; + font-size: 54px; + font-weight: 700; + } + .change-rate { + font-weight: 500; + font-size: 30px; + } + .hidden { + display: none; + } + .o_kpi_dashboard_toggle_button { + position: absolute; + right: 0px; + top: 0px; + margin: -1px -1px auto auto; + padding: 8px 16px; + border: 1px solid transparent; + border-bottom: none; + height: 35px; + } + .o_kpi_dashboard_manage_panel { + @include o-position-absolute($right: -1px, $top: 34px); + margin-top: -1px; + &.container { + width: 95%; + max-width: 400px; + } + .o_kpi_dashboard_manage_section { + border-bottom: 1px solid gray('300'); + margin-bottom: 10px; + } + > div { + padding: 3px 0 3px 20px; + visibility: visible; + margin-bottom: 5px; + } + } + .o_dropdown_open { + .o_kpi_dashboard_manage_panel { + display: block; + } + .o_kpi_dashboard_toggle_button { + background: white; + border-color: gray('400'); + z-index: $zindex-dropdown + 1; + } + } + .GaugeMeter { + position: relative; + text-align: center; + left: 0; + right: 0; + overflow: hidden; + cursor: default; + span, b{ + margin: 0 23%; + width: 54%; + position: absolute; + text-align: center; + display: inline-block; + font-height: 100; + overflow: hidden; + white-space: nowrap; + text-overflow: ellipsis; + } + [data-style="Semi"] B{ + Margin: 0 10%; + Width: 80%; + } + S, U{ + Text-Decoration:None; + font-height: 100; + } + B{ + Color: Black; + Font-Weight: 200; + Font-Size: 0.85em; + Opacity: .8; + } + } + +} diff --git a/kpi_dashboard/static/src/xml/dashboard.xml b/kpi_dashboard/static/src/xml/dashboard.xml new file mode 100644 index 000000000..c9c815416 --- /dev/null +++ b/kpi_dashboard/static/src/xml/dashboard.xml @@ -0,0 +1,76 @@ + +
+
    +
+ + +
  • + + +
    +

    +

    +
    + + + +
    + Go to +
    +
    +
    +
    + +
    + +

    +

    +

    +

    +
    + + +

    + +

    +

    + + +

    +
    +
    + + +
    +
    +
    + + + + +
    +
    +
    + + + + + + diff --git a/kpi_dashboard/views/kpi_dashboard.xml b/kpi_dashboard/views/kpi_dashboard.xml new file mode 100644 index 000000000..eba046637 --- /dev/null +++ b/kpi_dashboard/views/kpi_dashboard.xml @@ -0,0 +1,111 @@ + + + + + + + kpi.dashboard.form (in kpi_dashboard) + kpi.dashboard + +
    +
    + +
    +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + + + + + + kpi.dashboard.search (in kpi_dashboard) + kpi.dashboard + + + + + + + + + kpi.dashboard.tree (in kpi_dashboard) + kpi.dashboard + + + + + + + + + kpi.dashboard.dashboard (in kpi_dashboard) + kpi.dashboard + + + + + + + Kpi Dashboard + kpi.dashboard + tree,form,dashboard + [] + {} + + + + Configure Dashboard + + + + + + diff --git a/kpi_dashboard/views/kpi_kpi.xml b/kpi_dashboard/views/kpi_kpi.xml new file mode 100644 index 000000000..924d97068 --- /dev/null +++ b/kpi_dashboard/views/kpi_kpi.xml @@ -0,0 +1,89 @@ + + + + + + + kpi.kpi.form (in kpi_dashboard) + kpi.kpi + +
    +
    +
    + +
    +

    + +

    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + kpi.kpi.search (in kpi_dashboard) + kpi.kpi + + + + + + + + + kpi.kpi.tree (in kpi_dashboard) + kpi.kpi + + + + + + + + + Kpi + kpi.kpi + tree,form + [] + {} + + + + Configure Kpi + + + + + + diff --git a/kpi_dashboard/views/kpi_menu.xml b/kpi_dashboard/views/kpi_menu.xml new file mode 100644 index 000000000..eb836c90f --- /dev/null +++ b/kpi_dashboard/views/kpi_menu.xml @@ -0,0 +1,12 @@ + + + + + + + diff --git a/kpi_dashboard/views/webclient_templates.xml b/kpi_dashboard/views/webclient_templates.xml new file mode 100644 index 000000000..0dc8fce71 --- /dev/null +++ b/kpi_dashboard/views/webclient_templates.xml @@ -0,0 +1,25 @@ + + + + + + + diff --git a/bi_view_editor/templates/qweb_template.xml b/bi_view_editor/templates/qweb_template.xml new file mode 100644 index 000000000..fae5371b7 --- /dev/null +++ b/bi_view_editor/templates/qweb_template.xml @@ -0,0 +1,54 @@ + + + +
    +

    Please choose the join node

    +
    +
    +
    +
    + + + +
    + +
    + +
    + +
    +
    +
    +
    + + + + + + + + + + + +
    NameModelOptions
    +
    +
    +
    + +
      + +
    • Column
    • +
    • Row
    • +
    • Measure
    • + +
    +
    +
    +
    diff --git a/bi_view_editor/tests/__init__.py b/bi_view_editor/tests/__init__.py new file mode 100644 index 000000000..8cde8cac4 --- /dev/null +++ b/bi_view_editor/tests/__init__.py @@ -0,0 +1,5 @@ +# -*- coding: utf-8 -*- +# Copyright 2017 Onestein () +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). + +from . import test_bi_view diff --git a/bi_view_editor/tests/test_bi_view.py b/bi_view_editor/tests/test_bi_view.py new file mode 100644 index 000000000..b4f4f24b1 --- /dev/null +++ b/bi_view_editor/tests/test_bi_view.py @@ -0,0 +1,227 @@ +# -*- coding: utf-8 -*- +# Copyright 2017 Onestein () +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). + +from openerp.tests.common import TransactionCase, at_install, post_install +from openerp.exceptions import Warning as UserError + + +class TestBiViewEditor(TransactionCase): + + def setUp(self): + + def _get_models(model_name_list): + Model = self.env['ir.model'] + return (Model.search( + [('model', '=', name)]) for name in model_name_list) + + def _get_fields(model_field_list): + ModelFields = self.env['ir.model.fields'] + return (ModelFields.search( + [('model', '=', model_field[0]), + ('name', '=', model_field[1])], + limit=1) for model_field in model_field_list) + + def get_new_field(self): + new_field = { + 'model_id': self.partner_model.id, + 'name': self.partner_field_name, + 'custom': False, + 'id': self.partner_field.id, + 'model': self.partner_model_name, + 'type': self.partner_field.ttype, + 'model_name': self.partner_model.name, + 'description': self.partner_field.field_description + } + return new_field + + super(TestBiViewEditor, self).setUp() + self.partner_model_name = 'res.partner' + self.partner_field_name = 'name' + self.partner_company_field_name = 'company_id' + self.company_model_name = 'res.company' + self.company_field_name = 'name' + + self.bi_view1 = None + + self.partner_model, self.company_model = _get_models( + [self.partner_model_name, self.company_model_name]) + + (self.partner_field, + self.partner_company_field, + self.company_field) = _get_fields([ + (self.partner_model_name, self.partner_field_name), + (self.partner_model_name, self.partner_company_field_name), + (self.company_model_name, self.company_field_name)]) + + data = [ + {'model_id': self.partner_model.id, + 'name': self.partner_field_name, + 'model_name': self.partner_model.name, + 'model': self.partner_model_name, + 'custom': 0, + 'type': self.partner_field.ttype, + 'id': self.partner_field.id, + 'description': self.partner_field.field_description, + 'table_alias': 't0', + 'row': 0, + 'column': 1, + 'measure': 0 + }, + {'model_id': self.partner_model.id, + 'name': self.partner_company_field_name, + 'table_alias': 't0', + 'custom': 0, + 'relation': self.company_model_name, + 'model': self.partner_model_name, + 'model_name': self.partner_model.name, + 'type': self.partner_company_field.ttype, + 'id': self.partner_company_field.id, + 'join_node': 't1', + 'description': self.partner_company_field.field_description, + 'row': 0, + 'column': 0, + 'measure': 0 + }, + {'model_id': self.company_model.id, + 'name': 'name_1', + 'model_name': self.company_model.name, + 'model': self.company_model_name, + 'custom': 0, + 'type': self.company_field.ttype, + 'id': self.company_field.id, + 'description': self.company_field.field_description, + 'table_alias': 't1', + 'row': 1, + 'column': 0, + 'measure': 0 + } + ] + format_data = self.env['bve.view']._get_format_data(str(data)) + + self.bi_view1_vals = { + 'state': 'draft', + 'data': format_data + } + + self.new_field = get_new_field(self) + + def test_01_get_fields(self): + Model = self.env['ir.model'] + fields = Model.get_fields(self.partner_model.id) + self.assertIsInstance(fields, list) + self.assertGreater(len(fields), 0) + + def test_02_get_join_nodes(self): + Fields = self.env['ir.model.fields'] + field_res_users = Fields.search([ + ('name', '=', 'login'), + ('model', '=', 'res.users') + ], limit=1) + field_data = [{ + 'model_id': field_res_users.model_id.id, + 'name': 'login', + 'column': False, + 'table_alias': 't0', + 'custom': False, + 'measure': False, + 'id': field_res_users.id, + 'model': 'res.users', + 'row': False, + 'type': 'char', + 'model_name': 'Users', + 'description': 'Login' + }] + new_field = self.new_field + Model = self.env['ir.model'] + nodes = Model.get_join_nodes(field_data, new_field) + self.assertIsInstance(nodes, list) + self.assertGreater(len(nodes), 0) + + def test_03_get_join_nodes(self): + new_field = self.new_field + Model = self.env['ir.model'] + nodes = Model.get_join_nodes([], new_field) + self.assertIsInstance(nodes, list) + self.assertEqual(len(nodes), 0) + + def test_04_get_related_models(self): + Model = self.env['ir.model'] + related_models = Model.get_related_models({ + 't0': self.partner_model.id, + 't1': self.company_model.id + }) + self.assertIsInstance(related_models, list) + self.assertGreater(len(related_models), 0) + + def test_05_create_copy_view(self): + vals = self.bi_view1_vals + vals.update({'name': 'Test View1'}) + + # create + bi_view1 = self.env['bve.view'].create(vals) + self.assertIsNotNone(bi_view1) + self.assertEqual(len(bi_view1), 1) + self.assertEqual(bi_view1.state, 'draft') + + # copy + bi_view2 = bi_view1.copy() + self.assertEqual(bi_view2.name, 'Test View1 (copy)') + + def test_06_create_group_bve_object(self): + vals = self.bi_view1_vals + employees_group = self.env.ref('base.group_user') + vals.update({ + 'name': 'Test View2', + 'group_ids': [(6, 0, [employees_group.id])], + }) + + bi_view2 = self.env['bve.view'].create(vals) + self.assertEqual(len(bi_view2.user_ids), len(employees_group.users)) + + def test_07_check_empty_data(self): + vals = { + 'name': 'Test View Empty', + 'state': 'draft', + 'data': '' + } + bi_view4 = self.env['bve.view'].create(vals) + self.assertEqual(len(bi_view4), 1) + + # create sql view + with self.assertRaises(UserError): + bi_view4.action_create() + + def test_08_get_models(self): + Model = self.env['ir.model'] + models = Model.get_models() + self.assertIsInstance(models, list) + self.assertGreater(len(models), 0) + + @at_install(False) + @post_install(True) + def test_09_create_open_bve_object(self): + vals = self.bi_view1_vals + employees_group = self.env.ref('base.group_user') + vals.update({ + 'name': 'Test View4', + 'group_ids': [(6, 0, [employees_group.id])], + }) + bi_view = self.env['bve.view'].create(vals) + self.assertEqual(len(bi_view), 1) + + # create bve object + bi_view.action_create() + model = self.env['ir.model'].search([ + ('model', '=', 'x_bve.testview4'), + ('name', '=', 'Test View4') + ]) + self.assertEqual(len(model), 1) + + # open view + open_action = bi_view.open_view() + self.assertEqual(isinstance(open_action, dict), True) + + # try to remove view + with self.assertRaises(UserError): + bi_view.unlink() diff --git a/bi_view_editor/views/bve_view.xml b/bi_view_editor/views/bve_view.xml new file mode 100644 index 000000000..7152ad02c --- /dev/null +++ b/bi_view_editor/views/bve_view.xml @@ -0,0 +1,69 @@ + + + + + bve.view + + + + + + + + + bve.view + +
    +
    +
    + +

    + +

    + + + + + + + + + + + + + +
    +
    +
    +
    + + + Custom BI Views + ir.actions.act_window + bve.view + form + tree,form + +

    + Click to create a Custom Query Object. +

    +

    + +

    +
    +
    + + + + +
    From 7f6d3592372f0c2f4d42bb68d8ee4ed196ba4f52 Mon Sep 17 00:00:00 2001 From: Andrea Date: Mon, 6 Mar 2017 09:48:49 +0100 Subject: [PATCH 034/404] [MIG+IMP] bi_view_editor: Migration to v10 + enhancements * Add menu items creation feature * Added selection of fields of a tree view * Improved usability and strings made translatable * Avoid display duplicated nodes * Robustness * Updated Dutch translation * Avoid possible sql injection in bi_view_editor * Removed deprecated RegistryManager --- bi_view_editor/README.rst | 8 +- bi_view_editor/__init__.py | 1 + bi_view_editor/__manifest__.py | 7 +- bi_view_editor/i18n/am.po | 2 +- bi_view_editor/i18n/ar.po | 2 +- bi_view_editor/i18n/bg.po | 2 +- bi_view_editor/i18n/bs.po | 2 +- bi_view_editor/i18n/ca.po | 2 +- bi_view_editor/i18n/cs.po | 2 +- bi_view_editor/i18n/da.po | 2 +- bi_view_editor/i18n/de.po | 2 +- bi_view_editor/i18n/el_GR.po | 2 +- bi_view_editor/i18n/en_GB.po | 2 +- bi_view_editor/i18n/es.po | 2 +- bi_view_editor/i18n/es_AR.po | 2 +- bi_view_editor/i18n/es_CL.po | 2 +- bi_view_editor/i18n/es_CO.po | 2 +- bi_view_editor/i18n/es_CR.po | 2 +- bi_view_editor/i18n/es_DO.po | 2 +- bi_view_editor/i18n/es_EC.po | 2 +- bi_view_editor/i18n/es_ES.po | 2 +- bi_view_editor/i18n/es_MX.po | 2 +- bi_view_editor/i18n/es_PE.po | 2 +- bi_view_editor/i18n/es_PY.po | 2 +- bi_view_editor/i18n/es_VE.po | 2 +- bi_view_editor/i18n/et.po | 2 +- bi_view_editor/i18n/eu.po | 2 +- bi_view_editor/i18n/fa.po | 2 +- bi_view_editor/i18n/fi.po | 2 +- bi_view_editor/i18n/fr.po | 2 +- bi_view_editor/i18n/fr_CA.po | 2 +- bi_view_editor/i18n/fr_CH.po | 2 +- bi_view_editor/i18n/gl.po | 2 +- bi_view_editor/i18n/gl_ES.po | 2 +- bi_view_editor/i18n/he.po | 2 +- bi_view_editor/i18n/hr.po | 2 +- bi_view_editor/i18n/hr_HR.po | 2 +- bi_view_editor/i18n/hu.po | 2 +- bi_view_editor/i18n/id.po | 2 +- bi_view_editor/i18n/it.po | 2 +- bi_view_editor/i18n/ja.po | 2 +- bi_view_editor/i18n/ko.po | 2 +- bi_view_editor/i18n/lt.po | 2 +- bi_view_editor/i18n/lt_LT.po | 2 +- bi_view_editor/i18n/lv.po | 2 +- bi_view_editor/i18n/mk.po | 2 +- bi_view_editor/i18n/mn.po | 2 +- bi_view_editor/i18n/nb.po | 2 +- bi_view_editor/i18n/nb_NO.po | 2 +- bi_view_editor/i18n/nl.po | 66 +-- bi_view_editor/i18n/nl_BE.po | 2 +- bi_view_editor/i18n/pl.po | 2 +- bi_view_editor/i18n/pt.po | 2 +- bi_view_editor/i18n/pt_BR.po | 2 +- bi_view_editor/i18n/pt_PT.po | 2 +- bi_view_editor/i18n/ro.po | 2 +- bi_view_editor/i18n/ru.po | 2 +- bi_view_editor/i18n/sk.po | 2 +- bi_view_editor/i18n/sl.po | 2 +- bi_view_editor/i18n/sr.po | 2 +- bi_view_editor/i18n/sr@latin.po | 2 +- bi_view_editor/i18n/sv.po | 2 +- bi_view_editor/i18n/th.po | 2 +- bi_view_editor/i18n/tr.po | 2 +- bi_view_editor/i18n/tr_TR.po | 2 +- bi_view_editor/i18n/uk.po | 2 +- bi_view_editor/i18n/vi.po | 2 +- bi_view_editor/i18n/vi_VN.po | 2 +- bi_view_editor/i18n/zh_CN.po | 2 +- bi_view_editor/i18n/zh_TW.po | 2 +- bi_view_editor/models/__init__.py | 1 + bi_view_editor/models/bve_view.py | 416 ++++++++++-------- bi_view_editor/models/ir_model.py | 193 ++++---- bi_view_editor/models/models.py | 61 +++ bi_view_editor/security/ir.model.access.csv | 1 - bi_view_editor/static/src/js/bve.js | 172 +++++--- bi_view_editor/templates/qweb_template.xml | 8 +- bi_view_editor/tests/test_bi_view.py | 7 +- bi_view_editor/views/bve_view.xml | 1 + bi_view_editor/wizard/__init__.py | 5 + .../wizard/wizard_ir_model_menu_create.py | 39 ++ 81 files changed, 656 insertions(+), 462 deletions(-) mode change 100644 => 100755 bi_view_editor/i18n/nl.po create mode 100644 bi_view_editor/models/models.py create mode 100644 bi_view_editor/wizard/__init__.py create mode 100644 bi_view_editor/wizard/wizard_ir_model_menu_create.py diff --git a/bi_view_editor/README.rst b/bi_view_editor/README.rst index f347a1b71..66c2afbcd 100644 --- a/bi_view_editor/README.rst +++ b/bi_view_editor/README.rst @@ -28,17 +28,18 @@ Usage To graphically design your analysis data-set: -- From the Reporting menu, select "Custom BI Views" +- From the Dashboards menu, select "Custom BI Views" - Browse trough the business objects in the Query tab - Pick the interesting fields (Drag & Drop) -- For each selected field, right-click on the Options column and select whether it's a row, column or measure +- For each selected field, right-click on the Options column and select whether it's a row, column or measure; if you want to remove the field from the list view, unflag the checkbox ´List´ in the Options column - Save and click "Generate BI View" - Click "Open BI View" to view the result - If module Dashboard (board) is installed, the standard "Add to My Dashboard" functionality would be available +- Click "Create a menu" to create a new menu item directly linked to your new BI view (this feature is available in developer mode); when the BI view is reset back to draft this menu will be removed, and you will need to re-create the menu entry. .. image:: https://odoo-community.org/website/image/ir.attachment/5784_f2813bd/datas :alt: Try me on Runbot - :target: https://runbot.odoo-community.org/runbot/143/9.0 + :target: https://runbot.odoo-community.org/runbot/143/10.0 Known issues / Roadmap ====================== @@ -47,6 +48,7 @@ Known issues / Roadmap * Provide graph view for table relations * Extend the capabilities of the tree views (e.g. add sums) * Provide a tutorial (eg. a working example of usage) +* Implement a more advanced UI, with possibilities to use LEFT JOIN as default instead of INNER JOIN Bug Tracker =========== diff --git a/bi_view_editor/__init__.py b/bi_view_editor/__init__.py index d4da6d0f7..2bd76b602 100644 --- a/bi_view_editor/__init__.py +++ b/bi_view_editor/__init__.py @@ -3,4 +3,5 @@ # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). from . import models +from . import wizard from .hooks import uninstall_hook diff --git a/bi_view_editor/__manifest__.py b/bi_view_editor/__manifest__.py index a2fa6f0e1..94177ed99 100644 --- a/bi_view_editor/__manifest__.py +++ b/bi_view_editor/__manifest__.py @@ -10,7 +10,7 @@ 'license': 'AGPL-3', 'website': 'http://www.onestein.eu', 'category': 'Reporting', - 'version': '9.0.1.0.0', + 'version': '10.0.1.0.1', 'depends': [ 'base', 'web' @@ -24,9 +24,6 @@ 'qweb': [ 'templates/qweb_template.xml', ], - 'js': [ - 'static/src/js/bve.js' - ], - 'installable': False, + 'installable': True, 'uninstall_hook': 'uninstall_hook' } diff --git a/bi_view_editor/i18n/am.po b/bi_view_editor/i18n/am.po index 305a72733..d3d1c11ce 100644 --- a/bi_view_editor/i18n/am.po +++ b/bi_view_editor/i18n/am.po @@ -180,7 +180,7 @@ msgstr "" #: help:bve.view,data:0 msgid "" "Use the special query builder to define the query to generate your report " -"dataset. NOTE: Te be edited, the query should be in 'Draft' status." +"dataset. NOTE: To be edited, the query should be in 'Draft' status." msgstr "" #. module: bi_view_editor diff --git a/bi_view_editor/i18n/ar.po b/bi_view_editor/i18n/ar.po index 66466c167..d78da9a8a 100644 --- a/bi_view_editor/i18n/ar.po +++ b/bi_view_editor/i18n/ar.po @@ -180,7 +180,7 @@ msgstr "" #: help:bve.view,data:0 msgid "" "Use the special query builder to define the query to generate your report " -"dataset. NOTE: Te be edited, the query should be in 'Draft' status." +"dataset. NOTE: To be edited, the query should be in 'Draft' status." msgstr "" #. module: bi_view_editor diff --git a/bi_view_editor/i18n/bg.po b/bi_view_editor/i18n/bg.po index 68a456290..0af37f7d8 100644 --- a/bi_view_editor/i18n/bg.po +++ b/bi_view_editor/i18n/bg.po @@ -180,7 +180,7 @@ msgstr "" #: help:bve.view,data:0 msgid "" "Use the special query builder to define the query to generate your report " -"dataset. NOTE: Te be edited, the query should be in 'Draft' status." +"dataset. NOTE: To be edited, the query should be in 'Draft' status." msgstr "" #. module: bi_view_editor diff --git a/bi_view_editor/i18n/bs.po b/bi_view_editor/i18n/bs.po index 440528cdf..b60ca0fc3 100644 --- a/bi_view_editor/i18n/bs.po +++ b/bi_view_editor/i18n/bs.po @@ -180,7 +180,7 @@ msgstr "" #: help:bve.view,data:0 msgid "" "Use the special query builder to define the query to generate your report " -"dataset. NOTE: Te be edited, the query should be in 'Draft' status." +"dataset. NOTE: To be edited, the query should be in 'Draft' status." msgstr "" #. module: bi_view_editor diff --git a/bi_view_editor/i18n/ca.po b/bi_view_editor/i18n/ca.po index 4670b0fb4..379d2e385 100644 --- a/bi_view_editor/i18n/ca.po +++ b/bi_view_editor/i18n/ca.po @@ -180,7 +180,7 @@ msgstr "Estat" #: help:bve.view,data:0 msgid "" "Use the special query builder to define the query to generate your report " -"dataset. NOTE: Te be edited, the query should be in 'Draft' status." +"dataset. NOTE: To be edited, the query should be in 'Draft' status." msgstr "" #. module: bi_view_editor diff --git a/bi_view_editor/i18n/cs.po b/bi_view_editor/i18n/cs.po index 4d5e07d97..4ca499d0d 100644 --- a/bi_view_editor/i18n/cs.po +++ b/bi_view_editor/i18n/cs.po @@ -180,7 +180,7 @@ msgstr "" #: help:bve.view,data:0 msgid "" "Use the special query builder to define the query to generate your report " -"dataset. NOTE: Te be edited, the query should be in 'Draft' status." +"dataset. NOTE: To be edited, the query should be in 'Draft' status." msgstr "" #. module: bi_view_editor diff --git a/bi_view_editor/i18n/da.po b/bi_view_editor/i18n/da.po index 3d2b578e2..845ebf1e9 100644 --- a/bi_view_editor/i18n/da.po +++ b/bi_view_editor/i18n/da.po @@ -180,7 +180,7 @@ msgstr "" #: help:bve.view,data:0 msgid "" "Use the special query builder to define the query to generate your report " -"dataset. NOTE: Te be edited, the query should be in 'Draft' status." +"dataset. NOTE: To be edited, the query should be in 'Draft' status." msgstr "" #. module: bi_view_editor diff --git a/bi_view_editor/i18n/de.po b/bi_view_editor/i18n/de.po index 467a3f8be..e0901591a 100644 --- a/bi_view_editor/i18n/de.po +++ b/bi_view_editor/i18n/de.po @@ -180,7 +180,7 @@ msgstr "Status" #: help:bve.view,data:0 msgid "" "Use the special query builder to define the query to generate your report " -"dataset. NOTE: Te be edited, the query should be in 'Draft' status." +"dataset. NOTE: To be edited, the query should be in 'Draft' status." msgstr "" #. module: bi_view_editor diff --git a/bi_view_editor/i18n/el_GR.po b/bi_view_editor/i18n/el_GR.po index 0d92f28e2..e049c9b5e 100644 --- a/bi_view_editor/i18n/el_GR.po +++ b/bi_view_editor/i18n/el_GR.po @@ -180,7 +180,7 @@ msgstr "" #: help:bve.view,data:0 msgid "" "Use the special query builder to define the query to generate your report " -"dataset. NOTE: Te be edited, the query should be in 'Draft' status." +"dataset. NOTE: To be edited, the query should be in 'Draft' status." msgstr "" #. module: bi_view_editor diff --git a/bi_view_editor/i18n/en_GB.po b/bi_view_editor/i18n/en_GB.po index 3a815d91e..c246b2382 100644 --- a/bi_view_editor/i18n/en_GB.po +++ b/bi_view_editor/i18n/en_GB.po @@ -180,7 +180,7 @@ msgstr "" #: help:bve.view,data:0 msgid "" "Use the special query builder to define the query to generate your report " -"dataset. NOTE: Te be edited, the query should be in 'Draft' status." +"dataset. NOTE: To be edited, the query should be in 'Draft' status." msgstr "" #. module: bi_view_editor diff --git a/bi_view_editor/i18n/es.po b/bi_view_editor/i18n/es.po index fc13c8905..bfe74bf55 100644 --- a/bi_view_editor/i18n/es.po +++ b/bi_view_editor/i18n/es.po @@ -181,7 +181,7 @@ msgstr "Estado" #: help:bve.view,data:0 msgid "" "Use the special query builder to define the query to generate your report " -"dataset. NOTE: Te be edited, the query should be in 'Draft' status." +"dataset. NOTE: To be edited, the query should be in 'Draft' status." msgstr "Usa el constructor especial de consultas para definir la consulta del informe de datos. NOTA: para ser editada, la consulta debe estar en estado 'Borrador'" #. module: bi_view_editor diff --git a/bi_view_editor/i18n/es_AR.po b/bi_view_editor/i18n/es_AR.po index 09e10c712..32c9ac50d 100644 --- a/bi_view_editor/i18n/es_AR.po +++ b/bi_view_editor/i18n/es_AR.po @@ -180,7 +180,7 @@ msgstr "" #: help:bve.view,data:0 msgid "" "Use the special query builder to define the query to generate your report " -"dataset. NOTE: Te be edited, the query should be in 'Draft' status." +"dataset. NOTE: To be edited, the query should be in 'Draft' status." msgstr "" #. module: bi_view_editor diff --git a/bi_view_editor/i18n/es_CL.po b/bi_view_editor/i18n/es_CL.po index 86f7d6877..bc40b717c 100644 --- a/bi_view_editor/i18n/es_CL.po +++ b/bi_view_editor/i18n/es_CL.po @@ -180,7 +180,7 @@ msgstr "" #: help:bve.view,data:0 msgid "" "Use the special query builder to define the query to generate your report " -"dataset. NOTE: Te be edited, the query should be in 'Draft' status." +"dataset. NOTE: To be edited, the query should be in 'Draft' status." msgstr "" #. module: bi_view_editor diff --git a/bi_view_editor/i18n/es_CO.po b/bi_view_editor/i18n/es_CO.po index 4e32d4d9b..378f04fb4 100644 --- a/bi_view_editor/i18n/es_CO.po +++ b/bi_view_editor/i18n/es_CO.po @@ -180,7 +180,7 @@ msgstr "" #: help:bve.view,data:0 msgid "" "Use the special query builder to define the query to generate your report " -"dataset. NOTE: Te be edited, the query should be in 'Draft' status." +"dataset. NOTE: To be edited, the query should be in 'Draft' status." msgstr "" #. module: bi_view_editor diff --git a/bi_view_editor/i18n/es_CR.po b/bi_view_editor/i18n/es_CR.po index 0a6aae1dc..998c41400 100644 --- a/bi_view_editor/i18n/es_CR.po +++ b/bi_view_editor/i18n/es_CR.po @@ -180,7 +180,7 @@ msgstr "" #: help:bve.view,data:0 msgid "" "Use the special query builder to define the query to generate your report " -"dataset. NOTE: Te be edited, the query should be in 'Draft' status." +"dataset. NOTE: To be edited, the query should be in 'Draft' status." msgstr "" #. module: bi_view_editor diff --git a/bi_view_editor/i18n/es_DO.po b/bi_view_editor/i18n/es_DO.po index d76670828..63cee89f6 100644 --- a/bi_view_editor/i18n/es_DO.po +++ b/bi_view_editor/i18n/es_DO.po @@ -180,7 +180,7 @@ msgstr "" #: help:bve.view,data:0 msgid "" "Use the special query builder to define the query to generate your report " -"dataset. NOTE: Te be edited, the query should be in 'Draft' status." +"dataset. NOTE: To be edited, the query should be in 'Draft' status." msgstr "" #. module: bi_view_editor diff --git a/bi_view_editor/i18n/es_EC.po b/bi_view_editor/i18n/es_EC.po index e912e08ea..aac7c9b29 100644 --- a/bi_view_editor/i18n/es_EC.po +++ b/bi_view_editor/i18n/es_EC.po @@ -180,7 +180,7 @@ msgstr "" #: help:bve.view,data:0 msgid "" "Use the special query builder to define the query to generate your report " -"dataset. NOTE: Te be edited, the query should be in 'Draft' status." +"dataset. NOTE: To be edited, the query should be in 'Draft' status." msgstr "" #. module: bi_view_editor diff --git a/bi_view_editor/i18n/es_ES.po b/bi_view_editor/i18n/es_ES.po index 1e70ae1d3..4be828739 100644 --- a/bi_view_editor/i18n/es_ES.po +++ b/bi_view_editor/i18n/es_ES.po @@ -180,7 +180,7 @@ msgstr "" #: help:bve.view,data:0 msgid "" "Use the special query builder to define the query to generate your report " -"dataset. NOTE: Te be edited, the query should be in 'Draft' status." +"dataset. NOTE: To be edited, the query should be in 'Draft' status." msgstr "" #. module: bi_view_editor diff --git a/bi_view_editor/i18n/es_MX.po b/bi_view_editor/i18n/es_MX.po index 42e5d6f51..f78e17146 100644 --- a/bi_view_editor/i18n/es_MX.po +++ b/bi_view_editor/i18n/es_MX.po @@ -180,7 +180,7 @@ msgstr "" #: help:bve.view,data:0 msgid "" "Use the special query builder to define the query to generate your report " -"dataset. NOTE: Te be edited, the query should be in 'Draft' status." +"dataset. NOTE: To be edited, the query should be in 'Draft' status." msgstr "" #. module: bi_view_editor diff --git a/bi_view_editor/i18n/es_PE.po b/bi_view_editor/i18n/es_PE.po index eb3368fe7..094495bd3 100644 --- a/bi_view_editor/i18n/es_PE.po +++ b/bi_view_editor/i18n/es_PE.po @@ -180,7 +180,7 @@ msgstr "" #: help:bve.view,data:0 msgid "" "Use the special query builder to define the query to generate your report " -"dataset. NOTE: Te be edited, the query should be in 'Draft' status." +"dataset. NOTE: To be edited, the query should be in 'Draft' status." msgstr "" #. module: bi_view_editor diff --git a/bi_view_editor/i18n/es_PY.po b/bi_view_editor/i18n/es_PY.po index 65bf63e92..9212daee9 100644 --- a/bi_view_editor/i18n/es_PY.po +++ b/bi_view_editor/i18n/es_PY.po @@ -180,7 +180,7 @@ msgstr "" #: help:bve.view,data:0 msgid "" "Use the special query builder to define the query to generate your report " -"dataset. NOTE: Te be edited, the query should be in 'Draft' status." +"dataset. NOTE: To be edited, the query should be in 'Draft' status." msgstr "" #. module: bi_view_editor diff --git a/bi_view_editor/i18n/es_VE.po b/bi_view_editor/i18n/es_VE.po index 51b1a5e93..941f4b0ee 100644 --- a/bi_view_editor/i18n/es_VE.po +++ b/bi_view_editor/i18n/es_VE.po @@ -180,7 +180,7 @@ msgstr "" #: help:bve.view,data:0 msgid "" "Use the special query builder to define the query to generate your report " -"dataset. NOTE: Te be edited, the query should be in 'Draft' status." +"dataset. NOTE: To be edited, the query should be in 'Draft' status." msgstr "" #. module: bi_view_editor diff --git a/bi_view_editor/i18n/et.po b/bi_view_editor/i18n/et.po index 15ea8a011..db1e0edcb 100644 --- a/bi_view_editor/i18n/et.po +++ b/bi_view_editor/i18n/et.po @@ -180,7 +180,7 @@ msgstr "" #: help:bve.view,data:0 msgid "" "Use the special query builder to define the query to generate your report " -"dataset. NOTE: Te be edited, the query should be in 'Draft' status." +"dataset. NOTE: To be edited, the query should be in 'Draft' status." msgstr "" #. module: bi_view_editor diff --git a/bi_view_editor/i18n/eu.po b/bi_view_editor/i18n/eu.po index eac537340..8887a23cc 100644 --- a/bi_view_editor/i18n/eu.po +++ b/bi_view_editor/i18n/eu.po @@ -180,7 +180,7 @@ msgstr "" #: help:bve.view,data:0 msgid "" "Use the special query builder to define the query to generate your report " -"dataset. NOTE: Te be edited, the query should be in 'Draft' status." +"dataset. NOTE: To be edited, the query should be in 'Draft' status." msgstr "" #. module: bi_view_editor diff --git a/bi_view_editor/i18n/fa.po b/bi_view_editor/i18n/fa.po index fee56cbea..198cd3d45 100644 --- a/bi_view_editor/i18n/fa.po +++ b/bi_view_editor/i18n/fa.po @@ -180,7 +180,7 @@ msgstr "" #: help:bve.view,data:0 msgid "" "Use the special query builder to define the query to generate your report " -"dataset. NOTE: Te be edited, the query should be in 'Draft' status." +"dataset. NOTE: To be edited, the query should be in 'Draft' status." msgstr "" #. module: bi_view_editor diff --git a/bi_view_editor/i18n/fi.po b/bi_view_editor/i18n/fi.po index fcb566816..bf1693d04 100644 --- a/bi_view_editor/i18n/fi.po +++ b/bi_view_editor/i18n/fi.po @@ -180,7 +180,7 @@ msgstr "Tila" #: help:bve.view,data:0 msgid "" "Use the special query builder to define the query to generate your report " -"dataset. NOTE: Te be edited, the query should be in 'Draft' status." +"dataset. NOTE: To be edited, the query should be in 'Draft' status." msgstr "" #. module: bi_view_editor diff --git a/bi_view_editor/i18n/fr.po b/bi_view_editor/i18n/fr.po index 3b301d72a..20d9b8336 100644 --- a/bi_view_editor/i18n/fr.po +++ b/bi_view_editor/i18n/fr.po @@ -180,7 +180,7 @@ msgstr "État" #: help:bve.view,data:0 msgid "" "Use the special query builder to define the query to generate your report " -"dataset. NOTE: Te be edited, the query should be in 'Draft' status." +"dataset. NOTE: To be edited, the query should be in 'Draft' status." msgstr "" #. module: bi_view_editor diff --git a/bi_view_editor/i18n/fr_CA.po b/bi_view_editor/i18n/fr_CA.po index 9d21e22d4..6570510d1 100644 --- a/bi_view_editor/i18n/fr_CA.po +++ b/bi_view_editor/i18n/fr_CA.po @@ -180,7 +180,7 @@ msgstr "" #: help:bve.view,data:0 msgid "" "Use the special query builder to define the query to generate your report " -"dataset. NOTE: Te be edited, the query should be in 'Draft' status." +"dataset. NOTE: To be edited, the query should be in 'Draft' status." msgstr "" #. module: bi_view_editor diff --git a/bi_view_editor/i18n/fr_CH.po b/bi_view_editor/i18n/fr_CH.po index 46ee3dd2f..4c4c3b5c2 100644 --- a/bi_view_editor/i18n/fr_CH.po +++ b/bi_view_editor/i18n/fr_CH.po @@ -180,7 +180,7 @@ msgstr "État" #: help:bve.view,data:0 msgid "" "Use the special query builder to define the query to generate your report " -"dataset. NOTE: Te be edited, the query should be in 'Draft' status." +"dataset. NOTE: To be edited, the query should be in 'Draft' status." msgstr "" #. module: bi_view_editor diff --git a/bi_view_editor/i18n/gl.po b/bi_view_editor/i18n/gl.po index 886ead888..81ce00a00 100644 --- a/bi_view_editor/i18n/gl.po +++ b/bi_view_editor/i18n/gl.po @@ -180,7 +180,7 @@ msgstr "" #: help:bve.view,data:0 msgid "" "Use the special query builder to define the query to generate your report " -"dataset. NOTE: Te be edited, the query should be in 'Draft' status." +"dataset. NOTE: To be edited, the query should be in 'Draft' status." msgstr "" #. module: bi_view_editor diff --git a/bi_view_editor/i18n/gl_ES.po b/bi_view_editor/i18n/gl_ES.po index f47710061..5ea4a4a24 100644 --- a/bi_view_editor/i18n/gl_ES.po +++ b/bi_view_editor/i18n/gl_ES.po @@ -180,7 +180,7 @@ msgstr "" #: help:bve.view,data:0 msgid "" "Use the special query builder to define the query to generate your report " -"dataset. NOTE: Te be edited, the query should be in 'Draft' status." +"dataset. NOTE: To be edited, the query should be in 'Draft' status." msgstr "" #. module: bi_view_editor diff --git a/bi_view_editor/i18n/he.po b/bi_view_editor/i18n/he.po index 31faf6f6b..9fd527ecf 100644 --- a/bi_view_editor/i18n/he.po +++ b/bi_view_editor/i18n/he.po @@ -180,7 +180,7 @@ msgstr "" #: help:bve.view,data:0 msgid "" "Use the special query builder to define the query to generate your report " -"dataset. NOTE: Te be edited, the query should be in 'Draft' status." +"dataset. NOTE: To be edited, the query should be in 'Draft' status." msgstr "" #. module: bi_view_editor diff --git a/bi_view_editor/i18n/hr.po b/bi_view_editor/i18n/hr.po index 0329f30e9..56bea157f 100644 --- a/bi_view_editor/i18n/hr.po +++ b/bi_view_editor/i18n/hr.po @@ -180,7 +180,7 @@ msgstr "Status" #: help:bve.view,data:0 msgid "" "Use the special query builder to define the query to generate your report " -"dataset. NOTE: Te be edited, the query should be in 'Draft' status." +"dataset. NOTE: To be edited, the query should be in 'Draft' status." msgstr "" #. module: bi_view_editor diff --git a/bi_view_editor/i18n/hr_HR.po b/bi_view_editor/i18n/hr_HR.po index 9963a3731..34958ccf3 100644 --- a/bi_view_editor/i18n/hr_HR.po +++ b/bi_view_editor/i18n/hr_HR.po @@ -180,7 +180,7 @@ msgstr "" #: help:bve.view,data:0 msgid "" "Use the special query builder to define the query to generate your report " -"dataset. NOTE: Te be edited, the query should be in 'Draft' status." +"dataset. NOTE: To be edited, the query should be in 'Draft' status." msgstr "" #. module: bi_view_editor diff --git a/bi_view_editor/i18n/hu.po b/bi_view_editor/i18n/hu.po index 38411b6cc..da3684443 100644 --- a/bi_view_editor/i18n/hu.po +++ b/bi_view_editor/i18n/hu.po @@ -180,7 +180,7 @@ msgstr "" #: help:bve.view,data:0 msgid "" "Use the special query builder to define the query to generate your report " -"dataset. NOTE: Te be edited, the query should be in 'Draft' status." +"dataset. NOTE: To be edited, the query should be in 'Draft' status." msgstr "" #. module: bi_view_editor diff --git a/bi_view_editor/i18n/id.po b/bi_view_editor/i18n/id.po index 41384bc3c..1c03bbdc3 100644 --- a/bi_view_editor/i18n/id.po +++ b/bi_view_editor/i18n/id.po @@ -180,7 +180,7 @@ msgstr "" #: help:bve.view,data:0 msgid "" "Use the special query builder to define the query to generate your report " -"dataset. NOTE: Te be edited, the query should be in 'Draft' status." +"dataset. NOTE: To be edited, the query should be in 'Draft' status." msgstr "" #. module: bi_view_editor diff --git a/bi_view_editor/i18n/it.po b/bi_view_editor/i18n/it.po index 5a33e030e..455486e9f 100644 --- a/bi_view_editor/i18n/it.po +++ b/bi_view_editor/i18n/it.po @@ -180,7 +180,7 @@ msgstr "Stato" #: help:bve.view,data:0 msgid "" "Use the special query builder to define the query to generate your report " -"dataset. NOTE: Te be edited, the query should be in 'Draft' status." +"dataset. NOTE: To be edited, the query should be in 'Draft' status." msgstr "" #. module: bi_view_editor diff --git a/bi_view_editor/i18n/ja.po b/bi_view_editor/i18n/ja.po index adfe2377e..aa1f66f7d 100644 --- a/bi_view_editor/i18n/ja.po +++ b/bi_view_editor/i18n/ja.po @@ -180,7 +180,7 @@ msgstr "" #: help:bve.view,data:0 msgid "" "Use the special query builder to define the query to generate your report " -"dataset. NOTE: Te be edited, the query should be in 'Draft' status." +"dataset. NOTE: To be edited, the query should be in 'Draft' status." msgstr "" #. module: bi_view_editor diff --git a/bi_view_editor/i18n/ko.po b/bi_view_editor/i18n/ko.po index 23ee1627a..d6aadac6c 100644 --- a/bi_view_editor/i18n/ko.po +++ b/bi_view_editor/i18n/ko.po @@ -180,7 +180,7 @@ msgstr "" #: help:bve.view,data:0 msgid "" "Use the special query builder to define the query to generate your report " -"dataset. NOTE: Te be edited, the query should be in 'Draft' status." +"dataset. NOTE: To be edited, the query should be in 'Draft' status." msgstr "" #. module: bi_view_editor diff --git a/bi_view_editor/i18n/lt.po b/bi_view_editor/i18n/lt.po index 8bef66e5a..d0ada9a70 100644 --- a/bi_view_editor/i18n/lt.po +++ b/bi_view_editor/i18n/lt.po @@ -180,7 +180,7 @@ msgstr "" #: help:bve.view,data:0 msgid "" "Use the special query builder to define the query to generate your report " -"dataset. NOTE: Te be edited, the query should be in 'Draft' status." +"dataset. NOTE: To be edited, the query should be in 'Draft' status." msgstr "" #. module: bi_view_editor diff --git a/bi_view_editor/i18n/lt_LT.po b/bi_view_editor/i18n/lt_LT.po index be8670c28..95d218ec6 100644 --- a/bi_view_editor/i18n/lt_LT.po +++ b/bi_view_editor/i18n/lt_LT.po @@ -180,7 +180,7 @@ msgstr "" #: help:bve.view,data:0 msgid "" "Use the special query builder to define the query to generate your report " -"dataset. NOTE: Te be edited, the query should be in 'Draft' status." +"dataset. NOTE: To be edited, the query should be in 'Draft' status." msgstr "" #. module: bi_view_editor diff --git a/bi_view_editor/i18n/lv.po b/bi_view_editor/i18n/lv.po index 910ddf9eb..2c281b66e 100644 --- a/bi_view_editor/i18n/lv.po +++ b/bi_view_editor/i18n/lv.po @@ -180,7 +180,7 @@ msgstr "" #: help:bve.view,data:0 msgid "" "Use the special query builder to define the query to generate your report " -"dataset. NOTE: Te be edited, the query should be in 'Draft' status." +"dataset. NOTE: To be edited, the query should be in 'Draft' status." msgstr "" #. module: bi_view_editor diff --git a/bi_view_editor/i18n/mk.po b/bi_view_editor/i18n/mk.po index e35012f37..5cf131da5 100644 --- a/bi_view_editor/i18n/mk.po +++ b/bi_view_editor/i18n/mk.po @@ -180,7 +180,7 @@ msgstr "" #: help:bve.view,data:0 msgid "" "Use the special query builder to define the query to generate your report " -"dataset. NOTE: Te be edited, the query should be in 'Draft' status." +"dataset. NOTE: To be edited, the query should be in 'Draft' status." msgstr "" #. module: bi_view_editor diff --git a/bi_view_editor/i18n/mn.po b/bi_view_editor/i18n/mn.po index 01b169dd9..acecd0034 100644 --- a/bi_view_editor/i18n/mn.po +++ b/bi_view_editor/i18n/mn.po @@ -180,7 +180,7 @@ msgstr "" #: help:bve.view,data:0 msgid "" "Use the special query builder to define the query to generate your report " -"dataset. NOTE: Te be edited, the query should be in 'Draft' status." +"dataset. NOTE: To be edited, the query should be in 'Draft' status." msgstr "" #. module: bi_view_editor diff --git a/bi_view_editor/i18n/nb.po b/bi_view_editor/i18n/nb.po index d8c8510c9..27c5738da 100644 --- a/bi_view_editor/i18n/nb.po +++ b/bi_view_editor/i18n/nb.po @@ -180,7 +180,7 @@ msgstr "" #: help:bve.view,data:0 msgid "" "Use the special query builder to define the query to generate your report " -"dataset. NOTE: Te be edited, the query should be in 'Draft' status." +"dataset. NOTE: To be edited, the query should be in 'Draft' status." msgstr "" #. module: bi_view_editor diff --git a/bi_view_editor/i18n/nb_NO.po b/bi_view_editor/i18n/nb_NO.po index 512e6ff66..09cff7e05 100644 --- a/bi_view_editor/i18n/nb_NO.po +++ b/bi_view_editor/i18n/nb_NO.po @@ -180,7 +180,7 @@ msgstr "" #: help:bve.view,data:0 msgid "" "Use the special query builder to define the query to generate your report " -"dataset. NOTE: Te be edited, the query should be in 'Draft' status." +"dataset. NOTE: To be edited, the query should be in 'Draft' status." msgstr "" #. module: bi_view_editor diff --git a/bi_view_editor/i18n/nl.po b/bi_view_editor/i18n/nl.po old mode 100644 new mode 100755 index a2bad31ac..4007bba6f --- a/bi_view_editor/i18n/nl.po +++ b/bi_view_editor/i18n/nl.po @@ -1,16 +1,17 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: # * bi_view_editor -# +# # Translators: msgid "" msgstr "" "Project-Id-Version: reporting-engine (8.0)\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2017-01-07 05:41+0000\n" -"PO-Revision-Date: 2016-03-21 15:33+0000\n" +"PO-Revision-Date: 2017-03-14 19:54+0100\n" "Last-Translator: <>\n" -"Language-Team: Dutch (http://www.transifex.com/oca/OCA-reporting-engine-8-0/language/nl/)\n" +"Language-Team: Dutch (http://www.transifex.com/oca/OCA-reporting-engine-10-0/" +"language/nl/)\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: \n" @@ -27,21 +28,27 @@ msgid "" "

    \n" " " msgstr "" +"

    \n" +" Klik om een nieuwe custom query object te maken.\n" +"

    \n" +"\n" +"

    \n" +" " #. module: bi_view_editor #: field:bve.view,action_id:0 msgid "Action" -msgstr "" +msgstr "Actie" #. module: bi_view_editor #: model:ir.model,name:bi_view_editor.model_bve_view msgid "BI View Editor" -msgstr "" +msgstr "BI Weergave bewerker" #. module: bi_view_editor #: selection:bve.view,state:0 msgid "Created" -msgstr "" +msgstr "Aangemaakt" #. module: bi_view_editor #: field:bve.view,create_uid:0 @@ -56,33 +63,33 @@ msgstr "Aangemaakt op" #. module: bi_view_editor #: view:bve.view:bi_view_editor.view_bi_view_editor_view_tree msgid "Custom BI View" -msgstr "" +msgstr "Aangepaste BI Weergave" #. module: bi_view_editor #: sql_constraint:bve.view:0 msgid "Custom BI View names must be unique!" -msgstr "" +msgstr "Aangepaste BI Weergave moet uniek zijn!" #. module: bi_view_editor #: model:ir.actions.act_window,name:bi_view_editor.action_bi_view_editor_view_form #: model:ir.ui.menu,name:bi_view_editor.menu_bi_view_editor_view msgid "Custom BI Views" -msgstr "" +msgstr "Aangepaste BI Weergaves" #. module: bi_view_editor #: view:bve.view:bi_view_editor.view_bi_view_editor_view_form msgid "Custom Object" -msgstr "" +msgstr "Aangepast object" #. module: bi_view_editor #: model:ir.ui.menu,name:bi_view_editor.menu_bi_view_editor_custom_reports msgid "Custom Reports" -msgstr "" +msgstr "Aangepaste rapporten" #. module: bi_view_editor #: field:bve.view,data:0 msgid "Data" -msgstr "" +msgstr "Data" #. module: bi_view_editor #: field:bve.view,display_name:0 @@ -92,23 +99,23 @@ msgstr "Te tonen naam" #. module: bi_view_editor #: selection:bve.view,state:0 msgid "Draft" -msgstr "" +msgstr "Concept" #. module: bi_view_editor #: code:addons/bi_view_editor/models/bve_view.py:72 #, python-format msgid "Error" -msgstr "" +msgstr "Fout" #. module: bi_view_editor #: view:bve.view:bi_view_editor.view_bi_view_editor_view_form msgid "Generate BI View" -msgstr "" +msgstr "Genereer BI Weergave" #. module: bi_view_editor #: field:bve.view,group_ids:0 msgid "Groups" -msgstr "" +msgstr "Groepen" #. module: bi_view_editor #: field:bve.view,id:0 @@ -133,12 +140,12 @@ msgstr "Laatst bijgewerkt op" #. module: bi_view_editor #: field:bve.view,model_name:0 msgid "Model Name" -msgstr "" +msgstr "Model naam" #. module: bi_view_editor #: model:ir.model,name:bi_view_editor.model_ir_model msgid "Models" -msgstr "" +msgstr "Modellen" #. module: bi_view_editor #: field:bve.view,name:0 @@ -149,39 +156,42 @@ msgstr "Naam" #: view:bve.view:bi_view_editor.view_bi_view_editor_view_form #: field:bve.view,note:0 msgid "Notes" -msgstr "" +msgstr "Notities" #. module: bi_view_editor #: view:bve.view:bi_view_editor.view_bi_view_editor_view_form msgid "Open BI View" -msgstr "" +msgstr "Open BI Weergave" #. module: bi_view_editor #: view:bve.view:bi_view_editor.view_bi_view_editor_view_form msgid "Query" -msgstr "" +msgstr "Query" #. module: bi_view_editor #: view:bve.view:bi_view_editor.view_bi_view_editor_view_form msgid "Reset to Draft" -msgstr "" +msgstr "Terug naar concept" #. module: bi_view_editor #: view:bve.view:bi_view_editor.view_bi_view_editor_view_form msgid "Security" -msgstr "" +msgstr "Beveiliging" #. module: bi_view_editor #: field:bve.view,state:0 msgid "State" -msgstr "" +msgstr "Status" #. module: bi_view_editor #: help:bve.view,data:0 msgid "" "Use the special query builder to define the query to generate your report " -"dataset. NOTE: Te be edited, the query should be in 'Draft' status." +"dataset. NOTE: To be edited, the query should be in 'Draft' status." msgstr "" +"Gebruik de speciale query bouwer om queries te definiëren voor uw " +"rapportage dataset. LET OP: Om te bewerken moet de query in de 'Concept\" " +"status zijn. " #. module: bi_view_editor #: help:bve.view,group_ids:0 @@ -189,6 +199,8 @@ msgid "" "User groups allowed to see the generated report; if NO groups are specified " "the report will be public for everyone." msgstr "" +"Gebruikers groepen die de gegenereerde rapporten kunnen zijn; wanneer geen " +"groepen ingesteld zijn is het rapport zichtbaar voor alle gebruikers." #. module: bi_view_editor #: field:bve.view,user_ids:0 @@ -198,10 +210,12 @@ msgstr "Gebruikers" #. module: bi_view_editor #: field:bve.view,view_id:0 msgid "View" -msgstr "" +msgstr "Weergave" #. module: bi_view_editor #: code:addons/bi_view_editor/models/bve_view.py:73 #, python-format msgid "You cannot delete a created view! Reset the view to draft first." msgstr "" +"U kunt een aangemaakte weergave niet verwijderen. Reset de weergave eerst " +"naar de concept fase." diff --git a/bi_view_editor/i18n/nl_BE.po b/bi_view_editor/i18n/nl_BE.po index b9a8059a4..d5e5b75dc 100644 --- a/bi_view_editor/i18n/nl_BE.po +++ b/bi_view_editor/i18n/nl_BE.po @@ -180,7 +180,7 @@ msgstr "" #: help:bve.view,data:0 msgid "" "Use the special query builder to define the query to generate your report " -"dataset. NOTE: Te be edited, the query should be in 'Draft' status." +"dataset. NOTE: To be edited, the query should be in 'Draft' status." msgstr "" #. module: bi_view_editor diff --git a/bi_view_editor/i18n/pl.po b/bi_view_editor/i18n/pl.po index afc9cee70..037a12763 100644 --- a/bi_view_editor/i18n/pl.po +++ b/bi_view_editor/i18n/pl.po @@ -180,7 +180,7 @@ msgstr "" #: help:bve.view,data:0 msgid "" "Use the special query builder to define the query to generate your report " -"dataset. NOTE: Te be edited, the query should be in 'Draft' status." +"dataset. NOTE: To be edited, the query should be in 'Draft' status." msgstr "" #. module: bi_view_editor diff --git a/bi_view_editor/i18n/pt.po b/bi_view_editor/i18n/pt.po index b5c9df90b..dc147d5c2 100644 --- a/bi_view_editor/i18n/pt.po +++ b/bi_view_editor/i18n/pt.po @@ -180,7 +180,7 @@ msgstr "" #: help:bve.view,data:0 msgid "" "Use the special query builder to define the query to generate your report " -"dataset. NOTE: Te be edited, the query should be in 'Draft' status." +"dataset. NOTE: To be edited, the query should be in 'Draft' status." msgstr "" #. module: bi_view_editor diff --git a/bi_view_editor/i18n/pt_BR.po b/bi_view_editor/i18n/pt_BR.po index 1b63df7fb..7f722449d 100644 --- a/bi_view_editor/i18n/pt_BR.po +++ b/bi_view_editor/i18n/pt_BR.po @@ -180,7 +180,7 @@ msgstr "Estado" #: help:bve.view,data:0 msgid "" "Use the special query builder to define the query to generate your report " -"dataset. NOTE: Te be edited, the query should be in 'Draft' status." +"dataset. NOTE: To be edited, the query should be in 'Draft' status." msgstr "" #. module: bi_view_editor diff --git a/bi_view_editor/i18n/pt_PT.po b/bi_view_editor/i18n/pt_PT.po index 979fa2719..795803529 100644 --- a/bi_view_editor/i18n/pt_PT.po +++ b/bi_view_editor/i18n/pt_PT.po @@ -180,7 +180,7 @@ msgstr "" #: help:bve.view,data:0 msgid "" "Use the special query builder to define the query to generate your report " -"dataset. NOTE: Te be edited, the query should be in 'Draft' status." +"dataset. NOTE: To be edited, the query should be in 'Draft' status." msgstr "" #. module: bi_view_editor diff --git a/bi_view_editor/i18n/ro.po b/bi_view_editor/i18n/ro.po index 36d899033..50b9663ca 100644 --- a/bi_view_editor/i18n/ro.po +++ b/bi_view_editor/i18n/ro.po @@ -180,7 +180,7 @@ msgstr "" #: help:bve.view,data:0 msgid "" "Use the special query builder to define the query to generate your report " -"dataset. NOTE: Te be edited, the query should be in 'Draft' status." +"dataset. NOTE: To be edited, the query should be in 'Draft' status." msgstr "" #. module: bi_view_editor diff --git a/bi_view_editor/i18n/ru.po b/bi_view_editor/i18n/ru.po index e7a49dc5f..944b78fd3 100644 --- a/bi_view_editor/i18n/ru.po +++ b/bi_view_editor/i18n/ru.po @@ -180,7 +180,7 @@ msgstr "" #: help:bve.view,data:0 msgid "" "Use the special query builder to define the query to generate your report " -"dataset. NOTE: Te be edited, the query should be in 'Draft' status." +"dataset. NOTE: To be edited, the query should be in 'Draft' status." msgstr "" #. module: bi_view_editor diff --git a/bi_view_editor/i18n/sk.po b/bi_view_editor/i18n/sk.po index 8c22a58b0..2bc6810d2 100644 --- a/bi_view_editor/i18n/sk.po +++ b/bi_view_editor/i18n/sk.po @@ -180,7 +180,7 @@ msgstr "" #: help:bve.view,data:0 msgid "" "Use the special query builder to define the query to generate your report " -"dataset. NOTE: Te be edited, the query should be in 'Draft' status." +"dataset. NOTE: To be edited, the query should be in 'Draft' status." msgstr "" #. module: bi_view_editor diff --git a/bi_view_editor/i18n/sl.po b/bi_view_editor/i18n/sl.po index 18b00f225..4186abe10 100644 --- a/bi_view_editor/i18n/sl.po +++ b/bi_view_editor/i18n/sl.po @@ -181,7 +181,7 @@ msgstr "Stanje" #: help:bve.view,data:0 msgid "" "Use the special query builder to define the query to generate your report " -"dataset. NOTE: Te be edited, the query should be in 'Draft' status." +"dataset. NOTE: To be edited, the query should be in 'Draft' status." msgstr "Uporabite posebni gradnik poizvedb za določanje poizvedbe, ki bo ustvarila poročilo z vašim naborom podatkov. OPOMBA: Urejate lahko le poizvedbe s statusom 'Osnutek'." #. module: bi_view_editor diff --git a/bi_view_editor/i18n/sr.po b/bi_view_editor/i18n/sr.po index 5cbf2b1f5..1c2969a58 100644 --- a/bi_view_editor/i18n/sr.po +++ b/bi_view_editor/i18n/sr.po @@ -180,7 +180,7 @@ msgstr "" #: help:bve.view,data:0 msgid "" "Use the special query builder to define the query to generate your report " -"dataset. NOTE: Te be edited, the query should be in 'Draft' status." +"dataset. NOTE: To be edited, the query should be in 'Draft' status." msgstr "" #. module: bi_view_editor diff --git a/bi_view_editor/i18n/sr@latin.po b/bi_view_editor/i18n/sr@latin.po index 1f9fcecc0..f0ec94ce5 100644 --- a/bi_view_editor/i18n/sr@latin.po +++ b/bi_view_editor/i18n/sr@latin.po @@ -180,7 +180,7 @@ msgstr "" #: help:bve.view,data:0 msgid "" "Use the special query builder to define the query to generate your report " -"dataset. NOTE: Te be edited, the query should be in 'Draft' status." +"dataset. NOTE: To be edited, the query should be in 'Draft' status." msgstr "" #. module: bi_view_editor diff --git a/bi_view_editor/i18n/sv.po b/bi_view_editor/i18n/sv.po index 25062cde3..10cd7f2f8 100644 --- a/bi_view_editor/i18n/sv.po +++ b/bi_view_editor/i18n/sv.po @@ -180,7 +180,7 @@ msgstr "" #: help:bve.view,data:0 msgid "" "Use the special query builder to define the query to generate your report " -"dataset. NOTE: Te be edited, the query should be in 'Draft' status." +"dataset. NOTE: To be edited, the query should be in 'Draft' status." msgstr "" #. module: bi_view_editor diff --git a/bi_view_editor/i18n/th.po b/bi_view_editor/i18n/th.po index f1e17997f..677688837 100644 --- a/bi_view_editor/i18n/th.po +++ b/bi_view_editor/i18n/th.po @@ -180,7 +180,7 @@ msgstr "" #: help:bve.view,data:0 msgid "" "Use the special query builder to define the query to generate your report " -"dataset. NOTE: Te be edited, the query should be in 'Draft' status." +"dataset. NOTE: To be edited, the query should be in 'Draft' status." msgstr "" #. module: bi_view_editor diff --git a/bi_view_editor/i18n/tr.po b/bi_view_editor/i18n/tr.po index af8f781ee..736e18f3a 100644 --- a/bi_view_editor/i18n/tr.po +++ b/bi_view_editor/i18n/tr.po @@ -180,7 +180,7 @@ msgstr "Durum" #: help:bve.view,data:0 msgid "" "Use the special query builder to define the query to generate your report " -"dataset. NOTE: Te be edited, the query should be in 'Draft' status." +"dataset. NOTE: To be edited, the query should be in 'Draft' status." msgstr "" #. module: bi_view_editor diff --git a/bi_view_editor/i18n/tr_TR.po b/bi_view_editor/i18n/tr_TR.po index 5d205bd53..e8d47018b 100644 --- a/bi_view_editor/i18n/tr_TR.po +++ b/bi_view_editor/i18n/tr_TR.po @@ -181,7 +181,7 @@ msgstr "Hal" #: help:bve.view,data:0 msgid "" "Use the special query builder to define the query to generate your report " -"dataset. NOTE: Te be edited, the query should be in 'Draft' status." +"dataset. NOTE: To be edited, the query should be in 'Draft' status." msgstr "" #. module: bi_view_editor diff --git a/bi_view_editor/i18n/uk.po b/bi_view_editor/i18n/uk.po index 568fd2f7c..32fb84682 100644 --- a/bi_view_editor/i18n/uk.po +++ b/bi_view_editor/i18n/uk.po @@ -180,7 +180,7 @@ msgstr "" #: help:bve.view,data:0 msgid "" "Use the special query builder to define the query to generate your report " -"dataset. NOTE: Te be edited, the query should be in 'Draft' status." +"dataset. NOTE: To be edited, the query should be in 'Draft' status." msgstr "" #. module: bi_view_editor diff --git a/bi_view_editor/i18n/vi.po b/bi_view_editor/i18n/vi.po index 46fad7a12..1f9662767 100644 --- a/bi_view_editor/i18n/vi.po +++ b/bi_view_editor/i18n/vi.po @@ -180,7 +180,7 @@ msgstr "" #: help:bve.view,data:0 msgid "" "Use the special query builder to define the query to generate your report " -"dataset. NOTE: Te be edited, the query should be in 'Draft' status." +"dataset. NOTE: To be edited, the query should be in 'Draft' status." msgstr "" #. module: bi_view_editor diff --git a/bi_view_editor/i18n/vi_VN.po b/bi_view_editor/i18n/vi_VN.po index 474e0b5b5..162905efd 100644 --- a/bi_view_editor/i18n/vi_VN.po +++ b/bi_view_editor/i18n/vi_VN.po @@ -180,7 +180,7 @@ msgstr "" #: help:bve.view,data:0 msgid "" "Use the special query builder to define the query to generate your report " -"dataset. NOTE: Te be edited, the query should be in 'Draft' status." +"dataset. NOTE: To be edited, the query should be in 'Draft' status." msgstr "" #. module: bi_view_editor diff --git a/bi_view_editor/i18n/zh_CN.po b/bi_view_editor/i18n/zh_CN.po index a005ee662..77eeaf6ea 100644 --- a/bi_view_editor/i18n/zh_CN.po +++ b/bi_view_editor/i18n/zh_CN.po @@ -180,7 +180,7 @@ msgstr "" #: help:bve.view,data:0 msgid "" "Use the special query builder to define the query to generate your report " -"dataset. NOTE: Te be edited, the query should be in 'Draft' status." +"dataset. NOTE: To be edited, the query should be in 'Draft' status." msgstr "" #. module: bi_view_editor diff --git a/bi_view_editor/i18n/zh_TW.po b/bi_view_editor/i18n/zh_TW.po index c41e9f7f5..4f54cca5e 100644 --- a/bi_view_editor/i18n/zh_TW.po +++ b/bi_view_editor/i18n/zh_TW.po @@ -180,7 +180,7 @@ msgstr "" #: help:bve.view,data:0 msgid "" "Use the special query builder to define the query to generate your report " -"dataset. NOTE: Te be edited, the query should be in 'Draft' status." +"dataset. NOTE: To be edited, the query should be in 'Draft' status." msgstr "" #. module: bi_view_editor diff --git a/bi_view_editor/models/__init__.py b/bi_view_editor/models/__init__.py index 204ac77ac..7e6dcc7ef 100644 --- a/bi_view_editor/models/__init__.py +++ b/bi_view_editor/models/__init__.py @@ -2,5 +2,6 @@ # Copyright 2015-2017 Onestein () # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). +from . import models from . import bve_view from . import ir_model diff --git a/bi_view_editor/models/bve_view.py b/bi_view_editor/models/bve_view.py index 91e053bbc..d84192967 100644 --- a/bi_view_editor/models/bve_view.py +++ b/bi_view_editor/models/bve_view.py @@ -4,9 +4,9 @@ import json -from openerp import api, fields, models, tools -from openerp.exceptions import Warning as UserError -from openerp.tools.translate import _ +from odoo import api, fields, models, tools +from odoo.exceptions import UserError +from odoo.tools.translate import _ class BveView(models.Model): @@ -23,11 +23,17 @@ class BveView(models.Model): else: bve_view.user_ids = self.env['res.users'].sudo().search([]) + @api.depends('name') + @api.multi + def _compute_model_name(self): + for bve_view in self: + name = [x for x in bve_view.name.lower() if x.isalnum()] + model_name = ''.join(name).replace('_', '.').replace(' ', '.') + bve_view.model_name = 'x_bve.' + model_name + name = fields.Char(required=True, copy=False) - model_name = fields.Char() - + model_name = fields.Char(compute='_compute_model_name', store=True) note = fields.Text(string='Notes') - state = fields.Selection( [('draft', 'Draft'), ('created', 'Created')], @@ -36,22 +42,19 @@ class BveView(models.Model): data = fields.Text( help="Use the special query builder to define the query " "to generate your report dataset. " - "NOTE: Te be edited, the query should be in 'Draft' status.") - + "NOTE: To be edited, the query should be in 'Draft' status.") action_id = fields.Many2one('ir.actions.act_window', string='Action') view_id = fields.Many2one('ir.ui.view', string='View') - group_ids = fields.Many2many( 'res.groups', string='Groups', help="User groups allowed to see the generated report; " "if NO groups are specified the report will be public " "for everyone.") - user_ids = fields.Many2many( 'res.users', string='Users', - compute=_compute_users, + compute='_compute_users', store=True) _sql_constraints = [ @@ -60,40 +63,21 @@ class BveView(models.Model): _('Custom BI View names must be unique!')), ] - @api.multi - def unlink(self): - for view in self: - if view.state == 'created': - raise UserError( - _('You cannot delete a created view! ' - 'Reset the view to draft first.')) - return super(BveView, self).unlink() - - @api.multi - def action_reset(self): - self.ensure_one() - if self.action_id: - if self.action_id.view_id: - self.action_id.view_id.sudo().unlink() - self.action_id.sudo().unlink() - - models = self.env['ir.model'].sudo().search( - [('model', '=', self.model_name)]) - for model in models: - model.sudo().unlink() - - table_name = self.model_name.replace('.', '_') - tools.drop_view_if_exists(self.env.cr, table_name) - - self.state = 'draft' + @classmethod + def _get_format_data(cls, data): + data = data.replace('\'', '"') + data = data.replace(': u"', ':"') + return data @api.multi def _create_view_arch(self): self.ensure_one() - def _get_field_def(field_name, def_type): + def _get_field_def(name, def_type=''): + if not def_type: + return '' return """""".format( - field_name, def_type + name, def_type ) def _get_field_type(field_info): @@ -102,28 +86,42 @@ class BveView(models.Model): measure = field_info['measure'] and 'measure' return row or column or measure + def _get_field_list(fields_info): + view_fields = [] + for field_info in fields_info: + field_name = field_info['name'] + def_type = _get_field_type(field_info) + if def_type: + field_def = _get_field_def(field_name, def_type) + view_fields.append(field_def) + return view_fields + fields_info = json.loads(self._get_format_data(self.data)) - view_fields = [] - for field_info in fields_info: - field_name = field_info['name'] - def_type = _get_field_type(field_info) - if def_type: - field_def = _get_field_def(field_name, def_type) - view_fields.append(field_def) + view_fields = _get_field_list(fields_info) return view_fields - @api.model - def _get_format_data(self, data): - data = data.replace('\'', '"') - data = data.replace(': u"', ':"') - return data - @api.multi - def action_create(self): + def _create_tree_view_arch(self): self.ensure_one() - self._create_bve_object() - self._create_bve_view() + def _get_field_def(name): + return """""".format( + name + ) + + def _get_field_list(fields_info): + view_fields = [] + for field_info in fields_info: + field_name = field_info['name'] + if field_info['list'] and 'join_node' not in field_info: + field_def = _get_field_def(field_name) + view_fields.append(field_def) + return view_fields + + fields_info = json.loads(self._get_format_data(self.data)) + + view_fields = _get_field_list(fields_info) + return view_fields @api.multi def _create_bve_view(self): @@ -140,33 +138,48 @@ class BveView(models.Model): 'model': self.model_name, 'priority': 16, 'arch': """ - {} - """.format("".join(self._create_view_arch())) + + {} + + """.format("".join(self._create_view_arch())) }, { 'name': 'Graph Analysis', 'type': 'graph', 'model': self.model_name, 'priority': 16, 'arch': """ - {} - """.format("".join(self._create_view_arch())) + + {} + + """.format("".join(self._create_view_arch())) + }, { + 'name': 'Search BI View', + 'type': 'search', + 'model': self.model_name, + 'priority': 16, + 'arch': """ + + {} + + """.format("".join(self._create_view_arch())) }] for vals in view_vals: View.sudo().create(vals) # create Tree view - tree_view = View.sudo().create( - {'name': 'Tree Analysis', - 'type': 'tree', - 'model': self.model_name, - 'priority': 16, - 'arch': """ - {} - """.format("".join(self._create_view_arch())) - }) + tree_view = View.sudo().create({ + 'name': 'Tree Analysis', + 'type': 'tree', + 'model': self.model_name, + 'priority': 16, + 'arch': """ + + {} + + """.format("".join(self._create_tree_view_arch())) + }) # set the Tree view as the default one action_vals = { @@ -188,10 +201,52 @@ class BveView(models.Model): }) @api.multi - def _create_bve_object(self): + def _build_access_rules(self, model): self.ensure_one() - def _get_fields_info(fields_data): + def group_ids_with_access(model_name, access_mode): + self.env.cr.execute('''SELECT + g.id + FROM + ir_model_access a + JOIN ir_model m ON (a.model_id=m.id) + JOIN res_groups g ON (a.group_id=g.id) + LEFT JOIN ir_module_category c ON (c.id=g.category_id) + WHERE + m.model=%s AND + a.active IS True AND + a.perm_''' + access_mode, (model_name,)) + return [x[0] for x in self.env.cr.fetchall()] + + info = json.loads(self._get_format_data(self.data)) + model_names = list(set([f['model'] for f in info])) + read_groups = set.intersection(*[set( + group_ids_with_access(model_name, 'read') + ) for model_name in model_names]) + + # read access + for group in read_groups: + self.env['ir.model.access'].sudo().create({ + 'name': 'read access to ' + self.model_name, + 'model_id': model.id, + 'group_id': group, + 'perm_read': True, + }) + + # read and write access + for group in self.group_ids: + self.env['ir.model.access'].sudo().create({ + 'name': 'read-write access to ' + self.model_name, + 'model_id': model.id, + 'group_id': group.id, + 'perm_read': True, + 'perm_write': True, + }) + + @api.model + def _create_sql_view(self): + + def get_fields_info(fields_data): fields_info = [] for field_data in fields_data: field = self.env['ir.model.fields'].browse(field_data['id']) @@ -208,46 +263,60 @@ class BveView(models.Model): fields_info.append(vals) return fields_info - def _build_query(): - data = self.data - if not data: - raise UserError(_('No data to process.')) - - formatted_data = json.loads(self._get_format_data(data)) - info = _get_fields_info(formatted_data) - fields = [("{}.{}".format(f['table_alias'], - f['select_field']), - f['as_field']) for f in info if 'join_node' not in f] - tables = set([(f['table'], f['table_alias']) for f in info]) + def get_join_nodes(info): join_nodes = [ (f['table_alias'], f['join'], f['select_field']) for f in info if f['join'] is not False] + return join_nodes - table_name = self.model_name.replace('.', '_') - tools.drop_view_if_exists(self.env.cr, table_name) + def get_tables(info): + tables = set([(f['table'], f['table_alias']) for f in info]) + return tables - basic_fields = [ - ("t0.id", "id"), - ("t0.write_uid", "write_uid"), - ("t0.write_date", "write_date"), - ("t0.create_uid", "create_uid"), - ("t0.create_date", "create_date") - ] + def get_fields(info): + return [("{}.{}".format(f['table_alias'], + f['select_field']), + f['as_field']) for f in info if 'join_node' not in f] - q = """CREATE or REPLACE VIEW %s as ( - SELECT %s - FROM %s - WHERE %s - )""" % (table_name, ','.join( - ["{} AS {}".format(f[0], f[1]) - for f in basic_fields + fields]), ','.join( - ["{} AS {}".format(t[0], t[1]) - for t in list(tables)]), " AND ".join( - ["{}.{} = {}.id".format(j[0], j[2], j[1]) - for j in join_nodes] + ["TRUE"])) + def check_empty_data(data): + if not data or data == '[]': + raise UserError(_('No data to process.')) - self.env.cr.execute(q) + check_empty_data(self.data) + + formatted_data = json.loads(self._get_format_data(self.data)) + info = get_fields_info(formatted_data) + select_fields = get_fields(info) + tables = get_tables(info) + join_nodes = get_join_nodes(info) + + table_name = self.model_name.replace('.', '_') + + # robustness in case something went wrong + self._cr.execute('DROP TABLE IF EXISTS "%s"' % table_name) + + basic_fields = [ + ("t0.id", "id") + ] + + q = """CREATE or REPLACE VIEW %s as ( + SELECT %s + FROM %s + WHERE %s + )""" % (table_name, ','.join( + ["{} AS {}".format(f[0], f[1]) + for f in basic_fields + select_fields]), ','.join( + ["{} AS {}".format(t[0], t[1]) + for t in list(tables)]), " AND ".join( + ["{}.{} = {}.id".format(j[0], j[2], j[1]) + for j in join_nodes] + ["TRUE"])) + + self.env.cr.execute(q) + + @api.multi + def action_create(self): + self.ensure_one() def _prepare_field(field_data): if not field_data['custom']: @@ -268,87 +337,90 @@ class BveView(models.Model): vals.update({'ttype': 'float'}) if field.ttype == 'selection' and not field.selection: model_obj = self.env[field.model_id.model] - selection = model_obj._columns[field.name].selection - selection_domain = str(selection) - vals.update({'selection': selection_domain}) + selection = model_obj._fields[field.name].selection + if callable(selection): + selection_domain = selection(model_obj) + else: + selection_domain = selection + vals.update({'selection': str(selection_domain)}) return vals - def _prepare_object(): - data = json.loads(self._get_format_data(self.data)) - return { - 'name': self.name, - 'model': self.model_name, - 'field_id': [ - (0, 0, _prepare_field(field)) - for field in data - if 'join_node' not in field] - } + # clean dirty view (in case something went wrong) + self.action_reset() - def _build_object(): - vals = _prepare_object() - Model = self.env['ir.model'] - res_id = Model.sudo().with_context(bve=True).create(vals) - return res_id + # create sql view + self._create_sql_view() - def group_ids_with_access(model_name, access_mode): - self.env.cr.execute('''SELECT - g.id - FROM - ir_model_access a - JOIN ir_model m ON (a.model_id=m.id) - JOIN res_groups g ON (a.group_id=g.id) - LEFT JOIN ir_module_category c ON (c.id=g.category_id) - WHERE - m.model=%s AND - a.active IS True AND - a.perm_''' + access_mode, (model_name,)) - return [x[0] for x in self.env.cr.fetchall()] + # create model and fields + data = json.loads(self._get_format_data(self.data)) + model_vals = { + 'name': self.name, + 'model': self.model_name, + 'state': 'manual', + 'field_id': [ + (0, 0, _prepare_field(field)) + for field in data + if 'join_node' not in field] + } + Model = self.env['ir.model'].sudo().with_context(bve=True) + model = Model.create(model_vals) - def _build_access_rules(obj): - info = json.loads(self._get_format_data(self.data)) - models = list(set([f['model'] for f in info])) - read_groups = set.intersection(*[set( - group_ids_with_access(model, 'read')) for model in models]) + # give access rights + self._build_access_rules(model) - # read access - for group in read_groups: - self.env['ir.model.access'].sudo().create({ - 'name': 'read access to ' + self.model_name, - 'model_id': obj.id, - 'group_id': group, - 'perm_read': True, - }) - - # read and write access - for group in self.group_ids: - self.env['ir.model.access'].sudo().create({ - 'name': 'read-write access to ' + self.model_name, - 'model_id': obj.id, - 'group_id': group.id, - 'perm_read': True, - 'perm_write': True, - }) - - self.model_name = 'x_bve.' + ''.join( - [x for x in self.name.lower() - if x.isalnum()]).replace('_', '.').replace(' ', '.') - _build_query() - obj = _build_object() - _build_access_rules(obj) + # create tree, graph and pivot views + self._create_bve_view() @api.multi def open_view(self): self.ensure_one() - return { - 'name': _('BI View'), - 'type': 'ir.actions.act_window', - 'res_model': self.model_name, - 'view_type': 'form', - 'view_mode': 'tree,graph,pivot', - } + [action] = self.action_id.read() + action['display_name'] = _('BI View') + return action @api.multi def copy(self, default=None): self.ensure_one() default = dict(default or {}, name=_("%s (copy)") % self.name) return super(BveView, self).copy(default=default) + + @api.multi + def action_reset(self): + self.ensure_one() + + has_menus = False + if self.action_id: + action = 'ir.actions.act_window,%d' % (self.action_id.id,) + menus = self.env['ir.ui.menu'].sudo().search( + [('action', '=', action)] + ) + has_menus = True if menus else False + menus.sudo().unlink() + + if self.action_id.view_id: + self.action_id.view_id.sudo().unlink() + self.action_id.sudo().unlink() + + self.env['ir.ui.view'].sudo().search( + [('model', '=', self.model_name)]).unlink() + ir_models = self.env['ir.model'].sudo().search( + [('model', '=', self.model_name)]) + for model in ir_models: + model.sudo().unlink() + + table_name = self.model_name.replace('.', '_') + tools.drop_view_if_exists(self.env.cr, table_name) + + self.state = 'draft' + + if has_menus: + return {'type': 'ir.actions.client', 'tag': 'reload'} + + @api.multi + def unlink(self): + for view in self: + if view.state == 'created': + raise UserError( + _('You cannot delete a created view! ' + 'Reset the view to draft first.')) + return super(BveView, self).unlink() diff --git a/bi_view_editor/models/ir_model.py b/bi_view_editor/models/ir_model.py index 445079741..bdac552f2 100644 --- a/bi_view_editor/models/ir_model.py +++ b/bi_view_editor/models/ir_model.py @@ -2,8 +2,7 @@ # Copyright 2015-2017 Onestein () # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). -from openerp import api, models -from openerp.modules.registry import RegistryManager +from odoo import api, models NO_BI_MODELS = [ 'temp.range', @@ -42,20 +41,17 @@ def dict_for_field(field): } +def dict_for_model(model): + return { + 'id': model.id, + 'name': model.name, + 'model': model.model + } + + class IrModel(models.Model): _inherit = 'ir.model' - @api.model - def _filter_bi_fields(self, ir_model_field_obj): - name = ir_model_field_obj.name - model = ir_model_field_obj.model_id - model_name = model.model - Model = self.env[model_name] - if name in Model._columns: - f = Model._columns[name] - return f._classic_write - return False - @api.model def _filter_bi_models(self, model): @@ -73,7 +69,6 @@ class IrModel(models.Model): def _check_contains(model_model): if 'mail' in model_model or \ - '_' in model_model or \ 'report' in model_model or \ 'edi.' in model_model: return 1 @@ -96,92 +91,73 @@ class IrModel(models.Model): model['model'], 'read', False) return False + @api.model + def sort_filter_models(self, models_list): + res = sorted( + filter(self._filter_bi_models, models_list), + key=lambda x: x['name']) + return res + + @api.model + def _search_fields(self, domain): + Fields = self.env['ir.model.fields'] + fields = Fields.sudo().search(domain) + return fields + @api.model def get_related_fields(self, model_ids): """ Return list of field dicts for all fields that can be joined with models in model_ids """ - Model = self.env['ir.model'] - domain = [('id', 'in', model_ids.values())] - models = Model.sudo().search(domain) - model_names = {} - for model in models: - model_names.update({model.id: model.model}) - related_fields = self._get_related_fields_list(model_ids, model_names) - return related_fields - - @api.model - def _get_related_fields_list(self, model_ids, model_names): - - def _get_right_fields(model_ids, model_names): - Fields = self.env['ir.model.fields'] - rfields = [] + def get_model_list(model_ids): + model_list = [] domain = [('model_id', 'in', model_ids.values()), + ('store', '=', True), ('ttype', 'in', ['many2one'])] - for field in filter( - self._filter_bi_fields, - Fields.sudo().search(domain)): - for model in model_ids.items(): + filtered_fields = self._search_fields(domain) + for model in model_ids.items(): + for field in filtered_fields: if model[1] == field.model_id.id: - rfields.append( + model_list.append( dict(dict_for_field(field), join_node=-1, table_alias=model[0]) ) - return rfields + return model_list - def _get_left_fields(model_ids, model_names): - Fields = self.env['ir.model.fields'] - lfields = [] + def get_relation_list(model_ids, model_names): + relation_list = [] domain = [('relation', 'in', model_names.values()), + ('store', '=', True), ('ttype', 'in', ['many2one'])] - for field in filter( - self._filter_bi_fields, - Fields.sudo().search(domain)): - for model in model_ids.items(): + filtered_fields = self._search_fields(domain) + for model in model_ids.items(): + for field in filtered_fields: if model_names[model[1]] == field['relation']: - lfields.append( + relation_list.append( dict(dict_for_field(field), join_node=model[0], table_alias=-1) ) - return lfields - - def _get_relation_list(model_ids, model_names, lfields): - relation_list = [] - for model in model_ids.items(): - for field in lfields: - if model_names[model[1]] == field['relation']: - relation_list.append( - dict(field, join_node=model[0]) - ) return relation_list - def _get_model_list(model_ids, rfields): - model_list = [] - for model in model_ids.items(): - for field in rfields: - if model[1] == field['model_id']: - model_list.append( - dict(field, table_alias=model[0]) - ) - return model_list + models = self.sudo().browse(model_ids.values()) + model_names = {} + for model in models: + model_names.update({model.id: model.model}) - lfields = _get_left_fields(model_ids, model_names) - rfields = _get_right_fields(model_ids, model_names) + model_list = get_model_list(model_ids) + relation_list = get_relation_list(model_ids, model_names) - relation_list = _get_relation_list(model_ids, model_names, lfields) - model_list = _get_model_list(model_ids, rfields) - - related_fields = relation_list + model_list - return related_fields + return relation_list + model_list @api.model def get_related_models(self, model_ids): """ Return list of model dicts for all models that can be - joined with models in model_ids + joined with the already selected models. """ + def _get_field(fields, orig, target): field_list = [] for f in fields: @@ -205,35 +181,19 @@ class IrModel(models.Model): domain = ['|', ('id', 'in', list_id), ('model', 'in', list_model)] - models = self.env['ir.model'].sudo().search(domain) - for model in models: - models_list.append({ - 'id': model.id, - 'name': model.name, - 'model': model.model - }) - return sorted( - filter(self._filter_bi_models, models_list), - key=lambda x: x['name'] - ) + for model in self.sudo().search(domain): + models_list.append(dict_for_model(model)) + return self.sort_filter_models(models_list) @api.model def get_models(self): """ Return list of model dicts for all available models. """ - def dict_for_model(model): - return { - 'id': model.id, - 'name': model.name, - 'model': model.model - } - models_domain = [('transient', '=', False)] - return sorted(filter( - self._filter_bi_models, - [dict_for_model(model) - for model in self.search(models_domain)]), - key=lambda x: x['name']) + models_list = [] + for model in self.search([('transient', '=', False)]): + models_list.append(dict_for_model(model)) + return self.sort_filter_models(models_list) @api.model def get_join_nodes(self, field_data, new_field): @@ -252,39 +212,45 @@ class IrModel(models.Model): for alias, model_id in model_ids.items(): if model_id == new_field['model_id']: join_nodes.append({'table_alias': alias}) - for dict_field in self.get_related_fields(model_ids): - condition = [ - dict_field['join_node'] == -1, - dict_field['table_alias'] == -1 - ] - relation = (new_field['model'] == dict_field['relation']) - model = (new_field['model_id'] == dict_field['model_id']) - if (relation and condition[0]) or (model and condition[1]): - join_nodes.append(dict_field) + for field in self.get_related_fields(model_ids): + c = [field['join_node'] == -1, field['table_alias'] == -1] + a = (new_field['model'] == field['relation']) + b = (new_field['model_id'] == field['model_id']) + if (a and c[0]) or (b and c[1]): + join_nodes.append(field) return join_nodes + def remove_duplicate_nodes(join_nodes): + seen = set() + nodes_list = [] + for node in join_nodes: + node_tuple = tuple(node.items()) + if node_tuple not in seen: + seen.add(node_tuple) + nodes_list.append(node) + return nodes_list + model_ids = _get_model_ids(field_data) keys = [(field['table_alias'], field['id']) for field in field_data if field.get('join_node', -1) != -1] join_nodes = _get_join_nodes_dict(model_ids, new_field) + join_nodes = remove_duplicate_nodes(join_nodes) + return filter( lambda x: 'id' not in x or (x['table_alias'], x['id']) not in keys, join_nodes) @api.model def get_fields(self, model_id): - bi_field_domain = [ + domain = [ ('model_id', '=', model_id), + ('store', '=', True), ('name', 'not in', NO_BI_FIELDS), ('ttype', 'not in', NO_BI_TTYPES) ] - Fields = self.env['ir.model.fields'] - fields = filter( - self._filter_bi_fields, - Fields.sudo().search(bi_field_domain) - ) fields_dict = [] - for field in fields: + filtered_fields = self._search_fields(domain) + for field in filtered_fields: fields_dict.append( {'id': field.id, 'model_id': model_id, @@ -312,16 +278,15 @@ class IrModel(models.Model): # this sql update is necessary since a write method here would # be not working (an orm constraint is restricting the modification # of the state field while updating ir.model) - q = ("""UPDATE ir_model SET state = 'manual' - WHERE id = """ + str(res.id)) - self.env.cr.execute(q) + q = "UPDATE ir_model SET state = 'manual' WHERE id = %s" + self.env.cr.execute(q, (res.id, )) - # update registry + # # update registry if self._context.get('bve'): # setup models; this reloads custom models in registry self.pool.setup_models(self._cr, partial=(not self.pool.ready)) # signal that registry has changed - RegistryManager.signal_registry_change(self.env.cr.dbname) + self.pool.signal_registry_change() return res diff --git a/bi_view_editor/models/models.py b/bi_view_editor/models/models.py new file mode 100644 index 000000000..4b62e6f95 --- /dev/null +++ b/bi_view_editor/models/models.py @@ -0,0 +1,61 @@ +# -*- coding: utf-8 -*- +# Copyright 2017 Onestein () +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). + +from odoo import api, models +from odoo.exceptions import UserError +from odoo.tools.translate import _ + + +class Base(models.AbstractModel): + _inherit = 'base' + + @api.model + def _bi_view(self): + return self._name[0:6] == 'x_bve.' + + @api.model + def _auto_end(self): + if not self._bi_view(): + super(Base, self)._auto_end() + + @api.model + def _auto_init(self): + if not self._bi_view(): + super(Base, self)._auto_init() + + @api.model + def _setup_complete(self): + if not self._bi_view(): + super(Base, self)._setup_complete() + else: + self.pool.models[self._name]._log_access = False + + @api.model + def _read_group_process_groupby(self, gb, query): + if not self._bi_view(): + return super(Base, self)._read_group_process_groupby(gb, query) + + split = gb.split(':') + if split[0] not in self._fields: + raise UserError( + _('No data to be displayed.')) + return super(Base, self)._read_group_process_groupby(gb, query) + + @api.model + def _add_magic_fields(self): + if self._bi_view(): + self._log_access = False + return super(Base, self)._add_magic_fields() + + @api.model_cr + def _table_exist(self): + if not self._bi_view(): + return super(Base, self)._table_exist() + return 1 + + # @api.model_cr + # def _create_table(self): + # if not self._bi_view(): + # return super(Base, self)._create_table() + # return 1 diff --git a/bi_view_editor/security/ir.model.access.csv b/bi_view_editor/security/ir.model.access.csv index 2547fb5a7..81d91dc47 100644 --- a/bi_view_editor/security/ir.model.access.csv +++ b/bi_view_editor/security/ir.model.access.csv @@ -1,3 +1,2 @@ id,name,model_id:id,group_id:id,perm_read,perm_write,perm_create,perm_unlink access_bve_view_everyone,bve.view,bi_view_editor.model_bve_view,,1,1,1,1 -access_bve_view_technical_settings,bve.view,bi_view_editor.model_bve_view,base.group_no_one,1,1,1,1 diff --git a/bi_view_editor/static/src/js/bve.js b/bi_view_editor/static/src/js/bve.js index 455adaf8b..e6f6db9d0 100644 --- a/bi_view_editor/static/src/js/bve.js +++ b/bi_view_editor/static/src/js/bve.js @@ -1,10 +1,65 @@ -openerp.bi_view_editor = function (instance, local) { +odoo.define('bi_view_editor', function (require) { +"use strict"; - instance.bi_view_editor.BVEEditor = instance.web.form.AbstractField.extend({ + var Core = require("web.core"); + var FormCommon = require('web.form_common'); + var Model = require('web.Model'); + var Data = require('web.data'); + var Widget = require('web.Widget'); + var Dialog = require("web.Dialog"); + var _t = Core._t; + + var JoinNodePopup = Widget.extend({ + template: "JoinNodePopup", + start: function() { + var self = this; + }, + + display_popup: function(choices, model_data, callback, callback_data) { + var self = this; + this.renderElement(); + var joinnodes = this.$el.find('#join-nodes'); + joinnodes.empty(); + for (var i=0; i" + model_data[choices[i].table_alias].model_name + ""; + } else { + var new_str = ""; + if (choices[i].join_node !== -1) { + new_str = "" + _t("new") + " "; + } + description = _t("Join using the field") + " " + choices[i].description + " " + _t("on ") + new_str + _t("model") +" " + choices[i].model_name + ""; + } + joinnodes.append($('' + description+ '') + .data('idx', i) + .wrap('

    ') + .parent()); + } + var dialog = new Dialog(this, { + dialogClass: 'oe_act_window', + title: _t("Choose join node"), + $content: this.$el, + buttons: [{text: _t("Cancel"), + classes: "btn-default o_form_button_cancel", + close: true + }] + }).open(); + + joinnodes.find('a').click(function() { + callback(callback_data, choices[$(this).data('idx')]); + dialog.close(); + }); + + this.start(); + } + }); + + var BiViewEditor = FormCommon.AbstractField.extend({ template: "BVEEditor", activeModelMenus: [], currentFilter: "", - init: function(parent, action) { + init: function() { this._super.apply(this, arguments); }, start: function() { @@ -23,7 +78,6 @@ openerp.bi_view_editor = function (instance, local) { drop: function (event, ui) { self.add_field(ui.draggable); ui.draggable.draggable('option', 'revert', false ); - ui.draggable.remove(); } }); if (!this.get("effective_readonly")) { @@ -68,6 +122,8 @@ openerp.bi_view_editor = function (instance, local) { icons += " "; if(field.measure) icons += " "; + if(field.list) + icons += " "; return icons; }, @@ -80,20 +136,20 @@ openerp.bi_view_editor = function (instance, local) { load_classes: function(scrollTo) { scrollTo = (typeof scrollTo === 'undefined') ? false : scrollTo; var self = this; - var model = new instance.web.Model("ir.model"); + var model = new Model("ir.model"); if (this.$el.find(".field-list tbody tr").length > 0) { - model.call("get_related_models", [this.get_model_ids()], { context: new instance.web.CompoundContext() }).then(function(result) { + model.call("get_related_models", [this.get_model_ids()], { context: new Data.CompoundContext() }).then(function(result) { self.show_classes(result); }); } else { - model.call("get_models", { context: new instance.web.CompoundContext() }).then(function(result) { + model.call("get_models", { context: new Data.CompoundContext() }).then(function(result) { self.show_classes(result); }); } }, show_classes: function (result) { var self = this; - var model = new instance.web.Model("ir.model"); + var model = new Model("ir.model"); self.$el.find(".class-list .class").remove(); self.$el.find(".class-list .field").remove(); var css = this.get('effective_readonly') ? 'cursor: default' : 'cursor: pointer'; @@ -112,7 +168,7 @@ openerp.bi_view_editor = function (instance, local) { if(index !== -1) self.activeModelMenus.splice(index, 1); } else { self.activeModelMenus.push(classel.data('model-data').id); - model.call("get_fields", [classel.data('model-data').id], { context: new instance.web.CompoundContext() }).then(function(result) { + model.call("get_fields", [classel.data('model-data').id], { context: new Data.CompoundContext() }).then(function(result) { for (var i = 0; i < result.length; i++) { classel.find("#bve-field-" + result[i].name).remove(); self._render_field(self, i, result, classel, addField) @@ -122,12 +178,13 @@ openerp.bi_view_editor = function (instance, local) { } } function renderFields(result) { - console.log(result); - var item = self.$el.find(".class-list #bve-class-" + result[0].model_id); - for (var o = 0; o < result.length; o++) { - self._render_field(self, o, result, item, addField) + if (typeof(result[0]) !== 'undefined') { + var item = self.$el.find(".class-list #bve-class-" + result[0].model_id); + for (var o = 0; o < result.length; o++) { + self._render_field(self, o, result, item, addField) + } + item.data('bve-processed', true); } - item.data('bve-processed', true); } for (var i = 0; i < result.length; i++) { var item = $("
    " + result[i].name + "
    ") @@ -138,7 +195,7 @@ openerp.bi_view_editor = function (instance, local) { var index = self.activeModelMenus.indexOf(item.find(".class").data('model-data').id); if(index !== -1 && !self.get("effective_readonly")) { - model.call("get_fields", [self.activeModelMenus[index]], { context: new instance.web.CompoundContext() }).then(renderFields); + model.call("get_fields", [self.activeModelMenus[index]], { context: new Data.CompoundContext() }).then(renderFields); } self.filter(); } @@ -165,15 +222,19 @@ openerp.bi_view_editor = function (instance, local) { _contextMenu.find(identifier).attr('checked', false); }, _false_if_undefined: function(to_check) { - if (typeof check === 'undefined') return false; - return check; + if (typeof to_check === 'undefined') return false; + return to_check; + }, + _true_if_undefined: function(to_check) { + if (typeof to_check === 'undefined') return true; + return to_check; }, add_field_to_table: function(data, options) { var self = this; - data.row = self._false_if_undefined(data.row); data.column = self._false_if_undefined(data.column); data.measure = self._false_if_undefined(data.measure); + data.list = self._true_if_undefined(data.list); var n = 1; var name = data.name; @@ -220,10 +281,11 @@ openerp.bi_view_editor = function (instance, local) { self.set_checkbox(currentFieldData.column, '#column-checkbox', contextMenu); self.set_checkbox(currentFieldData.row, '#row-checkbox', contextMenu); self.set_checkbox(currentFieldData.measure, '#measure-checkbox', contextMenu); + self.set_checkbox(currentFieldData.list, '#list-checkbox', contextMenu); var to_disable = false; if(currentFieldData.type === "float" || currentFieldData.type === "integer" || currentFieldData.type === "monetary") to_disable = true; - var identifiers = [['#column-checkbox', 'column', to_disable], ['#row-checkbox', 'row', to_disable], ['#measure-checkbox', 'measure', !to_disable]]; + var identifiers = [['#column-checkbox', 'column', to_disable], ['#row-checkbox', 'row', to_disable], ['#measure-checkbox', 'measure', !to_disable], ['#list-checkbox', 'list', false]]; identifiers.forEach(function (element) { contextMenu.find(element[0]).attr('disabled', element[2]); }); @@ -260,8 +322,13 @@ openerp.bi_view_editor = function (instance, local) { self.clean_join_nodes(); self.internal_set_value(JSON.stringify(self.get_fields())); self.load_classes(); + self.$el.find(".field-list .delete-button").hide(); + self.$el.find(".field-list .delete-button:last").show(); return false; }); + + self.$el.find(".field-list .delete-button").hide(); + self.$el.find(".field-list .delete-button:last").show(); }, clean_join_nodes: function () { var aliases = $.makeArray(this.$el.find(".field-list tbody tr").map(function (idx, el) { @@ -320,19 +387,29 @@ openerp.bi_view_editor = function (instance, local) { self.load_classes(field); }, add_field: function(field) { + var self = this; + + // Quick fix for double click + if(self._adding) { + return; + } + self._adding = true; + setTimeout(function() { + self._adding = false; + }, 1000); + // End quick fix + var data = field.data('field-data'); - var model = new instance.web.Model("ir.model"); + var model = new Model("ir.model"); var model_ids = this.get_model_ids(); var field_data = this.get_fields(); - var self = this; - model.call('get_join_nodes', [field_data, data], {context: new instance.web.CompoundContext()}).then(function(result) { + model.call('get_join_nodes', [field_data, data], {context: new Data.CompoundContext()}).then(function(result) { if (result.length === 1) { self.add_field_and_join_node(data, result[0]); self.internal_set_value(JSON.stringify(self.get_fields())); - //self.load_classes(data); } else if (result.length > 1) { - var pop = new local.JoinNodePopup(self); + var pop = new JoinNodePopup(self); pop.display_popup(result, self.get_model_data(), self.add_field_and_join_node.bind(self), data); } else { // first field and table only. @@ -363,49 +440,6 @@ openerp.bi_view_editor = function (instance, local) { this.load_classes(); } }); - instance.web.form.widgets.add('BVEEditor', 'instance.bi_view_editor.BVEEditor'); + Core.form_widget_registry.add('BVEEditor', BiViewEditor); - local.JoinNodePopup = instance.web.Widget.extend({ - template: "JoinNodePopup", - start: function() { - var self = this; - }, - - display_popup: function(choices, model_data, callback, callback_data) { - var self = this; - this.renderElement(); - var joinnodes = this.$el.find('#join-nodes'); - joinnodes.empty(); - for (var i=0; i" + description+ "") - .data('idx', i) - .wrap("

    ") - .parent()); - - } - var dialog = new instance.web.Dialog(this, { - dialogClass: 'oe_act_window', - title: "Choose Join Node", - $content: this.$el - }).open(); - - joinnodes.find('a').click(function() { - callback(callback_data, choices[$(this).data('idx')]); - dialog.close(); - }); - - this.start(); - } - }); - -}; +}); diff --git a/bi_view_editor/templates/qweb_template.xml b/bi_view_editor/templates/qweb_template.xml index fae5371b7..cc8243f68 100644 --- a/bi_view_editor/templates/qweb_template.xml +++ b/bi_view_editor/templates/qweb_template.xml @@ -2,7 +2,6 @@
    -

    Please choose the join node

    @@ -44,9 +43,10 @@
      -
    • Column
    • -
    • Row
    • -
    • Measure
    • +
    • Column
    • +
    • Row
    • +
    • Measure
    • +
    • List
    diff --git a/bi_view_editor/tests/test_bi_view.py b/bi_view_editor/tests/test_bi_view.py index b4f4f24b1..375227aa1 100644 --- a/bi_view_editor/tests/test_bi_view.py +++ b/bi_view_editor/tests/test_bi_view.py @@ -2,8 +2,8 @@ # Copyright 2017 Onestein () # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). -from openerp.tests.common import TransactionCase, at_install, post_install -from openerp.exceptions import Warning as UserError +from odoo.tests.common import TransactionCase, at_install, post_install +from odoo.exceptions import UserError class TestBiViewEditor(TransactionCase): @@ -66,6 +66,7 @@ class TestBiViewEditor(TransactionCase): 'table_alias': 't0', 'row': 0, 'column': 1, + 'list': 1, 'measure': 0 }, {'model_id': self.partner_model.id, @@ -81,6 +82,7 @@ class TestBiViewEditor(TransactionCase): 'description': self.partner_company_field.field_description, 'row': 0, 'column': 0, + 'list': 1, 'measure': 0 }, {'model_id': self.company_model.id, @@ -94,6 +96,7 @@ class TestBiViewEditor(TransactionCase): 'table_alias': 't1', 'row': 1, 'column': 0, + 'list': 0, 'measure': 0 } ] diff --git a/bi_view_editor/views/bve_view.xml b/bi_view_editor/views/bve_view.xml index 7152ad02c..d6d50254d 100644 --- a/bi_view_editor/views/bve_view.xml +++ b/bi_view_editor/views/bve_view.xml @@ -18,6 +18,7 @@
    - -
      - -
    • Column
    • -
    • Row
    • -
    • Measure
    • -
    • List
    • - -
    - -
    - diff --git a/bi_view_editor/tests/__init__.py b/bi_view_editor/tests/__init__.py index 8cde8cac4..b88bba13b 100644 --- a/bi_view_editor/tests/__init__.py +++ b/bi_view_editor/tests/__init__.py @@ -1,5 +1,3 @@ -# -*- coding: utf-8 -*- -# Copyright 2017 Onestein () -# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). +# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl). from . import test_bi_view diff --git a/bi_view_editor/tests/test_bi_view.py b/bi_view_editor/tests/test_bi_view.py index 375227aa1..4175b8fc1 100644 --- a/bi_view_editor/tests/test_bi_view.py +++ b/bi_view_editor/tests/test_bi_view.py @@ -1,6 +1,5 @@ -# -*- coding: utf-8 -*- -# Copyright 2017 Onestein () -# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). +# Copyright 2017-2018 Onestein () +# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl). from odoo.tests.common import TransactionCase, at_install, post_install from odoo.exceptions import UserError diff --git a/bi_view_editor/views/bve_view.xml b/bi_view_editor/views/bve_view.xml index d6d50254d..9e91d071d 100644 --- a/bi_view_editor/views/bve_view.xml +++ b/bi_view_editor/views/bve_view.xml @@ -1,6 +1,15 @@ - + + + Translations + ir.actions.act_window + ir.translation + form + [('res_id', '=', active_record.), ('name', '=', 'ir.model.fields,field_description')] + + + bve.view @@ -22,6 +31,14 @@ +
    +

    diff --git a/bi_view_editor/wizard/__init__.py b/bi_view_editor/wizard/__init__.py index bca2d78f9..262e6a5c2 100644 --- a/bi_view_editor/wizard/__init__.py +++ b/bi_view_editor/wizard/__init__.py @@ -1,5 +1,3 @@ -# -*- coding: utf-8 -*- -# Copyright 2017 Onestein () -# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). +# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl). from . import wizard_ir_model_menu_create diff --git a/bi_view_editor/wizard/wizard_ir_model_menu_create.py b/bi_view_editor/wizard/wizard_ir_model_menu_create.py index 58cc3288e..33412ef27 100644 --- a/bi_view_editor/wizard/wizard_ir_model_menu_create.py +++ b/bi_view_editor/wizard/wizard_ir_model_menu_create.py @@ -1,6 +1,5 @@ -# -*- coding: utf-8 -*- -# Copyright 2017 Onestein () -# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). +# Copyright 2017-2018 Onestein () +# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl). from odoo import api, models From c26370b31d7dac015ba09731e635518b89081e80 Mon Sep 17 00:00:00 2001 From: SimoRubi Date: Tue, 14 Aug 2018 08:52:43 +0200 Subject: [PATCH 037/404] [FIX] bi_view_editor: Apostrophe + migration script Apostrophe in model name raised ValueError. Added needed migration script. --- bi_view_editor/__manifest__.py | 3 +- .../migrations/10.0.1.0.2/post-migrate.py | 51 +++++++++++++++++++ bi_view_editor/models/bve_view.py | 20 +++----- bi_view_editor/tests/test_bi_view.py | 24 ++++++++- 4 files changed, 84 insertions(+), 14 deletions(-) create mode 100644 bi_view_editor/migrations/10.0.1.0.2/post-migrate.py diff --git a/bi_view_editor/__manifest__.py b/bi_view_editor/__manifest__.py index 01a6aa332..3bc3424b6 100644 --- a/bi_view_editor/__manifest__.py +++ b/bi_view_editor/__manifest__.py @@ -12,7 +12,8 @@ 'version': '11.0.1.0.0', 'depends': [ 'base', - 'web' + 'web', + 'base_sparse_field' ], 'data': [ 'security/ir.model.access.csv', diff --git a/bi_view_editor/migrations/10.0.1.0.2/post-migrate.py b/bi_view_editor/migrations/10.0.1.0.2/post-migrate.py new file mode 100644 index 000000000..806bb2d68 --- /dev/null +++ b/bi_view_editor/migrations/10.0.1.0.2/post-migrate.py @@ -0,0 +1,51 @@ +# -*- coding: utf-8 -*- +# Copyright 2018 Simone Rubino - Agile Business Group +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). + +from openupgradelib.openupgrade import logged_query, migrate +import json + + +@migrate() +def migrate(env, version): + cr = env.cr + convert_text_to_serialized( + cr, env['bve.view']._table, env['bve.view']._fields['data'].name) + pass + + +def convert_text_to_serialized( + cr, table, text_field_name, serialized_field_name=None): + """ + Convert Text field value to Serialized value. + """ + if not serialized_field_name: + serialized_field_name = text_field_name + select_query = """ +SELECT + id, + %(text_field_name)s +FROM %(table)s +WHERE %(text_field_name)s IS NOT NULL +""" + cr.execute( + select_query % { + 'text_field_name': text_field_name, + 'table': table, + } + ) + update_query = """ +UPDATE %(table)s + SET %(serialized_field_name)s = %%(field_value)s + WHERE id = %(record_id)d +""" + for row in cr.fetchall(): + # Fill in the field_value later because it needs escaping + row_update_query = update_query % { + 'serialized_field_name': serialized_field_name, + 'table': table, + 'record_id': row[0]} + logged_query( + cr, row_update_query, { + 'field_value': json.dumps(row[1]) + }) diff --git a/bi_view_editor/models/bve_view.py b/bi_view_editor/models/bve_view.py index 053fed4f7..d7042cfde 100644 --- a/bi_view_editor/models/bve_view.py +++ b/bi_view_editor/models/bve_view.py @@ -7,6 +7,8 @@ from odoo import api, fields, models, tools from odoo.exceptions import UserError from odoo.tools.translate import _ +from odoo.addons.base_sparse_field.models.fields import Serialized + class BveView(models.Model): _name = 'bve.view' @@ -38,7 +40,7 @@ class BveView(models.Model): ('created', 'Created')], default='draft', copy=False) - data = fields.Text( + data = Serialized( help="Use the special query builder to define the query " "to generate your report dataset. " "NOTE: To be edited, the query should be in 'Draft' status.") @@ -62,12 +64,6 @@ class BveView(models.Model): _('Custom BI View names must be unique!')), ] - @classmethod - def _get_format_data(cls, data): - data = data.replace('\'', '"') - data = data.replace(': u"', ':"') - return data - @api.multi def _create_view_arch(self): self.ensure_one() @@ -95,7 +91,7 @@ class BveView(models.Model): view_fields.append(field_def) return view_fields - fields_info = json.loads(self._get_format_data(self.data)) + fields_info = json.loads(self.data) view_fields = _get_field_list(fields_info) return view_fields @@ -117,7 +113,7 @@ class BveView(models.Model): view_fields.append(field_def) return view_fields - fields_info = json.loads(self._get_format_data(self.data)) + fields_info = json.loads(self.data) view_fields = _get_field_list(fields_info) return view_fields @@ -218,7 +214,7 @@ class BveView(models.Model): res = self.env.cr.fetchall() return [x[0] for x in res] - info = json.loads(self._get_format_data(self.data)) + info = json.loads(self.data) model_names = list(set([f['model'] for f in info])) read_groups = set.intersection(*[set( group_ids_with_access(model_name, 'read') @@ -289,7 +285,7 @@ class BveView(models.Model): check_empty_data(self.data) - formatted_data = json.loads(self._get_format_data(self.data)) + formatted_data = json.loads(self.data) info = get_fields_info(formatted_data) select_fields = get_fields(info) tables = get_tables(info) @@ -387,7 +383,7 @@ class BveView(models.Model): self._create_sql_view() # create model and fields - data = json.loads(self._get_format_data(self.data)) + data = json.loads(self.data) model_vals = { 'name': self.name, 'model': self.model_name, diff --git a/bi_view_editor/tests/test_bi_view.py b/bi_view_editor/tests/test_bi_view.py index 4175b8fc1..0f4d96e95 100644 --- a/bi_view_editor/tests/test_bi_view.py +++ b/bi_view_editor/tests/test_bi_view.py @@ -1,6 +1,8 @@ # Copyright 2017-2018 Onestein () # License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl). +import json + from odoo.tests.common import TransactionCase, at_install, post_install from odoo.exceptions import UserError @@ -99,7 +101,7 @@ class TestBiViewEditor(TransactionCase): 'measure': 0 } ] - format_data = self.env['bve.view']._get_format_data(str(data)) + format_data = json.dumps(data) self.bi_view1_vals = { 'state': 'draft', @@ -227,3 +229,23 @@ class TestBiViewEditor(TransactionCase): # try to remove view with self.assertRaises(UserError): bi_view.unlink() + + @at_install(False) + @post_install(True) + def test_10_create_open_bve_object_apostrophe(self): + vals = self.bi_view1_vals + employees_group = self.env.ref('base.group_user') + vals.update({ + 'name': "Test View5", + 'group_ids': [(6, 0, [employees_group.id])], + }) + l = list() + for r in json.loads(vals['data']): + r['model_name'] = "model'name" + l.append(r) + new_format_data = json.dumps(l) + vals.update({'data': new_format_data}) + bi_view = self.env['bve.view'].create(vals) + self.assertEqual(len(bi_view), 1) + # create bve object + bi_view.action_create() From aa6f72541c01975990b831a949b3594a77fbdd06 Mon Sep 17 00:00:00 2001 From: Andrea Date: Wed, 29 Aug 2018 16:40:22 +0200 Subject: [PATCH 038/404] Remove logger warnings during update all --- bi_view_editor/README.rst | 3 ++- bi_view_editor/models/models.py | 42 +++++++++++++++++++++++++++++++-- 2 files changed, 42 insertions(+), 3 deletions(-) diff --git a/bi_view_editor/README.rst b/bi_view_editor/README.rst index fcb01c559..ba2a50f4a 100644 --- a/bi_view_editor/README.rst +++ b/bi_view_editor/README.rst @@ -49,7 +49,8 @@ Known issues / Roadmap * Extend the capabilities of the tree views (e.g. add sums) * Provide a tutorial (eg. a working example of usage) * Implement a more advanced UI, with possibilities to use LEFT JOIN as default instead of INNER JOIN -* Find better ways to extend the *_auto_init()* without override (possibly avoid the monkey patch) +* Find better ways to extend the *_auto_init()* without override +* Possibly avoid the monkey patches * Data the user has no access to (e.g. in a multi company situation) can be viewed by making a view * Store the JSON data structure in ORM * Would be nice if models available to select when creating a view are limited to the ones that have intersecting groups (for non technical users) diff --git a/bi_view_editor/models/models.py b/bi_view_editor/models/models.py index f945bb476..7037b861b 100644 --- a/bi_view_editor/models/models.py +++ b/bi_view_editor/models/models.py @@ -3,9 +3,12 @@ import logging -from odoo import _, api, models, tools +from odoo import SUPERUSER_ID +from odoo import _, api, models, modules, tools from odoo.exceptions import UserError +from odoo.tools import (existing_tables, topological_sort) + _logger = logging.getLogger(__name__) @@ -14,6 +17,42 @@ def _bi_view(_name): return _name[0:6] == 'x_bve.' +def check_tables_exist(self, cr): + """ + Verify that all tables are present and try to initialize + those that are missing. + """ + # This monkey patch is meant to avoid that the _logger writes + # warning and error messages, while running an update all, + # in case the model is a bi-view-generated model. + + env = api.Environment(cr, SUPERUSER_ID, {}) + table2model = { + model._table: name for name, model in env.items() + if not model._abstract and not _bi_view(name) # here is the patch + } + missing_tables = set(table2model).difference( + existing_tables(cr, table2model)) + + if missing_tables: + missing = {table2model[table] for table in missing_tables} + _logger.warning("Models have no table: %s.", ", ".join(missing)) + # recreate missing tables following model dependencies + deps = {name: model._depends for name, model in env.items()} + for name in topological_sort(deps): + if name in missing: + _logger.info("Recreate table of model %s.", name) + env[name].init() + # check again, and log errors if tables are still missing + missing_tables = set(table2model).difference( + existing_tables(cr, table2model)) + for table in missing_tables: + _logger.error("Model %s has no table.", table2model[table]) + + +modules.registry.Registry.check_tables_exist = check_tables_exist + + @api.model_cr_context def _auto_init(self): """ Initialize the database schema of ``self``: @@ -38,7 +77,6 @@ def _auto_init(self): # an update all is the one of BaseModel, and not the one of Base. # START OF patch - # TODO: find better ways to do this patch if _bi_view(self._name): return # END of patch From 77d4f5534de3430c7f3f7d9f766e71a9f2df3476 Mon Sep 17 00:00:00 2001 From: tarteo Date: Tue, 4 Sep 2018 09:58:25 +0200 Subject: [PATCH 039/404] [FIX] Field widget, new readme + Make enabled in list view default true --- bi_view_editor/README.rst | 74 +++++++++++++------ bi_view_editor/readme/CONTRIBUTORS.rst | 8 ++ bi_view_editor/readme/CREDITS.rst | 11 +++ bi_view_editor/readme/DESCRIPTION.rst | 14 ++++ bi_view_editor/readme/ROADMAP.rst | 10 +++ bi_view_editor/readme/USAGE.rst | 10 +++ .../static/src/js/bi_view_editor.FieldList.js | 2 +- .../static/src/js/bi_view_editor.js | 14 ++-- 8 files changed, 114 insertions(+), 29 deletions(-) create mode 100644 bi_view_editor/readme/CONTRIBUTORS.rst create mode 100644 bi_view_editor/readme/CREDITS.rst create mode 100644 bi_view_editor/readme/DESCRIPTION.rst create mode 100644 bi_view_editor/readme/ROADMAP.rst create mode 100644 bi_view_editor/readme/USAGE.rst diff --git a/bi_view_editor/README.rst b/bi_view_editor/README.rst index ba2a50f4a..638eda482 100644 --- a/bi_view_editor/README.rst +++ b/bi_view_editor/README.rst @@ -1,11 +1,30 @@ -.. image:: https://img.shields.io/badge/license-AGPL--3-blue.png - :target: https://www.gnu.org/licenses/agpl - :alt: License: AGPL-3 - ============== BI View Editor ============== +.. !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + !! This file is generated by oca-gen-addon-readme !! + !! changes will be overwritten. !! + !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + +.. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png + :target: https://odoo-community.org/page/development-status + :alt: Beta +.. |badge2| image:: https://img.shields.io/badge/licence-AGPL--3-blue.png + :target: http://www.gnu.org/licenses/agpl-3.0-standalone.html + :alt: License: AGPL-3 +.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Freporting--engine-lightgray.png?logo=github + :target: https://github.com/OCA/reporting-engine/tree/11.0/bi_view_editor + :alt: OCA/reporting-engine +.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png + :target: https://translation.odoo-community.org/projects/reporting-engine-11-0/reporting-engine-11-0-bi_view_editor + :alt: Translate me on Weblate +.. |badge5| image:: https://img.shields.io/badge/runbot-Try%20me-875A7B.png + :target: https://runbot.odoo-community.org/runbot/143/11.0 + :alt: Try me on Runbot + +|badge1| |badge2| |badge3| |badge4| |badge5| + BI View Editor is a tool integrated in Odoo that allows users define and execute their own reports without the need to code. @@ -21,11 +40,14 @@ Purpose: * The BI View Editor offers users different types of representations, including tree, graph, pivot views. +**Table of contents** + +.. contents:: + :local: Usage ===== - To graphically design your analysis data-set: - From the Dashboards menu, select "Custom BI Views" @@ -37,10 +59,6 @@ To graphically design your analysis data-set: - If module Dashboard (board) is installed, the standard "Add to My Dashboard" functionality would be available - Click "Create a menu" to create a new menu item directly linked to your new BI view (this feature is available in developer mode); when the BI view is reset back to draft this menu will be removed, and you will need to re-create the menu entry. -.. image:: https://odoo-community.org/website/image/ir.attachment/5784_f2813bd/datas - :alt: Try me on Runbot - :target: https://runbot.odoo-community.org/runbot/143/11.0 - Known issues / Roadmap ====================== @@ -58,21 +76,23 @@ Known issues / Roadmap 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 smash it by providing detailed and welcomed feedback. +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 `_. + +Do not contact contributors directly about support or help with technical issues. Credits ======= -Images ------- +Authors +~~~~~~~ -* Odoo Community Association: `Icon `_. +* Onestein Contributors ------------- +~~~~~~~~~~~~ * Simon Janssens * Diego Luis Neto @@ -83,7 +103,13 @@ Contributors * Antonio Esposito * Jordi Ballester Alomar -Do not contact contributors directly about support or help with technical issues. +Other credits +~~~~~~~~~~~~~ + +Images +------ + +* Odoo Community Association: `Icon `_. Funders ------- @@ -92,17 +118,19 @@ The development of this module has been financially supported by: * IDEAL Connaissances SAS https://www.idealconnaissances.com -Maintainer ----------- +Maintainers +~~~~~~~~~~~ + +This module is maintained by the OCA. .. image:: https://odoo-community.org/logo.png :alt: Odoo Community Association :target: https://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 https://odoo-community.org. +This module is part of the `OCA/reporting-engine `_ project on GitHub. + +You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute. diff --git a/bi_view_editor/readme/CONTRIBUTORS.rst b/bi_view_editor/readme/CONTRIBUTORS.rst new file mode 100644 index 000000000..14cc58d68 --- /dev/null +++ b/bi_view_editor/readme/CONTRIBUTORS.rst @@ -0,0 +1,8 @@ +* Simon Janssens +* Diego Luis Neto +* Dennis Sluijk +* Kevin Graveman +* Richard Dijkstra +* Andrea Stirpe +* Antonio Esposito +* Jordi Ballester Alomar diff --git a/bi_view_editor/readme/CREDITS.rst b/bi_view_editor/readme/CREDITS.rst new file mode 100644 index 000000000..d4f0eafe3 --- /dev/null +++ b/bi_view_editor/readme/CREDITS.rst @@ -0,0 +1,11 @@ +Images +------ + +* Odoo Community Association: `Icon `_. + +Funders +------- + +The development of this module has been financially supported by: + +* IDEAL Connaissances SAS https://www.idealconnaissances.com diff --git a/bi_view_editor/readme/DESCRIPTION.rst b/bi_view_editor/readme/DESCRIPTION.rst new file mode 100644 index 000000000..f3f712b0f --- /dev/null +++ b/bi_view_editor/readme/DESCRIPTION.rst @@ -0,0 +1,14 @@ +BI View Editor is a tool integrated in Odoo that allows users define and +execute their own reports without the need to code. + +Purpose: + +* The BI View Editor is used to create reports not already contained in the + standard Odoo, combining data from existing sources. + +* It has been designed to be used by users with little or no knowledge of + the technical architecture of Odoo. Users visually link business objects + and select the fields to visualize. + +* The BI View Editor offers users different types of representations, + including tree, graph, pivot views. diff --git a/bi_view_editor/readme/ROADMAP.rst b/bi_view_editor/readme/ROADMAP.rst new file mode 100644 index 000000000..4d261c614 --- /dev/null +++ b/bi_view_editor/readme/ROADMAP.rst @@ -0,0 +1,10 @@ +* Non-stored fields and many2many fields are not supported +* Provide graph view for table relations +* Extend the capabilities of the tree views (e.g. add sums) +* Provide a tutorial (eg. a working example of usage) +* Implement a more advanced UI, with possibilities to use LEFT JOIN as default instead of INNER JOIN +* Find better ways to extend the *_auto_init()* without override +* Possibly avoid the monkey patches +* Data the user has no access to (e.g. in a multi company situation) can be viewed by making a view +* Store the JSON data structure in ORM +* Would be nice if models available to select when creating a view are limited to the ones that have intersecting groups (for non technical users) diff --git a/bi_view_editor/readme/USAGE.rst b/bi_view_editor/readme/USAGE.rst new file mode 100644 index 000000000..a91ccbdd2 --- /dev/null +++ b/bi_view_editor/readme/USAGE.rst @@ -0,0 +1,10 @@ +To graphically design your analysis data-set: + +- From the Dashboards menu, select "Custom BI Views" +- Browse trough the business objects in the Query tab +- Pick the interesting fields (Drag & Drop) +- For each selected field, right-click on the Options column and select whether it's a row, column or measure; if you want to remove the field from the list view, unflag the checkbox ´List´ in the Options column +- Save and click "Generate BI View" +- Click "Open BI View" to view the result +- If module Dashboard (board) is installed, the standard "Add to My Dashboard" functionality would be available +- Click "Create a menu" to create a new menu item directly linked to your new BI view (this feature is available in developer mode); when the BI view is reset back to draft this menu will be removed, and you will need to re-create the menu entry. diff --git a/bi_view_editor/static/src/js/bi_view_editor.FieldList.js b/bi_view_editor/static/src/js/bi_view_editor.FieldList.js index 37cbc2e11..937827898 100644 --- a/bi_view_editor/static/src/js/bi_view_editor.FieldList.js +++ b/bi_view_editor/static/src/js/bi_view_editor.FieldList.js @@ -132,7 +132,7 @@ odoo.define('bi_view_editor.FieldList', function(require) { field.row = typeof field.row === 'undefined' ? false : field.row; field.column = typeof field.column === 'undefined' ? false : field.column; field.measure = typeof field.measure === 'undefined' ? false : field.measure; - field.list = typeof field.list === 'undefined' ? false : field.list; + field.list = typeof field.list === 'undefined' ? true : field.list; field._id = typeof field._id === 'undefined' ? _.uniqueId('node_') : field._id; if(field.join_node) { field.join_left = typeof field.join_left === 'undefined' ? false : field.join_left; diff --git a/bi_view_editor/static/src/js/bi_view_editor.js b/bi_view_editor/static/src/js/bi_view_editor.js index 2f52d4832..b9abe9984 100644 --- a/bi_view_editor/static/src/js/bi_view_editor.js +++ b/bi_view_editor/static/src/js/bi_view_editor.js @@ -54,15 +54,16 @@ odoo.define('bi_view_editor', function (require) { if (this.mode !== 'readonly') { this.field_list.set([]); this.loadAndPopulateModelList(); - this._setValue(JSON.stringify(this.field_list.get())); + this._setValue(this.field_list.get()); } }, fieldListChanged: function() { - this._setValue(JSON.stringify(this.field_list.get())); + this._setValue(this.field_list.get()); }, fieldListRemoved: function() { + console.log(this.field_list.get()); this.loadAndPopulateModelList(); - this._setValue(JSON.stringify(this.field_list.get())); + this._setValue(this.field_list.get()); }, renderValue: function() { this.field_list.set(JSON.parse(this.value)); @@ -113,7 +114,7 @@ odoo.define('bi_view_editor', function (require) { this.field_list.add(field); this.loadAndPopulateModelList(); - this._setValue(JSON.stringify(this.field_list.get())); + this._setValue(this.field_list.get()); }, addField: function(field) { var data = _.extend({}, field); @@ -132,9 +133,12 @@ odoo.define('bi_view_editor', function (require) { data.table_alias = table_alias; this.field_list.add(data); this.loadAndPopulateModelList(); - this._setValue(JSON.stringify(this.field_list.get())); + this._setValue(this.field_list.get()); } }.bind(this)); + }, + _parseValue: function(value) { + return JSON.stringify(value); } }); From b699929fbbd884d3b97322b55d66c0790a6e15dc Mon Sep 17 00:00:00 2001 From: Andrea Stirpe Date: Fri, 7 Sep 2018 15:29:25 +0200 Subject: [PATCH 040/404] Drop bi views when uninstalling module --- bi_view_editor/__init__.py | 2 +- bi_view_editor/__manifest__.py | 3 +- bi_view_editor/hooks.py | 61 ++++++++- bi_view_editor/models/ir_model.py | 4 +- bi_view_editor/models/models.py | 118 +----------------- .../static/src/js/bi_view_editor.FieldList.js | 88 ++++++------- .../src/js/bi_view_editor.JoinNodeDialog.js | 8 +- .../static/src/js/bi_view_editor.ModelList.js | 46 +++---- .../static/src/js/bi_view_editor.js | 30 ++--- bi_view_editor/tests/test_bi_view.py | 6 +- .../wizard/wizard_ir_model_menu_create.py | 8 +- 11 files changed, 163 insertions(+), 211 deletions(-) diff --git a/bi_view_editor/__init__.py b/bi_view_editor/__init__.py index d771dad23..c941740cf 100644 --- a/bi_view_editor/__init__.py +++ b/bi_view_editor/__init__.py @@ -2,4 +2,4 @@ from . import models from . import wizard -from .hooks import uninstall_hook +from .hooks import post_load, uninstall_hook diff --git a/bi_view_editor/__manifest__.py b/bi_view_editor/__manifest__.py index 3bc3424b6..77b6e44ba 100644 --- a/bi_view_editor/__manifest__.py +++ b/bi_view_editor/__manifest__.py @@ -24,6 +24,7 @@ 'qweb': [ 'static/src/xml/bi_view_editor.xml' ], + 'post_load': 'post_load', + 'uninstall_hook': 'uninstall_hook', 'installable': True, - 'uninstall_hook': 'uninstall_hook' } diff --git a/bi_view_editor/hooks.py b/bi_view_editor/hooks.py index cd449f661..75746381e 100644 --- a/bi_view_editor/hooks.py +++ b/bi_view_editor/hooks.py @@ -1,6 +1,56 @@ # Copyright 2015-2018 Onestein () # License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl). +import logging + +from odoo import SUPERUSER_ID +from odoo import api, modules + +from odoo.tools import existing_tables, topological_sort + +_logger = logging.getLogger(__name__) + + +def _bi_view(_name): + return _name[0:6] == 'x_bve.' + + +def post_load(): + + def check_tables_exist(self, cr): + """ + Verify that all tables are present and try to initialize + those that are missing. + """ + # This monkey patch is meant to avoid that the _logger writes + # warning and error messages, while running an update all, + # in case the model is a bi-view-generated model. + + env = api.Environment(cr, SUPERUSER_ID, {}) + table2model = { + model._table: name for name, model in env.items() + if not model._abstract and not _bi_view(name) # here is the patch + } + missing_tables = set(table2model).difference( + existing_tables(cr, table2model)) + + if missing_tables: + missing = {table2model[table] for table in missing_tables} + _logger.warning("Models have no table: %s.", ", ".join(missing)) + # recreate missing tables following model dependencies + deps = {name: model._depends for name, model in env.items()} + for name in topological_sort(deps): + if name in missing: + _logger.info("Recreate table of model %s.", name) + env[name].init() + # check again, and log errors if tables are still missing + missing_tables = set(table2model).difference( + existing_tables(cr, table2model)) + for table in missing_tables: + _logger.error("Model %s has no table.", table2model[table]) + + modules.registry.Registry.check_tables_exist = check_tables_exist + def uninstall_hook(cr, registry): # delete dirty data that could cause problems @@ -10,4 +60,13 @@ def uninstall_hook(cr, registry): """) cr.execute(""" delete from bve_view where model_name like 'x_bve.%' - """) + """) + cr.execute(""" + SELECT 'DROP VIEW ' || table_name + FROM information_schema.views + WHERE table_schema NOT IN ('pg_catalog', 'information_schema') + AND table_name like 'x_bve_%' + """) + results = list(cr.fetchall()) + for result in results: + cr.execute(result[0]) diff --git a/bi_view_editor/models/ir_model.py b/bi_view_editor/models/ir_model.py index deb7ea365..2003b2097 100644 --- a/bi_view_editor/models/ir_model.py +++ b/bi_view_editor/models/ir_model.py @@ -270,7 +270,7 @@ class IrModel(models.Model): @api.model def create(self, vals): - if self._context and self._context.get('bve'): + if self.env.context and self.env.context.get('bve'): vals['state'] = 'base' res = super(IrModel, self).create(vals) @@ -281,7 +281,7 @@ class IrModel(models.Model): self.env.cr.execute(q, (res.id, )) # # update registry - if self._context.get('bve'): + if self.env.context.get('bve'): # setup models; this reloads custom models in registry self.pool.setup_models(self._cr) diff --git a/bi_view_editor/models/models.py b/bi_view_editor/models/models.py index 7037b861b..546b44b54 100644 --- a/bi_view_editor/models/models.py +++ b/bi_view_editor/models/models.py @@ -3,12 +3,9 @@ import logging -from odoo import SUPERUSER_ID -from odoo import _, api, models, modules, tools +from odoo import _, api, models from odoo.exceptions import UserError -from odoo.tools import (existing_tables, topological_sort) - _logger = logging.getLogger(__name__) @@ -17,122 +14,22 @@ def _bi_view(_name): return _name[0:6] == 'x_bve.' -def check_tables_exist(self, cr): - """ - Verify that all tables are present and try to initialize - those that are missing. - """ - # This monkey patch is meant to avoid that the _logger writes - # warning and error messages, while running an update all, - # in case the model is a bi-view-generated model. - - env = api.Environment(cr, SUPERUSER_ID, {}) - table2model = { - model._table: name for name, model in env.items() - if not model._abstract and not _bi_view(name) # here is the patch - } - missing_tables = set(table2model).difference( - existing_tables(cr, table2model)) - - if missing_tables: - missing = {table2model[table] for table in missing_tables} - _logger.warning("Models have no table: %s.", ", ".join(missing)) - # recreate missing tables following model dependencies - deps = {name: model._depends for name, model in env.items()} - for name in topological_sort(deps): - if name in missing: - _logger.info("Recreate table of model %s.", name) - env[name].init() - # check again, and log errors if tables are still missing - missing_tables = set(table2model).difference( - existing_tables(cr, table2model)) - for table in missing_tables: - _logger.error("Model %s has no table.", table2model[table]) - - -modules.registry.Registry.check_tables_exist = check_tables_exist +_auto_init_orig = models.BaseModel._auto_init @api.model_cr_context def _auto_init(self): - """ Initialize the database schema of ``self``: - - create the corresponding table, - - create/update the necessary columns/tables for fields, - - initialize new columns on existing rows, - - add the SQL constraints given on the model, - - add the indexes on indexed fields, - Also prepare post-init stuff to: - - add foreign key constraints, - - reflect models, fields, relations and constraints, - - mark fields to recompute on existing records. - - Note: you should not override this method. Instead, you can modify - the model's database schema by overriding method :meth:`~.init`, - which is called right after this one. - """ # This monkey patch is meant to fix an error (probably # introduced by https://github.com/odoo/odoo/pull/15412), while # running an update all. The _auto_init() method invoked during # an update all is the one of BaseModel, and not the one of Base. - # START OF patch + # This monkey patch seems not working if defined inside the post_load() + if _bi_view(self._name): return - # END of patch - - models.raise_on_invalid_object_name(self._name) - - # This prevents anything called by this method (in particular default - # values) from prefetching a field for which the corresponding column - # has not been added in database yet! - self = self.with_context(prefetch_fields=False) - - self.pool.post_init(self._reflect) - - cr = self._cr - parent_store_compute = False - update_custom_fields = self._context.get('update_custom_fields', False) - must_create_table = not tools.table_exists(cr, self._table) - - if self._auto: - if must_create_table: - tools.create_model_table(cr, self._table, self._description) - - if self._parent_store: - if not tools.column_exists(cr, self._table, 'parent_left'): - self._create_parent_columns() - parent_store_compute = True - - self._check_removed_columns(log=False) - - # update the database schema for fields - columns = tools.table_columns(cr, self._table) - - def recompute(field): - _logger.info("Storing computed values of %s", field) - recs = self.with_context(active_test=False).search([]) - recs._recompute_todo(field) - - for field in self._fields.values(): - if not field.store: - continue - - if field.manual and not update_custom_fields: - continue # don't update custom fields - - new = field.update_db(self, columns) - if new and field.compute: - self.pool.post_init(recompute, field) - - if self._auto: - self._add_sql_constraints() - - if must_create_table: - self._execute_sql() - - if parent_store_compute: - self._parent_store_compute() + return _auto_init_orig(self) models.BaseModel._auto_init = _auto_init @@ -141,11 +38,6 @@ models.BaseModel._auto_init = _auto_init class Base(models.AbstractModel): _inherit = 'base' - @api.model - def _auto_init(self): - if not _bi_view(self._name): - super(Base, self)._auto_init() - @api.model def _setup_complete(self): if not _bi_view(self._name): diff --git a/bi_view_editor/static/src/js/bi_view_editor.FieldList.js b/bi_view_editor/static/src/js/bi_view_editor.FieldList.js index 937827898..087db3023 100644 --- a/bi_view_editor/static/src/js/bi_view_editor.FieldList.js +++ b/bi_view_editor/static/src/js/bi_view_editor.FieldList.js @@ -1,7 +1,7 @@ /* Copyright 2015-2018 Onestein () * License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl). */ -odoo.define('bi_view_editor.FieldList', function(require) { +odoo.define('bi_view_editor.FieldList', function (require) { "use strict"; var core = require('web.core'); @@ -9,14 +9,14 @@ odoo.define('bi_view_editor.FieldList', function(require) { var Widget = require('web.Widget'); var FieldListContextMenu = Widget.extend({ - start: function() { + start: function () { var res = this._super.apply(this, arguments); - this.$el.mouseleave(function() { + this.$el.mouseleave(function () { $(this).addClass('hidden'); }); return res; }, - open: function(x, y) { + open: function (x, y) { this.$el.css({ 'left': x + 'px', 'top': y + 'px' @@ -28,7 +28,7 @@ odoo.define('bi_view_editor.FieldList', function(require) { var FieldListFieldContextMenu = FieldListContextMenu.extend({ template: 'bi_view_editor.FieldList.FieldContextMenu', - open: function(x, y, field) { + open: function (x, y, field) { this.$el.find('.checkbox-column').prop('checked', field.column); this.$el.find('.checkbox-row').prop('checked', field.row); this.$el.find('.checkbox-measure').prop('checked', field.measure); @@ -47,7 +47,7 @@ odoo.define('bi_view_editor.FieldList', function(require) { var events = this._super(x, y, field); this.$el.find('input').unbind('change'); - this.$el.find('input').change(function() { + this.$el.find('input').change(function () { var $checkbox = $(this); var property = $checkbox.attr('data-for'); field[property] = $checkbox.is(':checked'); @@ -60,12 +60,12 @@ odoo.define('bi_view_editor.FieldList', function(require) { var FieldListJoinContextMenu = FieldListContextMenu.extend({ template: 'bi_view_editor.FieldList.JoinContextMenu', - open: function(x, y, node) { + open: function (x, y, node) { this.$el.find('.checkbox-join-left').prop('checked', node.join_left); var events = this._super(x, y, node); this.$el.find('input').unbind('change'); - this.$el.find('input').change(function() { + this.$el.find('input').change(function () { var $checkbox = $(this); var property = $checkbox.attr('data-for'); node[property] = $checkbox.is(':checked'); @@ -81,7 +81,7 @@ odoo.define('bi_view_editor.FieldList', function(require) { 'click .delete-button': 'removeClicked', 'keyup input[name="description"]': 'keyupDescription' }, - start: function() { + start: function () { var res = this._super.apply(this, arguments); this.contextmenu = new FieldListFieldContextMenu(this); this.contextmenu.appendTo(this.$el); @@ -91,8 +91,8 @@ odoo.define('bi_view_editor.FieldList', function(require) { this.mode = null; return res; }, - setMode: function(mode) { - if(mode === 'readonly') { + setMode: function (mode) { + if (mode === 'readonly') { this.$el.find('input[type="text"]').attr('disabled', true); this.$el.find(".delete-button:last").addClass('hidden'); } else { @@ -101,7 +101,7 @@ odoo.define('bi_view_editor.FieldList', function(require) { } this.mode = mode; }, - get: function() { + get: function () { return $.makeArray(this.$el.find("tbody tr").map(function () { var field = $(this).data('field'); field.description = $(this).find('input[name="description"]').val(); @@ -127,20 +127,20 @@ odoo.define('bi_view_editor.FieldList', function(require) { }); return model_data; }, - add: function(field) { + add: function (field) { var self = this; field.row = typeof field.row === 'undefined' ? false : field.row; field.column = typeof field.column === 'undefined' ? false : field.column; field.measure = typeof field.measure === 'undefined' ? false : field.measure; field.list = typeof field.list === 'undefined' ? true : field.list; field._id = typeof field._id === 'undefined' ? _.uniqueId('node_') : field._id; - if(field.join_node) { + if (field.join_node) { field.join_left = typeof field.join_left === 'undefined' ? false : field.join_left; } var i = 0; var name = field.name; - while (this.get().filter(function(item) { + while (this.get().filter(function (item) { return item.name === field.name; }).length > 0) { field.name = name + '_' + i; @@ -150,9 +150,9 @@ odoo.define('bi_view_editor.FieldList', function(require) { // Render table row var $html = $(qweb.render(field.join_node ? 'bi_view_editor.JoinListItem' : 'bi_view_editor.FieldListItem', { 'field': field - })).data('field', field).contextmenu(function(e) { + })).data('field', field).contextmenu(function (e) { var $item = $(this); - if(self.mode === 'readonly') { + if (self.mode === 'readonly') { return; } e.preventDefault(); @@ -165,7 +165,7 @@ odoo.define('bi_view_editor.FieldList', function(require) { this.$el.find(".delete-button:last").removeClass('hidden'); this.order(); }, - remove: function(id) { + remove: function (id) { var $item = this.$el.find('tr[data-id="' + id + '"]'); $item.remove(); this.cleanJoinNodes(); @@ -173,53 +173,53 @@ odoo.define('bi_view_editor.FieldList', function(require) { this.$el.find(".delete-button:last").removeClass('hidden'); this.trigger('removed', id); }, - set: function(fields) { + set: function (fields) { var set_fields = fields; if (!set_fields) { set_fields = []; } this.$el.find('tbody tr').remove(); - for(var i = 0; i < set_fields.length; i++) { + for (var i = 0; i < set_fields.length; i++) { this.add(set_fields[i]); } this.$el.find(".delete-button").addClass('hidden'); this.$el.find(".delete-button:last").removeClass('hidden'); }, - openContextMenu: function($item, x, y) { + openContextMenu: function ($item, x, y) { var field = $item.data('field'); var contextmenu = field.join_node ? this.contextmenu_join : this.contextmenu; // Temporary disable contextmenu for join node (until left join is implemented) if (field.join_node) { return; } - contextmenu.open(x - 20, y - 20, $item.data('field')).on('change', function(f) { + contextmenu.open(x - 20, y - 20, $item.data('field')).on('change', function (f) { $item.data('field', f); this.refreshItem($item); this.trigger('updated'); }.bind(this)); }, - refreshItem: function($item) { + refreshItem: function ($item) { var data = $item.data('field'); var $attributes = $item.find('span[data-for], img[data-for]'); - $.each($attributes, function() { + $.each($attributes, function () { var $attribute = $(this); var value = data[$attribute.attr('data-for')]; - if(value) { + if (value) { $attribute.removeClass('hidden'); } else { $attribute.addClass('hidden'); } }); }, - removeClicked: function(e) { + removeClicked: function (e) { var $button = $(e.currentTarget); var id = $button.attr('data-id'); this.remove(id); }, - keyupDescription: function() { + keyupDescription: function () { this.trigger('updated'); }, - cleanJoinNodes: function() { + cleanJoinNodes: function () { var aliases = $.makeArray(this.$el.find("tbody tr").map(function () { var data = $(this).data('field'); return data.table_alias.localeCompare(data.join_node) > 0 ? data.join_node : data.table_alias; @@ -238,22 +238,22 @@ odoo.define('bi_view_editor.FieldList', function(require) { } }); }, - getOrder: function() { + getOrder: function () { var items = this.get(); - var ordered = items.sort(function(a, b) { + var ordered = items.sort(function (a, b) { var res = a.table_alias.localeCompare(b.table_alias); if (res === 0) { var both_join_node = a.join_node && b.join_node; var both_not_join_node = !a.join_node && !b.join_node; - if(both_join_node || both_not_join_node) { + if (both_join_node || both_not_join_node) { return 0; - } else if(!a.join_node && b.join_node) { - if(b.table_alias.localeCompare(b.join_node) > 0) { + } else if (!a.join_node && b.join_node) { + if (b.table_alias.localeCompare(b.join_node) > 0) { return 1; } return -1; - } else if(a.join_node && !b.join_node) { - if(a.table_alias.localeCompare(a.join_node) > 0) { + } else if (a.join_node && !b.join_node) { + if (a.table_alias.localeCompare(a.join_node) > 0) { return -1; } return 1; @@ -263,16 +263,16 @@ odoo.define('bi_view_editor.FieldList', function(require) { }); var res = []; - _.each(ordered, function(item) { - var already_exists = _.findIndex(res, function(f) { + _.each(ordered, function (item) { + var already_exists = _.findIndex(res, function (f) { return f._id === item._id; }) !== -1; - if(already_exists) { + if (already_exists) { return; } res.push(item); - if(item.join_node) { - var join_node_fields = _.filter(ordered, function(f) { + if (item.join_node) { + var join_node_fields = _.filter(ordered, function (f) { return f.table_alias === item.join_node && !f.join_node; }); res = _.union(res, join_node_fields); @@ -280,15 +280,15 @@ odoo.define('bi_view_editor.FieldList', function(require) { }); return res; }, - order: function() { + order: function () { var order = this.getOrder(); var $rows = this.$el.find("tbody tr"); - $rows.sort(function(a, b) { - var a_index = _.findIndex(order, function(item) { + $rows.sort(function (a, b) { + var a_index = _.findIndex(order, function (item) { return item._id === $(a).data('field')._id; }); - var b_index = _.findIndex(order, function(item) { + var b_index = _.findIndex(order, function (item) { return item._id === $(b).data('field')._id; }); return a_index - b_index; diff --git a/bi_view_editor/static/src/js/bi_view_editor.JoinNodeDialog.js b/bi_view_editor/static/src/js/bi_view_editor.JoinNodeDialog.js index 0ea99037c..e04343290 100644 --- a/bi_view_editor/static/src/js/bi_view_editor.JoinNodeDialog.js +++ b/bi_view_editor/static/src/js/bi_view_editor.JoinNodeDialog.js @@ -14,9 +14,9 @@ odoo.define('bi_view_editor.JoinNodeDialog', function (require) { '/bi_view_editor/static/src/xml/bi_view_editor.xml' ]), events: { - "click li": "choiceClicked", + "click li": "choiceClicked" }, - init: function(parent, options, choices, model_data) { + init: function (parent, options, choices, model_data) { this.choices = choices; // Prepare data for view for (var i = 0; i < choices.length; i++) { @@ -36,11 +36,11 @@ odoo.define('bi_view_editor.JoinNodeDialog', function (require) { text: _t("Cancel"), classes: "btn-default o_form_button_cancel", close: true - }], + }] }); this._super(parent, defaults); }, - choiceClicked: function(e) { + choiceClicked: function (e) { this.trigger('chosen', { choice: this.choices[$(e.currentTarget).attr('data-index')] }); diff --git a/bi_view_editor/static/src/js/bi_view_editor.ModelList.js b/bi_view_editor/static/src/js/bi_view_editor.ModelList.js index e60a2c0a3..96bca43ca 100644 --- a/bi_view_editor/static/src/js/bi_view_editor.ModelList.js +++ b/bi_view_editor/static/src/js/bi_view_editor.ModelList.js @@ -14,7 +14,7 @@ odoo.define('bi_view_editor.ModelList', function (require) { events: { 'keyup .search-bar > input': 'filterChanged' }, - init: function(parent) { + init: function (parent) { var res = this._super(parent); this.active_models = []; this.cache_fields = {}; @@ -22,8 +22,8 @@ odoo.define('bi_view_editor.ModelList', function (require) { this.mode = null; return res; }, - setMode: function(mode) { - if(mode === 'readonly') { + setMode: function (mode) { + if (mode === 'readonly') { this.$el.find('.search-bar').attr('disabled', true); this.$el.find('.class-list, .class').addClass('readonly'); } else { @@ -32,17 +32,17 @@ odoo.define('bi_view_editor.ModelList', function (require) { } this.mode = mode; }, - isActive: function(id) { + isActive: function (id) { return this.active_models.indexOf(id) !== -1; }, - removeAsActive: function(id) { + removeAsActive: function (id) { var i = this.active_models.indexOf(id); this.active_models.splice(i, 1); }, - addAsActive: function(id) { + addAsActive: function (id) { this.active_models.push(id); }, - loadModels: function(model_ids) { + loadModels: function (model_ids) { if (model_ids) { return this._rpc({ model: 'ir.model', @@ -61,7 +61,7 @@ odoo.define('bi_view_editor.ModelList', function (require) { } }); }, - loadFields: function(model_id) { + loadFields: function (model_id) { if (!(model_id in this.cache_fields)) { var deferred = this._rpc({ model: 'ir.model', @@ -79,39 +79,39 @@ odoo.define('bi_view_editor.ModelList', function (require) { var self = this; this.$el.find(".class-list").html(''); - _.each(models, function(model) { + _.each(models, function (model) { var $html = $(qweb.render('bi_view_editor.ModelListItem', { 'id': model.id, 'model': model.model, 'name': model.name })); - $html.find('.class').data('model', model).click(function() { + $html.find('.class').data('model', model).click(function () { self.modelClicked($(this)); }); self.$el.find(".class-list").append($html); if (self.isActive(model.id)) { - self.loadFields(model.id).done(function(fields) { + self.loadFields(model.id).done(function (fields) { self.populateFields(fields, model.id); }); } }); }, - populateFields: function(fields, model_id) { + populateFields: function (fields, model_id) { var self = this; - if(!model_id && fields.length === 0) { + if (!model_id && fields.length === 0) { return; } var data_model_id = model_id; - if(!data_model_id) { + if (!data_model_id) { data_model_id = fields[0].model_id; } var $model_item = this.$el.find(".class[data-id='" + data_model_id + "']"); - _.each(fields, function(field) { + _.each(fields, function (field) { var $field = $(qweb.render('bi_view_editor.ModelListFieldItem', { name: field.name, description: field.description - })).data('field', field).click(function() { + })).data('field', field).click(function () { self.fieldClicked($(this)); }).draggable({ 'revert': 'invalid', @@ -124,36 +124,36 @@ odoo.define('bi_view_editor.ModelList', function (require) { }); }, - modelClicked: function($el) { + modelClicked: function ($el) { if (this.mode === 'readonly') { return; } var model = $el.data('model'); $el.parent().find('.field').remove(); - if(this.isActive(model.id)) { + if (this.isActive(model.id)) { this.removeAsActive(model.id); } else { this.addAsActive(model.id); - this.loadFields(model.id).done(function(fields) { + this.loadFields(model.id).done(function (fields) { this.populateFields(fields, model.id); }.bind(this)); } }, - fieldClicked: function($el) { + fieldClicked: function ($el) { if (this.mode === 'readonly') { return; } this.trigger('field_clicked', $el.data('field')); }, - filterChanged: function(e) { + filterChanged: function (e) { var $input = $(e.target); this.filter($input.val()); }, - filter: function(value) { + filter: function (value) { this.active_models = []; this.$el.find('.field').remove(); var val = typeof value === 'undefined' ? this.current_filter : value.toLowerCase(); - this.$el.find(".class").each(function() { + this.$el.find(".class").each(function () { var data = $(this).data('model'); if (data.name.toLowerCase().indexOf(val) === -1 && data.model.toLowerCase().indexOf(val) === -1) { diff --git a/bi_view_editor/static/src/js/bi_view_editor.js b/bi_view_editor/static/src/js/bi_view_editor.js index b9abe9984..ed3a231db 100644 --- a/bi_view_editor/static/src/js/bi_view_editor.js +++ b/bi_view_editor/static/src/js/bi_view_editor.js @@ -17,14 +17,14 @@ odoo.define('bi_view_editor', function (require) { events: { "click .clear-btn": "clear" }, - start: function() { + start: function () { var self = this; var res = this._super.apply(this, arguments); // Init ModelList this.model_list = new ModelList(this); this.model_list.appendTo(this.$(".body > .left")); - this.model_list.on('field_clicked', this, function(field) { + this.model_list.on('field_clicked', this, function (field) { self.addField(_.extend({}, field)); }); @@ -42,7 +42,7 @@ odoo.define('bi_view_editor', function (require) { } }); - this.on("change:effective_readonly", this, function() { + this.on("change:effective_readonly", this, function () { this.updateMode(); }); this.renderValue(); @@ -50,22 +50,22 @@ odoo.define('bi_view_editor', function (require) { this.updateMode(); return res; }, - clear: function() { + clear: function () { if (this.mode !== 'readonly') { this.field_list.set([]); this.loadAndPopulateModelList(); this._setValue(this.field_list.get()); } }, - fieldListChanged: function() { + fieldListChanged: function () { this._setValue(this.field_list.get()); }, - fieldListRemoved: function() { + fieldListRemoved: function () { console.log(this.field_list.get()); this.loadAndPopulateModelList(); this._setValue(this.field_list.get()); }, - renderValue: function() { + renderValue: function () { this.field_list.set(JSON.parse(this.value)); }, updateMode: function () { @@ -79,16 +79,16 @@ odoo.define('bi_view_editor', function (require) { this.field_list.setMode(this.mode); this.model_list.setMode(this.mode); }, - loadAndPopulateModelList: function() { + loadAndPopulateModelList: function () { var model_ids = null; if (this.field_list.get().length > 0) { model_ids = this.field_list.getModelIds(); } - this.model_list.loadModels(model_ids).done(function(models) { + this.model_list.loadModels(model_ids).done(function (models) { this.model_list.populateModels(models); }.bind(this)); }, - getTableAlias: function(field) { + getTableAlias: function (field) { if (typeof field.table_alias === 'undefined') { var model_ids = this.field_list.getModelIds(); var n = 0; @@ -99,7 +99,7 @@ odoo.define('bi_view_editor', function (require) { } return field.table_alias; }, - addFieldAndJoinNode: function(field, join_node) { + addFieldAndJoinNode: function (field, join_node) { if (join_node.join_node === -1 || join_node.table_alias === -1) { field.table_alias = this.getTableAlias(field); if (join_node.join_node === -1) { @@ -116,16 +116,16 @@ odoo.define('bi_view_editor', function (require) { this.loadAndPopulateModelList(); this._setValue(this.field_list.get()); }, - addField: function(field) { + addField: function (field) { var data = _.extend({}, field); var model = new Data.DataSet(this, "ir.model"); var field_data = this.field_list.get(); - model.call('get_join_nodes', [field_data, data]).then(function(result) { + model.call('get_join_nodes', [field_data, data]).then(function (result) { if (result.length === 1) { this.addFieldAndJoinNode(data, result[0]); } else if (result.length > 1) { var dialog = new JoinNodeDialog(this, {}, result, this.field_list.getModelData()); - dialog.open().on('chosen', this, function(e) { + dialog.open().on('chosen', this, function (e) { this.addFieldAndJoinNode(data, e.choice); }); } else { @@ -137,7 +137,7 @@ odoo.define('bi_view_editor', function (require) { } }.bind(this)); }, - _parseValue: function(value) { + _parseValue: function (value) { return JSON.stringify(value); } }); diff --git a/bi_view_editor/tests/test_bi_view.py b/bi_view_editor/tests/test_bi_view.py index 0f4d96e95..2614f2fe0 100644 --- a/bi_view_editor/tests/test_bi_view.py +++ b/bi_view_editor/tests/test_bi_view.py @@ -239,11 +239,11 @@ class TestBiViewEditor(TransactionCase): 'name': "Test View5", 'group_ids': [(6, 0, [employees_group.id])], }) - l = list() + data_list = list() for r in json.loads(vals['data']): r['model_name'] = "model'name" - l.append(r) - new_format_data = json.dumps(l) + data_list.append(r) + new_format_data = json.dumps(data_list) vals.update({'data': new_format_data}) bi_view = self.env['bve.view'].create(vals) self.assertEqual(len(bi_view), 1) diff --git a/bi_view_editor/wizard/wizard_ir_model_menu_create.py b/bi_view_editor/wizard/wizard_ir_model_menu_create.py index 33412ef27..8d6f10ab6 100644 --- a/bi_view_editor/wizard/wizard_ir_model_menu_create.py +++ b/bi_view_editor/wizard/wizard_ir_model_menu_create.py @@ -9,9 +9,9 @@ class WizardModelMenuCreate(models.TransientModel): @api.multi def menu_create(self): - if self._context.get('active_model') == 'bve.view': + if self.env.context.get('active_model') == 'bve.view': self.ensure_one() - active_id = self._context.get('active_id') + active_id = self.env.context.get('active_id') bve_view = self.env['bve.view'].browse(active_id) menu = self.env['ir.ui.menu'].create({ 'name': self.name, @@ -31,8 +31,8 @@ class WizardModelMenuCreate(models.TransientModel): @api.model def default_get(self, fields_list): defaults = super(WizardModelMenuCreate, self).default_get(fields_list) - if self._context.get('active_model') == 'bve.view': - active_id = self._context.get('active_id') + if self.env.context.get('active_model') == 'bve.view': + active_id = self.env.context.get('active_id') bve_view = self.env['bve.view'].browse(active_id) defaults.setdefault('name', bve_view.name) return defaults From 717ff0e8323fcbb89d19ed936c37c4cc544e4eba Mon Sep 17 00:00:00 2001 From: OCA-git-bot Date: Tue, 27 Nov 2018 16:47:00 +0000 Subject: [PATCH 041/404] [UPD] README.rst --- bi_view_editor/static/description/index.html | 489 +++++++++++++++++++ 1 file changed, 489 insertions(+) create mode 100644 bi_view_editor/static/description/index.html diff --git a/bi_view_editor/static/description/index.html b/bi_view_editor/static/description/index.html new file mode 100644 index 000000000..e2b4be47b --- /dev/null +++ b/bi_view_editor/static/description/index.html @@ -0,0 +1,489 @@ + + + + + + +BI View Editor + + + +
    +

    BI View Editor

    + + +

    Beta License: AGPL-3 OCA/reporting-engine Translate me on Weblate Try me on Runbot

    +

    BI View Editor is a tool integrated in Odoo that allows users define and +execute their own reports without the need to code.

    +

    Purpose:

    +
      +
    • The BI View Editor is used to create reports not already contained in the +standard Odoo, combining data from existing sources.
    • +
    • It has been designed to be used by users with little or no knowledge of +the technical architecture of Odoo. Users visually link business objects +and select the fields to visualize.
    • +
    • The BI View Editor offers users different types of representations, +including tree, graph, pivot views.
    • +
    +

    Table of contents

    + +
    +

    Usage

    +

    To graphically design your analysis data-set:

    +
      +
    • From the Dashboards menu, select “Custom BI Views”
    • +
    • Browse trough the business objects in the Query tab
    • +
    • Pick the interesting fields (Drag & Drop)
    • +
    • For each selected field, right-click on the Options column and select whether it’s a row, column or measure; if you want to remove the field from the list view, unflag the checkbox ´List´ in the Options column
    • +
    • Save and click “Generate BI View”
    • +
    • Click “Open BI View” to view the result
    • +
    • If module Dashboard (board) is installed, the standard “Add to My Dashboard” functionality would be available
    • +
    • Click “Create a menu” to create a new menu item directly linked to your new BI view (this feature is available in developer mode); when the BI view is reset back to draft this menu will be removed, and you will need to re-create the menu entry.
    • +
    +
    +
    +

    Known issues / Roadmap

    +
      +
    • Non-stored fields and many2many fields are not supported
    • +
    • Provide graph view for table relations
    • +
    • Extend the capabilities of the tree views (e.g. add sums)
    • +
    • Provide a tutorial (eg. a working example of usage)
    • +
    • Implement a more advanced UI, with possibilities to use LEFT JOIN as default instead of INNER JOIN
    • +
    • Find better ways to extend the _auto_init() without override
    • +
    • Possibly avoid the monkey patches
    • +
    • Data the user has no access to (e.g. in a multi company situation) can be viewed by making a view
    • +
    • Store the JSON data structure in ORM
    • +
    • Would be nice if models available to select when creating a view are limited to the ones that have intersecting groups (for non technical users)
    • +
    +
    +
    +

    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.

    +

    Do not contact contributors directly about support or help with technical issues.

    +
    +
    +

    Credits

    +
    +

    Authors

    +
      +
    • Onestein
    • +
    +
    +
    +

    Contributors

    + +
    +
    +

    Other credits

    +
    +

    Images

    +
      +
    • Odoo Community Association: Icon.
    • +
    +
    +
    +

    Funders

    +

    The development of this module has been financially supported by:

    + +
    +
    +
    +

    Maintainers

    +

    This module is maintained by the OCA.

    +Odoo Community Association +

    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.

    +

    This module is part of the OCA/reporting-engine project on GitHub.

    +

    You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.

    +
    +
    +
    + + From 47e98e495a177f4e6cd05843b2edb4bdf262d335 Mon Sep 17 00:00:00 2001 From: oca-travis Date: Tue, 27 Nov 2018 17:04:01 +0000 Subject: [PATCH 042/404] [UPD] Update bi_view_editor.pot --- bi_view_editor/i18n/am.po | 238 +++++++++++++---- bi_view_editor/i18n/ar.po | 241 +++++++++++++---- bi_view_editor/i18n/bg.po | 238 +++++++++++++---- bi_view_editor/i18n/bi_view_editor.pot | 347 +++++++++++++++++++++++++ bi_view_editor/i18n/bs.po | 241 +++++++++++++---- bi_view_editor/i18n/ca.po | 241 +++++++++++++---- bi_view_editor/i18n/cs.po | 238 +++++++++++++---- bi_view_editor/i18n/da.po | 238 +++++++++++++---- bi_view_editor/i18n/de.po | 238 +++++++++++++---- bi_view_editor/i18n/el_GR.po | 238 +++++++++++++---- bi_view_editor/i18n/en_GB.po | 238 +++++++++++++---- bi_view_editor/i18n/es.po | 253 ++++++++++++++---- bi_view_editor/i18n/es_AR.po | 238 +++++++++++++---- bi_view_editor/i18n/es_CL.po | 238 +++++++++++++---- bi_view_editor/i18n/es_CO.po | 238 +++++++++++++---- bi_view_editor/i18n/es_CR.po | 238 +++++++++++++---- bi_view_editor/i18n/es_DO.po | 238 +++++++++++++---- bi_view_editor/i18n/es_EC.po | 238 +++++++++++++---- bi_view_editor/i18n/es_ES.po | 238 +++++++++++++---- bi_view_editor/i18n/es_MX.po | 238 +++++++++++++---- bi_view_editor/i18n/es_PE.po | 238 +++++++++++++---- bi_view_editor/i18n/es_PY.po | 238 +++++++++++++---- bi_view_editor/i18n/es_VE.po | 238 +++++++++++++---- bi_view_editor/i18n/et.po | 238 +++++++++++++---- bi_view_editor/i18n/eu.po | 241 +++++++++++++---- bi_view_editor/i18n/fa.po | 238 +++++++++++++---- bi_view_editor/i18n/fi.po | 241 +++++++++++++---- bi_view_editor/i18n/fr.po | 241 +++++++++++++---- bi_view_editor/i18n/fr_CA.po | 238 +++++++++++++---- bi_view_editor/i18n/fr_CH.po | 238 +++++++++++++---- bi_view_editor/i18n/gl.po | 238 +++++++++++++---- bi_view_editor/i18n/gl_ES.po | 237 +++++++++++++---- bi_view_editor/i18n/he.po | 238 +++++++++++++---- bi_view_editor/i18n/hr.po | 241 +++++++++++++---- bi_view_editor/i18n/hr_HR.po | 241 +++++++++++++---- bi_view_editor/i18n/hu.po | 238 +++++++++++++---- bi_view_editor/i18n/id.po | 238 +++++++++++++---- bi_view_editor/i18n/it.po | 241 +++++++++++++---- bi_view_editor/i18n/ja.po | 238 +++++++++++++---- bi_view_editor/i18n/ko.po | 238 +++++++++++++---- bi_view_editor/i18n/lt.po | 241 +++++++++++++---- bi_view_editor/i18n/lt_LT.po | 241 +++++++++++++---- bi_view_editor/i18n/lv.po | 241 +++++++++++++---- bi_view_editor/i18n/mk.po | 238 +++++++++++++---- bi_view_editor/i18n/mn.po | 238 +++++++++++++---- bi_view_editor/i18n/nb.po | 238 +++++++++++++---- bi_view_editor/i18n/nb_NO.po | 238 +++++++++++++---- bi_view_editor/i18n/nl.po | 262 +++++++++++++++---- bi_view_editor/i18n/nl_BE.po | 238 +++++++++++++---- bi_view_editor/i18n/pl.po | 241 +++++++++++++---- bi_view_editor/i18n/pt.po | 238 +++++++++++++---- bi_view_editor/i18n/pt_BR.po | 238 +++++++++++++---- bi_view_editor/i18n/pt_PT.po | 241 +++++++++++++---- bi_view_editor/i18n/ro.po | 241 +++++++++++++---- bi_view_editor/i18n/ru.po | 242 +++++++++++++---- bi_view_editor/i18n/sk.po | 238 +++++++++++++---- bi_view_editor/i18n/sl.po | 274 +++++++++++++++---- bi_view_editor/i18n/sr.po | 241 +++++++++++++---- bi_view_editor/i18n/sr@latin.po | 241 +++++++++++++---- bi_view_editor/i18n/sv.po | 238 +++++++++++++---- bi_view_editor/i18n/th.po | 238 +++++++++++++---- bi_view_editor/i18n/tr.po | 238 +++++++++++++---- bi_view_editor/i18n/tr_TR.po | 249 ++++++++++++++---- bi_view_editor/i18n/uk.po | 241 +++++++++++++---- bi_view_editor/i18n/vi.po | 238 +++++++++++++---- bi_view_editor/i18n/vi_VN.po | 238 +++++++++++++---- bi_view_editor/i18n/zh_CN.po | 238 +++++++++++++---- bi_view_editor/i18n/zh_TW.po | 238 +++++++++++++---- 68 files changed, 13391 insertions(+), 3045 deletions(-) create mode 100644 bi_view_editor/i18n/bi_view_editor.pot diff --git a/bi_view_editor/i18n/am.po b/bi_view_editor/i18n/am.po index d3d1c11ce..916472104 100644 --- a/bi_view_editor/i18n/am.po +++ b/bi_view_editor/i18n/am.po @@ -1,7 +1,7 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: # * bi_view_editor -# +# # Translators: msgid "" msgstr "" @@ -10,56 +10,99 @@ msgstr "" "POT-Creation-Date: 2016-09-15 19:59+0000\n" "PO-Revision-Date: 2016-03-21 15:33+0000\n" "Last-Translator: <>\n" -"Language-Team: Amharic (http://www.transifex.com/oca/OCA-reporting-engine-8-0/language/am/)\n" +"Language-Team: Amharic (http://www.transifex.com/oca/OCA-reporting-" +"engine-8-0/language/am/)\n" +"Language: am\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: \n" -"Language: am\n" "Plural-Forms: nplurals=2; plural=(n > 1);\n" #. module: bi_view_editor -#: model:ir.actions.act_window,help:bi_view_editor.action_bi_view_editor_view_form -msgid "" -"

    \n" -" Click to create a Custom Query Object.\n" -"

    \n" -"\n" -"

    \n" -" " +#: code:addons/bi_view_editor/models/bve_view.py:415 +#, python-format +msgid "%s (copy)" msgstr "" #. module: bi_view_editor -#: field:bve.view,action_id:0 +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:179 +#, python-format +msgid "(join left)" +msgstr "" + +#. module: bi_view_editor +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_action_id msgid "Action" msgstr "" +#. module: bi_view_editor +#: code:addons/bi_view_editor/models/bve_view.py:409 +#, python-format +msgid "BI View" +msgstr "" + #. module: bi_view_editor #: model:ir.model,name:bi_view_editor.model_bve_view msgid "BI View Editor" msgstr "" +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/js/bi_view_editor.JoinNodeDialog.js:36 +#, python-format +msgid "Cancel" +msgstr "" + +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:18 +#, python-format +msgid "Clear" +msgstr "" + +#. module: bi_view_editor +#: model:ir.actions.act_window,help:bi_view_editor.action_bi_view_editor_view_form +msgid "Click to create a Custom Query Object." +msgstr "" + +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:103 +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:154 +#, python-format +msgid "Column" +msgstr "" + +#. module: bi_view_editor +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form +#, fuzzy +msgid "Create a Menu" +msgstr "Creado en" + #. module: bi_view_editor #: selection:bve.view,state:0 msgid "Created" msgstr "" #. module: bi_view_editor -#: field:bve.view,create_uid:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_create_uid msgid "Created by" msgstr "Creado por" #. module: bi_view_editor -#: field:bve.view,create_date:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_create_date msgid "Created on" msgstr "Creado en" #. module: bi_view_editor -#: view:bve.view:bi_view_editor.view_bi_view_editor_view_tree +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_tree msgid "Custom BI View" msgstr "" #. module: bi_view_editor -#: sql_constraint:bve.view:0 +#: code:addons/bi_view_editor/models/bve_view.py:64 sql_constraint:bve.view:0 +#, python-format msgid "Custom BI View names must be unique!" msgstr "" @@ -70,7 +113,7 @@ msgid "Custom BI Views" msgstr "" #. module: bi_view_editor -#: view:bve.view:bi_view_editor.view_bi_view_editor_view_form +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form msgid "Custom Object" msgstr "" @@ -80,12 +123,12 @@ msgid "Custom Reports" msgstr "" #. module: bi_view_editor -#: field:bve.view,data:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_data msgid "Data" msgstr "" #. module: bi_view_editor -#: field:bve.view,display_name:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_display_name msgid "Display Name" msgstr "" @@ -95,43 +138,74 @@ msgid "Draft" msgstr "" #. module: bi_view_editor -#: code:addons/bi_view_editor/models/bve_view.py:72 -#, python-format -msgid "Error" -msgstr "" - -#. module: bi_view_editor -#: view:bve.view:bi_view_editor.view_bi_view_editor_view_form +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form msgid "Generate BI View" msgstr "" #. module: bi_view_editor -#: field:bve.view,group_ids:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_group_ids msgid "Groups" msgstr "" #. module: bi_view_editor -#: field:bve.view,id:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_id msgid "ID" msgstr "ID" #. module: bi_view_editor -#: field:bve.view,__last_update:0 +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:137 +#, python-format +msgid "Join Left" +msgstr "" + +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/js/bi_view_editor.JoinNodeDialog.js:30 +#, python-format +msgid "Join..." +msgstr "" + +#. module: bi_view_editor +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view___last_update msgid "Last Modified on" msgstr "" #. module: bi_view_editor -#: field:bve.view,write_uid:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_write_uid msgid "Last Updated by" msgstr "Última actualización por" #. module: bi_view_editor -#: field:bve.view,write_date:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_write_date msgid "Last Updated on" msgstr "Última actualización en" #. module: bi_view_editor -#: field:bve.view,model_name:0 +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:124 +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:157 +#, python-format +msgid "List" +msgstr "" + +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:117 +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:156 +#, python-format +msgid "Measure" +msgstr "" + +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:86 +#, python-format +msgid "Model" +msgstr "" + +#. module: bi_view_editor +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_model_name msgid "Model Name" msgstr "" @@ -141,67 +215,141 @@ msgid "Models" msgstr "" #. module: bi_view_editor -#: field:bve.view,name:0 +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:85 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_name +#, python-format msgid "Name" msgstr "" #. module: bi_view_editor -#: view:bve.view:bi_view_editor.view_bi_view_editor_view_form -#: field:bve.view,note:0 +#: code:addons/bi_view_editor/models/models.py:56 +#, python-format +msgid "No data to be displayed." +msgstr "" + +#. module: bi_view_editor +#: code:addons/bi_view_editor/models/bve_view.py:284 +#, python-format +msgid "No data to process." +msgstr "" + +#. module: bi_view_editor +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_note +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form msgid "Notes" msgstr "" #. module: bi_view_editor -#: view:bve.view:bi_view_editor.view_bi_view_editor_view_form +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form msgid "Open BI View" msgstr "" #. module: bi_view_editor -#: view:bve.view:bi_view_editor.view_bi_view_editor_view_form +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:87 +#, python-format +msgid "Options" +msgstr "" + +#. module: bi_view_editor +#: code:addons/bi_view_editor/models/bve_view.py:224 +#, python-format +msgid "Please select at least one group on the security tab." +msgstr "" + +#. module: bi_view_editor +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form msgid "Query" msgstr "" #. module: bi_view_editor -#: view:bve.view:bi_view_editor.view_bi_view_editor_view_form +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form msgid "Reset to Draft" msgstr "" #. module: bi_view_editor -#: view:bve.view:bi_view_editor.view_bi_view_editor_view_form +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:110 +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:155 +#, python-format +msgid "Row" +msgstr "" + +#. module: bi_view_editor +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form msgid "Security" msgstr "" #. module: bi_view_editor -#: field:bve.view,state:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_state msgid "State" msgstr "" #. module: bi_view_editor -#: help:bve.view,data:0 +#: model:ir.actions.act_window,name:bi_view_editor.action_bi_view_editor_translations +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form +msgid "Translations" +msgstr "" + +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:30 +#, python-format +msgid "Use the existing node" +msgstr "" + +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:34 +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:43 +#, python-format +msgid "Use the field" +msgstr "" + +#. module: bi_view_editor +#: model:ir.model.fields,help:bi_view_editor.field_bve_view_data msgid "" "Use the special query builder to define the query to generate your report " "dataset. NOTE: To be edited, the query should be in 'Draft' status." msgstr "" #. module: bi_view_editor -#: help:bve.view,group_ids:0 +#: model:ir.model.fields,help:bi_view_editor.field_bve_view_group_ids msgid "" "User groups allowed to see the generated report; if NO groups are specified " "the report will be public for everyone." msgstr "" #. module: bi_view_editor -#: field:bve.view,user_ids:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_user_ids msgid "Users" msgstr "" #. module: bi_view_editor -#: field:bve.view,view_id:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_view_id msgid "View" msgstr "" #. module: bi_view_editor -#: code:addons/bi_view_editor/models/bve_view.py:73 +#: code:addons/bi_view_editor/models/bve_view.py:456 #, python-format msgid "You cannot delete a created view! Reset the view to draft first." msgstr "" + +#. module: bi_view_editor +#: model:ir.model,name:bi_view_editor.model_base +msgid "base" +msgstr "" + +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:39 +#, python-format +msgid "new" +msgstr "" + +#. module: bi_view_editor +#: model:ir.model,name:bi_view_editor.model_wizard_ir_model_menu_create +msgid "wizard.ir.model.menu.create" +msgstr "" diff --git a/bi_view_editor/i18n/ar.po b/bi_view_editor/i18n/ar.po index d78da9a8a..fb36980f3 100644 --- a/bi_view_editor/i18n/ar.po +++ b/bi_view_editor/i18n/ar.po @@ -1,7 +1,7 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: # * bi_view_editor -# +# # Translators: msgid "" msgstr "" @@ -10,56 +10,100 @@ msgstr "" "POT-Creation-Date: 2017-01-07 05:41+0000\n" "PO-Revision-Date: 2016-03-21 15:33+0000\n" "Last-Translator: <>\n" -"Language-Team: Arabic (http://www.transifex.com/oca/OCA-reporting-engine-8-0/language/ar/)\n" +"Language-Team: Arabic (http://www.transifex.com/oca/OCA-reporting-engine-8-0/" +"language/ar/)\n" +"Language: 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" +"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: bi_view_editor -#: model:ir.actions.act_window,help:bi_view_editor.action_bi_view_editor_view_form -msgid "" -"

    \n" -" Click to create a Custom Query Object.\n" -"

    \n" -"\n" -"

    \n" -" " +#: code:addons/bi_view_editor/models/bve_view.py:415 +#, python-format +msgid "%s (copy)" msgstr "" #. module: bi_view_editor -#: field:bve.view,action_id:0 +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:179 +#, python-format +msgid "(join left)" +msgstr "" + +#. module: bi_view_editor +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_action_id msgid "Action" msgstr "" +#. module: bi_view_editor +#: code:addons/bi_view_editor/models/bve_view.py:409 +#, python-format +msgid "BI View" +msgstr "" + #. module: bi_view_editor #: model:ir.model,name:bi_view_editor.model_bve_view msgid "BI View Editor" msgstr "" +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/js/bi_view_editor.JoinNodeDialog.js:36 +#, python-format +msgid "Cancel" +msgstr "" + +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:18 +#, python-format +msgid "Clear" +msgstr "" + +#. module: bi_view_editor +#: model:ir.actions.act_window,help:bi_view_editor.action_bi_view_editor_view_form +msgid "Click to create a Custom Query Object." +msgstr "" + +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:103 +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:154 +#, python-format +msgid "Column" +msgstr "" + +#. module: bi_view_editor +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form +#, fuzzy +msgid "Create a Menu" +msgstr "أنشئ في" + #. module: bi_view_editor #: selection:bve.view,state:0 msgid "Created" msgstr "" #. module: bi_view_editor -#: field:bve.view,create_uid:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_create_uid msgid "Created by" msgstr "أنشئ بواسطة" #. module: bi_view_editor -#: field:bve.view,create_date:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_create_date msgid "Created on" msgstr "أنشئ في" #. module: bi_view_editor -#: view:bve.view:bi_view_editor.view_bi_view_editor_view_tree +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_tree msgid "Custom BI View" msgstr "" #. module: bi_view_editor -#: sql_constraint:bve.view:0 +#: code:addons/bi_view_editor/models/bve_view.py:64 sql_constraint:bve.view:0 +#, python-format msgid "Custom BI View names must be unique!" msgstr "" @@ -70,7 +114,7 @@ msgid "Custom BI Views" msgstr "" #. module: bi_view_editor -#: view:bve.view:bi_view_editor.view_bi_view_editor_view_form +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form msgid "Custom Object" msgstr "" @@ -80,12 +124,12 @@ msgid "Custom Reports" msgstr "" #. module: bi_view_editor -#: field:bve.view,data:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_data msgid "Data" msgstr "" #. module: bi_view_editor -#: field:bve.view,display_name:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_display_name msgid "Display Name" msgstr "اسم العرض" @@ -95,43 +139,74 @@ msgid "Draft" msgstr "" #. module: bi_view_editor -#: code:addons/bi_view_editor/models/bve_view.py:72 -#, python-format -msgid "Error" -msgstr "" - -#. module: bi_view_editor -#: view:bve.view:bi_view_editor.view_bi_view_editor_view_form +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form msgid "Generate BI View" msgstr "" #. module: bi_view_editor -#: field:bve.view,group_ids:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_group_ids msgid "Groups" msgstr "" #. module: bi_view_editor -#: field:bve.view,id:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_id msgid "ID" msgstr "المعرف" #. module: bi_view_editor -#: field:bve.view,__last_update:0 +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:137 +#, python-format +msgid "Join Left" +msgstr "" + +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/js/bi_view_editor.JoinNodeDialog.js:30 +#, python-format +msgid "Join..." +msgstr "" + +#. module: bi_view_editor +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view___last_update msgid "Last Modified on" msgstr "آخر تعديل في" #. module: bi_view_editor -#: field:bve.view,write_uid:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_write_uid msgid "Last Updated by" msgstr "آخر تحديث بواسطة" #. module: bi_view_editor -#: field:bve.view,write_date:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_write_date msgid "Last Updated on" msgstr "آخر تحديث في" #. module: bi_view_editor -#: field:bve.view,model_name:0 +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:124 +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:157 +#, python-format +msgid "List" +msgstr "" + +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:117 +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:156 +#, python-format +msgid "Measure" +msgstr "" + +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:86 +#, python-format +msgid "Model" +msgstr "" + +#. module: bi_view_editor +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_model_name msgid "Model Name" msgstr "" @@ -141,67 +216,141 @@ msgid "Models" msgstr "" #. module: bi_view_editor -#: field:bve.view,name:0 +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:85 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_name +#, python-format msgid "Name" msgstr "الاسم" #. module: bi_view_editor -#: view:bve.view:bi_view_editor.view_bi_view_editor_view_form -#: field:bve.view,note:0 +#: code:addons/bi_view_editor/models/models.py:56 +#, python-format +msgid "No data to be displayed." +msgstr "" + +#. module: bi_view_editor +#: code:addons/bi_view_editor/models/bve_view.py:284 +#, python-format +msgid "No data to process." +msgstr "" + +#. module: bi_view_editor +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_note +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form msgid "Notes" msgstr "" #. module: bi_view_editor -#: view:bve.view:bi_view_editor.view_bi_view_editor_view_form +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form msgid "Open BI View" msgstr "" #. module: bi_view_editor -#: view:bve.view:bi_view_editor.view_bi_view_editor_view_form +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:87 +#, python-format +msgid "Options" +msgstr "" + +#. module: bi_view_editor +#: code:addons/bi_view_editor/models/bve_view.py:224 +#, python-format +msgid "Please select at least one group on the security tab." +msgstr "" + +#. module: bi_view_editor +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form msgid "Query" msgstr "" #. module: bi_view_editor -#: view:bve.view:bi_view_editor.view_bi_view_editor_view_form +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form msgid "Reset to Draft" msgstr "" #. module: bi_view_editor -#: view:bve.view:bi_view_editor.view_bi_view_editor_view_form +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:110 +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:155 +#, python-format +msgid "Row" +msgstr "" + +#. module: bi_view_editor +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form msgid "Security" msgstr "الأمن" #. module: bi_view_editor -#: field:bve.view,state:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_state msgid "State" msgstr "" #. module: bi_view_editor -#: help:bve.view,data:0 +#: model:ir.actions.act_window,name:bi_view_editor.action_bi_view_editor_translations +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form +msgid "Translations" +msgstr "" + +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:30 +#, python-format +msgid "Use the existing node" +msgstr "" + +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:34 +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:43 +#, python-format +msgid "Use the field" +msgstr "" + +#. module: bi_view_editor +#: model:ir.model.fields,help:bi_view_editor.field_bve_view_data msgid "" "Use the special query builder to define the query to generate your report " "dataset. NOTE: To be edited, the query should be in 'Draft' status." msgstr "" #. module: bi_view_editor -#: help:bve.view,group_ids:0 +#: model:ir.model.fields,help:bi_view_editor.field_bve_view_group_ids msgid "" "User groups allowed to see the generated report; if NO groups are specified " "the report will be public for everyone." msgstr "" #. module: bi_view_editor -#: field:bve.view,user_ids:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_user_ids msgid "Users" msgstr "المستخدمون" #. module: bi_view_editor -#: field:bve.view,view_id:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_view_id msgid "View" msgstr "" #. module: bi_view_editor -#: code:addons/bi_view_editor/models/bve_view.py:73 +#: code:addons/bi_view_editor/models/bve_view.py:456 #, python-format msgid "You cannot delete a created view! Reset the view to draft first." msgstr "" + +#. module: bi_view_editor +#: model:ir.model,name:bi_view_editor.model_base +msgid "base" +msgstr "" + +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:39 +#, python-format +msgid "new" +msgstr "" + +#. module: bi_view_editor +#: model:ir.model,name:bi_view_editor.model_wizard_ir_model_menu_create +msgid "wizard.ir.model.menu.create" +msgstr "" diff --git a/bi_view_editor/i18n/bg.po b/bi_view_editor/i18n/bg.po index 0af37f7d8..41a56422c 100644 --- a/bi_view_editor/i18n/bg.po +++ b/bi_view_editor/i18n/bg.po @@ -1,7 +1,7 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: # * bi_view_editor -# +# # Translators: msgid "" msgstr "" @@ -10,56 +10,99 @@ msgstr "" "POT-Creation-Date: 2016-09-18 04:34+0000\n" "PO-Revision-Date: 2016-03-21 15:33+0000\n" "Last-Translator: <>\n" -"Language-Team: Bulgarian (http://www.transifex.com/oca/OCA-reporting-engine-8-0/language/bg/)\n" +"Language-Team: Bulgarian (http://www.transifex.com/oca/OCA-reporting-" +"engine-8-0/language/bg/)\n" +"Language: bg\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: \n" -"Language: bg\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #. module: bi_view_editor -#: model:ir.actions.act_window,help:bi_view_editor.action_bi_view_editor_view_form -msgid "" -"

    \n" -" Click to create a Custom Query Object.\n" -"

    \n" -"\n" -"

    \n" -" " +#: code:addons/bi_view_editor/models/bve_view.py:415 +#, python-format +msgid "%s (copy)" msgstr "" #. module: bi_view_editor -#: field:bve.view,action_id:0 +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:179 +#, python-format +msgid "(join left)" +msgstr "" + +#. module: bi_view_editor +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_action_id msgid "Action" msgstr "" +#. module: bi_view_editor +#: code:addons/bi_view_editor/models/bve_view.py:409 +#, python-format +msgid "BI View" +msgstr "" + #. module: bi_view_editor #: model:ir.model,name:bi_view_editor.model_bve_view msgid "BI View Editor" msgstr "" +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/js/bi_view_editor.JoinNodeDialog.js:36 +#, python-format +msgid "Cancel" +msgstr "" + +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:18 +#, python-format +msgid "Clear" +msgstr "" + +#. module: bi_view_editor +#: model:ir.actions.act_window,help:bi_view_editor.action_bi_view_editor_view_form +msgid "Click to create a Custom Query Object." +msgstr "" + +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:103 +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:154 +#, python-format +msgid "Column" +msgstr "" + +#. module: bi_view_editor +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form +#, fuzzy +msgid "Create a Menu" +msgstr "Създадено на" + #. module: bi_view_editor #: selection:bve.view,state:0 msgid "Created" msgstr "" #. module: bi_view_editor -#: field:bve.view,create_uid:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_create_uid msgid "Created by" msgstr "Създадено от" #. module: bi_view_editor -#: field:bve.view,create_date:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_create_date msgid "Created on" msgstr "Създадено на" #. module: bi_view_editor -#: view:bve.view:bi_view_editor.view_bi_view_editor_view_tree +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_tree msgid "Custom BI View" msgstr "" #. module: bi_view_editor -#: sql_constraint:bve.view:0 +#: code:addons/bi_view_editor/models/bve_view.py:64 sql_constraint:bve.view:0 +#, python-format msgid "Custom BI View names must be unique!" msgstr "" @@ -70,7 +113,7 @@ msgid "Custom BI Views" msgstr "" #. module: bi_view_editor -#: view:bve.view:bi_view_editor.view_bi_view_editor_view_form +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form msgid "Custom Object" msgstr "" @@ -80,12 +123,12 @@ msgid "Custom Reports" msgstr "" #. module: bi_view_editor -#: field:bve.view,data:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_data msgid "Data" msgstr "" #. module: bi_view_editor -#: field:bve.view,display_name:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_display_name msgid "Display Name" msgstr "Име за Показване" @@ -95,43 +138,74 @@ msgid "Draft" msgstr "" #. module: bi_view_editor -#: code:addons/bi_view_editor/models/bve_view.py:72 -#, python-format -msgid "Error" -msgstr "" - -#. module: bi_view_editor -#: view:bve.view:bi_view_editor.view_bi_view_editor_view_form +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form msgid "Generate BI View" msgstr "" #. module: bi_view_editor -#: field:bve.view,group_ids:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_group_ids msgid "Groups" msgstr "" #. module: bi_view_editor -#: field:bve.view,id:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_id msgid "ID" msgstr "ID" #. module: bi_view_editor -#: field:bve.view,__last_update:0 +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:137 +#, python-format +msgid "Join Left" +msgstr "" + +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/js/bi_view_editor.JoinNodeDialog.js:30 +#, python-format +msgid "Join..." +msgstr "" + +#. module: bi_view_editor +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view___last_update msgid "Last Modified on" msgstr "Последно обновено на" #. module: bi_view_editor -#: field:bve.view,write_uid:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_write_uid msgid "Last Updated by" msgstr "Последно обновено от" #. module: bi_view_editor -#: field:bve.view,write_date:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_write_date msgid "Last Updated on" msgstr "Последно обновено на" #. module: bi_view_editor -#: field:bve.view,model_name:0 +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:124 +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:157 +#, python-format +msgid "List" +msgstr "" + +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:117 +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:156 +#, python-format +msgid "Measure" +msgstr "" + +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:86 +#, python-format +msgid "Model" +msgstr "" + +#. module: bi_view_editor +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_model_name msgid "Model Name" msgstr "" @@ -141,67 +215,141 @@ msgid "Models" msgstr "" #. module: bi_view_editor -#: field:bve.view,name:0 +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:85 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_name +#, python-format msgid "Name" msgstr "Име" #. module: bi_view_editor -#: view:bve.view:bi_view_editor.view_bi_view_editor_view_form -#: field:bve.view,note:0 +#: code:addons/bi_view_editor/models/models.py:56 +#, python-format +msgid "No data to be displayed." +msgstr "" + +#. module: bi_view_editor +#: code:addons/bi_view_editor/models/bve_view.py:284 +#, python-format +msgid "No data to process." +msgstr "" + +#. module: bi_view_editor +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_note +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form msgid "Notes" msgstr "" #. module: bi_view_editor -#: view:bve.view:bi_view_editor.view_bi_view_editor_view_form +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form msgid "Open BI View" msgstr "" #. module: bi_view_editor -#: view:bve.view:bi_view_editor.view_bi_view_editor_view_form +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:87 +#, python-format +msgid "Options" +msgstr "" + +#. module: bi_view_editor +#: code:addons/bi_view_editor/models/bve_view.py:224 +#, python-format +msgid "Please select at least one group on the security tab." +msgstr "" + +#. module: bi_view_editor +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form msgid "Query" msgstr "" #. module: bi_view_editor -#: view:bve.view:bi_view_editor.view_bi_view_editor_view_form +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form msgid "Reset to Draft" msgstr "" #. module: bi_view_editor -#: view:bve.view:bi_view_editor.view_bi_view_editor_view_form +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:110 +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:155 +#, python-format +msgid "Row" +msgstr "" + +#. module: bi_view_editor +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form msgid "Security" msgstr "Защита" #. module: bi_view_editor -#: field:bve.view,state:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_state msgid "State" msgstr "" #. module: bi_view_editor -#: help:bve.view,data:0 +#: model:ir.actions.act_window,name:bi_view_editor.action_bi_view_editor_translations +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form +msgid "Translations" +msgstr "" + +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:30 +#, python-format +msgid "Use the existing node" +msgstr "" + +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:34 +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:43 +#, python-format +msgid "Use the field" +msgstr "" + +#. module: bi_view_editor +#: model:ir.model.fields,help:bi_view_editor.field_bve_view_data msgid "" "Use the special query builder to define the query to generate your report " "dataset. NOTE: To be edited, the query should be in 'Draft' status." msgstr "" #. module: bi_view_editor -#: help:bve.view,group_ids:0 +#: model:ir.model.fields,help:bi_view_editor.field_bve_view_group_ids msgid "" "User groups allowed to see the generated report; if NO groups are specified " "the report will be public for everyone." msgstr "" #. module: bi_view_editor -#: field:bve.view,user_ids:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_user_ids msgid "Users" msgstr "" #. module: bi_view_editor -#: field:bve.view,view_id:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_view_id msgid "View" msgstr "" #. module: bi_view_editor -#: code:addons/bi_view_editor/models/bve_view.py:73 +#: code:addons/bi_view_editor/models/bve_view.py:456 #, python-format msgid "You cannot delete a created view! Reset the view to draft first." msgstr "" + +#. module: bi_view_editor +#: model:ir.model,name:bi_view_editor.model_base +msgid "base" +msgstr "" + +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:39 +#, python-format +msgid "new" +msgstr "" + +#. module: bi_view_editor +#: model:ir.model,name:bi_view_editor.model_wizard_ir_model_menu_create +msgid "wizard.ir.model.menu.create" +msgstr "" diff --git a/bi_view_editor/i18n/bi_view_editor.pot b/bi_view_editor/i18n/bi_view_editor.pot new file mode 100644 index 000000000..87a9cb927 --- /dev/null +++ b/bi_view_editor/i18n/bi_view_editor.pot @@ -0,0 +1,347 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * bi_view_editor +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 11.0\n" +"Report-Msgid-Bugs-To: \n" +"Last-Translator: <>\n" +"Language-Team: \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: \n" + +#. module: bi_view_editor +#: code:addons/bi_view_editor/models/bve_view.py:415 +#, python-format +msgid "%s (copy)" +msgstr "" + +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:179 +#, python-format +msgid "(join left)" +msgstr "" + +#. module: bi_view_editor +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_action_id +msgid "Action" +msgstr "" + +#. module: bi_view_editor +#: code:addons/bi_view_editor/models/bve_view.py:409 +#, python-format +msgid "BI View" +msgstr "" + +#. module: bi_view_editor +#: model:ir.model,name:bi_view_editor.model_bve_view +msgid "BI View Editor" +msgstr "" + +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/js/bi_view_editor.JoinNodeDialog.js:36 +#, python-format +msgid "Cancel" +msgstr "" + +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:18 +#, python-format +msgid "Clear" +msgstr "" + +#. module: bi_view_editor +#: model:ir.actions.act_window,help:bi_view_editor.action_bi_view_editor_view_form +msgid "Click to create a Custom Query Object." +msgstr "" + +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:103 +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:154 +#, python-format +msgid "Column" +msgstr "" + +#. module: bi_view_editor +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form +msgid "Create a Menu" +msgstr "" + +#. module: bi_view_editor +#: selection:bve.view,state:0 +msgid "Created" +msgstr "" + +#. module: bi_view_editor +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_create_uid +msgid "Created by" +msgstr "" + +#. module: bi_view_editor +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_create_date +msgid "Created on" +msgstr "" + +#. module: bi_view_editor +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_tree +msgid "Custom BI View" +msgstr "" + +#. module: bi_view_editor +#: code:addons/bi_view_editor/models/bve_view.py:64 +#: sql_constraint:bve.view:0 +#, python-format +msgid "Custom BI View names must be unique!" +msgstr "" + +#. module: bi_view_editor +#: model:ir.actions.act_window,name:bi_view_editor.action_bi_view_editor_view_form +#: model:ir.ui.menu,name:bi_view_editor.menu_bi_view_editor_view +msgid "Custom BI Views" +msgstr "" + +#. module: bi_view_editor +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form +msgid "Custom Object" +msgstr "" + +#. module: bi_view_editor +#: model:ir.ui.menu,name:bi_view_editor.menu_bi_view_editor_custom_reports +msgid "Custom Reports" +msgstr "" + +#. module: bi_view_editor +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_data +msgid "Data" +msgstr "" + +#. module: bi_view_editor +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_display_name +msgid "Display Name" +msgstr "" + +#. module: bi_view_editor +#: selection:bve.view,state:0 +msgid "Draft" +msgstr "" + +#. module: bi_view_editor +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form +msgid "Generate BI View" +msgstr "" + +#. module: bi_view_editor +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_group_ids +msgid "Groups" +msgstr "" + +#. module: bi_view_editor +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_id +msgid "ID" +msgstr "" + +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:137 +#, python-format +msgid "Join Left" +msgstr "" + +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/js/bi_view_editor.JoinNodeDialog.js:30 +#, python-format +msgid "Join..." +msgstr "" + +#. module: bi_view_editor +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view___last_update +msgid "Last Modified on" +msgstr "" + +#. module: bi_view_editor +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_write_uid +msgid "Last Updated by" +msgstr "" + +#. module: bi_view_editor +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_write_date +msgid "Last Updated on" +msgstr "" + +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:124 +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:157 +#, python-format +msgid "List" +msgstr "" + +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:117 +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:156 +#, python-format +msgid "Measure" +msgstr "" + +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:86 +#, python-format +msgid "Model" +msgstr "" + +#. module: bi_view_editor +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_model_name +msgid "Model Name" +msgstr "" + +#. module: bi_view_editor +#: model:ir.model,name:bi_view_editor.model_ir_model +msgid "Models" +msgstr "" + +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:85 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_name +#, python-format +msgid "Name" +msgstr "" + +#. module: bi_view_editor +#: code:addons/bi_view_editor/models/models.py:56 +#, python-format +msgid "No data to be displayed." +msgstr "" + +#. module: bi_view_editor +#: code:addons/bi_view_editor/models/bve_view.py:284 +#, python-format +msgid "No data to process." +msgstr "" + +#. module: bi_view_editor +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_note +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form +msgid "Notes" +msgstr "" + +#. module: bi_view_editor +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form +msgid "Open BI View" +msgstr "" + +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:87 +#, python-format +msgid "Options" +msgstr "" + +#. module: bi_view_editor +#: code:addons/bi_view_editor/models/bve_view.py:224 +#, python-format +msgid "Please select at least one group on the security tab." +msgstr "" + +#. module: bi_view_editor +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form +msgid "Query" +msgstr "" + +#. module: bi_view_editor +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form +msgid "Reset to Draft" +msgstr "" + +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:110 +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:155 +#, python-format +msgid "Row" +msgstr "" + +#. module: bi_view_editor +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form +msgid "Security" +msgstr "" + +#. module: bi_view_editor +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_state +msgid "State" +msgstr "" + +#. module: bi_view_editor +#: model:ir.actions.act_window,name:bi_view_editor.action_bi_view_editor_translations +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form +msgid "Translations" +msgstr "" + +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:30 +#, python-format +msgid "Use the existing node" +msgstr "" + +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:34 +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:43 +#, python-format +msgid "Use the field" +msgstr "" + +#. module: bi_view_editor +#: model:ir.model.fields,help:bi_view_editor.field_bve_view_data +msgid "Use the special query builder to define the query to generate your report dataset. NOTE: To be edited, the query should be in 'Draft' status." +msgstr "" + +#. module: bi_view_editor +#: model:ir.model.fields,help:bi_view_editor.field_bve_view_group_ids +msgid "User groups allowed to see the generated report; if NO groups are specified the report will be public for everyone." +msgstr "" + +#. module: bi_view_editor +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_user_ids +msgid "Users" +msgstr "" + +#. module: bi_view_editor +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_view_id +msgid "View" +msgstr "" + +#. module: bi_view_editor +#: code:addons/bi_view_editor/models/bve_view.py:456 +#, python-format +msgid "You cannot delete a created view! Reset the view to draft first." +msgstr "" + +#. module: bi_view_editor +#: model:ir.model,name:bi_view_editor.model_base +msgid "base" +msgstr "" + +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:39 +#, python-format +msgid "new" +msgstr "" + +#. module: bi_view_editor +#: model:ir.model,name:bi_view_editor.model_wizard_ir_model_menu_create +msgid "wizard.ir.model.menu.create" +msgstr "" + diff --git a/bi_view_editor/i18n/bs.po b/bi_view_editor/i18n/bs.po index b60ca0fc3..38407e5c1 100644 --- a/bi_view_editor/i18n/bs.po +++ b/bi_view_editor/i18n/bs.po @@ -1,7 +1,7 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: # * bi_view_editor -# +# # Translators: msgid "" msgstr "" @@ -10,56 +10,100 @@ msgstr "" "POT-Creation-Date: 2016-09-18 04:34+0000\n" "PO-Revision-Date: 2016-03-21 15:33+0000\n" "Last-Translator: <>\n" -"Language-Team: Bosnian (http://www.transifex.com/oca/OCA-reporting-engine-8-0/language/bs/)\n" +"Language-Team: Bosnian (http://www.transifex.com/oca/OCA-reporting-" +"engine-8-0/language/bs/)\n" +"Language: bs\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: \n" -"Language: bs\n" -"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n" +"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n" +"%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n" #. module: bi_view_editor -#: model:ir.actions.act_window,help:bi_view_editor.action_bi_view_editor_view_form -msgid "" -"

    \n" -" Click to create a Custom Query Object.\n" -"

    \n" -"\n" -"

    \n" -" " +#: code:addons/bi_view_editor/models/bve_view.py:415 +#, python-format +msgid "%s (copy)" msgstr "" #. module: bi_view_editor -#: field:bve.view,action_id:0 +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:179 +#, python-format +msgid "(join left)" +msgstr "" + +#. module: bi_view_editor +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_action_id msgid "Action" msgstr "" +#. module: bi_view_editor +#: code:addons/bi_view_editor/models/bve_view.py:409 +#, python-format +msgid "BI View" +msgstr "" + #. module: bi_view_editor #: model:ir.model,name:bi_view_editor.model_bve_view msgid "BI View Editor" msgstr "" +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/js/bi_view_editor.JoinNodeDialog.js:36 +#, python-format +msgid "Cancel" +msgstr "" + +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:18 +#, python-format +msgid "Clear" +msgstr "" + +#. module: bi_view_editor +#: model:ir.actions.act_window,help:bi_view_editor.action_bi_view_editor_view_form +msgid "Click to create a Custom Query Object." +msgstr "" + +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:103 +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:154 +#, python-format +msgid "Column" +msgstr "" + +#. module: bi_view_editor +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form +#, fuzzy +msgid "Create a Menu" +msgstr "Kreirano" + #. module: bi_view_editor #: selection:bve.view,state:0 msgid "Created" msgstr "" #. module: bi_view_editor -#: field:bve.view,create_uid:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_create_uid msgid "Created by" msgstr "Kreirao" #. module: bi_view_editor -#: field:bve.view,create_date:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_create_date msgid "Created on" msgstr "Kreirano" #. module: bi_view_editor -#: view:bve.view:bi_view_editor.view_bi_view_editor_view_tree +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_tree msgid "Custom BI View" msgstr "" #. module: bi_view_editor -#: sql_constraint:bve.view:0 +#: code:addons/bi_view_editor/models/bve_view.py:64 sql_constraint:bve.view:0 +#, python-format msgid "Custom BI View names must be unique!" msgstr "" @@ -70,7 +114,7 @@ msgid "Custom BI Views" msgstr "" #. module: bi_view_editor -#: view:bve.view:bi_view_editor.view_bi_view_editor_view_form +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form msgid "Custom Object" msgstr "" @@ -80,12 +124,12 @@ msgid "Custom Reports" msgstr "" #. module: bi_view_editor -#: field:bve.view,data:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_data msgid "Data" msgstr "" #. module: bi_view_editor -#: field:bve.view,display_name:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_display_name msgid "Display Name" msgstr "Prikaži naziv" @@ -95,43 +139,74 @@ msgid "Draft" msgstr "" #. module: bi_view_editor -#: code:addons/bi_view_editor/models/bve_view.py:72 -#, python-format -msgid "Error" -msgstr "" - -#. module: bi_view_editor -#: view:bve.view:bi_view_editor.view_bi_view_editor_view_form +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form msgid "Generate BI View" msgstr "" #. module: bi_view_editor -#: field:bve.view,group_ids:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_group_ids msgid "Groups" msgstr "" #. module: bi_view_editor -#: field:bve.view,id:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_id msgid "ID" msgstr "ID" #. module: bi_view_editor -#: field:bve.view,__last_update:0 +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:137 +#, python-format +msgid "Join Left" +msgstr "" + +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/js/bi_view_editor.JoinNodeDialog.js:30 +#, python-format +msgid "Join..." +msgstr "" + +#. module: bi_view_editor +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view___last_update msgid "Last Modified on" msgstr "Zadnje mijenjano" #. module: bi_view_editor -#: field:bve.view,write_uid:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_write_uid msgid "Last Updated by" msgstr "Zadnji ažurirao" #. module: bi_view_editor -#: field:bve.view,write_date:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_write_date msgid "Last Updated on" msgstr "Zadnje ažurirano" #. module: bi_view_editor -#: field:bve.view,model_name:0 +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:124 +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:157 +#, python-format +msgid "List" +msgstr "" + +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:117 +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:156 +#, python-format +msgid "Measure" +msgstr "" + +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:86 +#, python-format +msgid "Model" +msgstr "" + +#. module: bi_view_editor +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_model_name msgid "Model Name" msgstr "" @@ -141,67 +216,141 @@ msgid "Models" msgstr "" #. module: bi_view_editor -#: field:bve.view,name:0 +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:85 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_name +#, python-format msgid "Name" msgstr "Ime" #. module: bi_view_editor -#: view:bve.view:bi_view_editor.view_bi_view_editor_view_form -#: field:bve.view,note:0 +#: code:addons/bi_view_editor/models/models.py:56 +#, python-format +msgid "No data to be displayed." +msgstr "" + +#. module: bi_view_editor +#: code:addons/bi_view_editor/models/bve_view.py:284 +#, python-format +msgid "No data to process." +msgstr "" + +#. module: bi_view_editor +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_note +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form msgid "Notes" msgstr "" #. module: bi_view_editor -#: view:bve.view:bi_view_editor.view_bi_view_editor_view_form +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form msgid "Open BI View" msgstr "" #. module: bi_view_editor -#: view:bve.view:bi_view_editor.view_bi_view_editor_view_form +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:87 +#, python-format +msgid "Options" +msgstr "" + +#. module: bi_view_editor +#: code:addons/bi_view_editor/models/bve_view.py:224 +#, python-format +msgid "Please select at least one group on the security tab." +msgstr "" + +#. module: bi_view_editor +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form msgid "Query" msgstr "" #. module: bi_view_editor -#: view:bve.view:bi_view_editor.view_bi_view_editor_view_form +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form msgid "Reset to Draft" msgstr "" #. module: bi_view_editor -#: view:bve.view:bi_view_editor.view_bi_view_editor_view_form +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:110 +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:155 +#, python-format +msgid "Row" +msgstr "" + +#. module: bi_view_editor +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form msgid "Security" msgstr "Sigurnost" #. module: bi_view_editor -#: field:bve.view,state:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_state msgid "State" msgstr "" #. module: bi_view_editor -#: help:bve.view,data:0 +#: model:ir.actions.act_window,name:bi_view_editor.action_bi_view_editor_translations +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form +msgid "Translations" +msgstr "" + +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:30 +#, python-format +msgid "Use the existing node" +msgstr "" + +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:34 +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:43 +#, python-format +msgid "Use the field" +msgstr "" + +#. module: bi_view_editor +#: model:ir.model.fields,help:bi_view_editor.field_bve_view_data msgid "" "Use the special query builder to define the query to generate your report " "dataset. NOTE: To be edited, the query should be in 'Draft' status." msgstr "" #. module: bi_view_editor -#: help:bve.view,group_ids:0 +#: model:ir.model.fields,help:bi_view_editor.field_bve_view_group_ids msgid "" "User groups allowed to see the generated report; if NO groups are specified " "the report will be public for everyone." msgstr "" #. module: bi_view_editor -#: field:bve.view,user_ids:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_user_ids msgid "Users" msgstr "" #. module: bi_view_editor -#: field:bve.view,view_id:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_view_id msgid "View" msgstr "" #. module: bi_view_editor -#: code:addons/bi_view_editor/models/bve_view.py:73 +#: code:addons/bi_view_editor/models/bve_view.py:456 #, python-format msgid "You cannot delete a created view! Reset the view to draft first." msgstr "" + +#. module: bi_view_editor +#: model:ir.model,name:bi_view_editor.model_base +msgid "base" +msgstr "" + +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:39 +#, python-format +msgid "new" +msgstr "" + +#. module: bi_view_editor +#: model:ir.model,name:bi_view_editor.model_wizard_ir_model_menu_create +msgid "wizard.ir.model.menu.create" +msgstr "" diff --git a/bi_view_editor/i18n/ca.po b/bi_view_editor/i18n/ca.po index 379d2e385..b8cd256dd 100644 --- a/bi_view_editor/i18n/ca.po +++ b/bi_view_editor/i18n/ca.po @@ -1,7 +1,7 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: # * bi_view_editor -# +# # Translators: msgid "" msgstr "" @@ -10,56 +10,99 @@ msgstr "" "POT-Creation-Date: 2017-01-14 06:04+0000\n" "PO-Revision-Date: 2016-03-21 15:33+0000\n" "Last-Translator: <>\n" -"Language-Team: Catalan (http://www.transifex.com/oca/OCA-reporting-engine-8-0/language/ca/)\n" +"Language-Team: Catalan (http://www.transifex.com/oca/OCA-reporting-" +"engine-8-0/language/ca/)\n" +"Language: 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: bi_view_editor -#: model:ir.actions.act_window,help:bi_view_editor.action_bi_view_editor_view_form -msgid "" -"

    \n" -" Click to create a Custom Query Object.\n" -"

    \n" -"\n" -"

    \n" -" " +#: code:addons/bi_view_editor/models/bve_view.py:415 +#, python-format +msgid "%s (copy)" msgstr "" #. module: bi_view_editor -#: field:bve.view,action_id:0 +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:179 +#, python-format +msgid "(join left)" +msgstr "" + +#. module: bi_view_editor +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_action_id msgid "Action" msgstr "" +#. module: bi_view_editor +#: code:addons/bi_view_editor/models/bve_view.py:409 +#, python-format +msgid "BI View" +msgstr "" + #. module: bi_view_editor #: model:ir.model,name:bi_view_editor.model_bve_view msgid "BI View Editor" msgstr "" +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/js/bi_view_editor.JoinNodeDialog.js:36 +#, python-format +msgid "Cancel" +msgstr "" + +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:18 +#, python-format +msgid "Clear" +msgstr "" + +#. module: bi_view_editor +#: model:ir.actions.act_window,help:bi_view_editor.action_bi_view_editor_view_form +msgid "Click to create a Custom Query Object." +msgstr "" + +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:103 +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:154 +#, python-format +msgid "Column" +msgstr "" + +#. module: bi_view_editor +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form +#, fuzzy +msgid "Create a Menu" +msgstr "Creat el" + #. module: bi_view_editor #: selection:bve.view,state:0 msgid "Created" msgstr "" #. module: bi_view_editor -#: field:bve.view,create_uid:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_create_uid msgid "Created by" msgstr "Creat per" #. module: bi_view_editor -#: field:bve.view,create_date:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_create_date msgid "Created on" msgstr "Creat el" #. module: bi_view_editor -#: view:bve.view:bi_view_editor.view_bi_view_editor_view_tree +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_tree msgid "Custom BI View" msgstr "" #. module: bi_view_editor -#: sql_constraint:bve.view:0 +#: code:addons/bi_view_editor/models/bve_view.py:64 sql_constraint:bve.view:0 +#, python-format msgid "Custom BI View names must be unique!" msgstr "" @@ -70,7 +113,7 @@ msgid "Custom BI Views" msgstr "" #. module: bi_view_editor -#: view:bve.view:bi_view_editor.view_bi_view_editor_view_form +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form msgid "Custom Object" msgstr "" @@ -80,12 +123,12 @@ msgid "Custom Reports" msgstr "" #. module: bi_view_editor -#: field:bve.view,data:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_data msgid "Data" msgstr "" #. module: bi_view_editor -#: field:bve.view,display_name:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_display_name msgid "Display Name" msgstr "Veure el nom" @@ -95,43 +138,74 @@ msgid "Draft" msgstr "" #. module: bi_view_editor -#: code:addons/bi_view_editor/models/bve_view.py:72 -#, python-format -msgid "Error" -msgstr "Error" - -#. module: bi_view_editor -#: view:bve.view:bi_view_editor.view_bi_view_editor_view_form +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form msgid "Generate BI View" msgstr "" #. module: bi_view_editor -#: field:bve.view,group_ids:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_group_ids msgid "Groups" msgstr "" #. module: bi_view_editor -#: field:bve.view,id:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_id msgid "ID" msgstr "ID" #. module: bi_view_editor -#: field:bve.view,__last_update:0 +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:137 +#, python-format +msgid "Join Left" +msgstr "" + +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/js/bi_view_editor.JoinNodeDialog.js:30 +#, python-format +msgid "Join..." +msgstr "" + +#. module: bi_view_editor +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view___last_update msgid "Last Modified on" msgstr "Darrera modificació el" #. module: bi_view_editor -#: field:bve.view,write_uid:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_write_uid msgid "Last Updated by" msgstr "Darrera Actualització per" #. module: bi_view_editor -#: field:bve.view,write_date:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_write_date msgid "Last Updated on" msgstr "Darrera Actualització el" #. module: bi_view_editor -#: field:bve.view,model_name:0 +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:124 +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:157 +#, python-format +msgid "List" +msgstr "" + +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:117 +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:156 +#, python-format +msgid "Measure" +msgstr "" + +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:86 +#, python-format +msgid "Model" +msgstr "" + +#. module: bi_view_editor +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_model_name msgid "Model Name" msgstr "" @@ -141,67 +215,144 @@ msgid "Models" msgstr "" #. module: bi_view_editor -#: field:bve.view,name:0 +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:85 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_name +#, python-format msgid "Name" msgstr "Nom" #. module: bi_view_editor -#: view:bve.view:bi_view_editor.view_bi_view_editor_view_form -#: field:bve.view,note:0 +#: code:addons/bi_view_editor/models/models.py:56 +#, python-format +msgid "No data to be displayed." +msgstr "" + +#. module: bi_view_editor +#: code:addons/bi_view_editor/models/bve_view.py:284 +#, python-format +msgid "No data to process." +msgstr "" + +#. module: bi_view_editor +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_note +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form msgid "Notes" msgstr "" #. module: bi_view_editor -#: view:bve.view:bi_view_editor.view_bi_view_editor_view_form +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form msgid "Open BI View" msgstr "" #. module: bi_view_editor -#: view:bve.view:bi_view_editor.view_bi_view_editor_view_form +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:87 +#, python-format +msgid "Options" +msgstr "" + +#. module: bi_view_editor +#: code:addons/bi_view_editor/models/bve_view.py:224 +#, python-format +msgid "Please select at least one group on the security tab." +msgstr "" + +#. module: bi_view_editor +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form msgid "Query" msgstr "" #. module: bi_view_editor -#: view:bve.view:bi_view_editor.view_bi_view_editor_view_form +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form msgid "Reset to Draft" msgstr "" #. module: bi_view_editor -#: view:bve.view:bi_view_editor.view_bi_view_editor_view_form +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:110 +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:155 +#, python-format +msgid "Row" +msgstr "" + +#. module: bi_view_editor +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form msgid "Security" msgstr "" #. module: bi_view_editor -#: field:bve.view,state:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_state msgid "State" msgstr "Estat" #. module: bi_view_editor -#: help:bve.view,data:0 +#: model:ir.actions.act_window,name:bi_view_editor.action_bi_view_editor_translations +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form +msgid "Translations" +msgstr "" + +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:30 +#, python-format +msgid "Use the existing node" +msgstr "" + +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:34 +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:43 +#, python-format +msgid "Use the field" +msgstr "" + +#. module: bi_view_editor +#: model:ir.model.fields,help:bi_view_editor.field_bve_view_data msgid "" "Use the special query builder to define the query to generate your report " "dataset. NOTE: To be edited, the query should be in 'Draft' status." msgstr "" #. module: bi_view_editor -#: help:bve.view,group_ids:0 +#: model:ir.model.fields,help:bi_view_editor.field_bve_view_group_ids msgid "" "User groups allowed to see the generated report; if NO groups are specified " "the report will be public for everyone." msgstr "" #. module: bi_view_editor -#: field:bve.view,user_ids:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_user_ids msgid "Users" msgstr "Usuaris" #. module: bi_view_editor -#: field:bve.view,view_id:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_view_id msgid "View" msgstr "" #. module: bi_view_editor -#: code:addons/bi_view_editor/models/bve_view.py:73 +#: code:addons/bi_view_editor/models/bve_view.py:456 #, python-format msgid "You cannot delete a created view! Reset the view to draft first." msgstr "" + +#. module: bi_view_editor +#: model:ir.model,name:bi_view_editor.model_base +msgid "base" +msgstr "" + +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:39 +#, python-format +msgid "new" +msgstr "" + +#. module: bi_view_editor +#: model:ir.model,name:bi_view_editor.model_wizard_ir_model_menu_create +msgid "wizard.ir.model.menu.create" +msgstr "" + +#~ msgid "Error" +#~ msgstr "Error" diff --git a/bi_view_editor/i18n/cs.po b/bi_view_editor/i18n/cs.po index 4ca499d0d..51f1f3342 100644 --- a/bi_view_editor/i18n/cs.po +++ b/bi_view_editor/i18n/cs.po @@ -1,7 +1,7 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: # * bi_view_editor -# +# # Translators: msgid "" msgstr "" @@ -10,56 +10,99 @@ msgstr "" "POT-Creation-Date: 2016-09-18 04:34+0000\n" "PO-Revision-Date: 2016-03-21 15:33+0000\n" "Last-Translator: <>\n" -"Language-Team: Czech (http://www.transifex.com/oca/OCA-reporting-engine-8-0/language/cs/)\n" +"Language-Team: Czech (http://www.transifex.com/oca/OCA-reporting-engine-8-0/" +"language/cs/)\n" +"Language: cs\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: \n" -"Language: cs\n" "Plural-Forms: nplurals=3; plural=(n==1) ? 0 : (n>=2 && n<=4) ? 1 : 2;\n" #. module: bi_view_editor -#: model:ir.actions.act_window,help:bi_view_editor.action_bi_view_editor_view_form -msgid "" -"

    \n" -" Click to create a Custom Query Object.\n" -"

    \n" -"\n" -"

    \n" -" " +#: code:addons/bi_view_editor/models/bve_view.py:415 +#, python-format +msgid "%s (copy)" msgstr "" #. module: bi_view_editor -#: field:bve.view,action_id:0 +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:179 +#, python-format +msgid "(join left)" +msgstr "" + +#. module: bi_view_editor +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_action_id msgid "Action" msgstr "" +#. module: bi_view_editor +#: code:addons/bi_view_editor/models/bve_view.py:409 +#, python-format +msgid "BI View" +msgstr "" + #. module: bi_view_editor #: model:ir.model,name:bi_view_editor.model_bve_view msgid "BI View Editor" msgstr "" +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/js/bi_view_editor.JoinNodeDialog.js:36 +#, python-format +msgid "Cancel" +msgstr "" + +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:18 +#, python-format +msgid "Clear" +msgstr "" + +#. module: bi_view_editor +#: model:ir.actions.act_window,help:bi_view_editor.action_bi_view_editor_view_form +msgid "Click to create a Custom Query Object." +msgstr "" + +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:103 +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:154 +#, python-format +msgid "Column" +msgstr "" + +#. module: bi_view_editor +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form +#, fuzzy +msgid "Create a Menu" +msgstr "Vytvořeno" + #. module: bi_view_editor #: selection:bve.view,state:0 msgid "Created" msgstr "" #. module: bi_view_editor -#: field:bve.view,create_uid:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_create_uid msgid "Created by" msgstr "Vytvořil(a)" #. module: bi_view_editor -#: field:bve.view,create_date:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_create_date msgid "Created on" msgstr "Vytvořeno" #. module: bi_view_editor -#: view:bve.view:bi_view_editor.view_bi_view_editor_view_tree +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_tree msgid "Custom BI View" msgstr "" #. module: bi_view_editor -#: sql_constraint:bve.view:0 +#: code:addons/bi_view_editor/models/bve_view.py:64 sql_constraint:bve.view:0 +#, python-format msgid "Custom BI View names must be unique!" msgstr "" @@ -70,7 +113,7 @@ msgid "Custom BI Views" msgstr "" #. module: bi_view_editor -#: view:bve.view:bi_view_editor.view_bi_view_editor_view_form +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form msgid "Custom Object" msgstr "" @@ -80,12 +123,12 @@ msgid "Custom Reports" msgstr "" #. module: bi_view_editor -#: field:bve.view,data:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_data msgid "Data" msgstr "" #. module: bi_view_editor -#: field:bve.view,display_name:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_display_name msgid "Display Name" msgstr "Zobrazovaný název" @@ -95,43 +138,74 @@ msgid "Draft" msgstr "" #. module: bi_view_editor -#: code:addons/bi_view_editor/models/bve_view.py:72 -#, python-format -msgid "Error" -msgstr "" - -#. module: bi_view_editor -#: view:bve.view:bi_view_editor.view_bi_view_editor_view_form +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form msgid "Generate BI View" msgstr "" #. module: bi_view_editor -#: field:bve.view,group_ids:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_group_ids msgid "Groups" msgstr "" #. module: bi_view_editor -#: field:bve.view,id:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_id msgid "ID" msgstr "ID" #. module: bi_view_editor -#: field:bve.view,__last_update:0 +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:137 +#, python-format +msgid "Join Left" +msgstr "" + +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/js/bi_view_editor.JoinNodeDialog.js:30 +#, python-format +msgid "Join..." +msgstr "" + +#. module: bi_view_editor +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view___last_update msgid "Last Modified on" msgstr "Naposled upraveno" #. module: bi_view_editor -#: field:bve.view,write_uid:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_write_uid msgid "Last Updated by" msgstr "Naposled upraveno" #. module: bi_view_editor -#: field:bve.view,write_date:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_write_date msgid "Last Updated on" msgstr "Naposled upraveno" #. module: bi_view_editor -#: field:bve.view,model_name:0 +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:124 +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:157 +#, python-format +msgid "List" +msgstr "" + +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:117 +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:156 +#, python-format +msgid "Measure" +msgstr "" + +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:86 +#, python-format +msgid "Model" +msgstr "" + +#. module: bi_view_editor +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_model_name msgid "Model Name" msgstr "" @@ -141,67 +215,141 @@ msgid "Models" msgstr "" #. module: bi_view_editor -#: field:bve.view,name:0 +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:85 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_name +#, python-format msgid "Name" msgstr "Název" #. module: bi_view_editor -#: view:bve.view:bi_view_editor.view_bi_view_editor_view_form -#: field:bve.view,note:0 +#: code:addons/bi_view_editor/models/models.py:56 +#, python-format +msgid "No data to be displayed." +msgstr "" + +#. module: bi_view_editor +#: code:addons/bi_view_editor/models/bve_view.py:284 +#, python-format +msgid "No data to process." +msgstr "" + +#. module: bi_view_editor +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_note +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form msgid "Notes" msgstr "" #. module: bi_view_editor -#: view:bve.view:bi_view_editor.view_bi_view_editor_view_form +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form msgid "Open BI View" msgstr "" #. module: bi_view_editor -#: view:bve.view:bi_view_editor.view_bi_view_editor_view_form +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:87 +#, python-format +msgid "Options" +msgstr "" + +#. module: bi_view_editor +#: code:addons/bi_view_editor/models/bve_view.py:224 +#, python-format +msgid "Please select at least one group on the security tab." +msgstr "" + +#. module: bi_view_editor +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form msgid "Query" msgstr "" #. module: bi_view_editor -#: view:bve.view:bi_view_editor.view_bi_view_editor_view_form +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form msgid "Reset to Draft" msgstr "" #. module: bi_view_editor -#: view:bve.view:bi_view_editor.view_bi_view_editor_view_form +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:110 +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:155 +#, python-format +msgid "Row" +msgstr "" + +#. module: bi_view_editor +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form msgid "Security" msgstr "Zabezpečení" #. module: bi_view_editor -#: field:bve.view,state:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_state msgid "State" msgstr "" #. module: bi_view_editor -#: help:bve.view,data:0 +#: model:ir.actions.act_window,name:bi_view_editor.action_bi_view_editor_translations +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form +msgid "Translations" +msgstr "" + +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:30 +#, python-format +msgid "Use the existing node" +msgstr "" + +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:34 +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:43 +#, python-format +msgid "Use the field" +msgstr "" + +#. module: bi_view_editor +#: model:ir.model.fields,help:bi_view_editor.field_bve_view_data msgid "" "Use the special query builder to define the query to generate your report " "dataset. NOTE: To be edited, the query should be in 'Draft' status." msgstr "" #. module: bi_view_editor -#: help:bve.view,group_ids:0 +#: model:ir.model.fields,help:bi_view_editor.field_bve_view_group_ids msgid "" "User groups allowed to see the generated report; if NO groups are specified " "the report will be public for everyone." msgstr "" #. module: bi_view_editor -#: field:bve.view,user_ids:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_user_ids msgid "Users" msgstr "" #. module: bi_view_editor -#: field:bve.view,view_id:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_view_id msgid "View" msgstr "" #. module: bi_view_editor -#: code:addons/bi_view_editor/models/bve_view.py:73 +#: code:addons/bi_view_editor/models/bve_view.py:456 #, python-format msgid "You cannot delete a created view! Reset the view to draft first." msgstr "" + +#. module: bi_view_editor +#: model:ir.model,name:bi_view_editor.model_base +msgid "base" +msgstr "" + +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:39 +#, python-format +msgid "new" +msgstr "" + +#. module: bi_view_editor +#: model:ir.model,name:bi_view_editor.model_wizard_ir_model_menu_create +msgid "wizard.ir.model.menu.create" +msgstr "" diff --git a/bi_view_editor/i18n/da.po b/bi_view_editor/i18n/da.po index 845ebf1e9..1d7d1f1d4 100644 --- a/bi_view_editor/i18n/da.po +++ b/bi_view_editor/i18n/da.po @@ -1,7 +1,7 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: # * bi_view_editor -# +# # Translators: msgid "" msgstr "" @@ -10,56 +10,99 @@ msgstr "" "POT-Creation-Date: 2017-01-07 05:41+0000\n" "PO-Revision-Date: 2016-03-21 15:33+0000\n" "Last-Translator: <>\n" -"Language-Team: Danish (http://www.transifex.com/oca/OCA-reporting-engine-8-0/language/da/)\n" +"Language-Team: Danish (http://www.transifex.com/oca/OCA-reporting-engine-8-0/" +"language/da/)\n" +"Language: da\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: \n" -"Language: da\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #. module: bi_view_editor -#: model:ir.actions.act_window,help:bi_view_editor.action_bi_view_editor_view_form -msgid "" -"

    \n" -" Click to create a Custom Query Object.\n" -"

    \n" -"\n" -"

    \n" -" " +#: code:addons/bi_view_editor/models/bve_view.py:415 +#, python-format +msgid "%s (copy)" msgstr "" #. module: bi_view_editor -#: field:bve.view,action_id:0 +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:179 +#, python-format +msgid "(join left)" +msgstr "" + +#. module: bi_view_editor +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_action_id msgid "Action" msgstr "" +#. module: bi_view_editor +#: code:addons/bi_view_editor/models/bve_view.py:409 +#, python-format +msgid "BI View" +msgstr "" + #. module: bi_view_editor #: model:ir.model,name:bi_view_editor.model_bve_view msgid "BI View Editor" msgstr "" +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/js/bi_view_editor.JoinNodeDialog.js:36 +#, python-format +msgid "Cancel" +msgstr "" + +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:18 +#, python-format +msgid "Clear" +msgstr "" + +#. module: bi_view_editor +#: model:ir.actions.act_window,help:bi_view_editor.action_bi_view_editor_view_form +msgid "Click to create a Custom Query Object." +msgstr "" + +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:103 +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:154 +#, python-format +msgid "Column" +msgstr "" + +#. module: bi_view_editor +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form +#, fuzzy +msgid "Create a Menu" +msgstr "Oprettet den" + #. module: bi_view_editor #: selection:bve.view,state:0 msgid "Created" msgstr "" #. module: bi_view_editor -#: field:bve.view,create_uid:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_create_uid msgid "Created by" msgstr "Oprettet af" #. module: bi_view_editor -#: field:bve.view,create_date:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_create_date msgid "Created on" msgstr "Oprettet den" #. module: bi_view_editor -#: view:bve.view:bi_view_editor.view_bi_view_editor_view_tree +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_tree msgid "Custom BI View" msgstr "" #. module: bi_view_editor -#: sql_constraint:bve.view:0 +#: code:addons/bi_view_editor/models/bve_view.py:64 sql_constraint:bve.view:0 +#, python-format msgid "Custom BI View names must be unique!" msgstr "" @@ -70,7 +113,7 @@ msgid "Custom BI Views" msgstr "" #. module: bi_view_editor -#: view:bve.view:bi_view_editor.view_bi_view_editor_view_form +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form msgid "Custom Object" msgstr "" @@ -80,12 +123,12 @@ msgid "Custom Reports" msgstr "" #. module: bi_view_editor -#: field:bve.view,data:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_data msgid "Data" msgstr "" #. module: bi_view_editor -#: field:bve.view,display_name:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_display_name msgid "Display Name" msgstr "Vist navn" @@ -95,43 +138,74 @@ msgid "Draft" msgstr "" #. module: bi_view_editor -#: code:addons/bi_view_editor/models/bve_view.py:72 -#, python-format -msgid "Error" -msgstr "" - -#. module: bi_view_editor -#: view:bve.view:bi_view_editor.view_bi_view_editor_view_form +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form msgid "Generate BI View" msgstr "" #. module: bi_view_editor -#: field:bve.view,group_ids:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_group_ids msgid "Groups" msgstr "" #. module: bi_view_editor -#: field:bve.view,id:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_id msgid "ID" msgstr "Id" #. module: bi_view_editor -#: field:bve.view,__last_update:0 +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:137 +#, python-format +msgid "Join Left" +msgstr "" + +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/js/bi_view_editor.JoinNodeDialog.js:30 +#, python-format +msgid "Join..." +msgstr "" + +#. module: bi_view_editor +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view___last_update msgid "Last Modified on" msgstr "Sidst ændret den" #. module: bi_view_editor -#: field:bve.view,write_uid:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_write_uid msgid "Last Updated by" msgstr "Sidst opdateret af" #. module: bi_view_editor -#: field:bve.view,write_date:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_write_date msgid "Last Updated on" msgstr "Sidst opdateret den" #. module: bi_view_editor -#: field:bve.view,model_name:0 +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:124 +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:157 +#, python-format +msgid "List" +msgstr "" + +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:117 +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:156 +#, python-format +msgid "Measure" +msgstr "" + +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:86 +#, python-format +msgid "Model" +msgstr "" + +#. module: bi_view_editor +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_model_name msgid "Model Name" msgstr "" @@ -141,67 +215,141 @@ msgid "Models" msgstr "" #. module: bi_view_editor -#: field:bve.view,name:0 +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:85 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_name +#, python-format msgid "Name" msgstr "Navn" #. module: bi_view_editor -#: view:bve.view:bi_view_editor.view_bi_view_editor_view_form -#: field:bve.view,note:0 +#: code:addons/bi_view_editor/models/models.py:56 +#, python-format +msgid "No data to be displayed." +msgstr "" + +#. module: bi_view_editor +#: code:addons/bi_view_editor/models/bve_view.py:284 +#, python-format +msgid "No data to process." +msgstr "" + +#. module: bi_view_editor +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_note +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form msgid "Notes" msgstr "" #. module: bi_view_editor -#: view:bve.view:bi_view_editor.view_bi_view_editor_view_form +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form msgid "Open BI View" msgstr "" #. module: bi_view_editor -#: view:bve.view:bi_view_editor.view_bi_view_editor_view_form +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:87 +#, python-format +msgid "Options" +msgstr "" + +#. module: bi_view_editor +#: code:addons/bi_view_editor/models/bve_view.py:224 +#, python-format +msgid "Please select at least one group on the security tab." +msgstr "" + +#. module: bi_view_editor +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form msgid "Query" msgstr "" #. module: bi_view_editor -#: view:bve.view:bi_view_editor.view_bi_view_editor_view_form +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form msgid "Reset to Draft" msgstr "" #. module: bi_view_editor -#: view:bve.view:bi_view_editor.view_bi_view_editor_view_form +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:110 +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:155 +#, python-format +msgid "Row" +msgstr "" + +#. module: bi_view_editor +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form msgid "Security" msgstr "Sikkerhed" #. module: bi_view_editor -#: field:bve.view,state:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_state msgid "State" msgstr "" #. module: bi_view_editor -#: help:bve.view,data:0 +#: model:ir.actions.act_window,name:bi_view_editor.action_bi_view_editor_translations +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form +msgid "Translations" +msgstr "" + +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:30 +#, python-format +msgid "Use the existing node" +msgstr "" + +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:34 +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:43 +#, python-format +msgid "Use the field" +msgstr "" + +#. module: bi_view_editor +#: model:ir.model.fields,help:bi_view_editor.field_bve_view_data msgid "" "Use the special query builder to define the query to generate your report " "dataset. NOTE: To be edited, the query should be in 'Draft' status." msgstr "" #. module: bi_view_editor -#: help:bve.view,group_ids:0 +#: model:ir.model.fields,help:bi_view_editor.field_bve_view_group_ids msgid "" "User groups allowed to see the generated report; if NO groups are specified " "the report will be public for everyone." msgstr "" #. module: bi_view_editor -#: field:bve.view,user_ids:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_user_ids msgid "Users" msgstr "Brugere" #. module: bi_view_editor -#: field:bve.view,view_id:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_view_id msgid "View" msgstr "" #. module: bi_view_editor -#: code:addons/bi_view_editor/models/bve_view.py:73 +#: code:addons/bi_view_editor/models/bve_view.py:456 #, python-format msgid "You cannot delete a created view! Reset the view to draft first." msgstr "" + +#. module: bi_view_editor +#: model:ir.model,name:bi_view_editor.model_base +msgid "base" +msgstr "" + +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:39 +#, python-format +msgid "new" +msgstr "" + +#. module: bi_view_editor +#: model:ir.model,name:bi_view_editor.model_wizard_ir_model_menu_create +msgid "wizard.ir.model.menu.create" +msgstr "" diff --git a/bi_view_editor/i18n/de.po b/bi_view_editor/i18n/de.po index e0901591a..567dbe030 100644 --- a/bi_view_editor/i18n/de.po +++ b/bi_view_editor/i18n/de.po @@ -1,7 +1,7 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: # * bi_view_editor -# +# # Translators: msgid "" msgstr "" @@ -10,56 +10,99 @@ msgstr "" "POT-Creation-Date: 2017-01-21 05:51+0000\n" "PO-Revision-Date: 2016-03-21 15:33+0000\n" "Last-Translator: <>\n" -"Language-Team: German (http://www.transifex.com/oca/OCA-reporting-engine-8-0/language/de/)\n" +"Language-Team: German (http://www.transifex.com/oca/OCA-reporting-engine-8-0/" +"language/de/)\n" +"Language: 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: bi_view_editor -#: model:ir.actions.act_window,help:bi_view_editor.action_bi_view_editor_view_form -msgid "" -"

    \n" -" Click to create a Custom Query Object.\n" -"

    \n" -"\n" -"

    \n" -" " +#: code:addons/bi_view_editor/models/bve_view.py:415 +#, python-format +msgid "%s (copy)" msgstr "" #. module: bi_view_editor -#: field:bve.view,action_id:0 +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:179 +#, python-format +msgid "(join left)" +msgstr "" + +#. module: bi_view_editor +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_action_id msgid "Action" msgstr "Aktion" +#. module: bi_view_editor +#: code:addons/bi_view_editor/models/bve_view.py:409 +#, python-format +msgid "BI View" +msgstr "" + #. module: bi_view_editor #: model:ir.model,name:bi_view_editor.model_bve_view msgid "BI View Editor" msgstr "" +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/js/bi_view_editor.JoinNodeDialog.js:36 +#, python-format +msgid "Cancel" +msgstr "" + +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:18 +#, python-format +msgid "Clear" +msgstr "" + +#. module: bi_view_editor +#: model:ir.actions.act_window,help:bi_view_editor.action_bi_view_editor_view_form +msgid "Click to create a Custom Query Object." +msgstr "" + +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:103 +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:154 +#, python-format +msgid "Column" +msgstr "" + +#. module: bi_view_editor +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form +#, fuzzy +msgid "Create a Menu" +msgstr "Erstellt am:" + #. module: bi_view_editor #: selection:bve.view,state:0 msgid "Created" msgstr "" #. module: bi_view_editor -#: field:bve.view,create_uid:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_create_uid msgid "Created by" msgstr "Erstellt von" #. module: bi_view_editor -#: field:bve.view,create_date:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_create_date msgid "Created on" msgstr "Erstellt am:" #. module: bi_view_editor -#: view:bve.view:bi_view_editor.view_bi_view_editor_view_tree +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_tree msgid "Custom BI View" msgstr "" #. module: bi_view_editor -#: sql_constraint:bve.view:0 +#: code:addons/bi_view_editor/models/bve_view.py:64 sql_constraint:bve.view:0 +#, python-format msgid "Custom BI View names must be unique!" msgstr "" @@ -70,7 +113,7 @@ msgid "Custom BI Views" msgstr "" #. module: bi_view_editor -#: view:bve.view:bi_view_editor.view_bi_view_editor_view_form +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form msgid "Custom Object" msgstr "" @@ -80,12 +123,12 @@ msgid "Custom Reports" msgstr "" #. module: bi_view_editor -#: field:bve.view,data:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_data msgid "Data" msgstr "" #. module: bi_view_editor -#: field:bve.view,display_name:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_display_name msgid "Display Name" msgstr "Anzeigename" @@ -95,43 +138,74 @@ msgid "Draft" msgstr "Entwurf" #. module: bi_view_editor -#: code:addons/bi_view_editor/models/bve_view.py:72 -#, python-format -msgid "Error" -msgstr "" - -#. module: bi_view_editor -#: view:bve.view:bi_view_editor.view_bi_view_editor_view_form +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form msgid "Generate BI View" msgstr "" #. module: bi_view_editor -#: field:bve.view,group_ids:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_group_ids msgid "Groups" msgstr "" #. module: bi_view_editor -#: field:bve.view,id:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_id msgid "ID" msgstr "ID" #. module: bi_view_editor -#: field:bve.view,__last_update:0 +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:137 +#, python-format +msgid "Join Left" +msgstr "" + +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/js/bi_view_editor.JoinNodeDialog.js:30 +#, python-format +msgid "Join..." +msgstr "" + +#. module: bi_view_editor +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view___last_update msgid "Last Modified on" msgstr "Zuletzt geändert am" #. module: bi_view_editor -#: field:bve.view,write_uid:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_write_uid msgid "Last Updated by" msgstr "Zuletzt aktualisiert von" #. module: bi_view_editor -#: field:bve.view,write_date:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_write_date msgid "Last Updated on" msgstr "Zuletzt aktualisiert am" #. module: bi_view_editor -#: field:bve.view,model_name:0 +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:124 +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:157 +#, python-format +msgid "List" +msgstr "" + +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:117 +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:156 +#, python-format +msgid "Measure" +msgstr "" + +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:86 +#, fuzzy, python-format +msgid "Model" +msgstr "Datenmodelle" + +#. module: bi_view_editor +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_model_name msgid "Model Name" msgstr "" @@ -141,67 +215,141 @@ msgid "Models" msgstr "Datenmodelle" #. module: bi_view_editor -#: field:bve.view,name:0 +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:85 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_name +#, python-format msgid "Name" msgstr "Bezeichnung" #. module: bi_view_editor -#: view:bve.view:bi_view_editor.view_bi_view_editor_view_form -#: field:bve.view,note:0 +#: code:addons/bi_view_editor/models/models.py:56 +#, python-format +msgid "No data to be displayed." +msgstr "" + +#. module: bi_view_editor +#: code:addons/bi_view_editor/models/bve_view.py:284 +#, python-format +msgid "No data to process." +msgstr "" + +#. module: bi_view_editor +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_note +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form msgid "Notes" msgstr "Hinweise" #. module: bi_view_editor -#: view:bve.view:bi_view_editor.view_bi_view_editor_view_form +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form msgid "Open BI View" msgstr "" #. module: bi_view_editor -#: view:bve.view:bi_view_editor.view_bi_view_editor_view_form +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:87 +#, fuzzy, python-format +msgid "Options" +msgstr "Aktion" + +#. module: bi_view_editor +#: code:addons/bi_view_editor/models/bve_view.py:224 +#, python-format +msgid "Please select at least one group on the security tab." +msgstr "" + +#. module: bi_view_editor +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form msgid "Query" msgstr "" #. module: bi_view_editor -#: view:bve.view:bi_view_editor.view_bi_view_editor_view_form +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form msgid "Reset to Draft" msgstr "" #. module: bi_view_editor -#: view:bve.view:bi_view_editor.view_bi_view_editor_view_form +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:110 +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:155 +#, python-format +msgid "Row" +msgstr "" + +#. module: bi_view_editor +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form msgid "Security" msgstr "" #. module: bi_view_editor -#: field:bve.view,state:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_state msgid "State" msgstr "Status" #. module: bi_view_editor -#: help:bve.view,data:0 +#: model:ir.actions.act_window,name:bi_view_editor.action_bi_view_editor_translations +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form +msgid "Translations" +msgstr "" + +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:30 +#, python-format +msgid "Use the existing node" +msgstr "" + +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:34 +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:43 +#, python-format +msgid "Use the field" +msgstr "" + +#. module: bi_view_editor +#: model:ir.model.fields,help:bi_view_editor.field_bve_view_data msgid "" "Use the special query builder to define the query to generate your report " "dataset. NOTE: To be edited, the query should be in 'Draft' status." msgstr "" #. module: bi_view_editor -#: help:bve.view,group_ids:0 +#: model:ir.model.fields,help:bi_view_editor.field_bve_view_group_ids msgid "" "User groups allowed to see the generated report; if NO groups are specified " "the report will be public for everyone." msgstr "" #. module: bi_view_editor -#: field:bve.view,user_ids:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_user_ids msgid "Users" msgstr "Benutzer" #. module: bi_view_editor -#: field:bve.view,view_id:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_view_id msgid "View" msgstr "" #. module: bi_view_editor -#: code:addons/bi_view_editor/models/bve_view.py:73 +#: code:addons/bi_view_editor/models/bve_view.py:456 #, python-format msgid "You cannot delete a created view! Reset the view to draft first." msgstr "" + +#. module: bi_view_editor +#: model:ir.model,name:bi_view_editor.model_base +msgid "base" +msgstr "" + +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:39 +#, python-format +msgid "new" +msgstr "" + +#. module: bi_view_editor +#: model:ir.model,name:bi_view_editor.model_wizard_ir_model_menu_create +msgid "wizard.ir.model.menu.create" +msgstr "" diff --git a/bi_view_editor/i18n/el_GR.po b/bi_view_editor/i18n/el_GR.po index e049c9b5e..3e1de4d60 100644 --- a/bi_view_editor/i18n/el_GR.po +++ b/bi_view_editor/i18n/el_GR.po @@ -1,7 +1,7 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: # * bi_view_editor -# +# # Translators: msgid "" msgstr "" @@ -10,56 +10,99 @@ msgstr "" "POT-Creation-Date: 2017-01-07 05:41+0000\n" "PO-Revision-Date: 2016-03-21 15:33+0000\n" "Last-Translator: <>\n" -"Language-Team: Greek (Greece) (http://www.transifex.com/oca/OCA-reporting-engine-8-0/language/el_GR/)\n" +"Language-Team: Greek (Greece) (http://www.transifex.com/oca/OCA-reporting-" +"engine-8-0/language/el_GR/)\n" +"Language: el_GR\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: \n" -"Language: el_GR\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #. module: bi_view_editor -#: model:ir.actions.act_window,help:bi_view_editor.action_bi_view_editor_view_form -msgid "" -"

    \n" -" Click to create a Custom Query Object.\n" -"

    \n" -"\n" -"

    \n" -" " +#: code:addons/bi_view_editor/models/bve_view.py:415 +#, python-format +msgid "%s (copy)" msgstr "" #. module: bi_view_editor -#: field:bve.view,action_id:0 +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:179 +#, python-format +msgid "(join left)" +msgstr "" + +#. module: bi_view_editor +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_action_id msgid "Action" msgstr "" +#. module: bi_view_editor +#: code:addons/bi_view_editor/models/bve_view.py:409 +#, python-format +msgid "BI View" +msgstr "" + #. module: bi_view_editor #: model:ir.model,name:bi_view_editor.model_bve_view msgid "BI View Editor" msgstr "" +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/js/bi_view_editor.JoinNodeDialog.js:36 +#, python-format +msgid "Cancel" +msgstr "" + +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:18 +#, python-format +msgid "Clear" +msgstr "" + +#. module: bi_view_editor +#: model:ir.actions.act_window,help:bi_view_editor.action_bi_view_editor_view_form +msgid "Click to create a Custom Query Object." +msgstr "" + +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:103 +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:154 +#, python-format +msgid "Column" +msgstr "" + +#. module: bi_view_editor +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form +#, fuzzy +msgid "Create a Menu" +msgstr "Δημιουργήθηκε στις" + #. module: bi_view_editor #: selection:bve.view,state:0 msgid "Created" msgstr "" #. module: bi_view_editor -#: field:bve.view,create_uid:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_create_uid msgid "Created by" msgstr "Δημιουργήθηκε από " #. module: bi_view_editor -#: field:bve.view,create_date:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_create_date msgid "Created on" msgstr "Δημιουργήθηκε στις" #. module: bi_view_editor -#: view:bve.view:bi_view_editor.view_bi_view_editor_view_tree +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_tree msgid "Custom BI View" msgstr "" #. module: bi_view_editor -#: sql_constraint:bve.view:0 +#: code:addons/bi_view_editor/models/bve_view.py:64 sql_constraint:bve.view:0 +#, python-format msgid "Custom BI View names must be unique!" msgstr "" @@ -70,7 +113,7 @@ msgid "Custom BI Views" msgstr "" #. module: bi_view_editor -#: view:bve.view:bi_view_editor.view_bi_view_editor_view_form +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form msgid "Custom Object" msgstr "" @@ -80,12 +123,12 @@ msgid "Custom Reports" msgstr "" #. module: bi_view_editor -#: field:bve.view,data:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_data msgid "Data" msgstr "" #. module: bi_view_editor -#: field:bve.view,display_name:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_display_name msgid "Display Name" msgstr "" @@ -95,43 +138,74 @@ msgid "Draft" msgstr "" #. module: bi_view_editor -#: code:addons/bi_view_editor/models/bve_view.py:72 -#, python-format -msgid "Error" -msgstr "" - -#. module: bi_view_editor -#: view:bve.view:bi_view_editor.view_bi_view_editor_view_form +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form msgid "Generate BI View" msgstr "" #. module: bi_view_editor -#: field:bve.view,group_ids:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_group_ids msgid "Groups" msgstr "" #. module: bi_view_editor -#: field:bve.view,id:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_id msgid "ID" msgstr "Κωδικός" #. module: bi_view_editor -#: field:bve.view,__last_update:0 +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:137 +#, python-format +msgid "Join Left" +msgstr "" + +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/js/bi_view_editor.JoinNodeDialog.js:30 +#, python-format +msgid "Join..." +msgstr "" + +#. module: bi_view_editor +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view___last_update msgid "Last Modified on" msgstr "" #. module: bi_view_editor -#: field:bve.view,write_uid:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_write_uid msgid "Last Updated by" msgstr "Τελευταία ενημέρωση από" #. module: bi_view_editor -#: field:bve.view,write_date:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_write_date msgid "Last Updated on" msgstr "Τελευταία ενημέρωση στις" #. module: bi_view_editor -#: field:bve.view,model_name:0 +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:124 +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:157 +#, python-format +msgid "List" +msgstr "" + +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:117 +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:156 +#, python-format +msgid "Measure" +msgstr "" + +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:86 +#, python-format +msgid "Model" +msgstr "" + +#. module: bi_view_editor +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_model_name msgid "Model Name" msgstr "" @@ -141,67 +215,141 @@ msgid "Models" msgstr "" #. module: bi_view_editor -#: field:bve.view,name:0 +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:85 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_name +#, python-format msgid "Name" msgstr "" #. module: bi_view_editor -#: view:bve.view:bi_view_editor.view_bi_view_editor_view_form -#: field:bve.view,note:0 +#: code:addons/bi_view_editor/models/models.py:56 +#, python-format +msgid "No data to be displayed." +msgstr "" + +#. module: bi_view_editor +#: code:addons/bi_view_editor/models/bve_view.py:284 +#, python-format +msgid "No data to process." +msgstr "" + +#. module: bi_view_editor +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_note +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form msgid "Notes" msgstr "" #. module: bi_view_editor -#: view:bve.view:bi_view_editor.view_bi_view_editor_view_form +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form msgid "Open BI View" msgstr "" #. module: bi_view_editor -#: view:bve.view:bi_view_editor.view_bi_view_editor_view_form +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:87 +#, python-format +msgid "Options" +msgstr "" + +#. module: bi_view_editor +#: code:addons/bi_view_editor/models/bve_view.py:224 +#, python-format +msgid "Please select at least one group on the security tab." +msgstr "" + +#. module: bi_view_editor +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form msgid "Query" msgstr "" #. module: bi_view_editor -#: view:bve.view:bi_view_editor.view_bi_view_editor_view_form +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form msgid "Reset to Draft" msgstr "" #. module: bi_view_editor -#: view:bve.view:bi_view_editor.view_bi_view_editor_view_form +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:110 +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:155 +#, python-format +msgid "Row" +msgstr "" + +#. module: bi_view_editor +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form msgid "Security" msgstr "" #. module: bi_view_editor -#: field:bve.view,state:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_state msgid "State" msgstr "" #. module: bi_view_editor -#: help:bve.view,data:0 +#: model:ir.actions.act_window,name:bi_view_editor.action_bi_view_editor_translations +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form +msgid "Translations" +msgstr "" + +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:30 +#, python-format +msgid "Use the existing node" +msgstr "" + +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:34 +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:43 +#, python-format +msgid "Use the field" +msgstr "" + +#. module: bi_view_editor +#: model:ir.model.fields,help:bi_view_editor.field_bve_view_data msgid "" "Use the special query builder to define the query to generate your report " "dataset. NOTE: To be edited, the query should be in 'Draft' status." msgstr "" #. module: bi_view_editor -#: help:bve.view,group_ids:0 +#: model:ir.model.fields,help:bi_view_editor.field_bve_view_group_ids msgid "" "User groups allowed to see the generated report; if NO groups are specified " "the report will be public for everyone." msgstr "" #. module: bi_view_editor -#: field:bve.view,user_ids:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_user_ids msgid "Users" msgstr "Χρήστες" #. module: bi_view_editor -#: field:bve.view,view_id:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_view_id msgid "View" msgstr "" #. module: bi_view_editor -#: code:addons/bi_view_editor/models/bve_view.py:73 +#: code:addons/bi_view_editor/models/bve_view.py:456 #, python-format msgid "You cannot delete a created view! Reset the view to draft first." msgstr "" + +#. module: bi_view_editor +#: model:ir.model,name:bi_view_editor.model_base +msgid "base" +msgstr "" + +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:39 +#, python-format +msgid "new" +msgstr "" + +#. module: bi_view_editor +#: model:ir.model,name:bi_view_editor.model_wizard_ir_model_menu_create +msgid "wizard.ir.model.menu.create" +msgstr "" diff --git a/bi_view_editor/i18n/en_GB.po b/bi_view_editor/i18n/en_GB.po index c246b2382..ff46e9d41 100644 --- a/bi_view_editor/i18n/en_GB.po +++ b/bi_view_editor/i18n/en_GB.po @@ -1,7 +1,7 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: # * bi_view_editor -# +# # Translators: msgid "" msgstr "" @@ -10,56 +10,99 @@ msgstr "" "POT-Creation-Date: 2016-09-18 04:34+0000\n" "PO-Revision-Date: 2016-03-21 15:33+0000\n" "Last-Translator: <>\n" -"Language-Team: English (United Kingdom) (http://www.transifex.com/oca/OCA-reporting-engine-8-0/language/en_GB/)\n" +"Language-Team: English (United Kingdom) (http://www.transifex.com/oca/OCA-" +"reporting-engine-8-0/language/en_GB/)\n" +"Language: en_GB\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: \n" -"Language: en_GB\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #. module: bi_view_editor -#: model:ir.actions.act_window,help:bi_view_editor.action_bi_view_editor_view_form -msgid "" -"

    \n" -" Click to create a Custom Query Object.\n" -"

    \n" -"\n" -"

    \n" -" " +#: code:addons/bi_view_editor/models/bve_view.py:415 +#, python-format +msgid "%s (copy)" msgstr "" #. module: bi_view_editor -#: field:bve.view,action_id:0 +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:179 +#, python-format +msgid "(join left)" +msgstr "" + +#. module: bi_view_editor +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_action_id msgid "Action" msgstr "" +#. module: bi_view_editor +#: code:addons/bi_view_editor/models/bve_view.py:409 +#, python-format +msgid "BI View" +msgstr "" + #. module: bi_view_editor #: model:ir.model,name:bi_view_editor.model_bve_view msgid "BI View Editor" msgstr "" +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/js/bi_view_editor.JoinNodeDialog.js:36 +#, python-format +msgid "Cancel" +msgstr "" + +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:18 +#, python-format +msgid "Clear" +msgstr "" + +#. module: bi_view_editor +#: model:ir.actions.act_window,help:bi_view_editor.action_bi_view_editor_view_form +msgid "Click to create a Custom Query Object." +msgstr "" + +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:103 +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:154 +#, python-format +msgid "Column" +msgstr "" + +#. module: bi_view_editor +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form +#, fuzzy +msgid "Create a Menu" +msgstr "Created on" + #. module: bi_view_editor #: selection:bve.view,state:0 msgid "Created" msgstr "" #. module: bi_view_editor -#: field:bve.view,create_uid:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_create_uid msgid "Created by" msgstr "Created by" #. module: bi_view_editor -#: field:bve.view,create_date:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_create_date msgid "Created on" msgstr "Created on" #. module: bi_view_editor -#: view:bve.view:bi_view_editor.view_bi_view_editor_view_tree +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_tree msgid "Custom BI View" msgstr "" #. module: bi_view_editor -#: sql_constraint:bve.view:0 +#: code:addons/bi_view_editor/models/bve_view.py:64 sql_constraint:bve.view:0 +#, python-format msgid "Custom BI View names must be unique!" msgstr "" @@ -70,7 +113,7 @@ msgid "Custom BI Views" msgstr "" #. module: bi_view_editor -#: view:bve.view:bi_view_editor.view_bi_view_editor_view_form +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form msgid "Custom Object" msgstr "" @@ -80,12 +123,12 @@ msgid "Custom Reports" msgstr "" #. module: bi_view_editor -#: field:bve.view,data:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_data msgid "Data" msgstr "" #. module: bi_view_editor -#: field:bve.view,display_name:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_display_name msgid "Display Name" msgstr "Display Name" @@ -95,43 +138,74 @@ msgid "Draft" msgstr "" #. module: bi_view_editor -#: code:addons/bi_view_editor/models/bve_view.py:72 -#, python-format -msgid "Error" -msgstr "" - -#. module: bi_view_editor -#: view:bve.view:bi_view_editor.view_bi_view_editor_view_form +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form msgid "Generate BI View" msgstr "" #. module: bi_view_editor -#: field:bve.view,group_ids:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_group_ids msgid "Groups" msgstr "" #. module: bi_view_editor -#: field:bve.view,id:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_id msgid "ID" msgstr "ID" #. module: bi_view_editor -#: field:bve.view,__last_update:0 +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:137 +#, python-format +msgid "Join Left" +msgstr "" + +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/js/bi_view_editor.JoinNodeDialog.js:30 +#, python-format +msgid "Join..." +msgstr "" + +#. module: bi_view_editor +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view___last_update msgid "Last Modified on" msgstr "Last Modified on" #. module: bi_view_editor -#: field:bve.view,write_uid:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_write_uid msgid "Last Updated by" msgstr "Last Updated by" #. module: bi_view_editor -#: field:bve.view,write_date:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_write_date msgid "Last Updated on" msgstr "Last Updated on" #. module: bi_view_editor -#: field:bve.view,model_name:0 +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:124 +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:157 +#, python-format +msgid "List" +msgstr "" + +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:117 +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:156 +#, python-format +msgid "Measure" +msgstr "" + +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:86 +#, python-format +msgid "Model" +msgstr "" + +#. module: bi_view_editor +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_model_name msgid "Model Name" msgstr "" @@ -141,67 +215,141 @@ msgid "Models" msgstr "" #. module: bi_view_editor -#: field:bve.view,name:0 +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:85 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_name +#, python-format msgid "Name" msgstr "Name" #. module: bi_view_editor -#: view:bve.view:bi_view_editor.view_bi_view_editor_view_form -#: field:bve.view,note:0 +#: code:addons/bi_view_editor/models/models.py:56 +#, python-format +msgid "No data to be displayed." +msgstr "" + +#. module: bi_view_editor +#: code:addons/bi_view_editor/models/bve_view.py:284 +#, python-format +msgid "No data to process." +msgstr "" + +#. module: bi_view_editor +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_note +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form msgid "Notes" msgstr "" #. module: bi_view_editor -#: view:bve.view:bi_view_editor.view_bi_view_editor_view_form +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form msgid "Open BI View" msgstr "" #. module: bi_view_editor -#: view:bve.view:bi_view_editor.view_bi_view_editor_view_form +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:87 +#, python-format +msgid "Options" +msgstr "" + +#. module: bi_view_editor +#: code:addons/bi_view_editor/models/bve_view.py:224 +#, python-format +msgid "Please select at least one group on the security tab." +msgstr "" + +#. module: bi_view_editor +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form msgid "Query" msgstr "" #. module: bi_view_editor -#: view:bve.view:bi_view_editor.view_bi_view_editor_view_form +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form msgid "Reset to Draft" msgstr "" #. module: bi_view_editor -#: view:bve.view:bi_view_editor.view_bi_view_editor_view_form +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:110 +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:155 +#, python-format +msgid "Row" +msgstr "" + +#. module: bi_view_editor +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form msgid "Security" msgstr "Security" #. module: bi_view_editor -#: field:bve.view,state:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_state msgid "State" msgstr "" #. module: bi_view_editor -#: help:bve.view,data:0 +#: model:ir.actions.act_window,name:bi_view_editor.action_bi_view_editor_translations +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form +msgid "Translations" +msgstr "" + +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:30 +#, python-format +msgid "Use the existing node" +msgstr "" + +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:34 +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:43 +#, python-format +msgid "Use the field" +msgstr "" + +#. module: bi_view_editor +#: model:ir.model.fields,help:bi_view_editor.field_bve_view_data msgid "" "Use the special query builder to define the query to generate your report " "dataset. NOTE: To be edited, the query should be in 'Draft' status." msgstr "" #. module: bi_view_editor -#: help:bve.view,group_ids:0 +#: model:ir.model.fields,help:bi_view_editor.field_bve_view_group_ids msgid "" "User groups allowed to see the generated report; if NO groups are specified " "the report will be public for everyone." msgstr "" #. module: bi_view_editor -#: field:bve.view,user_ids:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_user_ids msgid "Users" msgstr "" #. module: bi_view_editor -#: field:bve.view,view_id:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_view_id msgid "View" msgstr "" #. module: bi_view_editor -#: code:addons/bi_view_editor/models/bve_view.py:73 +#: code:addons/bi_view_editor/models/bve_view.py:456 #, python-format msgid "You cannot delete a created view! Reset the view to draft first." msgstr "" + +#. module: bi_view_editor +#: model:ir.model,name:bi_view_editor.model_base +msgid "base" +msgstr "" + +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:39 +#, python-format +msgid "new" +msgstr "" + +#. module: bi_view_editor +#: model:ir.model,name:bi_view_editor.model_wizard_ir_model_menu_create +msgid "wizard.ir.model.menu.create" +msgstr "" diff --git a/bi_view_editor/i18n/es.po b/bi_view_editor/i18n/es.po index bfe74bf55..8175e3774 100644 --- a/bi_view_editor/i18n/es.po +++ b/bi_view_editor/i18n/es.po @@ -1,7 +1,7 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: # * bi_view_editor -# +# # Translators: # Eduardo Rodríguez Crespo , 2016 msgid "" @@ -11,56 +11,99 @@ msgstr "" "POT-Creation-Date: 2016-05-08 09:43+0000\n" "PO-Revision-Date: 2016-06-13 21:28+0000\n" "Last-Translator: Eduardo Rodríguez Crespo \n" -"Language-Team: Spanish (http://www.transifex.com/oca/OCA-reporting-engine-8-0/language/es/)\n" +"Language-Team: Spanish (http://www.transifex.com/oca/OCA-reporting-" +"engine-8-0/language/es/)\n" +"Language: 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: bi_view_editor -#: model:ir.actions.act_window,help:bi_view_editor.action_bi_view_editor_view_form -msgid "" -"

    \n" -" Click to create a Custom Query Object.\n" -"

    \n" -"\n" -"

    \n" -" " +#: code:addons/bi_view_editor/models/bve_view.py:415 +#, python-format +msgid "%s (copy)" msgstr "" #. module: bi_view_editor -#: field:bve.view,action_id:0 +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:179 +#, python-format +msgid "(join left)" +msgstr "" + +#. module: bi_view_editor +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_action_id msgid "Action" msgstr "Acción" +#. module: bi_view_editor +#: code:addons/bi_view_editor/models/bve_view.py:409 +#, fuzzy, python-format +msgid "BI View" +msgstr "Abrir vista BI" + #. module: bi_view_editor #: model:ir.model,name:bi_view_editor.model_bve_view msgid "BI View Editor" msgstr "Editor de vistas BI" +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/js/bi_view_editor.JoinNodeDialog.js:36 +#, python-format +msgid "Cancel" +msgstr "" + +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:18 +#, python-format +msgid "Clear" +msgstr "" + +#. module: bi_view_editor +#: model:ir.actions.act_window,help:bi_view_editor.action_bi_view_editor_view_form +msgid "Click to create a Custom Query Object." +msgstr "" + +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:103 +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:154 +#, python-format +msgid "Column" +msgstr "" + +#. module: bi_view_editor +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form +#, fuzzy +msgid "Create a Menu" +msgstr "Creado en" + #. module: bi_view_editor #: selection:bve.view,state:0 msgid "Created" msgstr "Creado" #. module: bi_view_editor -#: field:bve.view,create_uid:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_create_uid msgid "Created by" msgstr "Creado por" #. module: bi_view_editor -#: field:bve.view,create_date:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_create_date msgid "Created on" msgstr "Creado en" #. module: bi_view_editor -#: view:bve.view:bi_view_editor.view_bi_view_editor_view_tree +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_tree msgid "Custom BI View" msgstr "Vista BI personalizada" #. module: bi_view_editor -#: sql_constraint:bve.view:0 +#: code:addons/bi_view_editor/models/bve_view.py:64 sql_constraint:bve.view:0 +#, python-format msgid "Custom BI View names must be unique!" msgstr "¡El nombre de las vistas BI personalizadas debe ser único!" @@ -71,7 +114,7 @@ msgid "Custom BI Views" msgstr "Vistas BI personalizadas" #. module: bi_view_editor -#: view:bve.view:bi_view_editor.view_bi_view_editor_view_form +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form msgid "Custom Object" msgstr "Objeto personalizado" @@ -81,12 +124,12 @@ msgid "Custom Reports" msgstr "Informes personalizados" #. module: bi_view_editor -#: field:bve.view,data:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_data msgid "Data" msgstr "Datos" #. module: bi_view_editor -#: field:bve.view,display_name:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_display_name msgid "Display Name" msgstr "Nombre mostrado" @@ -96,43 +139,74 @@ msgid "Draft" msgstr "Borrador" #. module: bi_view_editor -#: code:addons/bi_view_editor/models/bve_view.py:72 -#, python-format -msgid "Error" -msgstr "Error" - -#. module: bi_view_editor -#: view:bve.view:bi_view_editor.view_bi_view_editor_view_form +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form msgid "Generate BI View" msgstr "Generar vista BI" #. module: bi_view_editor -#: field:bve.view,group_ids:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_group_ids msgid "Groups" msgstr "Grupos" #. module: bi_view_editor -#: field:bve.view,id:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_id msgid "ID" msgstr "ID" #. module: bi_view_editor -#: field:bve.view,__last_update:0 +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:137 +#, python-format +msgid "Join Left" +msgstr "" + +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/js/bi_view_editor.JoinNodeDialog.js:30 +#, python-format +msgid "Join..." +msgstr "" + +#. module: bi_view_editor +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view___last_update msgid "Last Modified on" msgstr "Última modificación en" #. module: bi_view_editor -#: field:bve.view,write_uid:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_write_uid msgid "Last Updated by" msgstr "Última actualización por" #. module: bi_view_editor -#: field:bve.view,write_date:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_write_date msgid "Last Updated on" msgstr "Última actualización en" #. module: bi_view_editor -#: field:bve.view,model_name:0 +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:124 +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:157 +#, python-format +msgid "List" +msgstr "" + +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:117 +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:156 +#, python-format +msgid "Measure" +msgstr "" + +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:86 +#, fuzzy, python-format +msgid "Model" +msgstr "Modelos" + +#. module: bi_view_editor +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_model_name msgid "Model Name" msgstr "Nombre del modelo" @@ -142,67 +216,150 @@ msgid "Models" msgstr "Modelos" #. module: bi_view_editor -#: field:bve.view,name:0 +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:85 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_name +#, python-format msgid "Name" msgstr "Nombre" #. module: bi_view_editor -#: view:bve.view:bi_view_editor.view_bi_view_editor_view_form -#: field:bve.view,note:0 +#: code:addons/bi_view_editor/models/models.py:56 +#, python-format +msgid "No data to be displayed." +msgstr "" + +#. module: bi_view_editor +#: code:addons/bi_view_editor/models/bve_view.py:284 +#, python-format +msgid "No data to process." +msgstr "" + +#. module: bi_view_editor +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_note +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form msgid "Notes" msgstr "Notas" #. module: bi_view_editor -#: view:bve.view:bi_view_editor.view_bi_view_editor_view_form +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form msgid "Open BI View" msgstr "Abrir vista BI" #. module: bi_view_editor -#: view:bve.view:bi_view_editor.view_bi_view_editor_view_form +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:87 +#, fuzzy, python-format +msgid "Options" +msgstr "Acción" + +#. module: bi_view_editor +#: code:addons/bi_view_editor/models/bve_view.py:224 +#, python-format +msgid "Please select at least one group on the security tab." +msgstr "" + +#. module: bi_view_editor +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form msgid "Query" msgstr "Consulta" #. module: bi_view_editor -#: view:bve.view:bi_view_editor.view_bi_view_editor_view_form +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form msgid "Reset to Draft" msgstr "Devolver a estado borrador" #. module: bi_view_editor -#: view:bve.view:bi_view_editor.view_bi_view_editor_view_form +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:110 +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:155 +#, python-format +msgid "Row" +msgstr "" + +#. module: bi_view_editor +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form msgid "Security" msgstr "Seguridad" #. module: bi_view_editor -#: field:bve.view,state:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_state msgid "State" msgstr "Estado" #. module: bi_view_editor -#: help:bve.view,data:0 +#: model:ir.actions.act_window,name:bi_view_editor.action_bi_view_editor_translations +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form +msgid "Translations" +msgstr "" + +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:30 +#, python-format +msgid "Use the existing node" +msgstr "" + +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:34 +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:43 +#, python-format +msgid "Use the field" +msgstr "" + +#. module: bi_view_editor +#: model:ir.model.fields,help:bi_view_editor.field_bve_view_data msgid "" "Use the special query builder to define the query to generate your report " "dataset. NOTE: To be edited, the query should be in 'Draft' status." -msgstr "Usa el constructor especial de consultas para definir la consulta del informe de datos. NOTA: para ser editada, la consulta debe estar en estado 'Borrador'" +msgstr "" +"Usa el constructor especial de consultas para definir la consulta del " +"informe de datos. NOTA: para ser editada, la consulta debe estar en estado " +"'Borrador'" #. module: bi_view_editor -#: help:bve.view,group_ids:0 +#: model:ir.model.fields,help:bi_view_editor.field_bve_view_group_ids msgid "" "User groups allowed to see the generated report; if NO groups are specified " "the report will be public for everyone." -msgstr "Grupos de usuarios permitidos para ver el informe generado; si NO se especifican grupos, el informe será público para todos" +msgstr "" +"Grupos de usuarios permitidos para ver el informe generado; si NO se " +"especifican grupos, el informe será público para todos" #. module: bi_view_editor -#: field:bve.view,user_ids:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_user_ids msgid "Users" msgstr "Usuarios" #. module: bi_view_editor -#: field:bve.view,view_id:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_view_id msgid "View" msgstr "Vista" #. module: bi_view_editor -#: code:addons/bi_view_editor/models/bve_view.py:73 +#: code:addons/bi_view_editor/models/bve_view.py:456 #, python-format msgid "You cannot delete a created view! Reset the view to draft first." -msgstr "¡No puedes eliminar una vista creada! Devuélvela a estado borrador primero" +msgstr "" +"¡No puedes eliminar una vista creada! Devuélvela a estado borrador primero" + +#. module: bi_view_editor +#: model:ir.model,name:bi_view_editor.model_base +msgid "base" +msgstr "" + +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:39 +#, python-format +msgid "new" +msgstr "" + +#. module: bi_view_editor +#: model:ir.model,name:bi_view_editor.model_wizard_ir_model_menu_create +msgid "wizard.ir.model.menu.create" +msgstr "" + +#~ msgid "Error" +#~ msgstr "Error" diff --git a/bi_view_editor/i18n/es_AR.po b/bi_view_editor/i18n/es_AR.po index 32c9ac50d..aaf58856b 100644 --- a/bi_view_editor/i18n/es_AR.po +++ b/bi_view_editor/i18n/es_AR.po @@ -1,7 +1,7 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: # * bi_view_editor -# +# # Translators: msgid "" msgstr "" @@ -10,56 +10,99 @@ msgstr "" "POT-Creation-Date: 2016-09-18 04:34+0000\n" "PO-Revision-Date: 2016-03-21 15:33+0000\n" "Last-Translator: <>\n" -"Language-Team: Spanish (Argentina) (http://www.transifex.com/oca/OCA-reporting-engine-8-0/language/es_AR/)\n" +"Language-Team: Spanish (Argentina) (http://www.transifex.com/oca/OCA-" +"reporting-engine-8-0/language/es_AR/)\n" +"Language: es_AR\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: \n" -"Language: es_AR\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #. module: bi_view_editor -#: model:ir.actions.act_window,help:bi_view_editor.action_bi_view_editor_view_form -msgid "" -"

    \n" -" Click to create a Custom Query Object.\n" -"

    \n" -"\n" -"

    \n" -" " +#: code:addons/bi_view_editor/models/bve_view.py:415 +#, python-format +msgid "%s (copy)" msgstr "" #. module: bi_view_editor -#: field:bve.view,action_id:0 +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:179 +#, python-format +msgid "(join left)" +msgstr "" + +#. module: bi_view_editor +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_action_id msgid "Action" msgstr "" +#. module: bi_view_editor +#: code:addons/bi_view_editor/models/bve_view.py:409 +#, python-format +msgid "BI View" +msgstr "" + #. module: bi_view_editor #: model:ir.model,name:bi_view_editor.model_bve_view msgid "BI View Editor" msgstr "" +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/js/bi_view_editor.JoinNodeDialog.js:36 +#, python-format +msgid "Cancel" +msgstr "" + +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:18 +#, python-format +msgid "Clear" +msgstr "" + +#. module: bi_view_editor +#: model:ir.actions.act_window,help:bi_view_editor.action_bi_view_editor_view_form +msgid "Click to create a Custom Query Object." +msgstr "" + +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:103 +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:154 +#, python-format +msgid "Column" +msgstr "" + +#. module: bi_view_editor +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form +#, fuzzy +msgid "Create a Menu" +msgstr "Creado en" + #. module: bi_view_editor #: selection:bve.view,state:0 msgid "Created" msgstr "" #. module: bi_view_editor -#: field:bve.view,create_uid:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_create_uid msgid "Created by" msgstr "Creado por" #. module: bi_view_editor -#: field:bve.view,create_date:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_create_date msgid "Created on" msgstr "Creado en" #. module: bi_view_editor -#: view:bve.view:bi_view_editor.view_bi_view_editor_view_tree +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_tree msgid "Custom BI View" msgstr "" #. module: bi_view_editor -#: sql_constraint:bve.view:0 +#: code:addons/bi_view_editor/models/bve_view.py:64 sql_constraint:bve.view:0 +#, python-format msgid "Custom BI View names must be unique!" msgstr "" @@ -70,7 +113,7 @@ msgid "Custom BI Views" msgstr "" #. module: bi_view_editor -#: view:bve.view:bi_view_editor.view_bi_view_editor_view_form +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form msgid "Custom Object" msgstr "" @@ -80,12 +123,12 @@ msgid "Custom Reports" msgstr "" #. module: bi_view_editor -#: field:bve.view,data:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_data msgid "Data" msgstr "" #. module: bi_view_editor -#: field:bve.view,display_name:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_display_name msgid "Display Name" msgstr "Mostrar Nombre" @@ -95,43 +138,74 @@ msgid "Draft" msgstr "" #. module: bi_view_editor -#: code:addons/bi_view_editor/models/bve_view.py:72 -#, python-format -msgid "Error" -msgstr "" - -#. module: bi_view_editor -#: view:bve.view:bi_view_editor.view_bi_view_editor_view_form +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form msgid "Generate BI View" msgstr "" #. module: bi_view_editor -#: field:bve.view,group_ids:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_group_ids msgid "Groups" msgstr "" #. module: bi_view_editor -#: field:bve.view,id:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_id msgid "ID" msgstr "ID" #. module: bi_view_editor -#: field:bve.view,__last_update:0 +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:137 +#, python-format +msgid "Join Left" +msgstr "" + +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/js/bi_view_editor.JoinNodeDialog.js:30 +#, python-format +msgid "Join..." +msgstr "" + +#. module: bi_view_editor +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view___last_update msgid "Last Modified on" msgstr "Última modificación en" #. module: bi_view_editor -#: field:bve.view,write_uid:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_write_uid msgid "Last Updated by" msgstr "Última actualización realizada por" #. module: bi_view_editor -#: field:bve.view,write_date:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_write_date msgid "Last Updated on" msgstr "Última actualización el" #. module: bi_view_editor -#: field:bve.view,model_name:0 +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:124 +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:157 +#, python-format +msgid "List" +msgstr "" + +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:117 +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:156 +#, python-format +msgid "Measure" +msgstr "" + +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:86 +#, python-format +msgid "Model" +msgstr "" + +#. module: bi_view_editor +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_model_name msgid "Model Name" msgstr "" @@ -141,67 +215,141 @@ msgid "Models" msgstr "" #. module: bi_view_editor -#: field:bve.view,name:0 +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:85 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_name +#, python-format msgid "Name" msgstr "Nombre" #. module: bi_view_editor -#: view:bve.view:bi_view_editor.view_bi_view_editor_view_form -#: field:bve.view,note:0 +#: code:addons/bi_view_editor/models/models.py:56 +#, python-format +msgid "No data to be displayed." +msgstr "" + +#. module: bi_view_editor +#: code:addons/bi_view_editor/models/bve_view.py:284 +#, python-format +msgid "No data to process." +msgstr "" + +#. module: bi_view_editor +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_note +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form msgid "Notes" msgstr "" #. module: bi_view_editor -#: view:bve.view:bi_view_editor.view_bi_view_editor_view_form +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form msgid "Open BI View" msgstr "" #. module: bi_view_editor -#: view:bve.view:bi_view_editor.view_bi_view_editor_view_form +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:87 +#, python-format +msgid "Options" +msgstr "" + +#. module: bi_view_editor +#: code:addons/bi_view_editor/models/bve_view.py:224 +#, python-format +msgid "Please select at least one group on the security tab." +msgstr "" + +#. module: bi_view_editor +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form msgid "Query" msgstr "" #. module: bi_view_editor -#: view:bve.view:bi_view_editor.view_bi_view_editor_view_form +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form msgid "Reset to Draft" msgstr "" #. module: bi_view_editor -#: view:bve.view:bi_view_editor.view_bi_view_editor_view_form +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:110 +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:155 +#, python-format +msgid "Row" +msgstr "" + +#. module: bi_view_editor +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form msgid "Security" msgstr "Seguridad" #. module: bi_view_editor -#: field:bve.view,state:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_state msgid "State" msgstr "" #. module: bi_view_editor -#: help:bve.view,data:0 +#: model:ir.actions.act_window,name:bi_view_editor.action_bi_view_editor_translations +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form +msgid "Translations" +msgstr "" + +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:30 +#, python-format +msgid "Use the existing node" +msgstr "" + +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:34 +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:43 +#, python-format +msgid "Use the field" +msgstr "" + +#. module: bi_view_editor +#: model:ir.model.fields,help:bi_view_editor.field_bve_view_data msgid "" "Use the special query builder to define the query to generate your report " "dataset. NOTE: To be edited, the query should be in 'Draft' status." msgstr "" #. module: bi_view_editor -#: help:bve.view,group_ids:0 +#: model:ir.model.fields,help:bi_view_editor.field_bve_view_group_ids msgid "" "User groups allowed to see the generated report; if NO groups are specified " "the report will be public for everyone." msgstr "" #. module: bi_view_editor -#: field:bve.view,user_ids:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_user_ids msgid "Users" msgstr "" #. module: bi_view_editor -#: field:bve.view,view_id:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_view_id msgid "View" msgstr "" #. module: bi_view_editor -#: code:addons/bi_view_editor/models/bve_view.py:73 +#: code:addons/bi_view_editor/models/bve_view.py:456 #, python-format msgid "You cannot delete a created view! Reset the view to draft first." msgstr "" + +#. module: bi_view_editor +#: model:ir.model,name:bi_view_editor.model_base +msgid "base" +msgstr "" + +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:39 +#, python-format +msgid "new" +msgstr "" + +#. module: bi_view_editor +#: model:ir.model,name:bi_view_editor.model_wizard_ir_model_menu_create +msgid "wizard.ir.model.menu.create" +msgstr "" diff --git a/bi_view_editor/i18n/es_CL.po b/bi_view_editor/i18n/es_CL.po index bc40b717c..5f4a96662 100644 --- a/bi_view_editor/i18n/es_CL.po +++ b/bi_view_editor/i18n/es_CL.po @@ -1,7 +1,7 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: # * bi_view_editor -# +# # Translators: msgid "" msgstr "" @@ -10,56 +10,99 @@ msgstr "" "POT-Creation-Date: 2016-12-24 04:38+0000\n" "PO-Revision-Date: 2016-03-21 15:33+0000\n" "Last-Translator: <>\n" -"Language-Team: Spanish (Chile) (http://www.transifex.com/oca/OCA-reporting-engine-8-0/language/es_CL/)\n" +"Language-Team: Spanish (Chile) (http://www.transifex.com/oca/OCA-reporting-" +"engine-8-0/language/es_CL/)\n" +"Language: es_CL\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: \n" -"Language: es_CL\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #. module: bi_view_editor -#: model:ir.actions.act_window,help:bi_view_editor.action_bi_view_editor_view_form -msgid "" -"

    \n" -" Click to create a Custom Query Object.\n" -"

    \n" -"\n" -"

    \n" -" " +#: code:addons/bi_view_editor/models/bve_view.py:415 +#, python-format +msgid "%s (copy)" msgstr "" #. module: bi_view_editor -#: field:bve.view,action_id:0 +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:179 +#, python-format +msgid "(join left)" +msgstr "" + +#. module: bi_view_editor +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_action_id msgid "Action" msgstr "" +#. module: bi_view_editor +#: code:addons/bi_view_editor/models/bve_view.py:409 +#, python-format +msgid "BI View" +msgstr "" + #. module: bi_view_editor #: model:ir.model,name:bi_view_editor.model_bve_view msgid "BI View Editor" msgstr "" +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/js/bi_view_editor.JoinNodeDialog.js:36 +#, python-format +msgid "Cancel" +msgstr "" + +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:18 +#, python-format +msgid "Clear" +msgstr "" + +#. module: bi_view_editor +#: model:ir.actions.act_window,help:bi_view_editor.action_bi_view_editor_view_form +msgid "Click to create a Custom Query Object." +msgstr "" + +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:103 +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:154 +#, python-format +msgid "Column" +msgstr "" + +#. module: bi_view_editor +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form +#, fuzzy +msgid "Create a Menu" +msgstr "Creado en" + #. module: bi_view_editor #: selection:bve.view,state:0 msgid "Created" msgstr "" #. module: bi_view_editor -#: field:bve.view,create_uid:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_create_uid msgid "Created by" msgstr "Creado por" #. module: bi_view_editor -#: field:bve.view,create_date:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_create_date msgid "Created on" msgstr "Creado en" #. module: bi_view_editor -#: view:bve.view:bi_view_editor.view_bi_view_editor_view_tree +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_tree msgid "Custom BI View" msgstr "" #. module: bi_view_editor -#: sql_constraint:bve.view:0 +#: code:addons/bi_view_editor/models/bve_view.py:64 sql_constraint:bve.view:0 +#, python-format msgid "Custom BI View names must be unique!" msgstr "" @@ -70,7 +113,7 @@ msgid "Custom BI Views" msgstr "" #. module: bi_view_editor -#: view:bve.view:bi_view_editor.view_bi_view_editor_view_form +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form msgid "Custom Object" msgstr "" @@ -80,12 +123,12 @@ msgid "Custom Reports" msgstr "" #. module: bi_view_editor -#: field:bve.view,data:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_data msgid "Data" msgstr "" #. module: bi_view_editor -#: field:bve.view,display_name:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_display_name msgid "Display Name" msgstr "Nombre mostrado" @@ -95,43 +138,74 @@ msgid "Draft" msgstr "" #. module: bi_view_editor -#: code:addons/bi_view_editor/models/bve_view.py:72 -#, python-format -msgid "Error" -msgstr "" - -#. module: bi_view_editor -#: view:bve.view:bi_view_editor.view_bi_view_editor_view_form +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form msgid "Generate BI View" msgstr "" #. module: bi_view_editor -#: field:bve.view,group_ids:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_group_ids msgid "Groups" msgstr "" #. module: bi_view_editor -#: field:bve.view,id:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_id msgid "ID" msgstr "ID (identificación)" #. module: bi_view_editor -#: field:bve.view,__last_update:0 +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:137 +#, python-format +msgid "Join Left" +msgstr "" + +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/js/bi_view_editor.JoinNodeDialog.js:30 +#, python-format +msgid "Join..." +msgstr "" + +#. module: bi_view_editor +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view___last_update msgid "Last Modified on" msgstr "Última modificación en" #. module: bi_view_editor -#: field:bve.view,write_uid:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_write_uid msgid "Last Updated by" msgstr "Última actualización de" #. module: bi_view_editor -#: field:bve.view,write_date:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_write_date msgid "Last Updated on" msgstr "Última actualización en" #. module: bi_view_editor -#: field:bve.view,model_name:0 +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:124 +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:157 +#, python-format +msgid "List" +msgstr "" + +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:117 +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:156 +#, python-format +msgid "Measure" +msgstr "" + +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:86 +#, python-format +msgid "Model" +msgstr "" + +#. module: bi_view_editor +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_model_name msgid "Model Name" msgstr "" @@ -141,67 +215,141 @@ msgid "Models" msgstr "" #. module: bi_view_editor -#: field:bve.view,name:0 +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:85 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_name +#, python-format msgid "Name" msgstr "Nombre" #. module: bi_view_editor -#: view:bve.view:bi_view_editor.view_bi_view_editor_view_form -#: field:bve.view,note:0 +#: code:addons/bi_view_editor/models/models.py:56 +#, python-format +msgid "No data to be displayed." +msgstr "" + +#. module: bi_view_editor +#: code:addons/bi_view_editor/models/bve_view.py:284 +#, python-format +msgid "No data to process." +msgstr "" + +#. module: bi_view_editor +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_note +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form msgid "Notes" msgstr "" #. module: bi_view_editor -#: view:bve.view:bi_view_editor.view_bi_view_editor_view_form +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form msgid "Open BI View" msgstr "" #. module: bi_view_editor -#: view:bve.view:bi_view_editor.view_bi_view_editor_view_form +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:87 +#, python-format +msgid "Options" +msgstr "" + +#. module: bi_view_editor +#: code:addons/bi_view_editor/models/bve_view.py:224 +#, python-format +msgid "Please select at least one group on the security tab." +msgstr "" + +#. module: bi_view_editor +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form msgid "Query" msgstr "" #. module: bi_view_editor -#: view:bve.view:bi_view_editor.view_bi_view_editor_view_form +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form msgid "Reset to Draft" msgstr "" #. module: bi_view_editor -#: view:bve.view:bi_view_editor.view_bi_view_editor_view_form +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:110 +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:155 +#, python-format +msgid "Row" +msgstr "" + +#. module: bi_view_editor +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form msgid "Security" msgstr "Seguridad" #. module: bi_view_editor -#: field:bve.view,state:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_state msgid "State" msgstr "" #. module: bi_view_editor -#: help:bve.view,data:0 +#: model:ir.actions.act_window,name:bi_view_editor.action_bi_view_editor_translations +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form +msgid "Translations" +msgstr "" + +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:30 +#, python-format +msgid "Use the existing node" +msgstr "" + +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:34 +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:43 +#, python-format +msgid "Use the field" +msgstr "" + +#. module: bi_view_editor +#: model:ir.model.fields,help:bi_view_editor.field_bve_view_data msgid "" "Use the special query builder to define the query to generate your report " "dataset. NOTE: To be edited, the query should be in 'Draft' status." msgstr "" #. module: bi_view_editor -#: help:bve.view,group_ids:0 +#: model:ir.model.fields,help:bi_view_editor.field_bve_view_group_ids msgid "" "User groups allowed to see the generated report; if NO groups are specified " "the report will be public for everyone." msgstr "" #. module: bi_view_editor -#: field:bve.view,user_ids:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_user_ids msgid "Users" msgstr "" #. module: bi_view_editor -#: field:bve.view,view_id:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_view_id msgid "View" msgstr "" #. module: bi_view_editor -#: code:addons/bi_view_editor/models/bve_view.py:73 +#: code:addons/bi_view_editor/models/bve_view.py:456 #, python-format msgid "You cannot delete a created view! Reset the view to draft first." msgstr "" + +#. module: bi_view_editor +#: model:ir.model,name:bi_view_editor.model_base +msgid "base" +msgstr "" + +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:39 +#, python-format +msgid "new" +msgstr "" + +#. module: bi_view_editor +#: model:ir.model,name:bi_view_editor.model_wizard_ir_model_menu_create +msgid "wizard.ir.model.menu.create" +msgstr "" diff --git a/bi_view_editor/i18n/es_CO.po b/bi_view_editor/i18n/es_CO.po index 378f04fb4..927006a25 100644 --- a/bi_view_editor/i18n/es_CO.po +++ b/bi_view_editor/i18n/es_CO.po @@ -1,7 +1,7 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: # * bi_view_editor -# +# # Translators: msgid "" msgstr "" @@ -10,56 +10,99 @@ msgstr "" "POT-Creation-Date: 2016-09-18 04:34+0000\n" "PO-Revision-Date: 2016-03-21 15:33+0000\n" "Last-Translator: <>\n" -"Language-Team: Spanish (Colombia) (http://www.transifex.com/oca/OCA-reporting-engine-8-0/language/es_CO/)\n" +"Language-Team: Spanish (Colombia) (http://www.transifex.com/oca/OCA-" +"reporting-engine-8-0/language/es_CO/)\n" +"Language: es_CO\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: \n" -"Language: es_CO\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #. module: bi_view_editor -#: model:ir.actions.act_window,help:bi_view_editor.action_bi_view_editor_view_form -msgid "" -"

    \n" -" Click to create a Custom Query Object.\n" -"

    \n" -"\n" -"

    \n" -" " +#: code:addons/bi_view_editor/models/bve_view.py:415 +#, python-format +msgid "%s (copy)" msgstr "" #. module: bi_view_editor -#: field:bve.view,action_id:0 +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:179 +#, python-format +msgid "(join left)" +msgstr "" + +#. module: bi_view_editor +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_action_id msgid "Action" msgstr "" +#. module: bi_view_editor +#: code:addons/bi_view_editor/models/bve_view.py:409 +#, python-format +msgid "BI View" +msgstr "" + #. module: bi_view_editor #: model:ir.model,name:bi_view_editor.model_bve_view msgid "BI View Editor" msgstr "" +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/js/bi_view_editor.JoinNodeDialog.js:36 +#, python-format +msgid "Cancel" +msgstr "" + +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:18 +#, python-format +msgid "Clear" +msgstr "" + +#. module: bi_view_editor +#: model:ir.actions.act_window,help:bi_view_editor.action_bi_view_editor_view_form +msgid "Click to create a Custom Query Object." +msgstr "" + +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:103 +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:154 +#, python-format +msgid "Column" +msgstr "" + +#. module: bi_view_editor +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form +#, fuzzy +msgid "Create a Menu" +msgstr "Creado" + #. module: bi_view_editor #: selection:bve.view,state:0 msgid "Created" msgstr "" #. module: bi_view_editor -#: field:bve.view,create_uid:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_create_uid msgid "Created by" msgstr "Creado por" #. module: bi_view_editor -#: field:bve.view,create_date:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_create_date msgid "Created on" msgstr "Creado" #. module: bi_view_editor -#: view:bve.view:bi_view_editor.view_bi_view_editor_view_tree +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_tree msgid "Custom BI View" msgstr "" #. module: bi_view_editor -#: sql_constraint:bve.view:0 +#: code:addons/bi_view_editor/models/bve_view.py:64 sql_constraint:bve.view:0 +#, python-format msgid "Custom BI View names must be unique!" msgstr "" @@ -70,7 +113,7 @@ msgid "Custom BI Views" msgstr "" #. module: bi_view_editor -#: view:bve.view:bi_view_editor.view_bi_view_editor_view_form +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form msgid "Custom Object" msgstr "" @@ -80,12 +123,12 @@ msgid "Custom Reports" msgstr "" #. module: bi_view_editor -#: field:bve.view,data:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_data msgid "Data" msgstr "" #. module: bi_view_editor -#: field:bve.view,display_name:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_display_name msgid "Display Name" msgstr "Nombre Público" @@ -95,43 +138,74 @@ msgid "Draft" msgstr "" #. module: bi_view_editor -#: code:addons/bi_view_editor/models/bve_view.py:72 -#, python-format -msgid "Error" -msgstr "" - -#. module: bi_view_editor -#: view:bve.view:bi_view_editor.view_bi_view_editor_view_form +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form msgid "Generate BI View" msgstr "" #. module: bi_view_editor -#: field:bve.view,group_ids:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_group_ids msgid "Groups" msgstr "" #. module: bi_view_editor -#: field:bve.view,id:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_id msgid "ID" msgstr "ID" #. module: bi_view_editor -#: field:bve.view,__last_update:0 +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:137 +#, python-format +msgid "Join Left" +msgstr "" + +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/js/bi_view_editor.JoinNodeDialog.js:30 +#, python-format +msgid "Join..." +msgstr "" + +#. module: bi_view_editor +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view___last_update msgid "Last Modified on" msgstr "Última Modificación el" #. module: bi_view_editor -#: field:bve.view,write_uid:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_write_uid msgid "Last Updated by" msgstr "Actualizado por" #. module: bi_view_editor -#: field:bve.view,write_date:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_write_date msgid "Last Updated on" msgstr "Actualizado" #. module: bi_view_editor -#: field:bve.view,model_name:0 +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:124 +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:157 +#, python-format +msgid "List" +msgstr "" + +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:117 +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:156 +#, python-format +msgid "Measure" +msgstr "" + +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:86 +#, python-format +msgid "Model" +msgstr "" + +#. module: bi_view_editor +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_model_name msgid "Model Name" msgstr "" @@ -141,67 +215,141 @@ msgid "Models" msgstr "" #. module: bi_view_editor -#: field:bve.view,name:0 +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:85 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_name +#, python-format msgid "Name" msgstr "Nombre" #. module: bi_view_editor -#: view:bve.view:bi_view_editor.view_bi_view_editor_view_form -#: field:bve.view,note:0 +#: code:addons/bi_view_editor/models/models.py:56 +#, python-format +msgid "No data to be displayed." +msgstr "" + +#. module: bi_view_editor +#: code:addons/bi_view_editor/models/bve_view.py:284 +#, python-format +msgid "No data to process." +msgstr "" + +#. module: bi_view_editor +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_note +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form msgid "Notes" msgstr "" #. module: bi_view_editor -#: view:bve.view:bi_view_editor.view_bi_view_editor_view_form +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form msgid "Open BI View" msgstr "" #. module: bi_view_editor -#: view:bve.view:bi_view_editor.view_bi_view_editor_view_form +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:87 +#, python-format +msgid "Options" +msgstr "" + +#. module: bi_view_editor +#: code:addons/bi_view_editor/models/bve_view.py:224 +#, python-format +msgid "Please select at least one group on the security tab." +msgstr "" + +#. module: bi_view_editor +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form msgid "Query" msgstr "" #. module: bi_view_editor -#: view:bve.view:bi_view_editor.view_bi_view_editor_view_form +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form msgid "Reset to Draft" msgstr "" #. module: bi_view_editor -#: view:bve.view:bi_view_editor.view_bi_view_editor_view_form +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:110 +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:155 +#, python-format +msgid "Row" +msgstr "" + +#. module: bi_view_editor +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form msgid "Security" msgstr "Seguridad" #. module: bi_view_editor -#: field:bve.view,state:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_state msgid "State" msgstr "" #. module: bi_view_editor -#: help:bve.view,data:0 +#: model:ir.actions.act_window,name:bi_view_editor.action_bi_view_editor_translations +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form +msgid "Translations" +msgstr "" + +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:30 +#, python-format +msgid "Use the existing node" +msgstr "" + +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:34 +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:43 +#, python-format +msgid "Use the field" +msgstr "" + +#. module: bi_view_editor +#: model:ir.model.fields,help:bi_view_editor.field_bve_view_data msgid "" "Use the special query builder to define the query to generate your report " "dataset. NOTE: To be edited, the query should be in 'Draft' status." msgstr "" #. module: bi_view_editor -#: help:bve.view,group_ids:0 +#: model:ir.model.fields,help:bi_view_editor.field_bve_view_group_ids msgid "" "User groups allowed to see the generated report; if NO groups are specified " "the report will be public for everyone." msgstr "" #. module: bi_view_editor -#: field:bve.view,user_ids:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_user_ids msgid "Users" msgstr "" #. module: bi_view_editor -#: field:bve.view,view_id:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_view_id msgid "View" msgstr "" #. module: bi_view_editor -#: code:addons/bi_view_editor/models/bve_view.py:73 +#: code:addons/bi_view_editor/models/bve_view.py:456 #, python-format msgid "You cannot delete a created view! Reset the view to draft first." msgstr "" + +#. module: bi_view_editor +#: model:ir.model,name:bi_view_editor.model_base +msgid "base" +msgstr "" + +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:39 +#, python-format +msgid "new" +msgstr "" + +#. module: bi_view_editor +#: model:ir.model,name:bi_view_editor.model_wizard_ir_model_menu_create +msgid "wizard.ir.model.menu.create" +msgstr "" diff --git a/bi_view_editor/i18n/es_CR.po b/bi_view_editor/i18n/es_CR.po index 998c41400..a93449582 100644 --- a/bi_view_editor/i18n/es_CR.po +++ b/bi_view_editor/i18n/es_CR.po @@ -1,7 +1,7 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: # * bi_view_editor -# +# # Translators: msgid "" msgstr "" @@ -10,56 +10,99 @@ msgstr "" "POT-Creation-Date: 2016-12-24 04:38+0000\n" "PO-Revision-Date: 2016-03-21 15:33+0000\n" "Last-Translator: <>\n" -"Language-Team: Spanish (Costa Rica) (http://www.transifex.com/oca/OCA-reporting-engine-8-0/language/es_CR/)\n" +"Language-Team: Spanish (Costa Rica) (http://www.transifex.com/oca/OCA-" +"reporting-engine-8-0/language/es_CR/)\n" +"Language: es_CR\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: \n" -"Language: es_CR\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #. module: bi_view_editor -#: model:ir.actions.act_window,help:bi_view_editor.action_bi_view_editor_view_form -msgid "" -"

    \n" -" Click to create a Custom Query Object.\n" -"

    \n" -"\n" -"

    \n" -" " +#: code:addons/bi_view_editor/models/bve_view.py:415 +#, python-format +msgid "%s (copy)" msgstr "" #. module: bi_view_editor -#: field:bve.view,action_id:0 +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:179 +#, python-format +msgid "(join left)" +msgstr "" + +#. module: bi_view_editor +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_action_id msgid "Action" msgstr "" +#. module: bi_view_editor +#: code:addons/bi_view_editor/models/bve_view.py:409 +#, python-format +msgid "BI View" +msgstr "" + #. module: bi_view_editor #: model:ir.model,name:bi_view_editor.model_bve_view msgid "BI View Editor" msgstr "" +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/js/bi_view_editor.JoinNodeDialog.js:36 +#, python-format +msgid "Cancel" +msgstr "" + +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:18 +#, python-format +msgid "Clear" +msgstr "" + +#. module: bi_view_editor +#: model:ir.actions.act_window,help:bi_view_editor.action_bi_view_editor_view_form +msgid "Click to create a Custom Query Object." +msgstr "" + +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:103 +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:154 +#, python-format +msgid "Column" +msgstr "" + +#. module: bi_view_editor +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form +#, fuzzy +msgid "Create a Menu" +msgstr "Creado en" + #. module: bi_view_editor #: selection:bve.view,state:0 msgid "Created" msgstr "" #. module: bi_view_editor -#: field:bve.view,create_uid:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_create_uid msgid "Created by" msgstr "Creado por" #. module: bi_view_editor -#: field:bve.view,create_date:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_create_date msgid "Created on" msgstr "Creado en" #. module: bi_view_editor -#: view:bve.view:bi_view_editor.view_bi_view_editor_view_tree +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_tree msgid "Custom BI View" msgstr "" #. module: bi_view_editor -#: sql_constraint:bve.view:0 +#: code:addons/bi_view_editor/models/bve_view.py:64 sql_constraint:bve.view:0 +#, python-format msgid "Custom BI View names must be unique!" msgstr "" @@ -70,7 +113,7 @@ msgid "Custom BI Views" msgstr "" #. module: bi_view_editor -#: view:bve.view:bi_view_editor.view_bi_view_editor_view_form +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form msgid "Custom Object" msgstr "" @@ -80,12 +123,12 @@ msgid "Custom Reports" msgstr "" #. module: bi_view_editor -#: field:bve.view,data:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_data msgid "Data" msgstr "" #. module: bi_view_editor -#: field:bve.view,display_name:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_display_name msgid "Display Name" msgstr "" @@ -95,43 +138,74 @@ msgid "Draft" msgstr "" #. module: bi_view_editor -#: code:addons/bi_view_editor/models/bve_view.py:72 -#, python-format -msgid "Error" -msgstr "" - -#. module: bi_view_editor -#: view:bve.view:bi_view_editor.view_bi_view_editor_view_form +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form msgid "Generate BI View" msgstr "" #. module: bi_view_editor -#: field:bve.view,group_ids:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_group_ids msgid "Groups" msgstr "" #. module: bi_view_editor -#: field:bve.view,id:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_id msgid "ID" msgstr "ID" #. module: bi_view_editor -#: field:bve.view,__last_update:0 +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:137 +#, python-format +msgid "Join Left" +msgstr "" + +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/js/bi_view_editor.JoinNodeDialog.js:30 +#, python-format +msgid "Join..." +msgstr "" + +#. module: bi_view_editor +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view___last_update msgid "Last Modified on" msgstr "" #. module: bi_view_editor -#: field:bve.view,write_uid:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_write_uid msgid "Last Updated by" msgstr "Ultima actualización por" #. module: bi_view_editor -#: field:bve.view,write_date:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_write_date msgid "Last Updated on" msgstr "Ultima actualización en" #. module: bi_view_editor -#: field:bve.view,model_name:0 +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:124 +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:157 +#, python-format +msgid "List" +msgstr "" + +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:117 +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:156 +#, python-format +msgid "Measure" +msgstr "" + +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:86 +#, python-format +msgid "Model" +msgstr "" + +#. module: bi_view_editor +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_model_name msgid "Model Name" msgstr "" @@ -141,67 +215,141 @@ msgid "Models" msgstr "" #. module: bi_view_editor -#: field:bve.view,name:0 +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:85 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_name +#, python-format msgid "Name" msgstr "Nombre" #. module: bi_view_editor -#: view:bve.view:bi_view_editor.view_bi_view_editor_view_form -#: field:bve.view,note:0 +#: code:addons/bi_view_editor/models/models.py:56 +#, python-format +msgid "No data to be displayed." +msgstr "" + +#. module: bi_view_editor +#: code:addons/bi_view_editor/models/bve_view.py:284 +#, python-format +msgid "No data to process." +msgstr "" + +#. module: bi_view_editor +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_note +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form msgid "Notes" msgstr "" #. module: bi_view_editor -#: view:bve.view:bi_view_editor.view_bi_view_editor_view_form +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form msgid "Open BI View" msgstr "" #. module: bi_view_editor -#: view:bve.view:bi_view_editor.view_bi_view_editor_view_form +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:87 +#, python-format +msgid "Options" +msgstr "" + +#. module: bi_view_editor +#: code:addons/bi_view_editor/models/bve_view.py:224 +#, python-format +msgid "Please select at least one group on the security tab." +msgstr "" + +#. module: bi_view_editor +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form msgid "Query" msgstr "" #. module: bi_view_editor -#: view:bve.view:bi_view_editor.view_bi_view_editor_view_form +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form msgid "Reset to Draft" msgstr "" #. module: bi_view_editor -#: view:bve.view:bi_view_editor.view_bi_view_editor_view_form +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:110 +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:155 +#, python-format +msgid "Row" +msgstr "" + +#. module: bi_view_editor +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form msgid "Security" msgstr "Seguridad" #. module: bi_view_editor -#: field:bve.view,state:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_state msgid "State" msgstr "" #. module: bi_view_editor -#: help:bve.view,data:0 +#: model:ir.actions.act_window,name:bi_view_editor.action_bi_view_editor_translations +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form +msgid "Translations" +msgstr "" + +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:30 +#, python-format +msgid "Use the existing node" +msgstr "" + +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:34 +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:43 +#, python-format +msgid "Use the field" +msgstr "" + +#. module: bi_view_editor +#: model:ir.model.fields,help:bi_view_editor.field_bve_view_data msgid "" "Use the special query builder to define the query to generate your report " "dataset. NOTE: To be edited, the query should be in 'Draft' status." msgstr "" #. module: bi_view_editor -#: help:bve.view,group_ids:0 +#: model:ir.model.fields,help:bi_view_editor.field_bve_view_group_ids msgid "" "User groups allowed to see the generated report; if NO groups are specified " "the report will be public for everyone." msgstr "" #. module: bi_view_editor -#: field:bve.view,user_ids:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_user_ids msgid "Users" msgstr "" #. module: bi_view_editor -#: field:bve.view,view_id:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_view_id msgid "View" msgstr "" #. module: bi_view_editor -#: code:addons/bi_view_editor/models/bve_view.py:73 +#: code:addons/bi_view_editor/models/bve_view.py:456 #, python-format msgid "You cannot delete a created view! Reset the view to draft first." msgstr "" + +#. module: bi_view_editor +#: model:ir.model,name:bi_view_editor.model_base +msgid "base" +msgstr "" + +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:39 +#, python-format +msgid "new" +msgstr "" + +#. module: bi_view_editor +#: model:ir.model,name:bi_view_editor.model_wizard_ir_model_menu_create +msgid "wizard.ir.model.menu.create" +msgstr "" diff --git a/bi_view_editor/i18n/es_DO.po b/bi_view_editor/i18n/es_DO.po index 63cee89f6..3bd30af33 100644 --- a/bi_view_editor/i18n/es_DO.po +++ b/bi_view_editor/i18n/es_DO.po @@ -1,7 +1,7 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: # * bi_view_editor -# +# # Translators: msgid "" msgstr "" @@ -10,56 +10,99 @@ msgstr "" "POT-Creation-Date: 2016-12-24 04:38+0000\n" "PO-Revision-Date: 2016-03-21 15:33+0000\n" "Last-Translator: <>\n" -"Language-Team: Spanish (Dominican Republic) (http://www.transifex.com/oca/OCA-reporting-engine-8-0/language/es_DO/)\n" +"Language-Team: Spanish (Dominican Republic) (http://www.transifex.com/oca/" +"OCA-reporting-engine-8-0/language/es_DO/)\n" +"Language: es_DO\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: \n" -"Language: es_DO\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #. module: bi_view_editor -#: model:ir.actions.act_window,help:bi_view_editor.action_bi_view_editor_view_form -msgid "" -"

    \n" -" Click to create a Custom Query Object.\n" -"

    \n" -"\n" -"

    \n" -" " +#: code:addons/bi_view_editor/models/bve_view.py:415 +#, python-format +msgid "%s (copy)" msgstr "" #. module: bi_view_editor -#: field:bve.view,action_id:0 +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:179 +#, python-format +msgid "(join left)" +msgstr "" + +#. module: bi_view_editor +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_action_id msgid "Action" msgstr "" +#. module: bi_view_editor +#: code:addons/bi_view_editor/models/bve_view.py:409 +#, python-format +msgid "BI View" +msgstr "" + #. module: bi_view_editor #: model:ir.model,name:bi_view_editor.model_bve_view msgid "BI View Editor" msgstr "" +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/js/bi_view_editor.JoinNodeDialog.js:36 +#, python-format +msgid "Cancel" +msgstr "" + +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:18 +#, python-format +msgid "Clear" +msgstr "" + +#. module: bi_view_editor +#: model:ir.actions.act_window,help:bi_view_editor.action_bi_view_editor_view_form +msgid "Click to create a Custom Query Object." +msgstr "" + +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:103 +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:154 +#, python-format +msgid "Column" +msgstr "" + +#. module: bi_view_editor +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form +#, fuzzy +msgid "Create a Menu" +msgstr "Creado en" + #. module: bi_view_editor #: selection:bve.view,state:0 msgid "Created" msgstr "" #. module: bi_view_editor -#: field:bve.view,create_uid:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_create_uid msgid "Created by" msgstr "Creado por" #. module: bi_view_editor -#: field:bve.view,create_date:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_create_date msgid "Created on" msgstr "Creado en" #. module: bi_view_editor -#: view:bve.view:bi_view_editor.view_bi_view_editor_view_tree +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_tree msgid "Custom BI View" msgstr "" #. module: bi_view_editor -#: sql_constraint:bve.view:0 +#: code:addons/bi_view_editor/models/bve_view.py:64 sql_constraint:bve.view:0 +#, python-format msgid "Custom BI View names must be unique!" msgstr "" @@ -70,7 +113,7 @@ msgid "Custom BI Views" msgstr "" #. module: bi_view_editor -#: view:bve.view:bi_view_editor.view_bi_view_editor_view_form +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form msgid "Custom Object" msgstr "" @@ -80,12 +123,12 @@ msgid "Custom Reports" msgstr "" #. module: bi_view_editor -#: field:bve.view,data:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_data msgid "Data" msgstr "" #. module: bi_view_editor -#: field:bve.view,display_name:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_display_name msgid "Display Name" msgstr "Nombre mostrado" @@ -95,43 +138,74 @@ msgid "Draft" msgstr "" #. module: bi_view_editor -#: code:addons/bi_view_editor/models/bve_view.py:72 -#, python-format -msgid "Error" -msgstr "" - -#. module: bi_view_editor -#: view:bve.view:bi_view_editor.view_bi_view_editor_view_form +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form msgid "Generate BI View" msgstr "" #. module: bi_view_editor -#: field:bve.view,group_ids:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_group_ids msgid "Groups" msgstr "" #. module: bi_view_editor -#: field:bve.view,id:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_id msgid "ID" msgstr "ID" #. module: bi_view_editor -#: field:bve.view,__last_update:0 +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:137 +#, python-format +msgid "Join Left" +msgstr "" + +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/js/bi_view_editor.JoinNodeDialog.js:30 +#, python-format +msgid "Join..." +msgstr "" + +#. module: bi_view_editor +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view___last_update msgid "Last Modified on" msgstr "Última modificación en" #. module: bi_view_editor -#: field:bve.view,write_uid:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_write_uid msgid "Last Updated by" msgstr "Última actualización de" #. module: bi_view_editor -#: field:bve.view,write_date:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_write_date msgid "Last Updated on" msgstr "Última actualización en" #. module: bi_view_editor -#: field:bve.view,model_name:0 +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:124 +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:157 +#, python-format +msgid "List" +msgstr "" + +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:117 +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:156 +#, python-format +msgid "Measure" +msgstr "" + +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:86 +#, python-format +msgid "Model" +msgstr "" + +#. module: bi_view_editor +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_model_name msgid "Model Name" msgstr "" @@ -141,67 +215,141 @@ msgid "Models" msgstr "" #. module: bi_view_editor -#: field:bve.view,name:0 +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:85 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_name +#, python-format msgid "Name" msgstr "Nombre" #. module: bi_view_editor -#: view:bve.view:bi_view_editor.view_bi_view_editor_view_form -#: field:bve.view,note:0 +#: code:addons/bi_view_editor/models/models.py:56 +#, python-format +msgid "No data to be displayed." +msgstr "" + +#. module: bi_view_editor +#: code:addons/bi_view_editor/models/bve_view.py:284 +#, python-format +msgid "No data to process." +msgstr "" + +#. module: bi_view_editor +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_note +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form msgid "Notes" msgstr "" #. module: bi_view_editor -#: view:bve.view:bi_view_editor.view_bi_view_editor_view_form +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form msgid "Open BI View" msgstr "" #. module: bi_view_editor -#: view:bve.view:bi_view_editor.view_bi_view_editor_view_form +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:87 +#, python-format +msgid "Options" +msgstr "" + +#. module: bi_view_editor +#: code:addons/bi_view_editor/models/bve_view.py:224 +#, python-format +msgid "Please select at least one group on the security tab." +msgstr "" + +#. module: bi_view_editor +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form msgid "Query" msgstr "" #. module: bi_view_editor -#: view:bve.view:bi_view_editor.view_bi_view_editor_view_form +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form msgid "Reset to Draft" msgstr "" #. module: bi_view_editor -#: view:bve.view:bi_view_editor.view_bi_view_editor_view_form +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:110 +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:155 +#, python-format +msgid "Row" +msgstr "" + +#. module: bi_view_editor +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form msgid "Security" msgstr "Seguridad" #. module: bi_view_editor -#: field:bve.view,state:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_state msgid "State" msgstr "" #. module: bi_view_editor -#: help:bve.view,data:0 +#: model:ir.actions.act_window,name:bi_view_editor.action_bi_view_editor_translations +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form +msgid "Translations" +msgstr "" + +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:30 +#, python-format +msgid "Use the existing node" +msgstr "" + +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:34 +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:43 +#, python-format +msgid "Use the field" +msgstr "" + +#. module: bi_view_editor +#: model:ir.model.fields,help:bi_view_editor.field_bve_view_data msgid "" "Use the special query builder to define the query to generate your report " "dataset. NOTE: To be edited, the query should be in 'Draft' status." msgstr "" #. module: bi_view_editor -#: help:bve.view,group_ids:0 +#: model:ir.model.fields,help:bi_view_editor.field_bve_view_group_ids msgid "" "User groups allowed to see the generated report; if NO groups are specified " "the report will be public for everyone." msgstr "" #. module: bi_view_editor -#: field:bve.view,user_ids:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_user_ids msgid "Users" msgstr "" #. module: bi_view_editor -#: field:bve.view,view_id:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_view_id msgid "View" msgstr "" #. module: bi_view_editor -#: code:addons/bi_view_editor/models/bve_view.py:73 +#: code:addons/bi_view_editor/models/bve_view.py:456 #, python-format msgid "You cannot delete a created view! Reset the view to draft first." msgstr "" + +#. module: bi_view_editor +#: model:ir.model,name:bi_view_editor.model_base +msgid "base" +msgstr "" + +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:39 +#, python-format +msgid "new" +msgstr "" + +#. module: bi_view_editor +#: model:ir.model,name:bi_view_editor.model_wizard_ir_model_menu_create +msgid "wizard.ir.model.menu.create" +msgstr "" diff --git a/bi_view_editor/i18n/es_EC.po b/bi_view_editor/i18n/es_EC.po index aac7c9b29..2217ff17b 100644 --- a/bi_view_editor/i18n/es_EC.po +++ b/bi_view_editor/i18n/es_EC.po @@ -1,7 +1,7 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: # * bi_view_editor -# +# # Translators: msgid "" msgstr "" @@ -10,56 +10,99 @@ msgstr "" "POT-Creation-Date: 2016-09-18 04:34+0000\n" "PO-Revision-Date: 2016-03-21 15:33+0000\n" "Last-Translator: <>\n" -"Language-Team: Spanish (Ecuador) (http://www.transifex.com/oca/OCA-reporting-engine-8-0/language/es_EC/)\n" +"Language-Team: Spanish (Ecuador) (http://www.transifex.com/oca/OCA-reporting-" +"engine-8-0/language/es_EC/)\n" +"Language: es_EC\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: \n" -"Language: es_EC\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #. module: bi_view_editor -#: model:ir.actions.act_window,help:bi_view_editor.action_bi_view_editor_view_form -msgid "" -"

    \n" -" Click to create a Custom Query Object.\n" -"

    \n" -"\n" -"

    \n" -" " +#: code:addons/bi_view_editor/models/bve_view.py:415 +#, python-format +msgid "%s (copy)" msgstr "" #. module: bi_view_editor -#: field:bve.view,action_id:0 +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:179 +#, python-format +msgid "(join left)" +msgstr "" + +#. module: bi_view_editor +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_action_id msgid "Action" msgstr "" +#. module: bi_view_editor +#: code:addons/bi_view_editor/models/bve_view.py:409 +#, python-format +msgid "BI View" +msgstr "" + #. module: bi_view_editor #: model:ir.model,name:bi_view_editor.model_bve_view msgid "BI View Editor" msgstr "" +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/js/bi_view_editor.JoinNodeDialog.js:36 +#, python-format +msgid "Cancel" +msgstr "" + +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:18 +#, python-format +msgid "Clear" +msgstr "" + +#. module: bi_view_editor +#: model:ir.actions.act_window,help:bi_view_editor.action_bi_view_editor_view_form +msgid "Click to create a Custom Query Object." +msgstr "" + +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:103 +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:154 +#, python-format +msgid "Column" +msgstr "" + +#. module: bi_view_editor +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form +#, fuzzy +msgid "Create a Menu" +msgstr "Creado en" + #. module: bi_view_editor #: selection:bve.view,state:0 msgid "Created" msgstr "" #. module: bi_view_editor -#: field:bve.view,create_uid:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_create_uid msgid "Created by" msgstr "Creado por" #. module: bi_view_editor -#: field:bve.view,create_date:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_create_date msgid "Created on" msgstr "Creado en" #. module: bi_view_editor -#: view:bve.view:bi_view_editor.view_bi_view_editor_view_tree +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_tree msgid "Custom BI View" msgstr "" #. module: bi_view_editor -#: sql_constraint:bve.view:0 +#: code:addons/bi_view_editor/models/bve_view.py:64 sql_constraint:bve.view:0 +#, python-format msgid "Custom BI View names must be unique!" msgstr "" @@ -70,7 +113,7 @@ msgid "Custom BI Views" msgstr "" #. module: bi_view_editor -#: view:bve.view:bi_view_editor.view_bi_view_editor_view_form +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form msgid "Custom Object" msgstr "" @@ -80,12 +123,12 @@ msgid "Custom Reports" msgstr "" #. module: bi_view_editor -#: field:bve.view,data:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_data msgid "Data" msgstr "" #. module: bi_view_editor -#: field:bve.view,display_name:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_display_name msgid "Display Name" msgstr "Nombre mostrado" @@ -95,43 +138,74 @@ msgid "Draft" msgstr "" #. module: bi_view_editor -#: code:addons/bi_view_editor/models/bve_view.py:72 -#, python-format -msgid "Error" -msgstr "" - -#. module: bi_view_editor -#: view:bve.view:bi_view_editor.view_bi_view_editor_view_form +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form msgid "Generate BI View" msgstr "" #. module: bi_view_editor -#: field:bve.view,group_ids:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_group_ids msgid "Groups" msgstr "" #. module: bi_view_editor -#: field:bve.view,id:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_id msgid "ID" msgstr "ID (identificación)" #. module: bi_view_editor -#: field:bve.view,__last_update:0 +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:137 +#, python-format +msgid "Join Left" +msgstr "" + +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/js/bi_view_editor.JoinNodeDialog.js:30 +#, python-format +msgid "Join..." +msgstr "" + +#. module: bi_view_editor +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view___last_update msgid "Last Modified on" msgstr "Última modificación en" #. module: bi_view_editor -#: field:bve.view,write_uid:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_write_uid msgid "Last Updated by" msgstr "Última actualización de" #. module: bi_view_editor -#: field:bve.view,write_date:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_write_date msgid "Last Updated on" msgstr "Última actualización en" #. module: bi_view_editor -#: field:bve.view,model_name:0 +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:124 +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:157 +#, python-format +msgid "List" +msgstr "" + +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:117 +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:156 +#, python-format +msgid "Measure" +msgstr "" + +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:86 +#, python-format +msgid "Model" +msgstr "" + +#. module: bi_view_editor +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_model_name msgid "Model Name" msgstr "" @@ -141,67 +215,141 @@ msgid "Models" msgstr "" #. module: bi_view_editor -#: field:bve.view,name:0 +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:85 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_name +#, python-format msgid "Name" msgstr "Nombre" #. module: bi_view_editor -#: view:bve.view:bi_view_editor.view_bi_view_editor_view_form -#: field:bve.view,note:0 +#: code:addons/bi_view_editor/models/models.py:56 +#, python-format +msgid "No data to be displayed." +msgstr "" + +#. module: bi_view_editor +#: code:addons/bi_view_editor/models/bve_view.py:284 +#, python-format +msgid "No data to process." +msgstr "" + +#. module: bi_view_editor +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_note +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form msgid "Notes" msgstr "" #. module: bi_view_editor -#: view:bve.view:bi_view_editor.view_bi_view_editor_view_form +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form msgid "Open BI View" msgstr "" #. module: bi_view_editor -#: view:bve.view:bi_view_editor.view_bi_view_editor_view_form +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:87 +#, python-format +msgid "Options" +msgstr "" + +#. module: bi_view_editor +#: code:addons/bi_view_editor/models/bve_view.py:224 +#, python-format +msgid "Please select at least one group on the security tab." +msgstr "" + +#. module: bi_view_editor +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form msgid "Query" msgstr "" #. module: bi_view_editor -#: view:bve.view:bi_view_editor.view_bi_view_editor_view_form +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form msgid "Reset to Draft" msgstr "" #. module: bi_view_editor -#: view:bve.view:bi_view_editor.view_bi_view_editor_view_form +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:110 +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:155 +#, python-format +msgid "Row" +msgstr "" + +#. module: bi_view_editor +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form msgid "Security" msgstr "Seguridad" #. module: bi_view_editor -#: field:bve.view,state:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_state msgid "State" msgstr "" #. module: bi_view_editor -#: help:bve.view,data:0 +#: model:ir.actions.act_window,name:bi_view_editor.action_bi_view_editor_translations +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form +msgid "Translations" +msgstr "" + +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:30 +#, python-format +msgid "Use the existing node" +msgstr "" + +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:34 +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:43 +#, python-format +msgid "Use the field" +msgstr "" + +#. module: bi_view_editor +#: model:ir.model.fields,help:bi_view_editor.field_bve_view_data msgid "" "Use the special query builder to define the query to generate your report " "dataset. NOTE: To be edited, the query should be in 'Draft' status." msgstr "" #. module: bi_view_editor -#: help:bve.view,group_ids:0 +#: model:ir.model.fields,help:bi_view_editor.field_bve_view_group_ids msgid "" "User groups allowed to see the generated report; if NO groups are specified " "the report will be public for everyone." msgstr "" #. module: bi_view_editor -#: field:bve.view,user_ids:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_user_ids msgid "Users" msgstr "" #. module: bi_view_editor -#: field:bve.view,view_id:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_view_id msgid "View" msgstr "" #. module: bi_view_editor -#: code:addons/bi_view_editor/models/bve_view.py:73 +#: code:addons/bi_view_editor/models/bve_view.py:456 #, python-format msgid "You cannot delete a created view! Reset the view to draft first." msgstr "" + +#. module: bi_view_editor +#: model:ir.model,name:bi_view_editor.model_base +msgid "base" +msgstr "" + +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:39 +#, python-format +msgid "new" +msgstr "" + +#. module: bi_view_editor +#: model:ir.model,name:bi_view_editor.model_wizard_ir_model_menu_create +msgid "wizard.ir.model.menu.create" +msgstr "" diff --git a/bi_view_editor/i18n/es_ES.po b/bi_view_editor/i18n/es_ES.po index 4be828739..48fa3a9a4 100644 --- a/bi_view_editor/i18n/es_ES.po +++ b/bi_view_editor/i18n/es_ES.po @@ -1,7 +1,7 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: # * bi_view_editor -# +# # Translators: msgid "" msgstr "" @@ -10,56 +10,99 @@ msgstr "" "POT-Creation-Date: 2017-01-21 05:51+0000\n" "PO-Revision-Date: 2016-03-21 15:33+0000\n" "Last-Translator: <>\n" -"Language-Team: Spanish (Spain) (http://www.transifex.com/oca/OCA-reporting-engine-8-0/language/es_ES/)\n" +"Language-Team: Spanish (Spain) (http://www.transifex.com/oca/OCA-reporting-" +"engine-8-0/language/es_ES/)\n" +"Language: es_ES\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: \n" -"Language: es_ES\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #. module: bi_view_editor -#: model:ir.actions.act_window,help:bi_view_editor.action_bi_view_editor_view_form -msgid "" -"

    \n" -" Click to create a Custom Query Object.\n" -"

    \n" -"\n" -"

    \n" -" " +#: code:addons/bi_view_editor/models/bve_view.py:415 +#, python-format +msgid "%s (copy)" msgstr "" #. module: bi_view_editor -#: field:bve.view,action_id:0 +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:179 +#, python-format +msgid "(join left)" +msgstr "" + +#. module: bi_view_editor +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_action_id msgid "Action" msgstr "" +#. module: bi_view_editor +#: code:addons/bi_view_editor/models/bve_view.py:409 +#, python-format +msgid "BI View" +msgstr "" + #. module: bi_view_editor #: model:ir.model,name:bi_view_editor.model_bve_view msgid "BI View Editor" msgstr "" +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/js/bi_view_editor.JoinNodeDialog.js:36 +#, python-format +msgid "Cancel" +msgstr "" + +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:18 +#, python-format +msgid "Clear" +msgstr "" + +#. module: bi_view_editor +#: model:ir.actions.act_window,help:bi_view_editor.action_bi_view_editor_view_form +msgid "Click to create a Custom Query Object." +msgstr "" + +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:103 +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:154 +#, python-format +msgid "Column" +msgstr "" + +#. module: bi_view_editor +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form +#, fuzzy +msgid "Create a Menu" +msgstr "Creado en" + #. module: bi_view_editor #: selection:bve.view,state:0 msgid "Created" msgstr "" #. module: bi_view_editor -#: field:bve.view,create_uid:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_create_uid msgid "Created by" msgstr "Creado por" #. module: bi_view_editor -#: field:bve.view,create_date:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_create_date msgid "Created on" msgstr "Creado en" #. module: bi_view_editor -#: view:bve.view:bi_view_editor.view_bi_view_editor_view_tree +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_tree msgid "Custom BI View" msgstr "" #. module: bi_view_editor -#: sql_constraint:bve.view:0 +#: code:addons/bi_view_editor/models/bve_view.py:64 sql_constraint:bve.view:0 +#, python-format msgid "Custom BI View names must be unique!" msgstr "" @@ -70,7 +113,7 @@ msgid "Custom BI Views" msgstr "" #. module: bi_view_editor -#: view:bve.view:bi_view_editor.view_bi_view_editor_view_form +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form msgid "Custom Object" msgstr "" @@ -80,12 +123,12 @@ msgid "Custom Reports" msgstr "" #. module: bi_view_editor -#: field:bve.view,data:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_data msgid "Data" msgstr "" #. module: bi_view_editor -#: field:bve.view,display_name:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_display_name msgid "Display Name" msgstr "Nombre para mostrar" @@ -95,43 +138,74 @@ msgid "Draft" msgstr "" #. module: bi_view_editor -#: code:addons/bi_view_editor/models/bve_view.py:72 -#, python-format -msgid "Error" -msgstr "" - -#. module: bi_view_editor -#: view:bve.view:bi_view_editor.view_bi_view_editor_view_form +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form msgid "Generate BI View" msgstr "" #. module: bi_view_editor -#: field:bve.view,group_ids:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_group_ids msgid "Groups" msgstr "" #. module: bi_view_editor -#: field:bve.view,id:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_id msgid "ID" msgstr "ID" #. module: bi_view_editor -#: field:bve.view,__last_update:0 +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:137 +#, python-format +msgid "Join Left" +msgstr "" + +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/js/bi_view_editor.JoinNodeDialog.js:30 +#, python-format +msgid "Join..." +msgstr "" + +#. module: bi_view_editor +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view___last_update msgid "Last Modified on" msgstr "Última modificación en" #. module: bi_view_editor -#: field:bve.view,write_uid:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_write_uid msgid "Last Updated by" msgstr "Última actualización por" #. module: bi_view_editor -#: field:bve.view,write_date:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_write_date msgid "Last Updated on" msgstr "Última actualización en" #. module: bi_view_editor -#: field:bve.view,model_name:0 +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:124 +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:157 +#, python-format +msgid "List" +msgstr "" + +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:117 +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:156 +#, python-format +msgid "Measure" +msgstr "" + +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:86 +#, fuzzy, python-format +msgid "Model" +msgstr "Modelos" + +#. module: bi_view_editor +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_model_name msgid "Model Name" msgstr "" @@ -141,67 +215,141 @@ msgid "Models" msgstr "Modelos" #. module: bi_view_editor -#: field:bve.view,name:0 +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:85 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_name +#, python-format msgid "Name" msgstr "" #. module: bi_view_editor -#: view:bve.view:bi_view_editor.view_bi_view_editor_view_form -#: field:bve.view,note:0 +#: code:addons/bi_view_editor/models/models.py:56 +#, python-format +msgid "No data to be displayed." +msgstr "" + +#. module: bi_view_editor +#: code:addons/bi_view_editor/models/bve_view.py:284 +#, python-format +msgid "No data to process." +msgstr "" + +#. module: bi_view_editor +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_note +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form msgid "Notes" msgstr "" #. module: bi_view_editor -#: view:bve.view:bi_view_editor.view_bi_view_editor_view_form +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form msgid "Open BI View" msgstr "" #. module: bi_view_editor -#: view:bve.view:bi_view_editor.view_bi_view_editor_view_form +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:87 +#, python-format +msgid "Options" +msgstr "" + +#. module: bi_view_editor +#: code:addons/bi_view_editor/models/bve_view.py:224 +#, python-format +msgid "Please select at least one group on the security tab." +msgstr "" + +#. module: bi_view_editor +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form msgid "Query" msgstr "" #. module: bi_view_editor -#: view:bve.view:bi_view_editor.view_bi_view_editor_view_form +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form msgid "Reset to Draft" msgstr "" #. module: bi_view_editor -#: view:bve.view:bi_view_editor.view_bi_view_editor_view_form +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:110 +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:155 +#, python-format +msgid "Row" +msgstr "" + +#. module: bi_view_editor +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form msgid "Security" msgstr "" #. module: bi_view_editor -#: field:bve.view,state:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_state msgid "State" msgstr "" #. module: bi_view_editor -#: help:bve.view,data:0 +#: model:ir.actions.act_window,name:bi_view_editor.action_bi_view_editor_translations +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form +msgid "Translations" +msgstr "" + +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:30 +#, python-format +msgid "Use the existing node" +msgstr "" + +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:34 +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:43 +#, python-format +msgid "Use the field" +msgstr "" + +#. module: bi_view_editor +#: model:ir.model.fields,help:bi_view_editor.field_bve_view_data msgid "" "Use the special query builder to define the query to generate your report " "dataset. NOTE: To be edited, the query should be in 'Draft' status." msgstr "" #. module: bi_view_editor -#: help:bve.view,group_ids:0 +#: model:ir.model.fields,help:bi_view_editor.field_bve_view_group_ids msgid "" "User groups allowed to see the generated report; if NO groups are specified " "the report will be public for everyone." msgstr "" #. module: bi_view_editor -#: field:bve.view,user_ids:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_user_ids msgid "Users" msgstr "Usuarios" #. module: bi_view_editor -#: field:bve.view,view_id:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_view_id msgid "View" msgstr "" #. module: bi_view_editor -#: code:addons/bi_view_editor/models/bve_view.py:73 +#: code:addons/bi_view_editor/models/bve_view.py:456 #, python-format msgid "You cannot delete a created view! Reset the view to draft first." msgstr "" + +#. module: bi_view_editor +#: model:ir.model,name:bi_view_editor.model_base +msgid "base" +msgstr "" + +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:39 +#, python-format +msgid "new" +msgstr "" + +#. module: bi_view_editor +#: model:ir.model,name:bi_view_editor.model_wizard_ir_model_menu_create +msgid "wizard.ir.model.menu.create" +msgstr "" diff --git a/bi_view_editor/i18n/es_MX.po b/bi_view_editor/i18n/es_MX.po index f78e17146..052762597 100644 --- a/bi_view_editor/i18n/es_MX.po +++ b/bi_view_editor/i18n/es_MX.po @@ -1,7 +1,7 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: # * bi_view_editor -# +# # Translators: msgid "" msgstr "" @@ -10,56 +10,99 @@ msgstr "" "POT-Creation-Date: 2016-09-18 04:34+0000\n" "PO-Revision-Date: 2016-03-21 15:33+0000\n" "Last-Translator: <>\n" -"Language-Team: Spanish (Mexico) (http://www.transifex.com/oca/OCA-reporting-engine-8-0/language/es_MX/)\n" +"Language-Team: Spanish (Mexico) (http://www.transifex.com/oca/OCA-reporting-" +"engine-8-0/language/es_MX/)\n" +"Language: es_MX\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: \n" -"Language: es_MX\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #. module: bi_view_editor -#: model:ir.actions.act_window,help:bi_view_editor.action_bi_view_editor_view_form -msgid "" -"

    \n" -" Click to create a Custom Query Object.\n" -"

    \n" -"\n" -"

    \n" -" " +#: code:addons/bi_view_editor/models/bve_view.py:415 +#, python-format +msgid "%s (copy)" msgstr "" #. module: bi_view_editor -#: field:bve.view,action_id:0 +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:179 +#, python-format +msgid "(join left)" +msgstr "" + +#. module: bi_view_editor +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_action_id msgid "Action" msgstr "" +#. module: bi_view_editor +#: code:addons/bi_view_editor/models/bve_view.py:409 +#, python-format +msgid "BI View" +msgstr "" + #. module: bi_view_editor #: model:ir.model,name:bi_view_editor.model_bve_view msgid "BI View Editor" msgstr "" +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/js/bi_view_editor.JoinNodeDialog.js:36 +#, python-format +msgid "Cancel" +msgstr "" + +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:18 +#, python-format +msgid "Clear" +msgstr "" + +#. module: bi_view_editor +#: model:ir.actions.act_window,help:bi_view_editor.action_bi_view_editor_view_form +msgid "Click to create a Custom Query Object." +msgstr "" + +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:103 +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:154 +#, python-format +msgid "Column" +msgstr "" + +#. module: bi_view_editor +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form +#, fuzzy +msgid "Create a Menu" +msgstr "Creado en" + #. module: bi_view_editor #: selection:bve.view,state:0 msgid "Created" msgstr "" #. module: bi_view_editor -#: field:bve.view,create_uid:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_create_uid msgid "Created by" msgstr "Creado por" #. module: bi_view_editor -#: field:bve.view,create_date:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_create_date msgid "Created on" msgstr "Creado en" #. module: bi_view_editor -#: view:bve.view:bi_view_editor.view_bi_view_editor_view_tree +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_tree msgid "Custom BI View" msgstr "" #. module: bi_view_editor -#: sql_constraint:bve.view:0 +#: code:addons/bi_view_editor/models/bve_view.py:64 sql_constraint:bve.view:0 +#, python-format msgid "Custom BI View names must be unique!" msgstr "" @@ -70,7 +113,7 @@ msgid "Custom BI Views" msgstr "" #. module: bi_view_editor -#: view:bve.view:bi_view_editor.view_bi_view_editor_view_form +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form msgid "Custom Object" msgstr "" @@ -80,12 +123,12 @@ msgid "Custom Reports" msgstr "" #. module: bi_view_editor -#: field:bve.view,data:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_data msgid "Data" msgstr "" #. module: bi_view_editor -#: field:bve.view,display_name:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_display_name msgid "Display Name" msgstr "Nombre desplegado" @@ -95,43 +138,74 @@ msgid "Draft" msgstr "" #. module: bi_view_editor -#: code:addons/bi_view_editor/models/bve_view.py:72 -#, python-format -msgid "Error" -msgstr "" - -#. module: bi_view_editor -#: view:bve.view:bi_view_editor.view_bi_view_editor_view_form +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form msgid "Generate BI View" msgstr "" #. module: bi_view_editor -#: field:bve.view,group_ids:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_group_ids msgid "Groups" msgstr "" #. module: bi_view_editor -#: field:bve.view,id:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_id msgid "ID" msgstr "ID" #. module: bi_view_editor -#: field:bve.view,__last_update:0 +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:137 +#, python-format +msgid "Join Left" +msgstr "" + +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/js/bi_view_editor.JoinNodeDialog.js:30 +#, python-format +msgid "Join..." +msgstr "" + +#. module: bi_view_editor +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view___last_update msgid "Last Modified on" msgstr "Ultima modificacion realizada" #. module: bi_view_editor -#: field:bve.view,write_uid:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_write_uid msgid "Last Updated by" msgstr "Ultima actualizacion por" #. module: bi_view_editor -#: field:bve.view,write_date:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_write_date msgid "Last Updated on" msgstr "Ultima actualización realizada" #. module: bi_view_editor -#: field:bve.view,model_name:0 +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:124 +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:157 +#, python-format +msgid "List" +msgstr "" + +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:117 +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:156 +#, python-format +msgid "Measure" +msgstr "" + +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:86 +#, python-format +msgid "Model" +msgstr "" + +#. module: bi_view_editor +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_model_name msgid "Model Name" msgstr "" @@ -141,67 +215,141 @@ msgid "Models" msgstr "" #. module: bi_view_editor -#: field:bve.view,name:0 +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:85 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_name +#, python-format msgid "Name" msgstr "Nombre" #. module: bi_view_editor -#: view:bve.view:bi_view_editor.view_bi_view_editor_view_form -#: field:bve.view,note:0 +#: code:addons/bi_view_editor/models/models.py:56 +#, python-format +msgid "No data to be displayed." +msgstr "" + +#. module: bi_view_editor +#: code:addons/bi_view_editor/models/bve_view.py:284 +#, python-format +msgid "No data to process." +msgstr "" + +#. module: bi_view_editor +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_note +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form msgid "Notes" msgstr "" #. module: bi_view_editor -#: view:bve.view:bi_view_editor.view_bi_view_editor_view_form +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form msgid "Open BI View" msgstr "" #. module: bi_view_editor -#: view:bve.view:bi_view_editor.view_bi_view_editor_view_form +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:87 +#, python-format +msgid "Options" +msgstr "" + +#. module: bi_view_editor +#: code:addons/bi_view_editor/models/bve_view.py:224 +#, python-format +msgid "Please select at least one group on the security tab." +msgstr "" + +#. module: bi_view_editor +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form msgid "Query" msgstr "" #. module: bi_view_editor -#: view:bve.view:bi_view_editor.view_bi_view_editor_view_form +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form msgid "Reset to Draft" msgstr "" #. module: bi_view_editor -#: view:bve.view:bi_view_editor.view_bi_view_editor_view_form +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:110 +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:155 +#, python-format +msgid "Row" +msgstr "" + +#. module: bi_view_editor +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form msgid "Security" msgstr "Seguridad" #. module: bi_view_editor -#: field:bve.view,state:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_state msgid "State" msgstr "" #. module: bi_view_editor -#: help:bve.view,data:0 +#: model:ir.actions.act_window,name:bi_view_editor.action_bi_view_editor_translations +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form +msgid "Translations" +msgstr "" + +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:30 +#, python-format +msgid "Use the existing node" +msgstr "" + +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:34 +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:43 +#, python-format +msgid "Use the field" +msgstr "" + +#. module: bi_view_editor +#: model:ir.model.fields,help:bi_view_editor.field_bve_view_data msgid "" "Use the special query builder to define the query to generate your report " "dataset. NOTE: To be edited, the query should be in 'Draft' status." msgstr "" #. module: bi_view_editor -#: help:bve.view,group_ids:0 +#: model:ir.model.fields,help:bi_view_editor.field_bve_view_group_ids msgid "" "User groups allowed to see the generated report; if NO groups are specified " "the report will be public for everyone." msgstr "" #. module: bi_view_editor -#: field:bve.view,user_ids:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_user_ids msgid "Users" msgstr "" #. module: bi_view_editor -#: field:bve.view,view_id:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_view_id msgid "View" msgstr "" #. module: bi_view_editor -#: code:addons/bi_view_editor/models/bve_view.py:73 +#: code:addons/bi_view_editor/models/bve_view.py:456 #, python-format msgid "You cannot delete a created view! Reset the view to draft first." msgstr "" + +#. module: bi_view_editor +#: model:ir.model,name:bi_view_editor.model_base +msgid "base" +msgstr "" + +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:39 +#, python-format +msgid "new" +msgstr "" + +#. module: bi_view_editor +#: model:ir.model,name:bi_view_editor.model_wizard_ir_model_menu_create +msgid "wizard.ir.model.menu.create" +msgstr "" diff --git a/bi_view_editor/i18n/es_PE.po b/bi_view_editor/i18n/es_PE.po index 094495bd3..aa8dd9a1f 100644 --- a/bi_view_editor/i18n/es_PE.po +++ b/bi_view_editor/i18n/es_PE.po @@ -1,7 +1,7 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: # * bi_view_editor -# +# # Translators: msgid "" msgstr "" @@ -10,56 +10,99 @@ msgstr "" "POT-Creation-Date: 2016-09-18 04:34+0000\n" "PO-Revision-Date: 2016-03-21 15:33+0000\n" "Last-Translator: <>\n" -"Language-Team: Spanish (Peru) (http://www.transifex.com/oca/OCA-reporting-engine-8-0/language/es_PE/)\n" +"Language-Team: Spanish (Peru) (http://www.transifex.com/oca/OCA-reporting-" +"engine-8-0/language/es_PE/)\n" +"Language: es_PE\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: \n" -"Language: es_PE\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #. module: bi_view_editor -#: model:ir.actions.act_window,help:bi_view_editor.action_bi_view_editor_view_form -msgid "" -"

    \n" -" Click to create a Custom Query Object.\n" -"

    \n" -"\n" -"

    \n" -" " +#: code:addons/bi_view_editor/models/bve_view.py:415 +#, python-format +msgid "%s (copy)" msgstr "" #. module: bi_view_editor -#: field:bve.view,action_id:0 +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:179 +#, python-format +msgid "(join left)" +msgstr "" + +#. module: bi_view_editor +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_action_id msgid "Action" msgstr "" +#. module: bi_view_editor +#: code:addons/bi_view_editor/models/bve_view.py:409 +#, python-format +msgid "BI View" +msgstr "" + #. module: bi_view_editor #: model:ir.model,name:bi_view_editor.model_bve_view msgid "BI View Editor" msgstr "" +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/js/bi_view_editor.JoinNodeDialog.js:36 +#, python-format +msgid "Cancel" +msgstr "" + +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:18 +#, python-format +msgid "Clear" +msgstr "" + +#. module: bi_view_editor +#: model:ir.actions.act_window,help:bi_view_editor.action_bi_view_editor_view_form +msgid "Click to create a Custom Query Object." +msgstr "" + +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:103 +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:154 +#, python-format +msgid "Column" +msgstr "" + +#. module: bi_view_editor +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form +#, fuzzy +msgid "Create a Menu" +msgstr "Creado en" + #. module: bi_view_editor #: selection:bve.view,state:0 msgid "Created" msgstr "" #. module: bi_view_editor -#: field:bve.view,create_uid:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_create_uid msgid "Created by" msgstr "Creado por" #. module: bi_view_editor -#: field:bve.view,create_date:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_create_date msgid "Created on" msgstr "Creado en" #. module: bi_view_editor -#: view:bve.view:bi_view_editor.view_bi_view_editor_view_tree +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_tree msgid "Custom BI View" msgstr "" #. module: bi_view_editor -#: sql_constraint:bve.view:0 +#: code:addons/bi_view_editor/models/bve_view.py:64 sql_constraint:bve.view:0 +#, python-format msgid "Custom BI View names must be unique!" msgstr "" @@ -70,7 +113,7 @@ msgid "Custom BI Views" msgstr "" #. module: bi_view_editor -#: view:bve.view:bi_view_editor.view_bi_view_editor_view_form +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form msgid "Custom Object" msgstr "" @@ -80,12 +123,12 @@ msgid "Custom Reports" msgstr "" #. module: bi_view_editor -#: field:bve.view,data:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_data msgid "Data" msgstr "" #. module: bi_view_editor -#: field:bve.view,display_name:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_display_name msgid "Display Name" msgstr "Nombre a Mostrar" @@ -95,43 +138,74 @@ msgid "Draft" msgstr "" #. module: bi_view_editor -#: code:addons/bi_view_editor/models/bve_view.py:72 -#, python-format -msgid "Error" -msgstr "" - -#. module: bi_view_editor -#: view:bve.view:bi_view_editor.view_bi_view_editor_view_form +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form msgid "Generate BI View" msgstr "" #. module: bi_view_editor -#: field:bve.view,group_ids:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_group_ids msgid "Groups" msgstr "" #. module: bi_view_editor -#: field:bve.view,id:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_id msgid "ID" msgstr "ID" #. module: bi_view_editor -#: field:bve.view,__last_update:0 +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:137 +#, python-format +msgid "Join Left" +msgstr "" + +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/js/bi_view_editor.JoinNodeDialog.js:30 +#, python-format +msgid "Join..." +msgstr "" + +#. module: bi_view_editor +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view___last_update msgid "Last Modified on" msgstr "Ultima Modificación en" #. module: bi_view_editor -#: field:bve.view,write_uid:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_write_uid msgid "Last Updated by" msgstr "Actualizado última vez por" #. module: bi_view_editor -#: field:bve.view,write_date:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_write_date msgid "Last Updated on" msgstr "Ultima Actualización" #. module: bi_view_editor -#: field:bve.view,model_name:0 +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:124 +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:157 +#, python-format +msgid "List" +msgstr "" + +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:117 +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:156 +#, python-format +msgid "Measure" +msgstr "" + +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:86 +#, python-format +msgid "Model" +msgstr "" + +#. module: bi_view_editor +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_model_name msgid "Model Name" msgstr "" @@ -141,67 +215,141 @@ msgid "Models" msgstr "" #. module: bi_view_editor -#: field:bve.view,name:0 +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:85 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_name +#, python-format msgid "Name" msgstr "Nombre" #. module: bi_view_editor -#: view:bve.view:bi_view_editor.view_bi_view_editor_view_form -#: field:bve.view,note:0 +#: code:addons/bi_view_editor/models/models.py:56 +#, python-format +msgid "No data to be displayed." +msgstr "" + +#. module: bi_view_editor +#: code:addons/bi_view_editor/models/bve_view.py:284 +#, python-format +msgid "No data to process." +msgstr "" + +#. module: bi_view_editor +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_note +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form msgid "Notes" msgstr "" #. module: bi_view_editor -#: view:bve.view:bi_view_editor.view_bi_view_editor_view_form +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form msgid "Open BI View" msgstr "" #. module: bi_view_editor -#: view:bve.view:bi_view_editor.view_bi_view_editor_view_form +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:87 +#, python-format +msgid "Options" +msgstr "" + +#. module: bi_view_editor +#: code:addons/bi_view_editor/models/bve_view.py:224 +#, python-format +msgid "Please select at least one group on the security tab." +msgstr "" + +#. module: bi_view_editor +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form msgid "Query" msgstr "" #. module: bi_view_editor -#: view:bve.view:bi_view_editor.view_bi_view_editor_view_form +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form msgid "Reset to Draft" msgstr "" #. module: bi_view_editor -#: view:bve.view:bi_view_editor.view_bi_view_editor_view_form +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:110 +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:155 +#, python-format +msgid "Row" +msgstr "" + +#. module: bi_view_editor +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form msgid "Security" msgstr "Seguridad" #. module: bi_view_editor -#: field:bve.view,state:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_state msgid "State" msgstr "" #. module: bi_view_editor -#: help:bve.view,data:0 +#: model:ir.actions.act_window,name:bi_view_editor.action_bi_view_editor_translations +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form +msgid "Translations" +msgstr "" + +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:30 +#, python-format +msgid "Use the existing node" +msgstr "" + +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:34 +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:43 +#, python-format +msgid "Use the field" +msgstr "" + +#. module: bi_view_editor +#: model:ir.model.fields,help:bi_view_editor.field_bve_view_data msgid "" "Use the special query builder to define the query to generate your report " "dataset. NOTE: To be edited, the query should be in 'Draft' status." msgstr "" #. module: bi_view_editor -#: help:bve.view,group_ids:0 +#: model:ir.model.fields,help:bi_view_editor.field_bve_view_group_ids msgid "" "User groups allowed to see the generated report; if NO groups are specified " "the report will be public for everyone." msgstr "" #. module: bi_view_editor -#: field:bve.view,user_ids:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_user_ids msgid "Users" msgstr "" #. module: bi_view_editor -#: field:bve.view,view_id:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_view_id msgid "View" msgstr "" #. module: bi_view_editor -#: code:addons/bi_view_editor/models/bve_view.py:73 +#: code:addons/bi_view_editor/models/bve_view.py:456 #, python-format msgid "You cannot delete a created view! Reset the view to draft first." msgstr "" + +#. module: bi_view_editor +#: model:ir.model,name:bi_view_editor.model_base +msgid "base" +msgstr "" + +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:39 +#, python-format +msgid "new" +msgstr "" + +#. module: bi_view_editor +#: model:ir.model,name:bi_view_editor.model_wizard_ir_model_menu_create +msgid "wizard.ir.model.menu.create" +msgstr "" diff --git a/bi_view_editor/i18n/es_PY.po b/bi_view_editor/i18n/es_PY.po index 9212daee9..06821732a 100644 --- a/bi_view_editor/i18n/es_PY.po +++ b/bi_view_editor/i18n/es_PY.po @@ -1,7 +1,7 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: # * bi_view_editor -# +# # Translators: msgid "" msgstr "" @@ -10,56 +10,99 @@ msgstr "" "POT-Creation-Date: 2016-09-18 04:34+0000\n" "PO-Revision-Date: 2016-03-21 15:33+0000\n" "Last-Translator: <>\n" -"Language-Team: Spanish (Paraguay) (http://www.transifex.com/oca/OCA-reporting-engine-8-0/language/es_PY/)\n" +"Language-Team: Spanish (Paraguay) (http://www.transifex.com/oca/OCA-" +"reporting-engine-8-0/language/es_PY/)\n" +"Language: es_PY\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: \n" -"Language: es_PY\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #. module: bi_view_editor -#: model:ir.actions.act_window,help:bi_view_editor.action_bi_view_editor_view_form -msgid "" -"

    \n" -" Click to create a Custom Query Object.\n" -"

    \n" -"\n" -"

    \n" -" " +#: code:addons/bi_view_editor/models/bve_view.py:415 +#, python-format +msgid "%s (copy)" msgstr "" #. module: bi_view_editor -#: field:bve.view,action_id:0 +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:179 +#, python-format +msgid "(join left)" +msgstr "" + +#. module: bi_view_editor +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_action_id msgid "Action" msgstr "" +#. module: bi_view_editor +#: code:addons/bi_view_editor/models/bve_view.py:409 +#, python-format +msgid "BI View" +msgstr "" + #. module: bi_view_editor #: model:ir.model,name:bi_view_editor.model_bve_view msgid "BI View Editor" msgstr "" +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/js/bi_view_editor.JoinNodeDialog.js:36 +#, python-format +msgid "Cancel" +msgstr "" + +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:18 +#, python-format +msgid "Clear" +msgstr "" + +#. module: bi_view_editor +#: model:ir.actions.act_window,help:bi_view_editor.action_bi_view_editor_view_form +msgid "Click to create a Custom Query Object." +msgstr "" + +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:103 +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:154 +#, python-format +msgid "Column" +msgstr "" + +#. module: bi_view_editor +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form +#, fuzzy +msgid "Create a Menu" +msgstr "Creado en" + #. module: bi_view_editor #: selection:bve.view,state:0 msgid "Created" msgstr "" #. module: bi_view_editor -#: field:bve.view,create_uid:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_create_uid msgid "Created by" msgstr "Creado por" #. module: bi_view_editor -#: field:bve.view,create_date:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_create_date msgid "Created on" msgstr "Creado en" #. module: bi_view_editor -#: view:bve.view:bi_view_editor.view_bi_view_editor_view_tree +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_tree msgid "Custom BI View" msgstr "" #. module: bi_view_editor -#: sql_constraint:bve.view:0 +#: code:addons/bi_view_editor/models/bve_view.py:64 sql_constraint:bve.view:0 +#, python-format msgid "Custom BI View names must be unique!" msgstr "" @@ -70,7 +113,7 @@ msgid "Custom BI Views" msgstr "" #. module: bi_view_editor -#: view:bve.view:bi_view_editor.view_bi_view_editor_view_form +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form msgid "Custom Object" msgstr "" @@ -80,12 +123,12 @@ msgid "Custom Reports" msgstr "" #. module: bi_view_editor -#: field:bve.view,data:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_data msgid "Data" msgstr "" #. module: bi_view_editor -#: field:bve.view,display_name:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_display_name msgid "Display Name" msgstr "" @@ -95,43 +138,74 @@ msgid "Draft" msgstr "" #. module: bi_view_editor -#: code:addons/bi_view_editor/models/bve_view.py:72 -#, python-format -msgid "Error" -msgstr "" - -#. module: bi_view_editor -#: view:bve.view:bi_view_editor.view_bi_view_editor_view_form +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form msgid "Generate BI View" msgstr "" #. module: bi_view_editor -#: field:bve.view,group_ids:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_group_ids msgid "Groups" msgstr "" #. module: bi_view_editor -#: field:bve.view,id:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_id msgid "ID" msgstr "ID" #. module: bi_view_editor -#: field:bve.view,__last_update:0 +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:137 +#, python-format +msgid "Join Left" +msgstr "" + +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/js/bi_view_editor.JoinNodeDialog.js:30 +#, python-format +msgid "Join..." +msgstr "" + +#. module: bi_view_editor +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view___last_update msgid "Last Modified on" msgstr "" #. module: bi_view_editor -#: field:bve.view,write_uid:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_write_uid msgid "Last Updated by" msgstr "Ultima actualización por" #. module: bi_view_editor -#: field:bve.view,write_date:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_write_date msgid "Last Updated on" msgstr "Ultima actualización en" #. module: bi_view_editor -#: field:bve.view,model_name:0 +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:124 +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:157 +#, python-format +msgid "List" +msgstr "" + +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:117 +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:156 +#, python-format +msgid "Measure" +msgstr "" + +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:86 +#, python-format +msgid "Model" +msgstr "" + +#. module: bi_view_editor +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_model_name msgid "Model Name" msgstr "" @@ -141,67 +215,141 @@ msgid "Models" msgstr "" #. module: bi_view_editor -#: field:bve.view,name:0 +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:85 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_name +#, python-format msgid "Name" msgstr "Nombre" #. module: bi_view_editor -#: view:bve.view:bi_view_editor.view_bi_view_editor_view_form -#: field:bve.view,note:0 +#: code:addons/bi_view_editor/models/models.py:56 +#, python-format +msgid "No data to be displayed." +msgstr "" + +#. module: bi_view_editor +#: code:addons/bi_view_editor/models/bve_view.py:284 +#, python-format +msgid "No data to process." +msgstr "" + +#. module: bi_view_editor +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_note +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form msgid "Notes" msgstr "" #. module: bi_view_editor -#: view:bve.view:bi_view_editor.view_bi_view_editor_view_form +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form msgid "Open BI View" msgstr "" #. module: bi_view_editor -#: view:bve.view:bi_view_editor.view_bi_view_editor_view_form +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:87 +#, python-format +msgid "Options" +msgstr "" + +#. module: bi_view_editor +#: code:addons/bi_view_editor/models/bve_view.py:224 +#, python-format +msgid "Please select at least one group on the security tab." +msgstr "" + +#. module: bi_view_editor +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form msgid "Query" msgstr "" #. module: bi_view_editor -#: view:bve.view:bi_view_editor.view_bi_view_editor_view_form +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form msgid "Reset to Draft" msgstr "" #. module: bi_view_editor -#: view:bve.view:bi_view_editor.view_bi_view_editor_view_form +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:110 +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:155 +#, python-format +msgid "Row" +msgstr "" + +#. module: bi_view_editor +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form msgid "Security" msgstr "Seguridad" #. module: bi_view_editor -#: field:bve.view,state:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_state msgid "State" msgstr "" #. module: bi_view_editor -#: help:bve.view,data:0 +#: model:ir.actions.act_window,name:bi_view_editor.action_bi_view_editor_translations +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form +msgid "Translations" +msgstr "" + +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:30 +#, python-format +msgid "Use the existing node" +msgstr "" + +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:34 +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:43 +#, python-format +msgid "Use the field" +msgstr "" + +#. module: bi_view_editor +#: model:ir.model.fields,help:bi_view_editor.field_bve_view_data msgid "" "Use the special query builder to define the query to generate your report " "dataset. NOTE: To be edited, the query should be in 'Draft' status." msgstr "" #. module: bi_view_editor -#: help:bve.view,group_ids:0 +#: model:ir.model.fields,help:bi_view_editor.field_bve_view_group_ids msgid "" "User groups allowed to see the generated report; if NO groups are specified " "the report will be public for everyone." msgstr "" #. module: bi_view_editor -#: field:bve.view,user_ids:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_user_ids msgid "Users" msgstr "" #. module: bi_view_editor -#: field:bve.view,view_id:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_view_id msgid "View" msgstr "" #. module: bi_view_editor -#: code:addons/bi_view_editor/models/bve_view.py:73 +#: code:addons/bi_view_editor/models/bve_view.py:456 #, python-format msgid "You cannot delete a created view! Reset the view to draft first." msgstr "" + +#. module: bi_view_editor +#: model:ir.model,name:bi_view_editor.model_base +msgid "base" +msgstr "" + +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:39 +#, python-format +msgid "new" +msgstr "" + +#. module: bi_view_editor +#: model:ir.model,name:bi_view_editor.model_wizard_ir_model_menu_create +msgid "wizard.ir.model.menu.create" +msgstr "" diff --git a/bi_view_editor/i18n/es_VE.po b/bi_view_editor/i18n/es_VE.po index 941f4b0ee..10f94e71a 100644 --- a/bi_view_editor/i18n/es_VE.po +++ b/bi_view_editor/i18n/es_VE.po @@ -1,7 +1,7 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: # * bi_view_editor -# +# # Translators: msgid "" msgstr "" @@ -10,56 +10,99 @@ msgstr "" "POT-Creation-Date: 2016-09-18 04:34+0000\n" "PO-Revision-Date: 2016-03-21 15:33+0000\n" "Last-Translator: <>\n" -"Language-Team: Spanish (Venezuela) (http://www.transifex.com/oca/OCA-reporting-engine-8-0/language/es_VE/)\n" +"Language-Team: Spanish (Venezuela) (http://www.transifex.com/oca/OCA-" +"reporting-engine-8-0/language/es_VE/)\n" +"Language: es_VE\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: \n" -"Language: es_VE\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #. module: bi_view_editor -#: model:ir.actions.act_window,help:bi_view_editor.action_bi_view_editor_view_form -msgid "" -"

    \n" -" Click to create a Custom Query Object.\n" -"

    \n" -"\n" -"

    \n" -" " +#: code:addons/bi_view_editor/models/bve_view.py:415 +#, python-format +msgid "%s (copy)" msgstr "" #. module: bi_view_editor -#: field:bve.view,action_id:0 +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:179 +#, python-format +msgid "(join left)" +msgstr "" + +#. module: bi_view_editor +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_action_id msgid "Action" msgstr "" +#. module: bi_view_editor +#: code:addons/bi_view_editor/models/bve_view.py:409 +#, python-format +msgid "BI View" +msgstr "" + #. module: bi_view_editor #: model:ir.model,name:bi_view_editor.model_bve_view msgid "BI View Editor" msgstr "" +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/js/bi_view_editor.JoinNodeDialog.js:36 +#, python-format +msgid "Cancel" +msgstr "" + +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:18 +#, python-format +msgid "Clear" +msgstr "" + +#. module: bi_view_editor +#: model:ir.actions.act_window,help:bi_view_editor.action_bi_view_editor_view_form +msgid "Click to create a Custom Query Object." +msgstr "" + +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:103 +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:154 +#, python-format +msgid "Column" +msgstr "" + +#. module: bi_view_editor +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form +#, fuzzy +msgid "Create a Menu" +msgstr "Creado en" + #. module: bi_view_editor #: selection:bve.view,state:0 msgid "Created" msgstr "" #. module: bi_view_editor -#: field:bve.view,create_uid:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_create_uid msgid "Created by" msgstr "Creado por" #. module: bi_view_editor -#: field:bve.view,create_date:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_create_date msgid "Created on" msgstr "Creado en" #. module: bi_view_editor -#: view:bve.view:bi_view_editor.view_bi_view_editor_view_tree +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_tree msgid "Custom BI View" msgstr "" #. module: bi_view_editor -#: sql_constraint:bve.view:0 +#: code:addons/bi_view_editor/models/bve_view.py:64 sql_constraint:bve.view:0 +#, python-format msgid "Custom BI View names must be unique!" msgstr "" @@ -70,7 +113,7 @@ msgid "Custom BI Views" msgstr "" #. module: bi_view_editor -#: view:bve.view:bi_view_editor.view_bi_view_editor_view_form +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form msgid "Custom Object" msgstr "" @@ -80,12 +123,12 @@ msgid "Custom Reports" msgstr "" #. module: bi_view_editor -#: field:bve.view,data:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_data msgid "Data" msgstr "" #. module: bi_view_editor -#: field:bve.view,display_name:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_display_name msgid "Display Name" msgstr "Mostrar nombre" @@ -95,43 +138,74 @@ msgid "Draft" msgstr "" #. module: bi_view_editor -#: code:addons/bi_view_editor/models/bve_view.py:72 -#, python-format -msgid "Error" -msgstr "" - -#. module: bi_view_editor -#: view:bve.view:bi_view_editor.view_bi_view_editor_view_form +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form msgid "Generate BI View" msgstr "" #. module: bi_view_editor -#: field:bve.view,group_ids:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_group_ids msgid "Groups" msgstr "" #. module: bi_view_editor -#: field:bve.view,id:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_id msgid "ID" msgstr "ID" #. module: bi_view_editor -#: field:bve.view,__last_update:0 +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:137 +#, python-format +msgid "Join Left" +msgstr "" + +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/js/bi_view_editor.JoinNodeDialog.js:30 +#, python-format +msgid "Join..." +msgstr "" + +#. module: bi_view_editor +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view___last_update msgid "Last Modified on" msgstr "Modificada por última vez" #. module: bi_view_editor -#: field:bve.view,write_uid:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_write_uid msgid "Last Updated by" msgstr "Última actualización realizada por" #. module: bi_view_editor -#: field:bve.view,write_date:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_write_date msgid "Last Updated on" msgstr "Ultima actualizacion en" #. module: bi_view_editor -#: field:bve.view,model_name:0 +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:124 +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:157 +#, python-format +msgid "List" +msgstr "" + +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:117 +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:156 +#, python-format +msgid "Measure" +msgstr "" + +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:86 +#, python-format +msgid "Model" +msgstr "" + +#. module: bi_view_editor +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_model_name msgid "Model Name" msgstr "" @@ -141,67 +215,141 @@ msgid "Models" msgstr "" #. module: bi_view_editor -#: field:bve.view,name:0 +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:85 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_name +#, python-format msgid "Name" msgstr "Nombre" #. module: bi_view_editor -#: view:bve.view:bi_view_editor.view_bi_view_editor_view_form -#: field:bve.view,note:0 +#: code:addons/bi_view_editor/models/models.py:56 +#, python-format +msgid "No data to be displayed." +msgstr "" + +#. module: bi_view_editor +#: code:addons/bi_view_editor/models/bve_view.py:284 +#, python-format +msgid "No data to process." +msgstr "" + +#. module: bi_view_editor +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_note +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form msgid "Notes" msgstr "" #. module: bi_view_editor -#: view:bve.view:bi_view_editor.view_bi_view_editor_view_form +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form msgid "Open BI View" msgstr "" #. module: bi_view_editor -#: view:bve.view:bi_view_editor.view_bi_view_editor_view_form +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:87 +#, python-format +msgid "Options" +msgstr "" + +#. module: bi_view_editor +#: code:addons/bi_view_editor/models/bve_view.py:224 +#, python-format +msgid "Please select at least one group on the security tab." +msgstr "" + +#. module: bi_view_editor +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form msgid "Query" msgstr "" #. module: bi_view_editor -#: view:bve.view:bi_view_editor.view_bi_view_editor_view_form +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form msgid "Reset to Draft" msgstr "" #. module: bi_view_editor -#: view:bve.view:bi_view_editor.view_bi_view_editor_view_form +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:110 +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:155 +#, python-format +msgid "Row" +msgstr "" + +#. module: bi_view_editor +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form msgid "Security" msgstr "Seguridad" #. module: bi_view_editor -#: field:bve.view,state:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_state msgid "State" msgstr "" #. module: bi_view_editor -#: help:bve.view,data:0 +#: model:ir.actions.act_window,name:bi_view_editor.action_bi_view_editor_translations +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form +msgid "Translations" +msgstr "" + +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:30 +#, python-format +msgid "Use the existing node" +msgstr "" + +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:34 +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:43 +#, python-format +msgid "Use the field" +msgstr "" + +#. module: bi_view_editor +#: model:ir.model.fields,help:bi_view_editor.field_bve_view_data msgid "" "Use the special query builder to define the query to generate your report " "dataset. NOTE: To be edited, the query should be in 'Draft' status." msgstr "" #. module: bi_view_editor -#: help:bve.view,group_ids:0 +#: model:ir.model.fields,help:bi_view_editor.field_bve_view_group_ids msgid "" "User groups allowed to see the generated report; if NO groups are specified " "the report will be public for everyone." msgstr "" #. module: bi_view_editor -#: field:bve.view,user_ids:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_user_ids msgid "Users" msgstr "" #. module: bi_view_editor -#: field:bve.view,view_id:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_view_id msgid "View" msgstr "" #. module: bi_view_editor -#: code:addons/bi_view_editor/models/bve_view.py:73 +#: code:addons/bi_view_editor/models/bve_view.py:456 #, python-format msgid "You cannot delete a created view! Reset the view to draft first." msgstr "" + +#. module: bi_view_editor +#: model:ir.model,name:bi_view_editor.model_base +msgid "base" +msgstr "" + +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:39 +#, python-format +msgid "new" +msgstr "" + +#. module: bi_view_editor +#: model:ir.model,name:bi_view_editor.model_wizard_ir_model_menu_create +msgid "wizard.ir.model.menu.create" +msgstr "" diff --git a/bi_view_editor/i18n/et.po b/bi_view_editor/i18n/et.po index db1e0edcb..5bfdfd918 100644 --- a/bi_view_editor/i18n/et.po +++ b/bi_view_editor/i18n/et.po @@ -1,7 +1,7 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: # * bi_view_editor -# +# # Translators: msgid "" msgstr "" @@ -10,56 +10,99 @@ msgstr "" "POT-Creation-Date: 2016-12-03 04:09+0000\n" "PO-Revision-Date: 2016-03-21 15:33+0000\n" "Last-Translator: <>\n" -"Language-Team: Estonian (http://www.transifex.com/oca/OCA-reporting-engine-8-0/language/et/)\n" +"Language-Team: Estonian (http://www.transifex.com/oca/OCA-reporting-" +"engine-8-0/language/et/)\n" +"Language: et\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: \n" -"Language: et\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #. module: bi_view_editor -#: model:ir.actions.act_window,help:bi_view_editor.action_bi_view_editor_view_form -msgid "" -"

    \n" -" Click to create a Custom Query Object.\n" -"

    \n" -"\n" -"

    \n" -" " +#: code:addons/bi_view_editor/models/bve_view.py:415 +#, python-format +msgid "%s (copy)" msgstr "" #. module: bi_view_editor -#: field:bve.view,action_id:0 +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:179 +#, python-format +msgid "(join left)" +msgstr "" + +#. module: bi_view_editor +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_action_id msgid "Action" msgstr "" +#. module: bi_view_editor +#: code:addons/bi_view_editor/models/bve_view.py:409 +#, python-format +msgid "BI View" +msgstr "" + #. module: bi_view_editor #: model:ir.model,name:bi_view_editor.model_bve_view msgid "BI View Editor" msgstr "" +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/js/bi_view_editor.JoinNodeDialog.js:36 +#, python-format +msgid "Cancel" +msgstr "" + +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:18 +#, python-format +msgid "Clear" +msgstr "" + +#. module: bi_view_editor +#: model:ir.actions.act_window,help:bi_view_editor.action_bi_view_editor_view_form +msgid "Click to create a Custom Query Object." +msgstr "" + +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:103 +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:154 +#, python-format +msgid "Column" +msgstr "" + +#. module: bi_view_editor +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form +#, fuzzy +msgid "Create a Menu" +msgstr "Loodud" + #. module: bi_view_editor #: selection:bve.view,state:0 msgid "Created" msgstr "" #. module: bi_view_editor -#: field:bve.view,create_uid:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_create_uid msgid "Created by" msgstr "Loonud" #. module: bi_view_editor -#: field:bve.view,create_date:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_create_date msgid "Created on" msgstr "Loodud" #. module: bi_view_editor -#: view:bve.view:bi_view_editor.view_bi_view_editor_view_tree +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_tree msgid "Custom BI View" msgstr "" #. module: bi_view_editor -#: sql_constraint:bve.view:0 +#: code:addons/bi_view_editor/models/bve_view.py:64 sql_constraint:bve.view:0 +#, python-format msgid "Custom BI View names must be unique!" msgstr "" @@ -70,7 +113,7 @@ msgid "Custom BI Views" msgstr "" #. module: bi_view_editor -#: view:bve.view:bi_view_editor.view_bi_view_editor_view_form +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form msgid "Custom Object" msgstr "" @@ -80,12 +123,12 @@ msgid "Custom Reports" msgstr "" #. module: bi_view_editor -#: field:bve.view,data:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_data msgid "Data" msgstr "" #. module: bi_view_editor -#: field:bve.view,display_name:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_display_name msgid "Display Name" msgstr "Näidatav nimi" @@ -95,43 +138,74 @@ msgid "Draft" msgstr "" #. module: bi_view_editor -#: code:addons/bi_view_editor/models/bve_view.py:72 -#, python-format -msgid "Error" -msgstr "" - -#. module: bi_view_editor -#: view:bve.view:bi_view_editor.view_bi_view_editor_view_form +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form msgid "Generate BI View" msgstr "" #. module: bi_view_editor -#: field:bve.view,group_ids:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_group_ids msgid "Groups" msgstr "" #. module: bi_view_editor -#: field:bve.view,id:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_id msgid "ID" msgstr "ID" #. module: bi_view_editor -#: field:bve.view,__last_update:0 +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:137 +#, python-format +msgid "Join Left" +msgstr "" + +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/js/bi_view_editor.JoinNodeDialog.js:30 +#, python-format +msgid "Join..." +msgstr "" + +#. module: bi_view_editor +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view___last_update msgid "Last Modified on" msgstr "Viimati muudetud" #. module: bi_view_editor -#: field:bve.view,write_uid:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_write_uid msgid "Last Updated by" msgstr "Viimati uuendatud" #. module: bi_view_editor -#: field:bve.view,write_date:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_write_date msgid "Last Updated on" msgstr "Viimati uuendatud" #. module: bi_view_editor -#: field:bve.view,model_name:0 +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:124 +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:157 +#, python-format +msgid "List" +msgstr "" + +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:117 +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:156 +#, python-format +msgid "Measure" +msgstr "" + +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:86 +#, python-format +msgid "Model" +msgstr "" + +#. module: bi_view_editor +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_model_name msgid "Model Name" msgstr "" @@ -141,67 +215,141 @@ msgid "Models" msgstr "" #. module: bi_view_editor -#: field:bve.view,name:0 +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:85 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_name +#, python-format msgid "Name" msgstr "Nimi" #. module: bi_view_editor -#: view:bve.view:bi_view_editor.view_bi_view_editor_view_form -#: field:bve.view,note:0 +#: code:addons/bi_view_editor/models/models.py:56 +#, python-format +msgid "No data to be displayed." +msgstr "" + +#. module: bi_view_editor +#: code:addons/bi_view_editor/models/bve_view.py:284 +#, python-format +msgid "No data to process." +msgstr "" + +#. module: bi_view_editor +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_note +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form msgid "Notes" msgstr "" #. module: bi_view_editor -#: view:bve.view:bi_view_editor.view_bi_view_editor_view_form +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form msgid "Open BI View" msgstr "" #. module: bi_view_editor -#: view:bve.view:bi_view_editor.view_bi_view_editor_view_form +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:87 +#, python-format +msgid "Options" +msgstr "" + +#. module: bi_view_editor +#: code:addons/bi_view_editor/models/bve_view.py:224 +#, python-format +msgid "Please select at least one group on the security tab." +msgstr "" + +#. module: bi_view_editor +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form msgid "Query" msgstr "" #. module: bi_view_editor -#: view:bve.view:bi_view_editor.view_bi_view_editor_view_form +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form msgid "Reset to Draft" msgstr "" #. module: bi_view_editor -#: view:bve.view:bi_view_editor.view_bi_view_editor_view_form +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:110 +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:155 +#, python-format +msgid "Row" +msgstr "" + +#. module: bi_view_editor +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form msgid "Security" msgstr "Turvalisus" #. module: bi_view_editor -#: field:bve.view,state:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_state msgid "State" msgstr "" #. module: bi_view_editor -#: help:bve.view,data:0 +#: model:ir.actions.act_window,name:bi_view_editor.action_bi_view_editor_translations +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form +msgid "Translations" +msgstr "" + +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:30 +#, python-format +msgid "Use the existing node" +msgstr "" + +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:34 +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:43 +#, python-format +msgid "Use the field" +msgstr "" + +#. module: bi_view_editor +#: model:ir.model.fields,help:bi_view_editor.field_bve_view_data msgid "" "Use the special query builder to define the query to generate your report " "dataset. NOTE: To be edited, the query should be in 'Draft' status." msgstr "" #. module: bi_view_editor -#: help:bve.view,group_ids:0 +#: model:ir.model.fields,help:bi_view_editor.field_bve_view_group_ids msgid "" "User groups allowed to see the generated report; if NO groups are specified " "the report will be public for everyone." msgstr "" #. module: bi_view_editor -#: field:bve.view,user_ids:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_user_ids msgid "Users" msgstr "" #. module: bi_view_editor -#: field:bve.view,view_id:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_view_id msgid "View" msgstr "" #. module: bi_view_editor -#: code:addons/bi_view_editor/models/bve_view.py:73 +#: code:addons/bi_view_editor/models/bve_view.py:456 #, python-format msgid "You cannot delete a created view! Reset the view to draft first." msgstr "" + +#. module: bi_view_editor +#: model:ir.model,name:bi_view_editor.model_base +msgid "base" +msgstr "" + +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:39 +#, python-format +msgid "new" +msgstr "" + +#. module: bi_view_editor +#: model:ir.model,name:bi_view_editor.model_wizard_ir_model_menu_create +msgid "wizard.ir.model.menu.create" +msgstr "" diff --git a/bi_view_editor/i18n/eu.po b/bi_view_editor/i18n/eu.po index 8887a23cc..a31b2722e 100644 --- a/bi_view_editor/i18n/eu.po +++ b/bi_view_editor/i18n/eu.po @@ -1,7 +1,7 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: # * bi_view_editor -# +# # Translators: msgid "" msgstr "" @@ -10,56 +10,99 @@ msgstr "" "POT-Creation-Date: 2017-01-21 05:51+0000\n" "PO-Revision-Date: 2016-03-21 15:33+0000\n" "Last-Translator: <>\n" -"Language-Team: Basque (http://www.transifex.com/oca/OCA-reporting-engine-8-0/language/eu/)\n" +"Language-Team: Basque (http://www.transifex.com/oca/OCA-reporting-engine-8-0/" +"language/eu/)\n" +"Language: eu\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: \n" -"Language: eu\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #. module: bi_view_editor -#: model:ir.actions.act_window,help:bi_view_editor.action_bi_view_editor_view_form -msgid "" -"

    \n" -" Click to create a Custom Query Object.\n" -"

    \n" -"\n" -"

    \n" -" " +#: code:addons/bi_view_editor/models/bve_view.py:415 +#, python-format +msgid "%s (copy)" msgstr "" #. module: bi_view_editor -#: field:bve.view,action_id:0 +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:179 +#, python-format +msgid "(join left)" +msgstr "" + +#. module: bi_view_editor +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_action_id msgid "Action" msgstr "" +#. module: bi_view_editor +#: code:addons/bi_view_editor/models/bve_view.py:409 +#, python-format +msgid "BI View" +msgstr "" + #. module: bi_view_editor #: model:ir.model,name:bi_view_editor.model_bve_view msgid "BI View Editor" msgstr "" +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/js/bi_view_editor.JoinNodeDialog.js:36 +#, python-format +msgid "Cancel" +msgstr "" + +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:18 +#, python-format +msgid "Clear" +msgstr "" + +#. module: bi_view_editor +#: model:ir.actions.act_window,help:bi_view_editor.action_bi_view_editor_view_form +msgid "Click to create a Custom Query Object." +msgstr "" + +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:103 +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:154 +#, python-format +msgid "Column" +msgstr "" + +#. module: bi_view_editor +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form +#, fuzzy +msgid "Create a Menu" +msgstr "Created on" + #. module: bi_view_editor #: selection:bve.view,state:0 msgid "Created" msgstr "" #. module: bi_view_editor -#: field:bve.view,create_uid:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_create_uid msgid "Created by" msgstr "Nork sortua" #. module: bi_view_editor -#: field:bve.view,create_date:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_create_date msgid "Created on" msgstr "Created on" #. module: bi_view_editor -#: view:bve.view:bi_view_editor.view_bi_view_editor_view_tree +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_tree msgid "Custom BI View" msgstr "" #. module: bi_view_editor -#: sql_constraint:bve.view:0 +#: code:addons/bi_view_editor/models/bve_view.py:64 sql_constraint:bve.view:0 +#, python-format msgid "Custom BI View names must be unique!" msgstr "" @@ -70,7 +113,7 @@ msgid "Custom BI Views" msgstr "" #. module: bi_view_editor -#: view:bve.view:bi_view_editor.view_bi_view_editor_view_form +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form msgid "Custom Object" msgstr "" @@ -80,12 +123,12 @@ msgid "Custom Reports" msgstr "" #. module: bi_view_editor -#: field:bve.view,data:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_data msgid "Data" msgstr "" #. module: bi_view_editor -#: field:bve.view,display_name:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_display_name msgid "Display Name" msgstr "Izena erakutsi" @@ -95,43 +138,74 @@ msgid "Draft" msgstr "" #. module: bi_view_editor -#: code:addons/bi_view_editor/models/bve_view.py:72 -#, python-format -msgid "Error" -msgstr "Errorea" - -#. module: bi_view_editor -#: view:bve.view:bi_view_editor.view_bi_view_editor_view_form +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form msgid "Generate BI View" msgstr "" #. module: bi_view_editor -#: field:bve.view,group_ids:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_group_ids msgid "Groups" msgstr "" #. module: bi_view_editor -#: field:bve.view,id:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_id msgid "ID" msgstr "ID" #. module: bi_view_editor -#: field:bve.view,__last_update:0 +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:137 +#, python-format +msgid "Join Left" +msgstr "" + +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/js/bi_view_editor.JoinNodeDialog.js:30 +#, python-format +msgid "Join..." +msgstr "" + +#. module: bi_view_editor +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view___last_update msgid "Last Modified on" msgstr "" #. module: bi_view_editor -#: field:bve.view,write_uid:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_write_uid msgid "Last Updated by" msgstr "Last Updated by" #. module: bi_view_editor -#: field:bve.view,write_date:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_write_date msgid "Last Updated on" msgstr "Last Updated on" #. module: bi_view_editor -#: field:bve.view,model_name:0 +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:124 +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:157 +#, python-format +msgid "List" +msgstr "" + +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:117 +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:156 +#, python-format +msgid "Measure" +msgstr "" + +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:86 +#, fuzzy, python-format +msgid "Model" +msgstr "Models" + +#. module: bi_view_editor +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_model_name msgid "Model Name" msgstr "" @@ -141,67 +215,144 @@ msgid "Models" msgstr "Models" #. module: bi_view_editor -#: field:bve.view,name:0 +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:85 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_name +#, python-format msgid "Name" msgstr "Izena" #. module: bi_view_editor -#: view:bve.view:bi_view_editor.view_bi_view_editor_view_form -#: field:bve.view,note:0 +#: code:addons/bi_view_editor/models/models.py:56 +#, python-format +msgid "No data to be displayed." +msgstr "" + +#. module: bi_view_editor +#: code:addons/bi_view_editor/models/bve_view.py:284 +#, python-format +msgid "No data to process." +msgstr "" + +#. module: bi_view_editor +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_note +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form msgid "Notes" msgstr "" #. module: bi_view_editor -#: view:bve.view:bi_view_editor.view_bi_view_editor_view_form +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form msgid "Open BI View" msgstr "" #. module: bi_view_editor -#: view:bve.view:bi_view_editor.view_bi_view_editor_view_form +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:87 +#, python-format +msgid "Options" +msgstr "" + +#. module: bi_view_editor +#: code:addons/bi_view_editor/models/bve_view.py:224 +#, python-format +msgid "Please select at least one group on the security tab." +msgstr "" + +#. module: bi_view_editor +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form msgid "Query" msgstr "" #. module: bi_view_editor -#: view:bve.view:bi_view_editor.view_bi_view_editor_view_form +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form msgid "Reset to Draft" msgstr "" #. module: bi_view_editor -#: view:bve.view:bi_view_editor.view_bi_view_editor_view_form +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:110 +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:155 +#, python-format +msgid "Row" +msgstr "" + +#. module: bi_view_editor +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form msgid "Security" msgstr "" #. module: bi_view_editor -#: field:bve.view,state:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_state msgid "State" msgstr "" #. module: bi_view_editor -#: help:bve.view,data:0 +#: model:ir.actions.act_window,name:bi_view_editor.action_bi_view_editor_translations +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form +msgid "Translations" +msgstr "" + +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:30 +#, python-format +msgid "Use the existing node" +msgstr "" + +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:34 +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:43 +#, python-format +msgid "Use the field" +msgstr "" + +#. module: bi_view_editor +#: model:ir.model.fields,help:bi_view_editor.field_bve_view_data msgid "" "Use the special query builder to define the query to generate your report " "dataset. NOTE: To be edited, the query should be in 'Draft' status." msgstr "" #. module: bi_view_editor -#: help:bve.view,group_ids:0 +#: model:ir.model.fields,help:bi_view_editor.field_bve_view_group_ids msgid "" "User groups allowed to see the generated report; if NO groups are specified " "the report will be public for everyone." msgstr "" #. module: bi_view_editor -#: field:bve.view,user_ids:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_user_ids msgid "Users" msgstr "" #. module: bi_view_editor -#: field:bve.view,view_id:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_view_id msgid "View" msgstr "" #. module: bi_view_editor -#: code:addons/bi_view_editor/models/bve_view.py:73 +#: code:addons/bi_view_editor/models/bve_view.py:456 #, python-format msgid "You cannot delete a created view! Reset the view to draft first." msgstr "" + +#. module: bi_view_editor +#: model:ir.model,name:bi_view_editor.model_base +msgid "base" +msgstr "" + +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:39 +#, python-format +msgid "new" +msgstr "" + +#. module: bi_view_editor +#: model:ir.model,name:bi_view_editor.model_wizard_ir_model_menu_create +msgid "wizard.ir.model.menu.create" +msgstr "" + +#~ msgid "Error" +#~ msgstr "Errorea" diff --git a/bi_view_editor/i18n/fa.po b/bi_view_editor/i18n/fa.po index 198cd3d45..777039c05 100644 --- a/bi_view_editor/i18n/fa.po +++ b/bi_view_editor/i18n/fa.po @@ -1,7 +1,7 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: # * bi_view_editor -# +# # Translators: msgid "" msgstr "" @@ -10,56 +10,99 @@ msgstr "" "POT-Creation-Date: 2016-09-18 04:34+0000\n" "PO-Revision-Date: 2016-03-21 15:33+0000\n" "Last-Translator: <>\n" -"Language-Team: Persian (http://www.transifex.com/oca/OCA-reporting-engine-8-0/language/fa/)\n" +"Language-Team: Persian (http://www.transifex.com/oca/OCA-reporting-" +"engine-8-0/language/fa/)\n" +"Language: fa\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: \n" -"Language: fa\n" "Plural-Forms: nplurals=1; plural=0;\n" #. module: bi_view_editor -#: model:ir.actions.act_window,help:bi_view_editor.action_bi_view_editor_view_form -msgid "" -"

    \n" -" Click to create a Custom Query Object.\n" -"

    \n" -"\n" -"

    \n" -" " +#: code:addons/bi_view_editor/models/bve_view.py:415 +#, python-format +msgid "%s (copy)" msgstr "" #. module: bi_view_editor -#: field:bve.view,action_id:0 +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:179 +#, python-format +msgid "(join left)" +msgstr "" + +#. module: bi_view_editor +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_action_id msgid "Action" msgstr "" +#. module: bi_view_editor +#: code:addons/bi_view_editor/models/bve_view.py:409 +#, python-format +msgid "BI View" +msgstr "" + #. module: bi_view_editor #: model:ir.model,name:bi_view_editor.model_bve_view msgid "BI View Editor" msgstr "" +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/js/bi_view_editor.JoinNodeDialog.js:36 +#, python-format +msgid "Cancel" +msgstr "" + +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:18 +#, python-format +msgid "Clear" +msgstr "" + +#. module: bi_view_editor +#: model:ir.actions.act_window,help:bi_view_editor.action_bi_view_editor_view_form +msgid "Click to create a Custom Query Object." +msgstr "" + +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:103 +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:154 +#, python-format +msgid "Column" +msgstr "" + +#. module: bi_view_editor +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form +#, fuzzy +msgid "Create a Menu" +msgstr "ایجاد شده در" + #. module: bi_view_editor #: selection:bve.view,state:0 msgid "Created" msgstr "" #. module: bi_view_editor -#: field:bve.view,create_uid:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_create_uid msgid "Created by" msgstr "ایجاد شده توسط" #. module: bi_view_editor -#: field:bve.view,create_date:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_create_date msgid "Created on" msgstr "ایجاد شده در" #. module: bi_view_editor -#: view:bve.view:bi_view_editor.view_bi_view_editor_view_tree +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_tree msgid "Custom BI View" msgstr "" #. module: bi_view_editor -#: sql_constraint:bve.view:0 +#: code:addons/bi_view_editor/models/bve_view.py:64 sql_constraint:bve.view:0 +#, python-format msgid "Custom BI View names must be unique!" msgstr "" @@ -70,7 +113,7 @@ msgid "Custom BI Views" msgstr "" #. module: bi_view_editor -#: view:bve.view:bi_view_editor.view_bi_view_editor_view_form +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form msgid "Custom Object" msgstr "" @@ -80,12 +123,12 @@ msgid "Custom Reports" msgstr "" #. module: bi_view_editor -#: field:bve.view,data:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_data msgid "Data" msgstr "" #. module: bi_view_editor -#: field:bve.view,display_name:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_display_name msgid "Display Name" msgstr "نام نمایشی" @@ -95,43 +138,74 @@ msgid "Draft" msgstr "" #. module: bi_view_editor -#: code:addons/bi_view_editor/models/bve_view.py:72 -#, python-format -msgid "Error" -msgstr "" - -#. module: bi_view_editor -#: view:bve.view:bi_view_editor.view_bi_view_editor_view_form +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form msgid "Generate BI View" msgstr "" #. module: bi_view_editor -#: field:bve.view,group_ids:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_group_ids msgid "Groups" msgstr "" #. module: bi_view_editor -#: field:bve.view,id:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_id msgid "ID" msgstr "شناسه" #. module: bi_view_editor -#: field:bve.view,__last_update:0 +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:137 +#, python-format +msgid "Join Left" +msgstr "" + +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/js/bi_view_editor.JoinNodeDialog.js:30 +#, python-format +msgid "Join..." +msgstr "" + +#. module: bi_view_editor +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view___last_update msgid "Last Modified on" msgstr "تاریخ آخرین به‌روزرسانی" #. module: bi_view_editor -#: field:bve.view,write_uid:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_write_uid msgid "Last Updated by" msgstr "آخرین به روز رسانی توسط" #. module: bi_view_editor -#: field:bve.view,write_date:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_write_date msgid "Last Updated on" msgstr "آخرین به روز رسانی در" #. module: bi_view_editor -#: field:bve.view,model_name:0 +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:124 +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:157 +#, python-format +msgid "List" +msgstr "" + +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:117 +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:156 +#, python-format +msgid "Measure" +msgstr "" + +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:86 +#, python-format +msgid "Model" +msgstr "" + +#. module: bi_view_editor +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_model_name msgid "Model Name" msgstr "" @@ -141,67 +215,141 @@ msgid "Models" msgstr "" #. module: bi_view_editor -#: field:bve.view,name:0 +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:85 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_name +#, python-format msgid "Name" msgstr "نام" #. module: bi_view_editor -#: view:bve.view:bi_view_editor.view_bi_view_editor_view_form -#: field:bve.view,note:0 +#: code:addons/bi_view_editor/models/models.py:56 +#, python-format +msgid "No data to be displayed." +msgstr "" + +#. module: bi_view_editor +#: code:addons/bi_view_editor/models/bve_view.py:284 +#, python-format +msgid "No data to process." +msgstr "" + +#. module: bi_view_editor +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_note +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form msgid "Notes" msgstr "" #. module: bi_view_editor -#: view:bve.view:bi_view_editor.view_bi_view_editor_view_form +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form msgid "Open BI View" msgstr "" #. module: bi_view_editor -#: view:bve.view:bi_view_editor.view_bi_view_editor_view_form +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:87 +#, python-format +msgid "Options" +msgstr "" + +#. module: bi_view_editor +#: code:addons/bi_view_editor/models/bve_view.py:224 +#, python-format +msgid "Please select at least one group on the security tab." +msgstr "" + +#. module: bi_view_editor +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form msgid "Query" msgstr "" #. module: bi_view_editor -#: view:bve.view:bi_view_editor.view_bi_view_editor_view_form +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form msgid "Reset to Draft" msgstr "" #. module: bi_view_editor -#: view:bve.view:bi_view_editor.view_bi_view_editor_view_form +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:110 +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:155 +#, python-format +msgid "Row" +msgstr "" + +#. module: bi_view_editor +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form msgid "Security" msgstr "امنیت" #. module: bi_view_editor -#: field:bve.view,state:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_state msgid "State" msgstr "" #. module: bi_view_editor -#: help:bve.view,data:0 +#: model:ir.actions.act_window,name:bi_view_editor.action_bi_view_editor_translations +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form +msgid "Translations" +msgstr "" + +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:30 +#, python-format +msgid "Use the existing node" +msgstr "" + +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:34 +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:43 +#, python-format +msgid "Use the field" +msgstr "" + +#. module: bi_view_editor +#: model:ir.model.fields,help:bi_view_editor.field_bve_view_data msgid "" "Use the special query builder to define the query to generate your report " "dataset. NOTE: To be edited, the query should be in 'Draft' status." msgstr "" #. module: bi_view_editor -#: help:bve.view,group_ids:0 +#: model:ir.model.fields,help:bi_view_editor.field_bve_view_group_ids msgid "" "User groups allowed to see the generated report; if NO groups are specified " "the report will be public for everyone." msgstr "" #. module: bi_view_editor -#: field:bve.view,user_ids:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_user_ids msgid "Users" msgstr "" #. module: bi_view_editor -#: field:bve.view,view_id:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_view_id msgid "View" msgstr "" #. module: bi_view_editor -#: code:addons/bi_view_editor/models/bve_view.py:73 +#: code:addons/bi_view_editor/models/bve_view.py:456 #, python-format msgid "You cannot delete a created view! Reset the view to draft first." msgstr "" + +#. module: bi_view_editor +#: model:ir.model,name:bi_view_editor.model_base +msgid "base" +msgstr "" + +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:39 +#, python-format +msgid "new" +msgstr "" + +#. module: bi_view_editor +#: model:ir.model,name:bi_view_editor.model_wizard_ir_model_menu_create +msgid "wizard.ir.model.menu.create" +msgstr "" diff --git a/bi_view_editor/i18n/fi.po b/bi_view_editor/i18n/fi.po index bf1693d04..232dd3a61 100644 --- a/bi_view_editor/i18n/fi.po +++ b/bi_view_editor/i18n/fi.po @@ -1,7 +1,7 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: # * bi_view_editor -# +# # Translators: msgid "" msgstr "" @@ -10,56 +10,99 @@ msgstr "" "POT-Creation-Date: 2017-01-21 05:51+0000\n" "PO-Revision-Date: 2016-03-21 15:33+0000\n" "Last-Translator: <>\n" -"Language-Team: Finnish (http://www.transifex.com/oca/OCA-reporting-engine-8-0/language/fi/)\n" +"Language-Team: Finnish (http://www.transifex.com/oca/OCA-reporting-" +"engine-8-0/language/fi/)\n" +"Language: 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: bi_view_editor -#: model:ir.actions.act_window,help:bi_view_editor.action_bi_view_editor_view_form -msgid "" -"

    \n" -" Click to create a Custom Query Object.\n" -"

    \n" -"\n" -"

    \n" -" " +#: code:addons/bi_view_editor/models/bve_view.py:415 +#, python-format +msgid "%s (copy)" msgstr "" #. module: bi_view_editor -#: field:bve.view,action_id:0 +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:179 +#, python-format +msgid "(join left)" +msgstr "" + +#. module: bi_view_editor +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_action_id msgid "Action" msgstr "Toiminto" +#. module: bi_view_editor +#: code:addons/bi_view_editor/models/bve_view.py:409 +#, python-format +msgid "BI View" +msgstr "" + #. module: bi_view_editor #: model:ir.model,name:bi_view_editor.model_bve_view msgid "BI View Editor" msgstr "" +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/js/bi_view_editor.JoinNodeDialog.js:36 +#, python-format +msgid "Cancel" +msgstr "" + +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:18 +#, python-format +msgid "Clear" +msgstr "" + +#. module: bi_view_editor +#: model:ir.actions.act_window,help:bi_view_editor.action_bi_view_editor_view_form +msgid "Click to create a Custom Query Object." +msgstr "" + +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:103 +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:154 +#, python-format +msgid "Column" +msgstr "" + +#. module: bi_view_editor +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form +#, fuzzy +msgid "Create a Menu" +msgstr "Luotu" + #. module: bi_view_editor #: selection:bve.view,state:0 msgid "Created" msgstr "" #. module: bi_view_editor -#: field:bve.view,create_uid:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_create_uid msgid "Created by" msgstr "Luonut" #. module: bi_view_editor -#: field:bve.view,create_date:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_create_date msgid "Created on" msgstr "Luotu" #. module: bi_view_editor -#: view:bve.view:bi_view_editor.view_bi_view_editor_view_tree +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_tree msgid "Custom BI View" msgstr "" #. module: bi_view_editor -#: sql_constraint:bve.view:0 +#: code:addons/bi_view_editor/models/bve_view.py:64 sql_constraint:bve.view:0 +#, python-format msgid "Custom BI View names must be unique!" msgstr "" @@ -70,7 +113,7 @@ msgid "Custom BI Views" msgstr "" #. module: bi_view_editor -#: view:bve.view:bi_view_editor.view_bi_view_editor_view_form +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form msgid "Custom Object" msgstr "" @@ -80,12 +123,12 @@ msgid "Custom Reports" msgstr "" #. module: bi_view_editor -#: field:bve.view,data:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_data msgid "Data" msgstr "" #. module: bi_view_editor -#: field:bve.view,display_name:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_display_name msgid "Display Name" msgstr "Nimi" @@ -95,43 +138,74 @@ msgid "Draft" msgstr "Luonnos" #. module: bi_view_editor -#: code:addons/bi_view_editor/models/bve_view.py:72 -#, python-format -msgid "Error" -msgstr "Virhe" - -#. module: bi_view_editor -#: view:bve.view:bi_view_editor.view_bi_view_editor_view_form +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form msgid "Generate BI View" msgstr "" #. module: bi_view_editor -#: field:bve.view,group_ids:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_group_ids msgid "Groups" msgstr "" #. module: bi_view_editor -#: field:bve.view,id:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_id msgid "ID" msgstr "ID" #. module: bi_view_editor -#: field:bve.view,__last_update:0 +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:137 +#, python-format +msgid "Join Left" +msgstr "" + +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/js/bi_view_editor.JoinNodeDialog.js:30 +#, python-format +msgid "Join..." +msgstr "" + +#. module: bi_view_editor +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view___last_update msgid "Last Modified on" msgstr "Viimeksi muokattu" #. module: bi_view_editor -#: field:bve.view,write_uid:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_write_uid msgid "Last Updated by" msgstr "Viimeksi päivittänyt" #. module: bi_view_editor -#: field:bve.view,write_date:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_write_date msgid "Last Updated on" msgstr "Viimeksi päivitetty" #. module: bi_view_editor -#: field:bve.view,model_name:0 +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:124 +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:157 +#, python-format +msgid "List" +msgstr "" + +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:117 +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:156 +#, python-format +msgid "Measure" +msgstr "" + +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:86 +#, fuzzy, python-format +msgid "Model" +msgstr "Mallit" + +#. module: bi_view_editor +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_model_name msgid "Model Name" msgstr "" @@ -141,67 +215,144 @@ msgid "Models" msgstr "Mallit" #. module: bi_view_editor -#: field:bve.view,name:0 +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:85 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_name +#, python-format msgid "Name" msgstr "Nimi" #. module: bi_view_editor -#: view:bve.view:bi_view_editor.view_bi_view_editor_view_form -#: field:bve.view,note:0 +#: code:addons/bi_view_editor/models/models.py:56 +#, python-format +msgid "No data to be displayed." +msgstr "" + +#. module: bi_view_editor +#: code:addons/bi_view_editor/models/bve_view.py:284 +#, python-format +msgid "No data to process." +msgstr "" + +#. module: bi_view_editor +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_note +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form msgid "Notes" msgstr "Huomautukset" #. module: bi_view_editor -#: view:bve.view:bi_view_editor.view_bi_view_editor_view_form +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form msgid "Open BI View" msgstr "" #. module: bi_view_editor -#: view:bve.view:bi_view_editor.view_bi_view_editor_view_form +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:87 +#, fuzzy, python-format +msgid "Options" +msgstr "Toiminto" + +#. module: bi_view_editor +#: code:addons/bi_view_editor/models/bve_view.py:224 +#, python-format +msgid "Please select at least one group on the security tab." +msgstr "" + +#. module: bi_view_editor +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form msgid "Query" msgstr "" #. module: bi_view_editor -#: view:bve.view:bi_view_editor.view_bi_view_editor_view_form +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form msgid "Reset to Draft" msgstr "Palauta luonnokseksi" #. module: bi_view_editor -#: view:bve.view:bi_view_editor.view_bi_view_editor_view_form +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:110 +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:155 +#, python-format +msgid "Row" +msgstr "" + +#. module: bi_view_editor +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form msgid "Security" msgstr "" #. module: bi_view_editor -#: field:bve.view,state:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_state msgid "State" msgstr "Tila" #. module: bi_view_editor -#: help:bve.view,data:0 +#: model:ir.actions.act_window,name:bi_view_editor.action_bi_view_editor_translations +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form +msgid "Translations" +msgstr "" + +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:30 +#, python-format +msgid "Use the existing node" +msgstr "" + +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:34 +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:43 +#, python-format +msgid "Use the field" +msgstr "" + +#. module: bi_view_editor +#: model:ir.model.fields,help:bi_view_editor.field_bve_view_data msgid "" "Use the special query builder to define the query to generate your report " "dataset. NOTE: To be edited, the query should be in 'Draft' status." msgstr "" #. module: bi_view_editor -#: help:bve.view,group_ids:0 +#: model:ir.model.fields,help:bi_view_editor.field_bve_view_group_ids msgid "" "User groups allowed to see the generated report; if NO groups are specified " "the report will be public for everyone." msgstr "" #. module: bi_view_editor -#: field:bve.view,user_ids:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_user_ids msgid "Users" msgstr "Käyttäjät" #. module: bi_view_editor -#: field:bve.view,view_id:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_view_id msgid "View" msgstr "" #. module: bi_view_editor -#: code:addons/bi_view_editor/models/bve_view.py:73 +#: code:addons/bi_view_editor/models/bve_view.py:456 #, python-format msgid "You cannot delete a created view! Reset the view to draft first." msgstr "" + +#. module: bi_view_editor +#: model:ir.model,name:bi_view_editor.model_base +msgid "base" +msgstr "" + +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:39 +#, python-format +msgid "new" +msgstr "" + +#. module: bi_view_editor +#: model:ir.model,name:bi_view_editor.model_wizard_ir_model_menu_create +msgid "wizard.ir.model.menu.create" +msgstr "" + +#~ msgid "Error" +#~ msgstr "Virhe" diff --git a/bi_view_editor/i18n/fr.po b/bi_view_editor/i18n/fr.po index 20d9b8336..a99f62f01 100644 --- a/bi_view_editor/i18n/fr.po +++ b/bi_view_editor/i18n/fr.po @@ -1,7 +1,7 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: # * bi_view_editor -# +# # Translators: msgid "" msgstr "" @@ -10,56 +10,99 @@ msgstr "" "POT-Creation-Date: 2016-12-03 04:09+0000\n" "PO-Revision-Date: 2016-03-21 15:33+0000\n" "Last-Translator: <>\n" -"Language-Team: French (http://www.transifex.com/oca/OCA-reporting-engine-8-0/language/fr/)\n" +"Language-Team: French (http://www.transifex.com/oca/OCA-reporting-engine-8-0/" +"language/fr/)\n" +"Language: fr\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" #. module: bi_view_editor -#: model:ir.actions.act_window,help:bi_view_editor.action_bi_view_editor_view_form -msgid "" -"

    \n" -" Click to create a Custom Query Object.\n" -"

    \n" -"\n" -"

    \n" -" " +#: code:addons/bi_view_editor/models/bve_view.py:415 +#, python-format +msgid "%s (copy)" msgstr "" #. module: bi_view_editor -#: field:bve.view,action_id:0 +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:179 +#, python-format +msgid "(join left)" +msgstr "" + +#. module: bi_view_editor +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_action_id msgid "Action" msgstr "Action" +#. module: bi_view_editor +#: code:addons/bi_view_editor/models/bve_view.py:409 +#, python-format +msgid "BI View" +msgstr "" + #. module: bi_view_editor #: model:ir.model,name:bi_view_editor.model_bve_view msgid "BI View Editor" msgstr "" +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/js/bi_view_editor.JoinNodeDialog.js:36 +#, python-format +msgid "Cancel" +msgstr "" + +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:18 +#, python-format +msgid "Clear" +msgstr "" + +#. module: bi_view_editor +#: model:ir.actions.act_window,help:bi_view_editor.action_bi_view_editor_view_form +msgid "Click to create a Custom Query Object." +msgstr "" + +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:103 +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:154 +#, python-format +msgid "Column" +msgstr "" + +#. module: bi_view_editor +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form +#, fuzzy +msgid "Create a Menu" +msgstr "Date" + #. module: bi_view_editor #: selection:bve.view,state:0 msgid "Created" msgstr "" #. module: bi_view_editor -#: field:bve.view,create_uid:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_create_uid msgid "Created by" msgstr "Créé par" #. module: bi_view_editor -#: field:bve.view,create_date:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_create_date msgid "Created on" msgstr "Date" #. module: bi_view_editor -#: view:bve.view:bi_view_editor.view_bi_view_editor_view_tree +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_tree msgid "Custom BI View" msgstr "" #. module: bi_view_editor -#: sql_constraint:bve.view:0 +#: code:addons/bi_view_editor/models/bve_view.py:64 sql_constraint:bve.view:0 +#, python-format msgid "Custom BI View names must be unique!" msgstr "" @@ -70,7 +113,7 @@ msgid "Custom BI Views" msgstr "" #. module: bi_view_editor -#: view:bve.view:bi_view_editor.view_bi_view_editor_view_form +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form msgid "Custom Object" msgstr "" @@ -80,12 +123,12 @@ msgid "Custom Reports" msgstr "" #. module: bi_view_editor -#: field:bve.view,data:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_data msgid "Data" msgstr "" #. module: bi_view_editor -#: field:bve.view,display_name:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_display_name msgid "Display Name" msgstr "Nom à afficher" @@ -95,43 +138,74 @@ msgid "Draft" msgstr "Brouillon" #. module: bi_view_editor -#: code:addons/bi_view_editor/models/bve_view.py:72 -#, python-format -msgid "Error" -msgstr "Erreur" - -#. module: bi_view_editor -#: view:bve.view:bi_view_editor.view_bi_view_editor_view_form +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form msgid "Generate BI View" msgstr "" #. module: bi_view_editor -#: field:bve.view,group_ids:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_group_ids msgid "Groups" msgstr "Groupes" #. module: bi_view_editor -#: field:bve.view,id:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_id msgid "ID" msgstr "ID" #. module: bi_view_editor -#: field:bve.view,__last_update:0 +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:137 +#, python-format +msgid "Join Left" +msgstr "" + +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/js/bi_view_editor.JoinNodeDialog.js:30 +#, python-format +msgid "Join..." +msgstr "" + +#. module: bi_view_editor +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view___last_update msgid "Last Modified on" msgstr "Dernière modification le" #. module: bi_view_editor -#: field:bve.view,write_uid:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_write_uid msgid "Last Updated by" msgstr "Dernière mise à jour par" #. module: bi_view_editor -#: field:bve.view,write_date:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_write_date msgid "Last Updated on" msgstr "Dernière mise à jour le" #. module: bi_view_editor -#: field:bve.view,model_name:0 +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:124 +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:157 +#, python-format +msgid "List" +msgstr "" + +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:117 +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:156 +#, python-format +msgid "Measure" +msgstr "" + +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:86 +#, fuzzy, python-format +msgid "Model" +msgstr "Modèles" + +#. module: bi_view_editor +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_model_name msgid "Model Name" msgstr "" @@ -141,67 +215,144 @@ msgid "Models" msgstr "Modèles" #. module: bi_view_editor -#: field:bve.view,name:0 +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:85 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_name +#, python-format msgid "Name" msgstr "Nom" #. module: bi_view_editor -#: view:bve.view:bi_view_editor.view_bi_view_editor_view_form -#: field:bve.view,note:0 +#: code:addons/bi_view_editor/models/models.py:56 +#, python-format +msgid "No data to be displayed." +msgstr "" + +#. module: bi_view_editor +#: code:addons/bi_view_editor/models/bve_view.py:284 +#, python-format +msgid "No data to process." +msgstr "" + +#. module: bi_view_editor +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_note +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form msgid "Notes" msgstr "Commentaires" #. module: bi_view_editor -#: view:bve.view:bi_view_editor.view_bi_view_editor_view_form +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form msgid "Open BI View" msgstr "" #. module: bi_view_editor -#: view:bve.view:bi_view_editor.view_bi_view_editor_view_form +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:87 +#, fuzzy, python-format +msgid "Options" +msgstr "Action" + +#. module: bi_view_editor +#: code:addons/bi_view_editor/models/bve_view.py:224 +#, python-format +msgid "Please select at least one group on the security tab." +msgstr "" + +#. module: bi_view_editor +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form msgid "Query" msgstr "" #. module: bi_view_editor -#: view:bve.view:bi_view_editor.view_bi_view_editor_view_form +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form msgid "Reset to Draft" msgstr "" #. module: bi_view_editor -#: view:bve.view:bi_view_editor.view_bi_view_editor_view_form +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:110 +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:155 +#, python-format +msgid "Row" +msgstr "" + +#. module: bi_view_editor +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form msgid "Security" msgstr "" #. module: bi_view_editor -#: field:bve.view,state:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_state msgid "State" msgstr "État" #. module: bi_view_editor -#: help:bve.view,data:0 +#: model:ir.actions.act_window,name:bi_view_editor.action_bi_view_editor_translations +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form +msgid "Translations" +msgstr "" + +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:30 +#, python-format +msgid "Use the existing node" +msgstr "" + +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:34 +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:43 +#, python-format +msgid "Use the field" +msgstr "" + +#. module: bi_view_editor +#: model:ir.model.fields,help:bi_view_editor.field_bve_view_data msgid "" "Use the special query builder to define the query to generate your report " "dataset. NOTE: To be edited, the query should be in 'Draft' status." msgstr "" #. module: bi_view_editor -#: help:bve.view,group_ids:0 +#: model:ir.model.fields,help:bi_view_editor.field_bve_view_group_ids msgid "" "User groups allowed to see the generated report; if NO groups are specified " "the report will be public for everyone." msgstr "" #. module: bi_view_editor -#: field:bve.view,user_ids:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_user_ids msgid "Users" msgstr "Utilisateurs" #. module: bi_view_editor -#: field:bve.view,view_id:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_view_id msgid "View" msgstr "" #. module: bi_view_editor -#: code:addons/bi_view_editor/models/bve_view.py:73 +#: code:addons/bi_view_editor/models/bve_view.py:456 #, python-format msgid "You cannot delete a created view! Reset the view to draft first." msgstr "" + +#. module: bi_view_editor +#: model:ir.model,name:bi_view_editor.model_base +msgid "base" +msgstr "" + +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:39 +#, python-format +msgid "new" +msgstr "" + +#. module: bi_view_editor +#: model:ir.model,name:bi_view_editor.model_wizard_ir_model_menu_create +msgid "wizard.ir.model.menu.create" +msgstr "" + +#~ msgid "Error" +#~ msgstr "Erreur" diff --git a/bi_view_editor/i18n/fr_CA.po b/bi_view_editor/i18n/fr_CA.po index 6570510d1..a57fa03a7 100644 --- a/bi_view_editor/i18n/fr_CA.po +++ b/bi_view_editor/i18n/fr_CA.po @@ -1,7 +1,7 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: # * bi_view_editor -# +# # Translators: msgid "" msgstr "" @@ -10,56 +10,99 @@ msgstr "" "POT-Creation-Date: 2016-12-24 04:38+0000\n" "PO-Revision-Date: 2016-03-21 15:33+0000\n" "Last-Translator: <>\n" -"Language-Team: French (Canada) (http://www.transifex.com/oca/OCA-reporting-engine-8-0/language/fr_CA/)\n" +"Language-Team: French (Canada) (http://www.transifex.com/oca/OCA-reporting-" +"engine-8-0/language/fr_CA/)\n" +"Language: fr_CA\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: \n" -"Language: fr_CA\n" "Plural-Forms: nplurals=2; plural=(n > 1);\n" #. module: bi_view_editor -#: model:ir.actions.act_window,help:bi_view_editor.action_bi_view_editor_view_form -msgid "" -"

    \n" -" Click to create a Custom Query Object.\n" -"

    \n" -"\n" -"

    \n" -" " +#: code:addons/bi_view_editor/models/bve_view.py:415 +#, python-format +msgid "%s (copy)" msgstr "" #. module: bi_view_editor -#: field:bve.view,action_id:0 +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:179 +#, python-format +msgid "(join left)" +msgstr "" + +#. module: bi_view_editor +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_action_id msgid "Action" msgstr "" +#. module: bi_view_editor +#: code:addons/bi_view_editor/models/bve_view.py:409 +#, python-format +msgid "BI View" +msgstr "" + #. module: bi_view_editor #: model:ir.model,name:bi_view_editor.model_bve_view msgid "BI View Editor" msgstr "" +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/js/bi_view_editor.JoinNodeDialog.js:36 +#, python-format +msgid "Cancel" +msgstr "" + +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:18 +#, python-format +msgid "Clear" +msgstr "" + +#. module: bi_view_editor +#: model:ir.actions.act_window,help:bi_view_editor.action_bi_view_editor_view_form +msgid "Click to create a Custom Query Object." +msgstr "" + +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:103 +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:154 +#, python-format +msgid "Column" +msgstr "" + +#. module: bi_view_editor +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form +#, fuzzy +msgid "Create a Menu" +msgstr "Créé le" + #. module: bi_view_editor #: selection:bve.view,state:0 msgid "Created" msgstr "" #. module: bi_view_editor -#: field:bve.view,create_uid:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_create_uid msgid "Created by" msgstr "Créé par" #. module: bi_view_editor -#: field:bve.view,create_date:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_create_date msgid "Created on" msgstr "Créé le" #. module: bi_view_editor -#: view:bve.view:bi_view_editor.view_bi_view_editor_view_tree +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_tree msgid "Custom BI View" msgstr "" #. module: bi_view_editor -#: sql_constraint:bve.view:0 +#: code:addons/bi_view_editor/models/bve_view.py:64 sql_constraint:bve.view:0 +#, python-format msgid "Custom BI View names must be unique!" msgstr "" @@ -70,7 +113,7 @@ msgid "Custom BI Views" msgstr "" #. module: bi_view_editor -#: view:bve.view:bi_view_editor.view_bi_view_editor_view_form +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form msgid "Custom Object" msgstr "" @@ -80,12 +123,12 @@ msgid "Custom Reports" msgstr "" #. module: bi_view_editor -#: field:bve.view,data:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_data msgid "Data" msgstr "" #. module: bi_view_editor -#: field:bve.view,display_name:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_display_name msgid "Display Name" msgstr "Afficher le nom" @@ -95,43 +138,74 @@ msgid "Draft" msgstr "" #. module: bi_view_editor -#: code:addons/bi_view_editor/models/bve_view.py:72 -#, python-format -msgid "Error" -msgstr "" - -#. module: bi_view_editor -#: view:bve.view:bi_view_editor.view_bi_view_editor_view_form +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form msgid "Generate BI View" msgstr "" #. module: bi_view_editor -#: field:bve.view,group_ids:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_group_ids msgid "Groups" msgstr "" #. module: bi_view_editor -#: field:bve.view,id:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_id msgid "ID" msgstr "Identifiant" #. module: bi_view_editor -#: field:bve.view,__last_update:0 +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:137 +#, python-format +msgid "Join Left" +msgstr "" + +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/js/bi_view_editor.JoinNodeDialog.js:30 +#, python-format +msgid "Join..." +msgstr "" + +#. module: bi_view_editor +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view___last_update msgid "Last Modified on" msgstr "" #. module: bi_view_editor -#: field:bve.view,write_uid:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_write_uid msgid "Last Updated by" msgstr "Dernière mise à jour par" #. module: bi_view_editor -#: field:bve.view,write_date:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_write_date msgid "Last Updated on" msgstr "Dernière mise à jour le" #. module: bi_view_editor -#: field:bve.view,model_name:0 +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:124 +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:157 +#, python-format +msgid "List" +msgstr "" + +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:117 +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:156 +#, python-format +msgid "Measure" +msgstr "" + +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:86 +#, python-format +msgid "Model" +msgstr "" + +#. module: bi_view_editor +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_model_name msgid "Model Name" msgstr "" @@ -141,67 +215,141 @@ msgid "Models" msgstr "" #. module: bi_view_editor -#: field:bve.view,name:0 +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:85 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_name +#, python-format msgid "Name" msgstr "Nom" #. module: bi_view_editor -#: view:bve.view:bi_view_editor.view_bi_view_editor_view_form -#: field:bve.view,note:0 +#: code:addons/bi_view_editor/models/models.py:56 +#, python-format +msgid "No data to be displayed." +msgstr "" + +#. module: bi_view_editor +#: code:addons/bi_view_editor/models/bve_view.py:284 +#, python-format +msgid "No data to process." +msgstr "" + +#. module: bi_view_editor +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_note +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form msgid "Notes" msgstr "" #. module: bi_view_editor -#: view:bve.view:bi_view_editor.view_bi_view_editor_view_form +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form msgid "Open BI View" msgstr "" #. module: bi_view_editor -#: view:bve.view:bi_view_editor.view_bi_view_editor_view_form +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:87 +#, python-format +msgid "Options" +msgstr "" + +#. module: bi_view_editor +#: code:addons/bi_view_editor/models/bve_view.py:224 +#, python-format +msgid "Please select at least one group on the security tab." +msgstr "" + +#. module: bi_view_editor +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form msgid "Query" msgstr "" #. module: bi_view_editor -#: view:bve.view:bi_view_editor.view_bi_view_editor_view_form +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form msgid "Reset to Draft" msgstr "" #. module: bi_view_editor -#: view:bve.view:bi_view_editor.view_bi_view_editor_view_form +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:110 +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:155 +#, python-format +msgid "Row" +msgstr "" + +#. module: bi_view_editor +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form msgid "Security" msgstr "" #. module: bi_view_editor -#: field:bve.view,state:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_state msgid "State" msgstr "" #. module: bi_view_editor -#: help:bve.view,data:0 +#: model:ir.actions.act_window,name:bi_view_editor.action_bi_view_editor_translations +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form +msgid "Translations" +msgstr "" + +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:30 +#, python-format +msgid "Use the existing node" +msgstr "" + +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:34 +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:43 +#, python-format +msgid "Use the field" +msgstr "" + +#. module: bi_view_editor +#: model:ir.model.fields,help:bi_view_editor.field_bve_view_data msgid "" "Use the special query builder to define the query to generate your report " "dataset. NOTE: To be edited, the query should be in 'Draft' status." msgstr "" #. module: bi_view_editor -#: help:bve.view,group_ids:0 +#: model:ir.model.fields,help:bi_view_editor.field_bve_view_group_ids msgid "" "User groups allowed to see the generated report; if NO groups are specified " "the report will be public for everyone." msgstr "" #. module: bi_view_editor -#: field:bve.view,user_ids:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_user_ids msgid "Users" msgstr "" #. module: bi_view_editor -#: field:bve.view,view_id:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_view_id msgid "View" msgstr "" #. module: bi_view_editor -#: code:addons/bi_view_editor/models/bve_view.py:73 +#: code:addons/bi_view_editor/models/bve_view.py:456 #, python-format msgid "You cannot delete a created view! Reset the view to draft first." msgstr "" + +#. module: bi_view_editor +#: model:ir.model,name:bi_view_editor.model_base +msgid "base" +msgstr "" + +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:39 +#, python-format +msgid "new" +msgstr "" + +#. module: bi_view_editor +#: model:ir.model,name:bi_view_editor.model_wizard_ir_model_menu_create +msgid "wizard.ir.model.menu.create" +msgstr "" diff --git a/bi_view_editor/i18n/fr_CH.po b/bi_view_editor/i18n/fr_CH.po index 4c4c3b5c2..d7a4ee7bf 100644 --- a/bi_view_editor/i18n/fr_CH.po +++ b/bi_view_editor/i18n/fr_CH.po @@ -1,7 +1,7 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: # * bi_view_editor -# +# # Translators: msgid "" msgstr "" @@ -10,56 +10,99 @@ msgstr "" "POT-Creation-Date: 2016-11-29 16:14+0000\n" "PO-Revision-Date: 2016-03-21 15:33+0000\n" "Last-Translator: <>\n" -"Language-Team: French (Switzerland) (http://www.transifex.com/oca/OCA-reporting-engine-8-0/language/fr_CH/)\n" +"Language-Team: French (Switzerland) (http://www.transifex.com/oca/OCA-" +"reporting-engine-8-0/language/fr_CH/)\n" +"Language: fr_CH\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: \n" -"Language: fr_CH\n" "Plural-Forms: nplurals=2; plural=(n > 1);\n" #. module: bi_view_editor -#: model:ir.actions.act_window,help:bi_view_editor.action_bi_view_editor_view_form -msgid "" -"

    \n" -" Click to create a Custom Query Object.\n" -"

    \n" -"\n" -"

    \n" -" " +#: code:addons/bi_view_editor/models/bve_view.py:415 +#, python-format +msgid "%s (copy)" msgstr "" #. module: bi_view_editor -#: field:bve.view,action_id:0 +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:179 +#, python-format +msgid "(join left)" +msgstr "" + +#. module: bi_view_editor +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_action_id msgid "Action" msgstr "" +#. module: bi_view_editor +#: code:addons/bi_view_editor/models/bve_view.py:409 +#, python-format +msgid "BI View" +msgstr "" + #. module: bi_view_editor #: model:ir.model,name:bi_view_editor.model_bve_view msgid "BI View Editor" msgstr "" +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/js/bi_view_editor.JoinNodeDialog.js:36 +#, python-format +msgid "Cancel" +msgstr "" + +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:18 +#, python-format +msgid "Clear" +msgstr "" + +#. module: bi_view_editor +#: model:ir.actions.act_window,help:bi_view_editor.action_bi_view_editor_view_form +msgid "Click to create a Custom Query Object." +msgstr "" + +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:103 +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:154 +#, python-format +msgid "Column" +msgstr "" + +#. module: bi_view_editor +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form +#, fuzzy +msgid "Create a Menu" +msgstr "Créé le" + #. module: bi_view_editor #: selection:bve.view,state:0 msgid "Created" msgstr "" #. module: bi_view_editor -#: field:bve.view,create_uid:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_create_uid msgid "Created by" msgstr "Créé par" #. module: bi_view_editor -#: field:bve.view,create_date:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_create_date msgid "Created on" msgstr "Créé le" #. module: bi_view_editor -#: view:bve.view:bi_view_editor.view_bi_view_editor_view_tree +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_tree msgid "Custom BI View" msgstr "" #. module: bi_view_editor -#: sql_constraint:bve.view:0 +#: code:addons/bi_view_editor/models/bve_view.py:64 sql_constraint:bve.view:0 +#, python-format msgid "Custom BI View names must be unique!" msgstr "" @@ -70,7 +113,7 @@ msgid "Custom BI Views" msgstr "" #. module: bi_view_editor -#: view:bve.view:bi_view_editor.view_bi_view_editor_view_form +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form msgid "Custom Object" msgstr "" @@ -80,12 +123,12 @@ msgid "Custom Reports" msgstr "" #. module: bi_view_editor -#: field:bve.view,data:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_data msgid "Data" msgstr "" #. module: bi_view_editor -#: field:bve.view,display_name:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_display_name msgid "Display Name" msgstr "Nom affiché" @@ -95,43 +138,74 @@ msgid "Draft" msgstr "" #. module: bi_view_editor -#: code:addons/bi_view_editor/models/bve_view.py:72 -#, python-format -msgid "Error" -msgstr "" - -#. module: bi_view_editor -#: view:bve.view:bi_view_editor.view_bi_view_editor_view_form +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form msgid "Generate BI View" msgstr "" #. module: bi_view_editor -#: field:bve.view,group_ids:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_group_ids msgid "Groups" msgstr "" #. module: bi_view_editor -#: field:bve.view,id:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_id msgid "ID" msgstr "ID" #. module: bi_view_editor -#: field:bve.view,__last_update:0 +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:137 +#, python-format +msgid "Join Left" +msgstr "" + +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/js/bi_view_editor.JoinNodeDialog.js:30 +#, python-format +msgid "Join..." +msgstr "" + +#. module: bi_view_editor +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view___last_update msgid "Last Modified on" msgstr "Dernière modification le" #. module: bi_view_editor -#: field:bve.view,write_uid:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_write_uid msgid "Last Updated by" msgstr "Modifié par" #. module: bi_view_editor -#: field:bve.view,write_date:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_write_date msgid "Last Updated on" msgstr "Modifié le" #. module: bi_view_editor -#: field:bve.view,model_name:0 +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:124 +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:157 +#, python-format +msgid "List" +msgstr "" + +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:117 +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:156 +#, python-format +msgid "Measure" +msgstr "" + +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:86 +#, python-format +msgid "Model" +msgstr "" + +#. module: bi_view_editor +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_model_name msgid "Model Name" msgstr "" @@ -141,67 +215,141 @@ msgid "Models" msgstr "" #. module: bi_view_editor -#: field:bve.view,name:0 +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:85 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_name +#, python-format msgid "Name" msgstr "" #. module: bi_view_editor -#: view:bve.view:bi_view_editor.view_bi_view_editor_view_form -#: field:bve.view,note:0 +#: code:addons/bi_view_editor/models/models.py:56 +#, python-format +msgid "No data to be displayed." +msgstr "" + +#. module: bi_view_editor +#: code:addons/bi_view_editor/models/bve_view.py:284 +#, python-format +msgid "No data to process." +msgstr "" + +#. module: bi_view_editor +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_note +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form msgid "Notes" msgstr "" #. module: bi_view_editor -#: view:bve.view:bi_view_editor.view_bi_view_editor_view_form +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form msgid "Open BI View" msgstr "" #. module: bi_view_editor -#: view:bve.view:bi_view_editor.view_bi_view_editor_view_form +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:87 +#, python-format +msgid "Options" +msgstr "" + +#. module: bi_view_editor +#: code:addons/bi_view_editor/models/bve_view.py:224 +#, python-format +msgid "Please select at least one group on the security tab." +msgstr "" + +#. module: bi_view_editor +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form msgid "Query" msgstr "" #. module: bi_view_editor -#: view:bve.view:bi_view_editor.view_bi_view_editor_view_form +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form msgid "Reset to Draft" msgstr "" #. module: bi_view_editor -#: view:bve.view:bi_view_editor.view_bi_view_editor_view_form +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:110 +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:155 +#, python-format +msgid "Row" +msgstr "" + +#. module: bi_view_editor +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form msgid "Security" msgstr "" #. module: bi_view_editor -#: field:bve.view,state:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_state msgid "State" msgstr "État" #. module: bi_view_editor -#: help:bve.view,data:0 +#: model:ir.actions.act_window,name:bi_view_editor.action_bi_view_editor_translations +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form +msgid "Translations" +msgstr "" + +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:30 +#, python-format +msgid "Use the existing node" +msgstr "" + +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:34 +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:43 +#, python-format +msgid "Use the field" +msgstr "" + +#. module: bi_view_editor +#: model:ir.model.fields,help:bi_view_editor.field_bve_view_data msgid "" "Use the special query builder to define the query to generate your report " "dataset. NOTE: To be edited, the query should be in 'Draft' status." msgstr "" #. module: bi_view_editor -#: help:bve.view,group_ids:0 +#: model:ir.model.fields,help:bi_view_editor.field_bve_view_group_ids msgid "" "User groups allowed to see the generated report; if NO groups are specified " "the report will be public for everyone." msgstr "" #. module: bi_view_editor -#: field:bve.view,user_ids:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_user_ids msgid "Users" msgstr "Utilisateurs" #. module: bi_view_editor -#: field:bve.view,view_id:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_view_id msgid "View" msgstr "" #. module: bi_view_editor -#: code:addons/bi_view_editor/models/bve_view.py:73 +#: code:addons/bi_view_editor/models/bve_view.py:456 #, python-format msgid "You cannot delete a created view! Reset the view to draft first." msgstr "" + +#. module: bi_view_editor +#: model:ir.model,name:bi_view_editor.model_base +msgid "base" +msgstr "" + +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:39 +#, python-format +msgid "new" +msgstr "" + +#. module: bi_view_editor +#: model:ir.model,name:bi_view_editor.model_wizard_ir_model_menu_create +msgid "wizard.ir.model.menu.create" +msgstr "" diff --git a/bi_view_editor/i18n/gl.po b/bi_view_editor/i18n/gl.po index 81ce00a00..eda513ac9 100644 --- a/bi_view_editor/i18n/gl.po +++ b/bi_view_editor/i18n/gl.po @@ -1,7 +1,7 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: # * bi_view_editor -# +# # Translators: msgid "" msgstr "" @@ -10,56 +10,99 @@ msgstr "" "POT-Creation-Date: 2016-09-18 04:34+0000\n" "PO-Revision-Date: 2016-03-21 15:33+0000\n" "Last-Translator: <>\n" -"Language-Team: Galician (http://www.transifex.com/oca/OCA-reporting-engine-8-0/language/gl/)\n" +"Language-Team: Galician (http://www.transifex.com/oca/OCA-reporting-" +"engine-8-0/language/gl/)\n" +"Language: gl\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: \n" -"Language: gl\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #. module: bi_view_editor -#: model:ir.actions.act_window,help:bi_view_editor.action_bi_view_editor_view_form -msgid "" -"

    \n" -" Click to create a Custom Query Object.\n" -"

    \n" -"\n" -"

    \n" -" " +#: code:addons/bi_view_editor/models/bve_view.py:415 +#, python-format +msgid "%s (copy)" msgstr "" #. module: bi_view_editor -#: field:bve.view,action_id:0 +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:179 +#, python-format +msgid "(join left)" +msgstr "" + +#. module: bi_view_editor +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_action_id msgid "Action" msgstr "" +#. module: bi_view_editor +#: code:addons/bi_view_editor/models/bve_view.py:409 +#, python-format +msgid "BI View" +msgstr "" + #. module: bi_view_editor #: model:ir.model,name:bi_view_editor.model_bve_view msgid "BI View Editor" msgstr "" +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/js/bi_view_editor.JoinNodeDialog.js:36 +#, python-format +msgid "Cancel" +msgstr "" + +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:18 +#, python-format +msgid "Clear" +msgstr "" + +#. module: bi_view_editor +#: model:ir.actions.act_window,help:bi_view_editor.action_bi_view_editor_view_form +msgid "Click to create a Custom Query Object." +msgstr "" + +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:103 +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:154 +#, python-format +msgid "Column" +msgstr "" + +#. module: bi_view_editor +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form +#, fuzzy +msgid "Create a Menu" +msgstr "Creado en" + #. module: bi_view_editor #: selection:bve.view,state:0 msgid "Created" msgstr "" #. module: bi_view_editor -#: field:bve.view,create_uid:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_create_uid msgid "Created by" msgstr "Creado por" #. module: bi_view_editor -#: field:bve.view,create_date:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_create_date msgid "Created on" msgstr "Creado en" #. module: bi_view_editor -#: view:bve.view:bi_view_editor.view_bi_view_editor_view_tree +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_tree msgid "Custom BI View" msgstr "" #. module: bi_view_editor -#: sql_constraint:bve.view:0 +#: code:addons/bi_view_editor/models/bve_view.py:64 sql_constraint:bve.view:0 +#, python-format msgid "Custom BI View names must be unique!" msgstr "" @@ -70,7 +113,7 @@ msgid "Custom BI Views" msgstr "" #. module: bi_view_editor -#: view:bve.view:bi_view_editor.view_bi_view_editor_view_form +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form msgid "Custom Object" msgstr "" @@ -80,12 +123,12 @@ msgid "Custom Reports" msgstr "" #. module: bi_view_editor -#: field:bve.view,data:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_data msgid "Data" msgstr "" #. module: bi_view_editor -#: field:bve.view,display_name:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_display_name msgid "Display Name" msgstr "" @@ -95,43 +138,74 @@ msgid "Draft" msgstr "" #. module: bi_view_editor -#: code:addons/bi_view_editor/models/bve_view.py:72 -#, python-format -msgid "Error" -msgstr "" - -#. module: bi_view_editor -#: view:bve.view:bi_view_editor.view_bi_view_editor_view_form +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form msgid "Generate BI View" msgstr "" #. module: bi_view_editor -#: field:bve.view,group_ids:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_group_ids msgid "Groups" msgstr "" #. module: bi_view_editor -#: field:bve.view,id:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_id msgid "ID" msgstr "ID" #. module: bi_view_editor -#: field:bve.view,__last_update:0 +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:137 +#, python-format +msgid "Join Left" +msgstr "" + +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/js/bi_view_editor.JoinNodeDialog.js:30 +#, python-format +msgid "Join..." +msgstr "" + +#. module: bi_view_editor +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view___last_update msgid "Last Modified on" msgstr "Última modificación" #. module: bi_view_editor -#: field:bve.view,write_uid:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_write_uid msgid "Last Updated by" msgstr "ültima actualización por" #. module: bi_view_editor -#: field:bve.view,write_date:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_write_date msgid "Last Updated on" msgstr "Última actualización en" #. module: bi_view_editor -#: field:bve.view,model_name:0 +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:124 +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:157 +#, python-format +msgid "List" +msgstr "" + +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:117 +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:156 +#, python-format +msgid "Measure" +msgstr "" + +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:86 +#, python-format +msgid "Model" +msgstr "" + +#. module: bi_view_editor +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_model_name msgid "Model Name" msgstr "" @@ -141,67 +215,141 @@ msgid "Models" msgstr "" #. module: bi_view_editor -#: field:bve.view,name:0 +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:85 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_name +#, python-format msgid "Name" msgstr "" #. module: bi_view_editor -#: view:bve.view:bi_view_editor.view_bi_view_editor_view_form -#: field:bve.view,note:0 +#: code:addons/bi_view_editor/models/models.py:56 +#, python-format +msgid "No data to be displayed." +msgstr "" + +#. module: bi_view_editor +#: code:addons/bi_view_editor/models/bve_view.py:284 +#, python-format +msgid "No data to process." +msgstr "" + +#. module: bi_view_editor +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_note +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form msgid "Notes" msgstr "" #. module: bi_view_editor -#: view:bve.view:bi_view_editor.view_bi_view_editor_view_form +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form msgid "Open BI View" msgstr "" #. module: bi_view_editor -#: view:bve.view:bi_view_editor.view_bi_view_editor_view_form +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:87 +#, python-format +msgid "Options" +msgstr "" + +#. module: bi_view_editor +#: code:addons/bi_view_editor/models/bve_view.py:224 +#, python-format +msgid "Please select at least one group on the security tab." +msgstr "" + +#. module: bi_view_editor +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form msgid "Query" msgstr "" #. module: bi_view_editor -#: view:bve.view:bi_view_editor.view_bi_view_editor_view_form +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form msgid "Reset to Draft" msgstr "" #. module: bi_view_editor -#: view:bve.view:bi_view_editor.view_bi_view_editor_view_form +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:110 +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:155 +#, python-format +msgid "Row" +msgstr "" + +#. module: bi_view_editor +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form msgid "Security" msgstr "" #. module: bi_view_editor -#: field:bve.view,state:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_state msgid "State" msgstr "" #. module: bi_view_editor -#: help:bve.view,data:0 +#: model:ir.actions.act_window,name:bi_view_editor.action_bi_view_editor_translations +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form +msgid "Translations" +msgstr "" + +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:30 +#, python-format +msgid "Use the existing node" +msgstr "" + +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:34 +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:43 +#, python-format +msgid "Use the field" +msgstr "" + +#. module: bi_view_editor +#: model:ir.model.fields,help:bi_view_editor.field_bve_view_data msgid "" "Use the special query builder to define the query to generate your report " "dataset. NOTE: To be edited, the query should be in 'Draft' status." msgstr "" #. module: bi_view_editor -#: help:bve.view,group_ids:0 +#: model:ir.model.fields,help:bi_view_editor.field_bve_view_group_ids msgid "" "User groups allowed to see the generated report; if NO groups are specified " "the report will be public for everyone." msgstr "" #. module: bi_view_editor -#: field:bve.view,user_ids:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_user_ids msgid "Users" msgstr "" #. module: bi_view_editor -#: field:bve.view,view_id:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_view_id msgid "View" msgstr "" #. module: bi_view_editor -#: code:addons/bi_view_editor/models/bve_view.py:73 +#: code:addons/bi_view_editor/models/bve_view.py:456 #, python-format msgid "You cannot delete a created view! Reset the view to draft first." msgstr "" + +#. module: bi_view_editor +#: model:ir.model,name:bi_view_editor.model_base +msgid "base" +msgstr "" + +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:39 +#, python-format +msgid "new" +msgstr "" + +#. module: bi_view_editor +#: model:ir.model,name:bi_view_editor.model_wizard_ir_model_menu_create +msgid "wizard.ir.model.menu.create" +msgstr "" diff --git a/bi_view_editor/i18n/gl_ES.po b/bi_view_editor/i18n/gl_ES.po index 5ea4a4a24..01efdf472 100644 --- a/bi_view_editor/i18n/gl_ES.po +++ b/bi_view_editor/i18n/gl_ES.po @@ -1,7 +1,7 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: # * bi_view_editor -# +# # Translators: msgid "" msgstr "" @@ -10,56 +10,98 @@ msgstr "" "POT-Creation-Date: 2016-09-18 04:34+0000\n" "PO-Revision-Date: 2016-03-21 15:33+0000\n" "Last-Translator: <>\n" -"Language-Team: Galician (Spain) (http://www.transifex.com/oca/OCA-reporting-engine-8-0/language/gl_ES/)\n" +"Language-Team: Galician (Spain) (http://www.transifex.com/oca/OCA-reporting-" +"engine-8-0/language/gl_ES/)\n" +"Language: gl_ES\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: \n" -"Language: gl_ES\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #. module: bi_view_editor -#: model:ir.actions.act_window,help:bi_view_editor.action_bi_view_editor_view_form -msgid "" -"

    \n" -" Click to create a Custom Query Object.\n" -"

    \n" -"\n" -"

    \n" -" " +#: code:addons/bi_view_editor/models/bve_view.py:415 +#, python-format +msgid "%s (copy)" msgstr "" #. module: bi_view_editor -#: field:bve.view,action_id:0 +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:179 +#, python-format +msgid "(join left)" +msgstr "" + +#. module: bi_view_editor +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_action_id msgid "Action" msgstr "" +#. module: bi_view_editor +#: code:addons/bi_view_editor/models/bve_view.py:409 +#, python-format +msgid "BI View" +msgstr "" + #. module: bi_view_editor #: model:ir.model,name:bi_view_editor.model_bve_view msgid "BI View Editor" msgstr "" +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/js/bi_view_editor.JoinNodeDialog.js:36 +#, python-format +msgid "Cancel" +msgstr "" + +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:18 +#, python-format +msgid "Clear" +msgstr "" + +#. module: bi_view_editor +#: model:ir.actions.act_window,help:bi_view_editor.action_bi_view_editor_view_form +msgid "Click to create a Custom Query Object." +msgstr "" + +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:103 +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:154 +#, python-format +msgid "Column" +msgstr "" + +#. module: bi_view_editor +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form +msgid "Create a Menu" +msgstr "" + #. module: bi_view_editor #: selection:bve.view,state:0 msgid "Created" msgstr "" #. module: bi_view_editor -#: field:bve.view,create_uid:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_create_uid msgid "Created by" msgstr "" #. module: bi_view_editor -#: field:bve.view,create_date:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_create_date msgid "Created on" msgstr "" #. module: bi_view_editor -#: view:bve.view:bi_view_editor.view_bi_view_editor_view_tree +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_tree msgid "Custom BI View" msgstr "" #. module: bi_view_editor -#: sql_constraint:bve.view:0 +#: code:addons/bi_view_editor/models/bve_view.py:64 sql_constraint:bve.view:0 +#, python-format msgid "Custom BI View names must be unique!" msgstr "" @@ -70,7 +112,7 @@ msgid "Custom BI Views" msgstr "" #. module: bi_view_editor -#: view:bve.view:bi_view_editor.view_bi_view_editor_view_form +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form msgid "Custom Object" msgstr "" @@ -80,12 +122,12 @@ msgid "Custom Reports" msgstr "" #. module: bi_view_editor -#: field:bve.view,data:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_data msgid "Data" msgstr "" #. module: bi_view_editor -#: field:bve.view,display_name:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_display_name msgid "Display Name" msgstr "" @@ -95,43 +137,74 @@ msgid "Draft" msgstr "" #. module: bi_view_editor -#: code:addons/bi_view_editor/models/bve_view.py:72 -#, python-format -msgid "Error" -msgstr "" - -#. module: bi_view_editor -#: view:bve.view:bi_view_editor.view_bi_view_editor_view_form +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form msgid "Generate BI View" msgstr "" #. module: bi_view_editor -#: field:bve.view,group_ids:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_group_ids msgid "Groups" msgstr "" #. module: bi_view_editor -#: field:bve.view,id:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_id msgid "ID" msgstr "ID" #. module: bi_view_editor -#: field:bve.view,__last_update:0 +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:137 +#, python-format +msgid "Join Left" +msgstr "" + +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/js/bi_view_editor.JoinNodeDialog.js:30 +#, python-format +msgid "Join..." +msgstr "" + +#. module: bi_view_editor +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view___last_update msgid "Last Modified on" msgstr "" #. module: bi_view_editor -#: field:bve.view,write_uid:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_write_uid msgid "Last Updated by" msgstr "" #. module: bi_view_editor -#: field:bve.view,write_date:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_write_date msgid "Last Updated on" msgstr "" #. module: bi_view_editor -#: field:bve.view,model_name:0 +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:124 +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:157 +#, python-format +msgid "List" +msgstr "" + +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:117 +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:156 +#, python-format +msgid "Measure" +msgstr "" + +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:86 +#, python-format +msgid "Model" +msgstr "" + +#. module: bi_view_editor +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_model_name msgid "Model Name" msgstr "" @@ -141,67 +214,141 @@ msgid "Models" msgstr "" #. module: bi_view_editor -#: field:bve.view,name:0 +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:85 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_name +#, python-format msgid "Name" msgstr "" #. module: bi_view_editor -#: view:bve.view:bi_view_editor.view_bi_view_editor_view_form -#: field:bve.view,note:0 +#: code:addons/bi_view_editor/models/models.py:56 +#, python-format +msgid "No data to be displayed." +msgstr "" + +#. module: bi_view_editor +#: code:addons/bi_view_editor/models/bve_view.py:284 +#, python-format +msgid "No data to process." +msgstr "" + +#. module: bi_view_editor +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_note +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form msgid "Notes" msgstr "" #. module: bi_view_editor -#: view:bve.view:bi_view_editor.view_bi_view_editor_view_form +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form msgid "Open BI View" msgstr "" #. module: bi_view_editor -#: view:bve.view:bi_view_editor.view_bi_view_editor_view_form +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:87 +#, python-format +msgid "Options" +msgstr "" + +#. module: bi_view_editor +#: code:addons/bi_view_editor/models/bve_view.py:224 +#, python-format +msgid "Please select at least one group on the security tab." +msgstr "" + +#. module: bi_view_editor +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form msgid "Query" msgstr "" #. module: bi_view_editor -#: view:bve.view:bi_view_editor.view_bi_view_editor_view_form +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form msgid "Reset to Draft" msgstr "" #. module: bi_view_editor -#: view:bve.view:bi_view_editor.view_bi_view_editor_view_form +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:110 +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:155 +#, python-format +msgid "Row" +msgstr "" + +#. module: bi_view_editor +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form msgid "Security" msgstr "" #. module: bi_view_editor -#: field:bve.view,state:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_state msgid "State" msgstr "" #. module: bi_view_editor -#: help:bve.view,data:0 +#: model:ir.actions.act_window,name:bi_view_editor.action_bi_view_editor_translations +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form +msgid "Translations" +msgstr "" + +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:30 +#, python-format +msgid "Use the existing node" +msgstr "" + +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:34 +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:43 +#, python-format +msgid "Use the field" +msgstr "" + +#. module: bi_view_editor +#: model:ir.model.fields,help:bi_view_editor.field_bve_view_data msgid "" "Use the special query builder to define the query to generate your report " "dataset. NOTE: To be edited, the query should be in 'Draft' status." msgstr "" #. module: bi_view_editor -#: help:bve.view,group_ids:0 +#: model:ir.model.fields,help:bi_view_editor.field_bve_view_group_ids msgid "" "User groups allowed to see the generated report; if NO groups are specified " "the report will be public for everyone." msgstr "" #. module: bi_view_editor -#: field:bve.view,user_ids:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_user_ids msgid "Users" msgstr "" #. module: bi_view_editor -#: field:bve.view,view_id:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_view_id msgid "View" msgstr "" #. module: bi_view_editor -#: code:addons/bi_view_editor/models/bve_view.py:73 +#: code:addons/bi_view_editor/models/bve_view.py:456 #, python-format msgid "You cannot delete a created view! Reset the view to draft first." msgstr "" + +#. module: bi_view_editor +#: model:ir.model,name:bi_view_editor.model_base +msgid "base" +msgstr "" + +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:39 +#, python-format +msgid "new" +msgstr "" + +#. module: bi_view_editor +#: model:ir.model,name:bi_view_editor.model_wizard_ir_model_menu_create +msgid "wizard.ir.model.menu.create" +msgstr "" diff --git a/bi_view_editor/i18n/he.po b/bi_view_editor/i18n/he.po index 9fd527ecf..208504668 100644 --- a/bi_view_editor/i18n/he.po +++ b/bi_view_editor/i18n/he.po @@ -1,7 +1,7 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: # * bi_view_editor -# +# # Translators: msgid "" msgstr "" @@ -10,56 +10,99 @@ msgstr "" "POT-Creation-Date: 2016-09-18 04:34+0000\n" "PO-Revision-Date: 2016-03-21 15:33+0000\n" "Last-Translator: <>\n" -"Language-Team: Hebrew (http://www.transifex.com/oca/OCA-reporting-engine-8-0/language/he/)\n" +"Language-Team: Hebrew (http://www.transifex.com/oca/OCA-reporting-engine-8-0/" +"language/he/)\n" +"Language: he\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: \n" -"Language: he\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #. module: bi_view_editor -#: model:ir.actions.act_window,help:bi_view_editor.action_bi_view_editor_view_form -msgid "" -"

    \n" -" Click to create a Custom Query Object.\n" -"

    \n" -"\n" -"

    \n" -" " +#: code:addons/bi_view_editor/models/bve_view.py:415 +#, python-format +msgid "%s (copy)" msgstr "" #. module: bi_view_editor -#: field:bve.view,action_id:0 +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:179 +#, python-format +msgid "(join left)" +msgstr "" + +#. module: bi_view_editor +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_action_id msgid "Action" msgstr "" +#. module: bi_view_editor +#: code:addons/bi_view_editor/models/bve_view.py:409 +#, python-format +msgid "BI View" +msgstr "" + #. module: bi_view_editor #: model:ir.model,name:bi_view_editor.model_bve_view msgid "BI View Editor" msgstr "" +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/js/bi_view_editor.JoinNodeDialog.js:36 +#, python-format +msgid "Cancel" +msgstr "" + +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:18 +#, python-format +msgid "Clear" +msgstr "" + +#. module: bi_view_editor +#: model:ir.actions.act_window,help:bi_view_editor.action_bi_view_editor_view_form +msgid "Click to create a Custom Query Object." +msgstr "" + +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:103 +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:154 +#, python-format +msgid "Column" +msgstr "" + +#. module: bi_view_editor +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form +#, fuzzy +msgid "Create a Menu" +msgstr "נוצר ב-" + #. module: bi_view_editor #: selection:bve.view,state:0 msgid "Created" msgstr "" #. module: bi_view_editor -#: field:bve.view,create_uid:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_create_uid msgid "Created by" msgstr "נוצר על ידי" #. module: bi_view_editor -#: field:bve.view,create_date:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_create_date msgid "Created on" msgstr "נוצר ב-" #. module: bi_view_editor -#: view:bve.view:bi_view_editor.view_bi_view_editor_view_tree +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_tree msgid "Custom BI View" msgstr "" #. module: bi_view_editor -#: sql_constraint:bve.view:0 +#: code:addons/bi_view_editor/models/bve_view.py:64 sql_constraint:bve.view:0 +#, python-format msgid "Custom BI View names must be unique!" msgstr "" @@ -70,7 +113,7 @@ msgid "Custom BI Views" msgstr "" #. module: bi_view_editor -#: view:bve.view:bi_view_editor.view_bi_view_editor_view_form +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form msgid "Custom Object" msgstr "" @@ -80,12 +123,12 @@ msgid "Custom Reports" msgstr "" #. module: bi_view_editor -#: field:bve.view,data:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_data msgid "Data" msgstr "" #. module: bi_view_editor -#: field:bve.view,display_name:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_display_name msgid "Display Name" msgstr "השם המוצג" @@ -95,43 +138,74 @@ msgid "Draft" msgstr "" #. module: bi_view_editor -#: code:addons/bi_view_editor/models/bve_view.py:72 -#, python-format -msgid "Error" -msgstr "" - -#. module: bi_view_editor -#: view:bve.view:bi_view_editor.view_bi_view_editor_view_form +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form msgid "Generate BI View" msgstr "" #. module: bi_view_editor -#: field:bve.view,group_ids:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_group_ids msgid "Groups" msgstr "" #. module: bi_view_editor -#: field:bve.view,id:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_id msgid "ID" msgstr "מזהה" #. module: bi_view_editor -#: field:bve.view,__last_update:0 +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:137 +#, python-format +msgid "Join Left" +msgstr "" + +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/js/bi_view_editor.JoinNodeDialog.js:30 +#, python-format +msgid "Join..." +msgstr "" + +#. module: bi_view_editor +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view___last_update msgid "Last Modified on" msgstr "תאריך שינוי אחרון" #. module: bi_view_editor -#: field:bve.view,write_uid:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_write_uid msgid "Last Updated by" msgstr "עודכן לאחרונה על ידי" #. module: bi_view_editor -#: field:bve.view,write_date:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_write_date msgid "Last Updated on" msgstr "עודכן לאחרונה על" #. module: bi_view_editor -#: field:bve.view,model_name:0 +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:124 +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:157 +#, python-format +msgid "List" +msgstr "" + +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:117 +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:156 +#, python-format +msgid "Measure" +msgstr "" + +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:86 +#, python-format +msgid "Model" +msgstr "" + +#. module: bi_view_editor +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_model_name msgid "Model Name" msgstr "" @@ -141,67 +215,141 @@ msgid "Models" msgstr "" #. module: bi_view_editor -#: field:bve.view,name:0 +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:85 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_name +#, python-format msgid "Name" msgstr "שם" #. module: bi_view_editor -#: view:bve.view:bi_view_editor.view_bi_view_editor_view_form -#: field:bve.view,note:0 +#: code:addons/bi_view_editor/models/models.py:56 +#, python-format +msgid "No data to be displayed." +msgstr "" + +#. module: bi_view_editor +#: code:addons/bi_view_editor/models/bve_view.py:284 +#, python-format +msgid "No data to process." +msgstr "" + +#. module: bi_view_editor +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_note +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form msgid "Notes" msgstr "" #. module: bi_view_editor -#: view:bve.view:bi_view_editor.view_bi_view_editor_view_form +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form msgid "Open BI View" msgstr "" #. module: bi_view_editor -#: view:bve.view:bi_view_editor.view_bi_view_editor_view_form +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:87 +#, python-format +msgid "Options" +msgstr "" + +#. module: bi_view_editor +#: code:addons/bi_view_editor/models/bve_view.py:224 +#, python-format +msgid "Please select at least one group on the security tab." +msgstr "" + +#. module: bi_view_editor +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form msgid "Query" msgstr "" #. module: bi_view_editor -#: view:bve.view:bi_view_editor.view_bi_view_editor_view_form +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form msgid "Reset to Draft" msgstr "" #. module: bi_view_editor -#: view:bve.view:bi_view_editor.view_bi_view_editor_view_form +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:110 +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:155 +#, python-format +msgid "Row" +msgstr "" + +#. module: bi_view_editor +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form msgid "Security" msgstr "אבטחה" #. module: bi_view_editor -#: field:bve.view,state:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_state msgid "State" msgstr "" #. module: bi_view_editor -#: help:bve.view,data:0 +#: model:ir.actions.act_window,name:bi_view_editor.action_bi_view_editor_translations +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form +msgid "Translations" +msgstr "" + +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:30 +#, python-format +msgid "Use the existing node" +msgstr "" + +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:34 +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:43 +#, python-format +msgid "Use the field" +msgstr "" + +#. module: bi_view_editor +#: model:ir.model.fields,help:bi_view_editor.field_bve_view_data msgid "" "Use the special query builder to define the query to generate your report " "dataset. NOTE: To be edited, the query should be in 'Draft' status." msgstr "" #. module: bi_view_editor -#: help:bve.view,group_ids:0 +#: model:ir.model.fields,help:bi_view_editor.field_bve_view_group_ids msgid "" "User groups allowed to see the generated report; if NO groups are specified " "the report will be public for everyone." msgstr "" #. module: bi_view_editor -#: field:bve.view,user_ids:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_user_ids msgid "Users" msgstr "" #. module: bi_view_editor -#: field:bve.view,view_id:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_view_id msgid "View" msgstr "" #. module: bi_view_editor -#: code:addons/bi_view_editor/models/bve_view.py:73 +#: code:addons/bi_view_editor/models/bve_view.py:456 #, python-format msgid "You cannot delete a created view! Reset the view to draft first." msgstr "" + +#. module: bi_view_editor +#: model:ir.model,name:bi_view_editor.model_base +msgid "base" +msgstr "" + +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:39 +#, python-format +msgid "new" +msgstr "" + +#. module: bi_view_editor +#: model:ir.model,name:bi_view_editor.model_wizard_ir_model_menu_create +msgid "wizard.ir.model.menu.create" +msgstr "" diff --git a/bi_view_editor/i18n/hr.po b/bi_view_editor/i18n/hr.po index 56bea157f..aeb0e6e6e 100644 --- a/bi_view_editor/i18n/hr.po +++ b/bi_view_editor/i18n/hr.po @@ -1,7 +1,7 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: # * bi_view_editor -# +# # Translators: msgid "" msgstr "" @@ -10,56 +10,100 @@ msgstr "" "POT-Creation-Date: 2017-01-07 05:41+0000\n" "PO-Revision-Date: 2016-03-21 15:33+0000\n" "Last-Translator: <>\n" -"Language-Team: Croatian (http://www.transifex.com/oca/OCA-reporting-engine-8-0/language/hr/)\n" +"Language-Team: Croatian (http://www.transifex.com/oca/OCA-reporting-" +"engine-8-0/language/hr/)\n" +"Language: hr\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: \n" -"Language: hr\n" -"Plural-Forms: nplurals=3; plural=n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2;\n" +"Plural-Forms: nplurals=3; plural=n%10==1 && n%100!=11 ? 0 : n%10>=2 && n" +"%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2;\n" #. module: bi_view_editor -#: model:ir.actions.act_window,help:bi_view_editor.action_bi_view_editor_view_form -msgid "" -"

    \n" -" Click to create a Custom Query Object.\n" -"

    \n" -"\n" -"

    \n" -" " +#: code:addons/bi_view_editor/models/bve_view.py:415 +#, python-format +msgid "%s (copy)" msgstr "" #. module: bi_view_editor -#: field:bve.view,action_id:0 +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:179 +#, python-format +msgid "(join left)" +msgstr "" + +#. module: bi_view_editor +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_action_id msgid "Action" msgstr "" +#. module: bi_view_editor +#: code:addons/bi_view_editor/models/bve_view.py:409 +#, python-format +msgid "BI View" +msgstr "" + #. module: bi_view_editor #: model:ir.model,name:bi_view_editor.model_bve_view msgid "BI View Editor" msgstr "" +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/js/bi_view_editor.JoinNodeDialog.js:36 +#, python-format +msgid "Cancel" +msgstr "" + +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:18 +#, python-format +msgid "Clear" +msgstr "" + +#. module: bi_view_editor +#: model:ir.actions.act_window,help:bi_view_editor.action_bi_view_editor_view_form +msgid "Click to create a Custom Query Object." +msgstr "" + +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:103 +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:154 +#, python-format +msgid "Column" +msgstr "" + +#. module: bi_view_editor +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form +#, fuzzy +msgid "Create a Menu" +msgstr "Kreirano" + #. module: bi_view_editor #: selection:bve.view,state:0 msgid "Created" msgstr "" #. module: bi_view_editor -#: field:bve.view,create_uid:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_create_uid msgid "Created by" msgstr "Kreirao" #. module: bi_view_editor -#: field:bve.view,create_date:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_create_date msgid "Created on" msgstr "Kreirano" #. module: bi_view_editor -#: view:bve.view:bi_view_editor.view_bi_view_editor_view_tree +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_tree msgid "Custom BI View" msgstr "" #. module: bi_view_editor -#: sql_constraint:bve.view:0 +#: code:addons/bi_view_editor/models/bve_view.py:64 sql_constraint:bve.view:0 +#, python-format msgid "Custom BI View names must be unique!" msgstr "" @@ -70,7 +114,7 @@ msgid "Custom BI Views" msgstr "" #. module: bi_view_editor -#: view:bve.view:bi_view_editor.view_bi_view_editor_view_form +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form msgid "Custom Object" msgstr "" @@ -80,12 +124,12 @@ msgid "Custom Reports" msgstr "" #. module: bi_view_editor -#: field:bve.view,data:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_data msgid "Data" msgstr "" #. module: bi_view_editor -#: field:bve.view,display_name:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_display_name msgid "Display Name" msgstr "Naziv " @@ -95,43 +139,74 @@ msgid "Draft" msgstr "" #. module: bi_view_editor -#: code:addons/bi_view_editor/models/bve_view.py:72 -#, python-format -msgid "Error" -msgstr "" - -#. module: bi_view_editor -#: view:bve.view:bi_view_editor.view_bi_view_editor_view_form +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form msgid "Generate BI View" msgstr "" #. module: bi_view_editor -#: field:bve.view,group_ids:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_group_ids msgid "Groups" msgstr "" #. module: bi_view_editor -#: field:bve.view,id:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_id msgid "ID" msgstr "ID" #. module: bi_view_editor -#: field:bve.view,__last_update:0 +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:137 +#, python-format +msgid "Join Left" +msgstr "" + +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/js/bi_view_editor.JoinNodeDialog.js:30 +#, python-format +msgid "Join..." +msgstr "" + +#. module: bi_view_editor +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view___last_update msgid "Last Modified on" msgstr "Zadnje modificirano" #. module: bi_view_editor -#: field:bve.view,write_uid:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_write_uid msgid "Last Updated by" msgstr "Zadnji ažurirao" #. module: bi_view_editor -#: field:bve.view,write_date:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_write_date msgid "Last Updated on" msgstr "Zadnje ažuriranje" #. module: bi_view_editor -#: field:bve.view,model_name:0 +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:124 +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:157 +#, python-format +msgid "List" +msgstr "" + +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:117 +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:156 +#, python-format +msgid "Measure" +msgstr "" + +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:86 +#, fuzzy, python-format +msgid "Model" +msgstr "Modeli" + +#. module: bi_view_editor +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_model_name msgid "Model Name" msgstr "" @@ -141,67 +216,141 @@ msgid "Models" msgstr "Modeli" #. module: bi_view_editor -#: field:bve.view,name:0 +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:85 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_name +#, python-format msgid "Name" msgstr "Naziv" #. module: bi_view_editor -#: view:bve.view:bi_view_editor.view_bi_view_editor_view_form -#: field:bve.view,note:0 +#: code:addons/bi_view_editor/models/models.py:56 +#, python-format +msgid "No data to be displayed." +msgstr "" + +#. module: bi_view_editor +#: code:addons/bi_view_editor/models/bve_view.py:284 +#, python-format +msgid "No data to process." +msgstr "" + +#. module: bi_view_editor +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_note +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form msgid "Notes" msgstr "Bilješke" #. module: bi_view_editor -#: view:bve.view:bi_view_editor.view_bi_view_editor_view_form +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form msgid "Open BI View" msgstr "" #. module: bi_view_editor -#: view:bve.view:bi_view_editor.view_bi_view_editor_view_form +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:87 +#, python-format +msgid "Options" +msgstr "" + +#. module: bi_view_editor +#: code:addons/bi_view_editor/models/bve_view.py:224 +#, python-format +msgid "Please select at least one group on the security tab." +msgstr "" + +#. module: bi_view_editor +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form msgid "Query" msgstr "" #. module: bi_view_editor -#: view:bve.view:bi_view_editor.view_bi_view_editor_view_form +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form msgid "Reset to Draft" msgstr "" #. module: bi_view_editor -#: view:bve.view:bi_view_editor.view_bi_view_editor_view_form +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:110 +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:155 +#, python-format +msgid "Row" +msgstr "" + +#. module: bi_view_editor +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form msgid "Security" msgstr "Sigurnost" #. module: bi_view_editor -#: field:bve.view,state:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_state msgid "State" msgstr "Status" #. module: bi_view_editor -#: help:bve.view,data:0 +#: model:ir.actions.act_window,name:bi_view_editor.action_bi_view_editor_translations +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form +msgid "Translations" +msgstr "" + +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:30 +#, python-format +msgid "Use the existing node" +msgstr "" + +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:34 +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:43 +#, python-format +msgid "Use the field" +msgstr "" + +#. module: bi_view_editor +#: model:ir.model.fields,help:bi_view_editor.field_bve_view_data msgid "" "Use the special query builder to define the query to generate your report " "dataset. NOTE: To be edited, the query should be in 'Draft' status." msgstr "" #. module: bi_view_editor -#: help:bve.view,group_ids:0 +#: model:ir.model.fields,help:bi_view_editor.field_bve_view_group_ids msgid "" "User groups allowed to see the generated report; if NO groups are specified " "the report will be public for everyone." msgstr "" #. module: bi_view_editor -#: field:bve.view,user_ids:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_user_ids msgid "Users" msgstr "Korisnici" #. module: bi_view_editor -#: field:bve.view,view_id:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_view_id msgid "View" msgstr "" #. module: bi_view_editor -#: code:addons/bi_view_editor/models/bve_view.py:73 +#: code:addons/bi_view_editor/models/bve_view.py:456 #, python-format msgid "You cannot delete a created view! Reset the view to draft first." msgstr "" + +#. module: bi_view_editor +#: model:ir.model,name:bi_view_editor.model_base +msgid "base" +msgstr "" + +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:39 +#, python-format +msgid "new" +msgstr "" + +#. module: bi_view_editor +#: model:ir.model,name:bi_view_editor.model_wizard_ir_model_menu_create +msgid "wizard.ir.model.menu.create" +msgstr "" diff --git a/bi_view_editor/i18n/hr_HR.po b/bi_view_editor/i18n/hr_HR.po index 34958ccf3..26ccd6c89 100644 --- a/bi_view_editor/i18n/hr_HR.po +++ b/bi_view_editor/i18n/hr_HR.po @@ -1,7 +1,7 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: # * bi_view_editor -# +# # Translators: msgid "" msgstr "" @@ -10,56 +10,100 @@ msgstr "" "POT-Creation-Date: 2017-01-07 05:41+0000\n" "PO-Revision-Date: 2016-03-21 15:33+0000\n" "Last-Translator: <>\n" -"Language-Team: Croatian (Croatia) (http://www.transifex.com/oca/OCA-reporting-engine-8-0/language/hr_HR/)\n" +"Language-Team: Croatian (Croatia) (http://www.transifex.com/oca/OCA-" +"reporting-engine-8-0/language/hr_HR/)\n" +"Language: hr_HR\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: \n" -"Language: hr_HR\n" -"Plural-Forms: nplurals=3; plural=n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2;\n" +"Plural-Forms: nplurals=3; plural=n%10==1 && n%100!=11 ? 0 : n%10>=2 && n" +"%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2;\n" #. module: bi_view_editor -#: model:ir.actions.act_window,help:bi_view_editor.action_bi_view_editor_view_form -msgid "" -"

    \n" -" Click to create a Custom Query Object.\n" -"

    \n" -"\n" -"

    \n" -" " +#: code:addons/bi_view_editor/models/bve_view.py:415 +#, python-format +msgid "%s (copy)" msgstr "" #. module: bi_view_editor -#: field:bve.view,action_id:0 +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:179 +#, python-format +msgid "(join left)" +msgstr "" + +#. module: bi_view_editor +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_action_id msgid "Action" msgstr "" +#. module: bi_view_editor +#: code:addons/bi_view_editor/models/bve_view.py:409 +#, python-format +msgid "BI View" +msgstr "" + #. module: bi_view_editor #: model:ir.model,name:bi_view_editor.model_bve_view msgid "BI View Editor" msgstr "" +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/js/bi_view_editor.JoinNodeDialog.js:36 +#, python-format +msgid "Cancel" +msgstr "" + +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:18 +#, python-format +msgid "Clear" +msgstr "" + +#. module: bi_view_editor +#: model:ir.actions.act_window,help:bi_view_editor.action_bi_view_editor_view_form +msgid "Click to create a Custom Query Object." +msgstr "" + +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:103 +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:154 +#, python-format +msgid "Column" +msgstr "" + +#. module: bi_view_editor +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form +#, fuzzy +msgid "Create a Menu" +msgstr "Kreirano" + #. module: bi_view_editor #: selection:bve.view,state:0 msgid "Created" msgstr "" #. module: bi_view_editor -#: field:bve.view,create_uid:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_create_uid msgid "Created by" msgstr "Kreirao" #. module: bi_view_editor -#: field:bve.view,create_date:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_create_date msgid "Created on" msgstr "Kreirano" #. module: bi_view_editor -#: view:bve.view:bi_view_editor.view_bi_view_editor_view_tree +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_tree msgid "Custom BI View" msgstr "" #. module: bi_view_editor -#: sql_constraint:bve.view:0 +#: code:addons/bi_view_editor/models/bve_view.py:64 sql_constraint:bve.view:0 +#, python-format msgid "Custom BI View names must be unique!" msgstr "" @@ -70,7 +114,7 @@ msgid "Custom BI Views" msgstr "" #. module: bi_view_editor -#: view:bve.view:bi_view_editor.view_bi_view_editor_view_form +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form msgid "Custom Object" msgstr "" @@ -80,12 +124,12 @@ msgid "Custom Reports" msgstr "" #. module: bi_view_editor -#: field:bve.view,data:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_data msgid "Data" msgstr "" #. module: bi_view_editor -#: field:bve.view,display_name:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_display_name msgid "Display Name" msgstr "Naziv" @@ -95,43 +139,74 @@ msgid "Draft" msgstr "" #. module: bi_view_editor -#: code:addons/bi_view_editor/models/bve_view.py:72 -#, python-format -msgid "Error" -msgstr "" - -#. module: bi_view_editor -#: view:bve.view:bi_view_editor.view_bi_view_editor_view_form +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form msgid "Generate BI View" msgstr "" #. module: bi_view_editor -#: field:bve.view,group_ids:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_group_ids msgid "Groups" msgstr "" #. module: bi_view_editor -#: field:bve.view,id:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_id msgid "ID" msgstr "ID" #. module: bi_view_editor -#: field:bve.view,__last_update:0 +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:137 +#, python-format +msgid "Join Left" +msgstr "" + +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/js/bi_view_editor.JoinNodeDialog.js:30 +#, python-format +msgid "Join..." +msgstr "" + +#. module: bi_view_editor +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view___last_update msgid "Last Modified on" msgstr "Zadnje modificirano" #. module: bi_view_editor -#: field:bve.view,write_uid:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_write_uid msgid "Last Updated by" msgstr "Zadnji ažurirao" #. module: bi_view_editor -#: field:bve.view,write_date:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_write_date msgid "Last Updated on" msgstr "Zadnje ažurirano" #. module: bi_view_editor -#: field:bve.view,model_name:0 +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:124 +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:157 +#, python-format +msgid "List" +msgstr "" + +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:117 +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:156 +#, python-format +msgid "Measure" +msgstr "" + +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:86 +#, fuzzy, python-format +msgid "Model" +msgstr "Modeli" + +#. module: bi_view_editor +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_model_name msgid "Model Name" msgstr "" @@ -141,67 +216,141 @@ msgid "Models" msgstr "Modeli" #. module: bi_view_editor -#: field:bve.view,name:0 +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:85 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_name +#, python-format msgid "Name" msgstr "" #. module: bi_view_editor -#: view:bve.view:bi_view_editor.view_bi_view_editor_view_form -#: field:bve.view,note:0 +#: code:addons/bi_view_editor/models/models.py:56 +#, python-format +msgid "No data to be displayed." +msgstr "" + +#. module: bi_view_editor +#: code:addons/bi_view_editor/models/bve_view.py:284 +#, python-format +msgid "No data to process." +msgstr "" + +#. module: bi_view_editor +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_note +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form msgid "Notes" msgstr "" #. module: bi_view_editor -#: view:bve.view:bi_view_editor.view_bi_view_editor_view_form +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form msgid "Open BI View" msgstr "" #. module: bi_view_editor -#: view:bve.view:bi_view_editor.view_bi_view_editor_view_form +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:87 +#, python-format +msgid "Options" +msgstr "" + +#. module: bi_view_editor +#: code:addons/bi_view_editor/models/bve_view.py:224 +#, python-format +msgid "Please select at least one group on the security tab." +msgstr "" + +#. module: bi_view_editor +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form msgid "Query" msgstr "" #. module: bi_view_editor -#: view:bve.view:bi_view_editor.view_bi_view_editor_view_form +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form msgid "Reset to Draft" msgstr "" #. module: bi_view_editor -#: view:bve.view:bi_view_editor.view_bi_view_editor_view_form +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:110 +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:155 +#, python-format +msgid "Row" +msgstr "" + +#. module: bi_view_editor +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form msgid "Security" msgstr "" #. module: bi_view_editor -#: field:bve.view,state:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_state msgid "State" msgstr "" #. module: bi_view_editor -#: help:bve.view,data:0 +#: model:ir.actions.act_window,name:bi_view_editor.action_bi_view_editor_translations +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form +msgid "Translations" +msgstr "" + +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:30 +#, python-format +msgid "Use the existing node" +msgstr "" + +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:34 +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:43 +#, python-format +msgid "Use the field" +msgstr "" + +#. module: bi_view_editor +#: model:ir.model.fields,help:bi_view_editor.field_bve_view_data msgid "" "Use the special query builder to define the query to generate your report " "dataset. NOTE: To be edited, the query should be in 'Draft' status." msgstr "" #. module: bi_view_editor -#: help:bve.view,group_ids:0 +#: model:ir.model.fields,help:bi_view_editor.field_bve_view_group_ids msgid "" "User groups allowed to see the generated report; if NO groups are specified " "the report will be public for everyone." msgstr "" #. module: bi_view_editor -#: field:bve.view,user_ids:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_user_ids msgid "Users" msgstr "Korisnici" #. module: bi_view_editor -#: field:bve.view,view_id:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_view_id msgid "View" msgstr "" #. module: bi_view_editor -#: code:addons/bi_view_editor/models/bve_view.py:73 +#: code:addons/bi_view_editor/models/bve_view.py:456 #, python-format msgid "You cannot delete a created view! Reset the view to draft first." msgstr "" + +#. module: bi_view_editor +#: model:ir.model,name:bi_view_editor.model_base +msgid "base" +msgstr "" + +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:39 +#, python-format +msgid "new" +msgstr "" + +#. module: bi_view_editor +#: model:ir.model,name:bi_view_editor.model_wizard_ir_model_menu_create +msgid "wizard.ir.model.menu.create" +msgstr "" diff --git a/bi_view_editor/i18n/hu.po b/bi_view_editor/i18n/hu.po index da3684443..a7778251b 100644 --- a/bi_view_editor/i18n/hu.po +++ b/bi_view_editor/i18n/hu.po @@ -1,7 +1,7 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: # * bi_view_editor -# +# # Translators: msgid "" msgstr "" @@ -10,56 +10,99 @@ msgstr "" "POT-Creation-Date: 2016-12-03 04:09+0000\n" "PO-Revision-Date: 2016-03-21 15:33+0000\n" "Last-Translator: <>\n" -"Language-Team: Hungarian (http://www.transifex.com/oca/OCA-reporting-engine-8-0/language/hu/)\n" +"Language-Team: Hungarian (http://www.transifex.com/oca/OCA-reporting-" +"engine-8-0/language/hu/)\n" +"Language: hu\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: \n" -"Language: hu\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #. module: bi_view_editor -#: model:ir.actions.act_window,help:bi_view_editor.action_bi_view_editor_view_form -msgid "" -"

    \n" -" Click to create a Custom Query Object.\n" -"

    \n" -"\n" -"

    \n" -" " +#: code:addons/bi_view_editor/models/bve_view.py:415 +#, python-format +msgid "%s (copy)" msgstr "" #. module: bi_view_editor -#: field:bve.view,action_id:0 +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:179 +#, python-format +msgid "(join left)" +msgstr "" + +#. module: bi_view_editor +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_action_id msgid "Action" msgstr "" +#. module: bi_view_editor +#: code:addons/bi_view_editor/models/bve_view.py:409 +#, python-format +msgid "BI View" +msgstr "" + #. module: bi_view_editor #: model:ir.model,name:bi_view_editor.model_bve_view msgid "BI View Editor" msgstr "" +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/js/bi_view_editor.JoinNodeDialog.js:36 +#, python-format +msgid "Cancel" +msgstr "" + +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:18 +#, python-format +msgid "Clear" +msgstr "" + +#. module: bi_view_editor +#: model:ir.actions.act_window,help:bi_view_editor.action_bi_view_editor_view_form +msgid "Click to create a Custom Query Object." +msgstr "" + +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:103 +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:154 +#, python-format +msgid "Column" +msgstr "" + +#. module: bi_view_editor +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form +#, fuzzy +msgid "Create a Menu" +msgstr "Létrehozás dátuma" + #. module: bi_view_editor #: selection:bve.view,state:0 msgid "Created" msgstr "" #. module: bi_view_editor -#: field:bve.view,create_uid:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_create_uid msgid "Created by" msgstr "Készítette" #. module: bi_view_editor -#: field:bve.view,create_date:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_create_date msgid "Created on" msgstr "Létrehozás dátuma" #. module: bi_view_editor -#: view:bve.view:bi_view_editor.view_bi_view_editor_view_tree +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_tree msgid "Custom BI View" msgstr "" #. module: bi_view_editor -#: sql_constraint:bve.view:0 +#: code:addons/bi_view_editor/models/bve_view.py:64 sql_constraint:bve.view:0 +#, python-format msgid "Custom BI View names must be unique!" msgstr "" @@ -70,7 +113,7 @@ msgid "Custom BI Views" msgstr "" #. module: bi_view_editor -#: view:bve.view:bi_view_editor.view_bi_view_editor_view_form +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form msgid "Custom Object" msgstr "" @@ -80,12 +123,12 @@ msgid "Custom Reports" msgstr "" #. module: bi_view_editor -#: field:bve.view,data:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_data msgid "Data" msgstr "" #. module: bi_view_editor -#: field:bve.view,display_name:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_display_name msgid "Display Name" msgstr "Név megjelenítése" @@ -95,43 +138,74 @@ msgid "Draft" msgstr "" #. module: bi_view_editor -#: code:addons/bi_view_editor/models/bve_view.py:72 -#, python-format -msgid "Error" -msgstr "" - -#. module: bi_view_editor -#: view:bve.view:bi_view_editor.view_bi_view_editor_view_form +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form msgid "Generate BI View" msgstr "" #. module: bi_view_editor -#: field:bve.view,group_ids:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_group_ids msgid "Groups" msgstr "" #. module: bi_view_editor -#: field:bve.view,id:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_id msgid "ID" msgstr "ID" #. module: bi_view_editor -#: field:bve.view,__last_update:0 +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:137 +#, python-format +msgid "Join Left" +msgstr "" + +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/js/bi_view_editor.JoinNodeDialog.js:30 +#, python-format +msgid "Join..." +msgstr "" + +#. module: bi_view_editor +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view___last_update msgid "Last Modified on" msgstr "Utolsó frissítés dátuma" #. module: bi_view_editor -#: field:bve.view,write_uid:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_write_uid msgid "Last Updated by" msgstr "Utoljára frissítve, által" #. module: bi_view_editor -#: field:bve.view,write_date:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_write_date msgid "Last Updated on" msgstr "Utoljára frissítve " #. module: bi_view_editor -#: field:bve.view,model_name:0 +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:124 +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:157 +#, python-format +msgid "List" +msgstr "" + +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:117 +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:156 +#, python-format +msgid "Measure" +msgstr "" + +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:86 +#, python-format +msgid "Model" +msgstr "" + +#. module: bi_view_editor +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_model_name msgid "Model Name" msgstr "" @@ -141,67 +215,141 @@ msgid "Models" msgstr "" #. module: bi_view_editor -#: field:bve.view,name:0 +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:85 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_name +#, python-format msgid "Name" msgstr "Név" #. module: bi_view_editor -#: view:bve.view:bi_view_editor.view_bi_view_editor_view_form -#: field:bve.view,note:0 +#: code:addons/bi_view_editor/models/models.py:56 +#, python-format +msgid "No data to be displayed." +msgstr "" + +#. module: bi_view_editor +#: code:addons/bi_view_editor/models/bve_view.py:284 +#, python-format +msgid "No data to process." +msgstr "" + +#. module: bi_view_editor +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_note +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form msgid "Notes" msgstr "" #. module: bi_view_editor -#: view:bve.view:bi_view_editor.view_bi_view_editor_view_form +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form msgid "Open BI View" msgstr "" #. module: bi_view_editor -#: view:bve.view:bi_view_editor.view_bi_view_editor_view_form +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:87 +#, python-format +msgid "Options" +msgstr "" + +#. module: bi_view_editor +#: code:addons/bi_view_editor/models/bve_view.py:224 +#, python-format +msgid "Please select at least one group on the security tab." +msgstr "" + +#. module: bi_view_editor +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form msgid "Query" msgstr "" #. module: bi_view_editor -#: view:bve.view:bi_view_editor.view_bi_view_editor_view_form +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form msgid "Reset to Draft" msgstr "" #. module: bi_view_editor -#: view:bve.view:bi_view_editor.view_bi_view_editor_view_form +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:110 +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:155 +#, python-format +msgid "Row" +msgstr "" + +#. module: bi_view_editor +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form msgid "Security" msgstr "Biztonság" #. module: bi_view_editor -#: field:bve.view,state:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_state msgid "State" msgstr "" #. module: bi_view_editor -#: help:bve.view,data:0 +#: model:ir.actions.act_window,name:bi_view_editor.action_bi_view_editor_translations +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form +msgid "Translations" +msgstr "" + +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:30 +#, python-format +msgid "Use the existing node" +msgstr "" + +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:34 +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:43 +#, python-format +msgid "Use the field" +msgstr "" + +#. module: bi_view_editor +#: model:ir.model.fields,help:bi_view_editor.field_bve_view_data msgid "" "Use the special query builder to define the query to generate your report " "dataset. NOTE: To be edited, the query should be in 'Draft' status." msgstr "" #. module: bi_view_editor -#: help:bve.view,group_ids:0 +#: model:ir.model.fields,help:bi_view_editor.field_bve_view_group_ids msgid "" "User groups allowed to see the generated report; if NO groups are specified " "the report will be public for everyone." msgstr "" #. module: bi_view_editor -#: field:bve.view,user_ids:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_user_ids msgid "Users" msgstr "" #. module: bi_view_editor -#: field:bve.view,view_id:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_view_id msgid "View" msgstr "" #. module: bi_view_editor -#: code:addons/bi_view_editor/models/bve_view.py:73 +#: code:addons/bi_view_editor/models/bve_view.py:456 #, python-format msgid "You cannot delete a created view! Reset the view to draft first." msgstr "" + +#. module: bi_view_editor +#: model:ir.model,name:bi_view_editor.model_base +msgid "base" +msgstr "" + +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:39 +#, python-format +msgid "new" +msgstr "" + +#. module: bi_view_editor +#: model:ir.model,name:bi_view_editor.model_wizard_ir_model_menu_create +msgid "wizard.ir.model.menu.create" +msgstr "" diff --git a/bi_view_editor/i18n/id.po b/bi_view_editor/i18n/id.po index 1c03bbdc3..3df7eb7ac 100644 --- a/bi_view_editor/i18n/id.po +++ b/bi_view_editor/i18n/id.po @@ -1,7 +1,7 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: # * bi_view_editor -# +# # Translators: msgid "" msgstr "" @@ -10,56 +10,99 @@ msgstr "" "POT-Creation-Date: 2016-12-24 04:38+0000\n" "PO-Revision-Date: 2016-03-21 15:33+0000\n" "Last-Translator: <>\n" -"Language-Team: Indonesian (http://www.transifex.com/oca/OCA-reporting-engine-8-0/language/id/)\n" +"Language-Team: Indonesian (http://www.transifex.com/oca/OCA-reporting-" +"engine-8-0/language/id/)\n" +"Language: id\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: \n" -"Language: id\n" "Plural-Forms: nplurals=1; plural=0;\n" #. module: bi_view_editor -#: model:ir.actions.act_window,help:bi_view_editor.action_bi_view_editor_view_form -msgid "" -"

    \n" -" Click to create a Custom Query Object.\n" -"

    \n" -"\n" -"

    \n" -" " +#: code:addons/bi_view_editor/models/bve_view.py:415 +#, python-format +msgid "%s (copy)" msgstr "" #. module: bi_view_editor -#: field:bve.view,action_id:0 +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:179 +#, python-format +msgid "(join left)" +msgstr "" + +#. module: bi_view_editor +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_action_id msgid "Action" msgstr "" +#. module: bi_view_editor +#: code:addons/bi_view_editor/models/bve_view.py:409 +#, python-format +msgid "BI View" +msgstr "" + #. module: bi_view_editor #: model:ir.model,name:bi_view_editor.model_bve_view msgid "BI View Editor" msgstr "" +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/js/bi_view_editor.JoinNodeDialog.js:36 +#, python-format +msgid "Cancel" +msgstr "" + +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:18 +#, python-format +msgid "Clear" +msgstr "" + +#. module: bi_view_editor +#: model:ir.actions.act_window,help:bi_view_editor.action_bi_view_editor_view_form +msgid "Click to create a Custom Query Object." +msgstr "" + +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:103 +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:154 +#, python-format +msgid "Column" +msgstr "" + +#. module: bi_view_editor +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form +#, fuzzy +msgid "Create a Menu" +msgstr "Dibuat pada" + #. module: bi_view_editor #: selection:bve.view,state:0 msgid "Created" msgstr "" #. module: bi_view_editor -#: field:bve.view,create_uid:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_create_uid msgid "Created by" msgstr "Dibuat oleh" #. module: bi_view_editor -#: field:bve.view,create_date:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_create_date msgid "Created on" msgstr "Dibuat pada" #. module: bi_view_editor -#: view:bve.view:bi_view_editor.view_bi_view_editor_view_tree +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_tree msgid "Custom BI View" msgstr "" #. module: bi_view_editor -#: sql_constraint:bve.view:0 +#: code:addons/bi_view_editor/models/bve_view.py:64 sql_constraint:bve.view:0 +#, python-format msgid "Custom BI View names must be unique!" msgstr "" @@ -70,7 +113,7 @@ msgid "Custom BI Views" msgstr "" #. module: bi_view_editor -#: view:bve.view:bi_view_editor.view_bi_view_editor_view_form +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form msgid "Custom Object" msgstr "" @@ -80,12 +123,12 @@ msgid "Custom Reports" msgstr "" #. module: bi_view_editor -#: field:bve.view,data:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_data msgid "Data" msgstr "" #. module: bi_view_editor -#: field:bve.view,display_name:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_display_name msgid "Display Name" msgstr "Nama Tampilan" @@ -95,43 +138,74 @@ msgid "Draft" msgstr "" #. module: bi_view_editor -#: code:addons/bi_view_editor/models/bve_view.py:72 -#, python-format -msgid "Error" -msgstr "" - -#. module: bi_view_editor -#: view:bve.view:bi_view_editor.view_bi_view_editor_view_form +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form msgid "Generate BI View" msgstr "" #. module: bi_view_editor -#: field:bve.view,group_ids:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_group_ids msgid "Groups" msgstr "" #. module: bi_view_editor -#: field:bve.view,id:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_id msgid "ID" msgstr "ID" #. module: bi_view_editor -#: field:bve.view,__last_update:0 +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:137 +#, python-format +msgid "Join Left" +msgstr "" + +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/js/bi_view_editor.JoinNodeDialog.js:30 +#, python-format +msgid "Join..." +msgstr "" + +#. module: bi_view_editor +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view___last_update msgid "Last Modified on" msgstr "Terakhir Dimodifikasi pada" #. module: bi_view_editor -#: field:bve.view,write_uid:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_write_uid msgid "Last Updated by" msgstr "Diperbaharui oleh" #. module: bi_view_editor -#: field:bve.view,write_date:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_write_date msgid "Last Updated on" msgstr "Diperbaharui pada" #. module: bi_view_editor -#: field:bve.view,model_name:0 +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:124 +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:157 +#, python-format +msgid "List" +msgstr "" + +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:117 +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:156 +#, python-format +msgid "Measure" +msgstr "" + +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:86 +#, python-format +msgid "Model" +msgstr "" + +#. module: bi_view_editor +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_model_name msgid "Model Name" msgstr "" @@ -141,67 +215,141 @@ msgid "Models" msgstr "" #. module: bi_view_editor -#: field:bve.view,name:0 +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:85 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_name +#, python-format msgid "Name" msgstr "Nama" #. module: bi_view_editor -#: view:bve.view:bi_view_editor.view_bi_view_editor_view_form -#: field:bve.view,note:0 +#: code:addons/bi_view_editor/models/models.py:56 +#, python-format +msgid "No data to be displayed." +msgstr "" + +#. module: bi_view_editor +#: code:addons/bi_view_editor/models/bve_view.py:284 +#, python-format +msgid "No data to process." +msgstr "" + +#. module: bi_view_editor +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_note +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form msgid "Notes" msgstr "" #. module: bi_view_editor -#: view:bve.view:bi_view_editor.view_bi_view_editor_view_form +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form msgid "Open BI View" msgstr "" #. module: bi_view_editor -#: view:bve.view:bi_view_editor.view_bi_view_editor_view_form +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:87 +#, python-format +msgid "Options" +msgstr "" + +#. module: bi_view_editor +#: code:addons/bi_view_editor/models/bve_view.py:224 +#, python-format +msgid "Please select at least one group on the security tab." +msgstr "" + +#. module: bi_view_editor +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form msgid "Query" msgstr "" #. module: bi_view_editor -#: view:bve.view:bi_view_editor.view_bi_view_editor_view_form +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form msgid "Reset to Draft" msgstr "" #. module: bi_view_editor -#: view:bve.view:bi_view_editor.view_bi_view_editor_view_form +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:110 +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:155 +#, python-format +msgid "Row" +msgstr "" + +#. module: bi_view_editor +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form msgid "Security" msgstr "Keamanan" #. module: bi_view_editor -#: field:bve.view,state:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_state msgid "State" msgstr "" #. module: bi_view_editor -#: help:bve.view,data:0 +#: model:ir.actions.act_window,name:bi_view_editor.action_bi_view_editor_translations +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form +msgid "Translations" +msgstr "" + +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:30 +#, python-format +msgid "Use the existing node" +msgstr "" + +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:34 +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:43 +#, python-format +msgid "Use the field" +msgstr "" + +#. module: bi_view_editor +#: model:ir.model.fields,help:bi_view_editor.field_bve_view_data msgid "" "Use the special query builder to define the query to generate your report " "dataset. NOTE: To be edited, the query should be in 'Draft' status." msgstr "" #. module: bi_view_editor -#: help:bve.view,group_ids:0 +#: model:ir.model.fields,help:bi_view_editor.field_bve_view_group_ids msgid "" "User groups allowed to see the generated report; if NO groups are specified " "the report will be public for everyone." msgstr "" #. module: bi_view_editor -#: field:bve.view,user_ids:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_user_ids msgid "Users" msgstr "" #. module: bi_view_editor -#: field:bve.view,view_id:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_view_id msgid "View" msgstr "" #. module: bi_view_editor -#: code:addons/bi_view_editor/models/bve_view.py:73 +#: code:addons/bi_view_editor/models/bve_view.py:456 #, python-format msgid "You cannot delete a created view! Reset the view to draft first." msgstr "" + +#. module: bi_view_editor +#: model:ir.model,name:bi_view_editor.model_base +msgid "base" +msgstr "" + +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:39 +#, python-format +msgid "new" +msgstr "" + +#. module: bi_view_editor +#: model:ir.model,name:bi_view_editor.model_wizard_ir_model_menu_create +msgid "wizard.ir.model.menu.create" +msgstr "" diff --git a/bi_view_editor/i18n/it.po b/bi_view_editor/i18n/it.po index 455486e9f..bc0834ad4 100644 --- a/bi_view_editor/i18n/it.po +++ b/bi_view_editor/i18n/it.po @@ -1,7 +1,7 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: # * bi_view_editor -# +# # Translators: msgid "" msgstr "" @@ -10,56 +10,99 @@ msgstr "" "POT-Creation-Date: 2017-01-21 05:51+0000\n" "PO-Revision-Date: 2016-03-21 15:33+0000\n" "Last-Translator: <>\n" -"Language-Team: Italian (http://www.transifex.com/oca/OCA-reporting-engine-8-0/language/it/)\n" +"Language-Team: Italian (http://www.transifex.com/oca/OCA-reporting-" +"engine-8-0/language/it/)\n" +"Language: 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: bi_view_editor -#: model:ir.actions.act_window,help:bi_view_editor.action_bi_view_editor_view_form -msgid "" -"

    \n" -" Click to create a Custom Query Object.\n" -"

    \n" -"\n" -"

    \n" -" " +#: code:addons/bi_view_editor/models/bve_view.py:415 +#, python-format +msgid "%s (copy)" msgstr "" #. module: bi_view_editor -#: field:bve.view,action_id:0 +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:179 +#, python-format +msgid "(join left)" +msgstr "" + +#. module: bi_view_editor +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_action_id msgid "Action" msgstr "Azione" +#. module: bi_view_editor +#: code:addons/bi_view_editor/models/bve_view.py:409 +#, python-format +msgid "BI View" +msgstr "" + #. module: bi_view_editor #: model:ir.model,name:bi_view_editor.model_bve_view msgid "BI View Editor" msgstr "" +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/js/bi_view_editor.JoinNodeDialog.js:36 +#, python-format +msgid "Cancel" +msgstr "" + +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:18 +#, python-format +msgid "Clear" +msgstr "" + +#. module: bi_view_editor +#: model:ir.actions.act_window,help:bi_view_editor.action_bi_view_editor_view_form +msgid "Click to create a Custom Query Object." +msgstr "" + +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:103 +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:154 +#, python-format +msgid "Column" +msgstr "" + +#. module: bi_view_editor +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form +#, fuzzy +msgid "Create a Menu" +msgstr "Creato il" + #. module: bi_view_editor #: selection:bve.view,state:0 msgid "Created" msgstr "" #. module: bi_view_editor -#: field:bve.view,create_uid:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_create_uid msgid "Created by" msgstr "Creato da" #. module: bi_view_editor -#: field:bve.view,create_date:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_create_date msgid "Created on" msgstr "Creato il" #. module: bi_view_editor -#: view:bve.view:bi_view_editor.view_bi_view_editor_view_tree +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_tree msgid "Custom BI View" msgstr "" #. module: bi_view_editor -#: sql_constraint:bve.view:0 +#: code:addons/bi_view_editor/models/bve_view.py:64 sql_constraint:bve.view:0 +#, python-format msgid "Custom BI View names must be unique!" msgstr "" @@ -70,7 +113,7 @@ msgid "Custom BI Views" msgstr "" #. module: bi_view_editor -#: view:bve.view:bi_view_editor.view_bi_view_editor_view_form +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form msgid "Custom Object" msgstr "" @@ -80,12 +123,12 @@ msgid "Custom Reports" msgstr "" #. module: bi_view_editor -#: field:bve.view,data:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_data msgid "Data" msgstr "" #. module: bi_view_editor -#: field:bve.view,display_name:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_display_name msgid "Display Name" msgstr "Nome da visualizzare" @@ -95,43 +138,74 @@ msgid "Draft" msgstr "Bozza" #. module: bi_view_editor -#: code:addons/bi_view_editor/models/bve_view.py:72 -#, python-format -msgid "Error" -msgstr "Error" - -#. module: bi_view_editor -#: view:bve.view:bi_view_editor.view_bi_view_editor_view_form +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form msgid "Generate BI View" msgstr "" #. module: bi_view_editor -#: field:bve.view,group_ids:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_group_ids msgid "Groups" msgstr "" #. module: bi_view_editor -#: field:bve.view,id:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_id msgid "ID" msgstr "ID" #. module: bi_view_editor -#: field:bve.view,__last_update:0 +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:137 +#, python-format +msgid "Join Left" +msgstr "" + +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/js/bi_view_editor.JoinNodeDialog.js:30 +#, python-format +msgid "Join..." +msgstr "" + +#. module: bi_view_editor +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view___last_update msgid "Last Modified on" msgstr "Ultima modifica il" #. module: bi_view_editor -#: field:bve.view,write_uid:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_write_uid msgid "Last Updated by" msgstr "Ultimo aggiornamento di" #. module: bi_view_editor -#: field:bve.view,write_date:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_write_date msgid "Last Updated on" msgstr "Ultimo aggiornamento il" #. module: bi_view_editor -#: field:bve.view,model_name:0 +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:124 +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:157 +#, python-format +msgid "List" +msgstr "" + +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:117 +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:156 +#, python-format +msgid "Measure" +msgstr "" + +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:86 +#, fuzzy, python-format +msgid "Model" +msgstr "Modelli" + +#. module: bi_view_editor +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_model_name msgid "Model Name" msgstr "" @@ -141,67 +215,144 @@ msgid "Models" msgstr "Modelli" #. module: bi_view_editor -#: field:bve.view,name:0 +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:85 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_name +#, python-format msgid "Name" msgstr "Nome" #. module: bi_view_editor -#: view:bve.view:bi_view_editor.view_bi_view_editor_view_form -#: field:bve.view,note:0 +#: code:addons/bi_view_editor/models/models.py:56 +#, python-format +msgid "No data to be displayed." +msgstr "" + +#. module: bi_view_editor +#: code:addons/bi_view_editor/models/bve_view.py:284 +#, python-format +msgid "No data to process." +msgstr "" + +#. module: bi_view_editor +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_note +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form msgid "Notes" msgstr "Note" #. module: bi_view_editor -#: view:bve.view:bi_view_editor.view_bi_view_editor_view_form +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form msgid "Open BI View" msgstr "" #. module: bi_view_editor -#: view:bve.view:bi_view_editor.view_bi_view_editor_view_form +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:87 +#, fuzzy, python-format +msgid "Options" +msgstr "Azione" + +#. module: bi_view_editor +#: code:addons/bi_view_editor/models/bve_view.py:224 +#, python-format +msgid "Please select at least one group on the security tab." +msgstr "" + +#. module: bi_view_editor +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form msgid "Query" msgstr "" #. module: bi_view_editor -#: view:bve.view:bi_view_editor.view_bi_view_editor_view_form +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form msgid "Reset to Draft" msgstr "" #. module: bi_view_editor -#: view:bve.view:bi_view_editor.view_bi_view_editor_view_form +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:110 +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:155 +#, python-format +msgid "Row" +msgstr "" + +#. module: bi_view_editor +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form msgid "Security" msgstr "Sicurezza" #. module: bi_view_editor -#: field:bve.view,state:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_state msgid "State" msgstr "Stato" #. module: bi_view_editor -#: help:bve.view,data:0 +#: model:ir.actions.act_window,name:bi_view_editor.action_bi_view_editor_translations +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form +msgid "Translations" +msgstr "" + +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:30 +#, python-format +msgid "Use the existing node" +msgstr "" + +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:34 +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:43 +#, python-format +msgid "Use the field" +msgstr "" + +#. module: bi_view_editor +#: model:ir.model.fields,help:bi_view_editor.field_bve_view_data msgid "" "Use the special query builder to define the query to generate your report " "dataset. NOTE: To be edited, the query should be in 'Draft' status." msgstr "" #. module: bi_view_editor -#: help:bve.view,group_ids:0 +#: model:ir.model.fields,help:bi_view_editor.field_bve_view_group_ids msgid "" "User groups allowed to see the generated report; if NO groups are specified " "the report will be public for everyone." msgstr "" #. module: bi_view_editor -#: field:bve.view,user_ids:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_user_ids msgid "Users" msgstr "Utenti" #. module: bi_view_editor -#: field:bve.view,view_id:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_view_id msgid "View" msgstr "" #. module: bi_view_editor -#: code:addons/bi_view_editor/models/bve_view.py:73 +#: code:addons/bi_view_editor/models/bve_view.py:456 #, python-format msgid "You cannot delete a created view! Reset the view to draft first." msgstr "" + +#. module: bi_view_editor +#: model:ir.model,name:bi_view_editor.model_base +msgid "base" +msgstr "" + +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:39 +#, python-format +msgid "new" +msgstr "" + +#. module: bi_view_editor +#: model:ir.model,name:bi_view_editor.model_wizard_ir_model_menu_create +msgid "wizard.ir.model.menu.create" +msgstr "" + +#~ msgid "Error" +#~ msgstr "Error" diff --git a/bi_view_editor/i18n/ja.po b/bi_view_editor/i18n/ja.po index aa1f66f7d..9f4970fcd 100644 --- a/bi_view_editor/i18n/ja.po +++ b/bi_view_editor/i18n/ja.po @@ -1,7 +1,7 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: # * bi_view_editor -# +# # Translators: msgid "" msgstr "" @@ -10,56 +10,99 @@ msgstr "" "POT-Creation-Date: 2016-09-18 04:34+0000\n" "PO-Revision-Date: 2016-03-21 15:33+0000\n" "Last-Translator: <>\n" -"Language-Team: Japanese (http://www.transifex.com/oca/OCA-reporting-engine-8-0/language/ja/)\n" +"Language-Team: Japanese (http://www.transifex.com/oca/OCA-reporting-" +"engine-8-0/language/ja/)\n" +"Language: ja\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: \n" -"Language: ja\n" "Plural-Forms: nplurals=1; plural=0;\n" #. module: bi_view_editor -#: model:ir.actions.act_window,help:bi_view_editor.action_bi_view_editor_view_form -msgid "" -"

    \n" -" Click to create a Custom Query Object.\n" -"

    \n" -"\n" -"

    \n" -" " +#: code:addons/bi_view_editor/models/bve_view.py:415 +#, python-format +msgid "%s (copy)" msgstr "" #. module: bi_view_editor -#: field:bve.view,action_id:0 +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:179 +#, python-format +msgid "(join left)" +msgstr "" + +#. module: bi_view_editor +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_action_id msgid "Action" msgstr "" +#. module: bi_view_editor +#: code:addons/bi_view_editor/models/bve_view.py:409 +#, python-format +msgid "BI View" +msgstr "" + #. module: bi_view_editor #: model:ir.model,name:bi_view_editor.model_bve_view msgid "BI View Editor" msgstr "" +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/js/bi_view_editor.JoinNodeDialog.js:36 +#, python-format +msgid "Cancel" +msgstr "" + +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:18 +#, python-format +msgid "Clear" +msgstr "" + +#. module: bi_view_editor +#: model:ir.actions.act_window,help:bi_view_editor.action_bi_view_editor_view_form +msgid "Click to create a Custom Query Object." +msgstr "" + +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:103 +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:154 +#, python-format +msgid "Column" +msgstr "" + +#. module: bi_view_editor +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form +#, fuzzy +msgid "Create a Menu" +msgstr "作成日" + #. module: bi_view_editor #: selection:bve.view,state:0 msgid "Created" msgstr "" #. module: bi_view_editor -#: field:bve.view,create_uid:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_create_uid msgid "Created by" msgstr "作成者" #. module: bi_view_editor -#: field:bve.view,create_date:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_create_date msgid "Created on" msgstr "作成日" #. module: bi_view_editor -#: view:bve.view:bi_view_editor.view_bi_view_editor_view_tree +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_tree msgid "Custom BI View" msgstr "" #. module: bi_view_editor -#: sql_constraint:bve.view:0 +#: code:addons/bi_view_editor/models/bve_view.py:64 sql_constraint:bve.view:0 +#, python-format msgid "Custom BI View names must be unique!" msgstr "" @@ -70,7 +113,7 @@ msgid "Custom BI Views" msgstr "" #. module: bi_view_editor -#: view:bve.view:bi_view_editor.view_bi_view_editor_view_form +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form msgid "Custom Object" msgstr "" @@ -80,12 +123,12 @@ msgid "Custom Reports" msgstr "" #. module: bi_view_editor -#: field:bve.view,data:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_data msgid "Data" msgstr "" #. module: bi_view_editor -#: field:bve.view,display_name:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_display_name msgid "Display Name" msgstr "表示名" @@ -95,43 +138,74 @@ msgid "Draft" msgstr "" #. module: bi_view_editor -#: code:addons/bi_view_editor/models/bve_view.py:72 -#, python-format -msgid "Error" -msgstr "" - -#. module: bi_view_editor -#: view:bve.view:bi_view_editor.view_bi_view_editor_view_form +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form msgid "Generate BI View" msgstr "" #. module: bi_view_editor -#: field:bve.view,group_ids:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_group_ids msgid "Groups" msgstr "" #. module: bi_view_editor -#: field:bve.view,id:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_id msgid "ID" msgstr "ID" #. module: bi_view_editor -#: field:bve.view,__last_update:0 +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:137 +#, python-format +msgid "Join Left" +msgstr "" + +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/js/bi_view_editor.JoinNodeDialog.js:30 +#, python-format +msgid "Join..." +msgstr "" + +#. module: bi_view_editor +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view___last_update msgid "Last Modified on" msgstr "最終更新日" #. module: bi_view_editor -#: field:bve.view,write_uid:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_write_uid msgid "Last Updated by" msgstr "最終更新者" #. module: bi_view_editor -#: field:bve.view,write_date:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_write_date msgid "Last Updated on" msgstr "最終更新日" #. module: bi_view_editor -#: field:bve.view,model_name:0 +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:124 +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:157 +#, python-format +msgid "List" +msgstr "" + +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:117 +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:156 +#, python-format +msgid "Measure" +msgstr "" + +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:86 +#, python-format +msgid "Model" +msgstr "" + +#. module: bi_view_editor +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_model_name msgid "Model Name" msgstr "" @@ -141,67 +215,141 @@ msgid "Models" msgstr "" #. module: bi_view_editor -#: field:bve.view,name:0 +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:85 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_name +#, python-format msgid "Name" msgstr "名称" #. module: bi_view_editor -#: view:bve.view:bi_view_editor.view_bi_view_editor_view_form -#: field:bve.view,note:0 +#: code:addons/bi_view_editor/models/models.py:56 +#, python-format +msgid "No data to be displayed." +msgstr "" + +#. module: bi_view_editor +#: code:addons/bi_view_editor/models/bve_view.py:284 +#, python-format +msgid "No data to process." +msgstr "" + +#. module: bi_view_editor +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_note +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form msgid "Notes" msgstr "" #. module: bi_view_editor -#: view:bve.view:bi_view_editor.view_bi_view_editor_view_form +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form msgid "Open BI View" msgstr "" #. module: bi_view_editor -#: view:bve.view:bi_view_editor.view_bi_view_editor_view_form +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:87 +#, python-format +msgid "Options" +msgstr "" + +#. module: bi_view_editor +#: code:addons/bi_view_editor/models/bve_view.py:224 +#, python-format +msgid "Please select at least one group on the security tab." +msgstr "" + +#. module: bi_view_editor +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form msgid "Query" msgstr "" #. module: bi_view_editor -#: view:bve.view:bi_view_editor.view_bi_view_editor_view_form +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form msgid "Reset to Draft" msgstr "" #. module: bi_view_editor -#: view:bve.view:bi_view_editor.view_bi_view_editor_view_form +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:110 +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:155 +#, python-format +msgid "Row" +msgstr "" + +#. module: bi_view_editor +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form msgid "Security" msgstr "セキュリティ" #. module: bi_view_editor -#: field:bve.view,state:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_state msgid "State" msgstr "" #. module: bi_view_editor -#: help:bve.view,data:0 +#: model:ir.actions.act_window,name:bi_view_editor.action_bi_view_editor_translations +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form +msgid "Translations" +msgstr "" + +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:30 +#, python-format +msgid "Use the existing node" +msgstr "" + +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:34 +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:43 +#, python-format +msgid "Use the field" +msgstr "" + +#. module: bi_view_editor +#: model:ir.model.fields,help:bi_view_editor.field_bve_view_data msgid "" "Use the special query builder to define the query to generate your report " "dataset. NOTE: To be edited, the query should be in 'Draft' status." msgstr "" #. module: bi_view_editor -#: help:bve.view,group_ids:0 +#: model:ir.model.fields,help:bi_view_editor.field_bve_view_group_ids msgid "" "User groups allowed to see the generated report; if NO groups are specified " "the report will be public for everyone." msgstr "" #. module: bi_view_editor -#: field:bve.view,user_ids:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_user_ids msgid "Users" msgstr "" #. module: bi_view_editor -#: field:bve.view,view_id:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_view_id msgid "View" msgstr "" #. module: bi_view_editor -#: code:addons/bi_view_editor/models/bve_view.py:73 +#: code:addons/bi_view_editor/models/bve_view.py:456 #, python-format msgid "You cannot delete a created view! Reset the view to draft first." msgstr "" + +#. module: bi_view_editor +#: model:ir.model,name:bi_view_editor.model_base +msgid "base" +msgstr "" + +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:39 +#, python-format +msgid "new" +msgstr "" + +#. module: bi_view_editor +#: model:ir.model,name:bi_view_editor.model_wizard_ir_model_menu_create +msgid "wizard.ir.model.menu.create" +msgstr "" diff --git a/bi_view_editor/i18n/ko.po b/bi_view_editor/i18n/ko.po index d6aadac6c..0d635997d 100644 --- a/bi_view_editor/i18n/ko.po +++ b/bi_view_editor/i18n/ko.po @@ -1,7 +1,7 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: # * bi_view_editor -# +# # Translators: msgid "" msgstr "" @@ -10,56 +10,99 @@ msgstr "" "POT-Creation-Date: 2016-09-18 04:34+0000\n" "PO-Revision-Date: 2016-03-21 15:33+0000\n" "Last-Translator: <>\n" -"Language-Team: Korean (http://www.transifex.com/oca/OCA-reporting-engine-8-0/language/ko/)\n" +"Language-Team: Korean (http://www.transifex.com/oca/OCA-reporting-engine-8-0/" +"language/ko/)\n" +"Language: ko\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: \n" -"Language: ko\n" "Plural-Forms: nplurals=1; plural=0;\n" #. module: bi_view_editor -#: model:ir.actions.act_window,help:bi_view_editor.action_bi_view_editor_view_form -msgid "" -"

    \n" -" Click to create a Custom Query Object.\n" -"

    \n" -"\n" -"

    \n" -" " +#: code:addons/bi_view_editor/models/bve_view.py:415 +#, python-format +msgid "%s (copy)" msgstr "" #. module: bi_view_editor -#: field:bve.view,action_id:0 +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:179 +#, python-format +msgid "(join left)" +msgstr "" + +#. module: bi_view_editor +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_action_id msgid "Action" msgstr "" +#. module: bi_view_editor +#: code:addons/bi_view_editor/models/bve_view.py:409 +#, python-format +msgid "BI View" +msgstr "" + #. module: bi_view_editor #: model:ir.model,name:bi_view_editor.model_bve_view msgid "BI View Editor" msgstr "" +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/js/bi_view_editor.JoinNodeDialog.js:36 +#, python-format +msgid "Cancel" +msgstr "" + +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:18 +#, python-format +msgid "Clear" +msgstr "" + +#. module: bi_view_editor +#: model:ir.actions.act_window,help:bi_view_editor.action_bi_view_editor_view_form +msgid "Click to create a Custom Query Object." +msgstr "" + +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:103 +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:154 +#, python-format +msgid "Column" +msgstr "" + +#. module: bi_view_editor +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form +#, fuzzy +msgid "Create a Menu" +msgstr "작성일" + #. module: bi_view_editor #: selection:bve.view,state:0 msgid "Created" msgstr "" #. module: bi_view_editor -#: field:bve.view,create_uid:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_create_uid msgid "Created by" msgstr "작성자" #. module: bi_view_editor -#: field:bve.view,create_date:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_create_date msgid "Created on" msgstr "작성일" #. module: bi_view_editor -#: view:bve.view:bi_view_editor.view_bi_view_editor_view_tree +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_tree msgid "Custom BI View" msgstr "" #. module: bi_view_editor -#: sql_constraint:bve.view:0 +#: code:addons/bi_view_editor/models/bve_view.py:64 sql_constraint:bve.view:0 +#, python-format msgid "Custom BI View names must be unique!" msgstr "" @@ -70,7 +113,7 @@ msgid "Custom BI Views" msgstr "" #. module: bi_view_editor -#: view:bve.view:bi_view_editor.view_bi_view_editor_view_form +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form msgid "Custom Object" msgstr "" @@ -80,12 +123,12 @@ msgid "Custom Reports" msgstr "" #. module: bi_view_editor -#: field:bve.view,data:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_data msgid "Data" msgstr "" #. module: bi_view_editor -#: field:bve.view,display_name:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_display_name msgid "Display Name" msgstr "표시 이름" @@ -95,43 +138,74 @@ msgid "Draft" msgstr "" #. module: bi_view_editor -#: code:addons/bi_view_editor/models/bve_view.py:72 -#, python-format -msgid "Error" -msgstr "" - -#. module: bi_view_editor -#: view:bve.view:bi_view_editor.view_bi_view_editor_view_form +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form msgid "Generate BI View" msgstr "" #. module: bi_view_editor -#: field:bve.view,group_ids:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_group_ids msgid "Groups" msgstr "" #. module: bi_view_editor -#: field:bve.view,id:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_id msgid "ID" msgstr "ID" #. module: bi_view_editor -#: field:bve.view,__last_update:0 +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:137 +#, python-format +msgid "Join Left" +msgstr "" + +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/js/bi_view_editor.JoinNodeDialog.js:30 +#, python-format +msgid "Join..." +msgstr "" + +#. module: bi_view_editor +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view___last_update msgid "Last Modified on" msgstr "최근 수정" #. module: bi_view_editor -#: field:bve.view,write_uid:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_write_uid msgid "Last Updated by" msgstr "최근 갱신한 사람" #. module: bi_view_editor -#: field:bve.view,write_date:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_write_date msgid "Last Updated on" msgstr "최근 갱신 날짜" #. module: bi_view_editor -#: field:bve.view,model_name:0 +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:124 +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:157 +#, python-format +msgid "List" +msgstr "" + +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:117 +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:156 +#, python-format +msgid "Measure" +msgstr "" + +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:86 +#, python-format +msgid "Model" +msgstr "" + +#. module: bi_view_editor +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_model_name msgid "Model Name" msgstr "" @@ -141,67 +215,141 @@ msgid "Models" msgstr "" #. module: bi_view_editor -#: field:bve.view,name:0 +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:85 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_name +#, python-format msgid "Name" msgstr "이름" #. module: bi_view_editor -#: view:bve.view:bi_view_editor.view_bi_view_editor_view_form -#: field:bve.view,note:0 +#: code:addons/bi_view_editor/models/models.py:56 +#, python-format +msgid "No data to be displayed." +msgstr "" + +#. module: bi_view_editor +#: code:addons/bi_view_editor/models/bve_view.py:284 +#, python-format +msgid "No data to process." +msgstr "" + +#. module: bi_view_editor +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_note +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form msgid "Notes" msgstr "" #. module: bi_view_editor -#: view:bve.view:bi_view_editor.view_bi_view_editor_view_form +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form msgid "Open BI View" msgstr "" #. module: bi_view_editor -#: view:bve.view:bi_view_editor.view_bi_view_editor_view_form +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:87 +#, python-format +msgid "Options" +msgstr "" + +#. module: bi_view_editor +#: code:addons/bi_view_editor/models/bve_view.py:224 +#, python-format +msgid "Please select at least one group on the security tab." +msgstr "" + +#. module: bi_view_editor +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form msgid "Query" msgstr "" #. module: bi_view_editor -#: view:bve.view:bi_view_editor.view_bi_view_editor_view_form +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form msgid "Reset to Draft" msgstr "" #. module: bi_view_editor -#: view:bve.view:bi_view_editor.view_bi_view_editor_view_form +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:110 +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:155 +#, python-format +msgid "Row" +msgstr "" + +#. module: bi_view_editor +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form msgid "Security" msgstr "보안" #. module: bi_view_editor -#: field:bve.view,state:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_state msgid "State" msgstr "" #. module: bi_view_editor -#: help:bve.view,data:0 +#: model:ir.actions.act_window,name:bi_view_editor.action_bi_view_editor_translations +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form +msgid "Translations" +msgstr "" + +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:30 +#, python-format +msgid "Use the existing node" +msgstr "" + +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:34 +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:43 +#, python-format +msgid "Use the field" +msgstr "" + +#. module: bi_view_editor +#: model:ir.model.fields,help:bi_view_editor.field_bve_view_data msgid "" "Use the special query builder to define the query to generate your report " "dataset. NOTE: To be edited, the query should be in 'Draft' status." msgstr "" #. module: bi_view_editor -#: help:bve.view,group_ids:0 +#: model:ir.model.fields,help:bi_view_editor.field_bve_view_group_ids msgid "" "User groups allowed to see the generated report; if NO groups are specified " "the report will be public for everyone." msgstr "" #. module: bi_view_editor -#: field:bve.view,user_ids:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_user_ids msgid "Users" msgstr "" #. module: bi_view_editor -#: field:bve.view,view_id:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_view_id msgid "View" msgstr "" #. module: bi_view_editor -#: code:addons/bi_view_editor/models/bve_view.py:73 +#: code:addons/bi_view_editor/models/bve_view.py:456 #, python-format msgid "You cannot delete a created view! Reset the view to draft first." msgstr "" + +#. module: bi_view_editor +#: model:ir.model,name:bi_view_editor.model_base +msgid "base" +msgstr "" + +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:39 +#, python-format +msgid "new" +msgstr "" + +#. module: bi_view_editor +#: model:ir.model,name:bi_view_editor.model_wizard_ir_model_menu_create +msgid "wizard.ir.model.menu.create" +msgstr "" diff --git a/bi_view_editor/i18n/lt.po b/bi_view_editor/i18n/lt.po index d0ada9a70..ca1d24c11 100644 --- a/bi_view_editor/i18n/lt.po +++ b/bi_view_editor/i18n/lt.po @@ -1,7 +1,7 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: # * bi_view_editor -# +# # Translators: msgid "" msgstr "" @@ -10,56 +10,100 @@ msgstr "" "POT-Creation-Date: 2016-09-18 04:34+0000\n" "PO-Revision-Date: 2016-03-21 15:33+0000\n" "Last-Translator: <>\n" -"Language-Team: Lithuanian (http://www.transifex.com/oca/OCA-reporting-engine-8-0/language/lt/)\n" +"Language-Team: Lithuanian (http://www.transifex.com/oca/OCA-reporting-" +"engine-8-0/language/lt/)\n" +"Language: lt\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: \n" -"Language: lt\n" -"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && (n%100<10 || n%100>=20) ? 1 : 2);\n" +"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && (n" +"%100<10 || n%100>=20) ? 1 : 2);\n" #. module: bi_view_editor -#: model:ir.actions.act_window,help:bi_view_editor.action_bi_view_editor_view_form -msgid "" -"

    \n" -" Click to create a Custom Query Object.\n" -"

    \n" -"\n" -"

    \n" -" " +#: code:addons/bi_view_editor/models/bve_view.py:415 +#, python-format +msgid "%s (copy)" msgstr "" #. module: bi_view_editor -#: field:bve.view,action_id:0 +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:179 +#, python-format +msgid "(join left)" +msgstr "" + +#. module: bi_view_editor +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_action_id msgid "Action" msgstr "" +#. module: bi_view_editor +#: code:addons/bi_view_editor/models/bve_view.py:409 +#, python-format +msgid "BI View" +msgstr "" + #. module: bi_view_editor #: model:ir.model,name:bi_view_editor.model_bve_view msgid "BI View Editor" msgstr "" +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/js/bi_view_editor.JoinNodeDialog.js:36 +#, python-format +msgid "Cancel" +msgstr "" + +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:18 +#, python-format +msgid "Clear" +msgstr "" + +#. module: bi_view_editor +#: model:ir.actions.act_window,help:bi_view_editor.action_bi_view_editor_view_form +msgid "Click to create a Custom Query Object." +msgstr "" + +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:103 +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:154 +#, python-format +msgid "Column" +msgstr "" + +#. module: bi_view_editor +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form +#, fuzzy +msgid "Create a Menu" +msgstr "Sukurta" + #. module: bi_view_editor #: selection:bve.view,state:0 msgid "Created" msgstr "" #. module: bi_view_editor -#: field:bve.view,create_uid:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_create_uid msgid "Created by" msgstr "Sukūrė" #. module: bi_view_editor -#: field:bve.view,create_date:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_create_date msgid "Created on" msgstr "Sukurta" #. module: bi_view_editor -#: view:bve.view:bi_view_editor.view_bi_view_editor_view_tree +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_tree msgid "Custom BI View" msgstr "" #. module: bi_view_editor -#: sql_constraint:bve.view:0 +#: code:addons/bi_view_editor/models/bve_view.py:64 sql_constraint:bve.view:0 +#, python-format msgid "Custom BI View names must be unique!" msgstr "" @@ -70,7 +114,7 @@ msgid "Custom BI Views" msgstr "" #. module: bi_view_editor -#: view:bve.view:bi_view_editor.view_bi_view_editor_view_form +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form msgid "Custom Object" msgstr "" @@ -80,12 +124,12 @@ msgid "Custom Reports" msgstr "" #. module: bi_view_editor -#: field:bve.view,data:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_data msgid "Data" msgstr "" #. module: bi_view_editor -#: field:bve.view,display_name:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_display_name msgid "Display Name" msgstr "Vaizduojamas pavadinimas" @@ -95,43 +139,74 @@ msgid "Draft" msgstr "" #. module: bi_view_editor -#: code:addons/bi_view_editor/models/bve_view.py:72 -#, python-format -msgid "Error" -msgstr "" - -#. module: bi_view_editor -#: view:bve.view:bi_view_editor.view_bi_view_editor_view_form +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form msgid "Generate BI View" msgstr "" #. module: bi_view_editor -#: field:bve.view,group_ids:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_group_ids msgid "Groups" msgstr "" #. module: bi_view_editor -#: field:bve.view,id:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_id msgid "ID" msgstr "ID" #. module: bi_view_editor -#: field:bve.view,__last_update:0 +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:137 +#, python-format +msgid "Join Left" +msgstr "" + +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/js/bi_view_editor.JoinNodeDialog.js:30 +#, python-format +msgid "Join..." +msgstr "" + +#. module: bi_view_editor +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view___last_update msgid "Last Modified on" msgstr "Paskutinį kartą keista" #. module: bi_view_editor -#: field:bve.view,write_uid:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_write_uid msgid "Last Updated by" msgstr "Paskutinį kartą atnaujino" #. module: bi_view_editor -#: field:bve.view,write_date:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_write_date msgid "Last Updated on" msgstr "Paskutinį kartą atnaujinta" #. module: bi_view_editor -#: field:bve.view,model_name:0 +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:124 +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:157 +#, python-format +msgid "List" +msgstr "" + +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:117 +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:156 +#, python-format +msgid "Measure" +msgstr "" + +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:86 +#, python-format +msgid "Model" +msgstr "" + +#. module: bi_view_editor +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_model_name msgid "Model Name" msgstr "" @@ -141,67 +216,141 @@ msgid "Models" msgstr "" #. module: bi_view_editor -#: field:bve.view,name:0 +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:85 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_name +#, python-format msgid "Name" msgstr "Pavadinimas" #. module: bi_view_editor -#: view:bve.view:bi_view_editor.view_bi_view_editor_view_form -#: field:bve.view,note:0 +#: code:addons/bi_view_editor/models/models.py:56 +#, python-format +msgid "No data to be displayed." +msgstr "" + +#. module: bi_view_editor +#: code:addons/bi_view_editor/models/bve_view.py:284 +#, python-format +msgid "No data to process." +msgstr "" + +#. module: bi_view_editor +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_note +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form msgid "Notes" msgstr "" #. module: bi_view_editor -#: view:bve.view:bi_view_editor.view_bi_view_editor_view_form +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form msgid "Open BI View" msgstr "" #. module: bi_view_editor -#: view:bve.view:bi_view_editor.view_bi_view_editor_view_form +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:87 +#, python-format +msgid "Options" +msgstr "" + +#. module: bi_view_editor +#: code:addons/bi_view_editor/models/bve_view.py:224 +#, python-format +msgid "Please select at least one group on the security tab." +msgstr "" + +#. module: bi_view_editor +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form msgid "Query" msgstr "" #. module: bi_view_editor -#: view:bve.view:bi_view_editor.view_bi_view_editor_view_form +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form msgid "Reset to Draft" msgstr "" #. module: bi_view_editor -#: view:bve.view:bi_view_editor.view_bi_view_editor_view_form +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:110 +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:155 +#, python-format +msgid "Row" +msgstr "" + +#. module: bi_view_editor +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form msgid "Security" msgstr "Saugumas" #. module: bi_view_editor -#: field:bve.view,state:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_state msgid "State" msgstr "" #. module: bi_view_editor -#: help:bve.view,data:0 +#: model:ir.actions.act_window,name:bi_view_editor.action_bi_view_editor_translations +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form +msgid "Translations" +msgstr "" + +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:30 +#, python-format +msgid "Use the existing node" +msgstr "" + +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:34 +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:43 +#, python-format +msgid "Use the field" +msgstr "" + +#. module: bi_view_editor +#: model:ir.model.fields,help:bi_view_editor.field_bve_view_data msgid "" "Use the special query builder to define the query to generate your report " "dataset. NOTE: To be edited, the query should be in 'Draft' status." msgstr "" #. module: bi_view_editor -#: help:bve.view,group_ids:0 +#: model:ir.model.fields,help:bi_view_editor.field_bve_view_group_ids msgid "" "User groups allowed to see the generated report; if NO groups are specified " "the report will be public for everyone." msgstr "" #. module: bi_view_editor -#: field:bve.view,user_ids:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_user_ids msgid "Users" msgstr "" #. module: bi_view_editor -#: field:bve.view,view_id:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_view_id msgid "View" msgstr "" #. module: bi_view_editor -#: code:addons/bi_view_editor/models/bve_view.py:73 +#: code:addons/bi_view_editor/models/bve_view.py:456 #, python-format msgid "You cannot delete a created view! Reset the view to draft first." msgstr "" + +#. module: bi_view_editor +#: model:ir.model,name:bi_view_editor.model_base +msgid "base" +msgstr "" + +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:39 +#, python-format +msgid "new" +msgstr "" + +#. module: bi_view_editor +#: model:ir.model,name:bi_view_editor.model_wizard_ir_model_menu_create +msgid "wizard.ir.model.menu.create" +msgstr "" diff --git a/bi_view_editor/i18n/lt_LT.po b/bi_view_editor/i18n/lt_LT.po index 95d218ec6..497b40ba9 100644 --- a/bi_view_editor/i18n/lt_LT.po +++ b/bi_view_editor/i18n/lt_LT.po @@ -1,7 +1,7 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: # * bi_view_editor -# +# # Translators: msgid "" msgstr "" @@ -10,56 +10,100 @@ msgstr "" "POT-Creation-Date: 2016-12-24 04:38+0000\n" "PO-Revision-Date: 2016-03-21 15:33+0000\n" "Last-Translator: <>\n" -"Language-Team: Lithuanian (Lithuania) (http://www.transifex.com/oca/OCA-reporting-engine-8-0/language/lt_LT/)\n" +"Language-Team: Lithuanian (Lithuania) (http://www.transifex.com/oca/OCA-" +"reporting-engine-8-0/language/lt_LT/)\n" +"Language: lt_LT\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: \n" -"Language: lt_LT\n" -"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && (n%100<10 || n%100>=20) ? 1 : 2);\n" +"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && (n" +"%100<10 || n%100>=20) ? 1 : 2);\n" #. module: bi_view_editor -#: model:ir.actions.act_window,help:bi_view_editor.action_bi_view_editor_view_form -msgid "" -"

    \n" -" Click to create a Custom Query Object.\n" -"

    \n" -"\n" -"

    \n" -" " +#: code:addons/bi_view_editor/models/bve_view.py:415 +#, python-format +msgid "%s (copy)" msgstr "" #. module: bi_view_editor -#: field:bve.view,action_id:0 +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:179 +#, python-format +msgid "(join left)" +msgstr "" + +#. module: bi_view_editor +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_action_id msgid "Action" msgstr "" +#. module: bi_view_editor +#: code:addons/bi_view_editor/models/bve_view.py:409 +#, python-format +msgid "BI View" +msgstr "" + #. module: bi_view_editor #: model:ir.model,name:bi_view_editor.model_bve_view msgid "BI View Editor" msgstr "" +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/js/bi_view_editor.JoinNodeDialog.js:36 +#, python-format +msgid "Cancel" +msgstr "" + +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:18 +#, python-format +msgid "Clear" +msgstr "" + +#. module: bi_view_editor +#: model:ir.actions.act_window,help:bi_view_editor.action_bi_view_editor_view_form +msgid "Click to create a Custom Query Object." +msgstr "" + +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:103 +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:154 +#, python-format +msgid "Column" +msgstr "" + +#. module: bi_view_editor +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form +#, fuzzy +msgid "Create a Menu" +msgstr "Sukurta" + #. module: bi_view_editor #: selection:bve.view,state:0 msgid "Created" msgstr "" #. module: bi_view_editor -#: field:bve.view,create_uid:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_create_uid msgid "Created by" msgstr "Sukūrė" #. module: bi_view_editor -#: field:bve.view,create_date:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_create_date msgid "Created on" msgstr "Sukurta" #. module: bi_view_editor -#: view:bve.view:bi_view_editor.view_bi_view_editor_view_tree +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_tree msgid "Custom BI View" msgstr "" #. module: bi_view_editor -#: sql_constraint:bve.view:0 +#: code:addons/bi_view_editor/models/bve_view.py:64 sql_constraint:bve.view:0 +#, python-format msgid "Custom BI View names must be unique!" msgstr "" @@ -70,7 +114,7 @@ msgid "Custom BI Views" msgstr "" #. module: bi_view_editor -#: view:bve.view:bi_view_editor.view_bi_view_editor_view_form +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form msgid "Custom Object" msgstr "" @@ -80,12 +124,12 @@ msgid "Custom Reports" msgstr "" #. module: bi_view_editor -#: field:bve.view,data:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_data msgid "Data" msgstr "" #. module: bi_view_editor -#: field:bve.view,display_name:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_display_name msgid "Display Name" msgstr "" @@ -95,43 +139,74 @@ msgid "Draft" msgstr "" #. module: bi_view_editor -#: code:addons/bi_view_editor/models/bve_view.py:72 -#, python-format -msgid "Error" -msgstr "" - -#. module: bi_view_editor -#: view:bve.view:bi_view_editor.view_bi_view_editor_view_form +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form msgid "Generate BI View" msgstr "" #. module: bi_view_editor -#: field:bve.view,group_ids:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_group_ids msgid "Groups" msgstr "" #. module: bi_view_editor -#: field:bve.view,id:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_id msgid "ID" msgstr "ID" #. module: bi_view_editor -#: field:bve.view,__last_update:0 +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:137 +#, python-format +msgid "Join Left" +msgstr "" + +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/js/bi_view_editor.JoinNodeDialog.js:30 +#, python-format +msgid "Join..." +msgstr "" + +#. module: bi_view_editor +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view___last_update msgid "Last Modified on" msgstr "" #. module: bi_view_editor -#: field:bve.view,write_uid:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_write_uid msgid "Last Updated by" msgstr "Paskutinį kartą atnaujino" #. module: bi_view_editor -#: field:bve.view,write_date:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_write_date msgid "Last Updated on" msgstr "Paskutinį kartą atnaujinta" #. module: bi_view_editor -#: field:bve.view,model_name:0 +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:124 +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:157 +#, python-format +msgid "List" +msgstr "" + +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:117 +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:156 +#, python-format +msgid "Measure" +msgstr "" + +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:86 +#, python-format +msgid "Model" +msgstr "" + +#. module: bi_view_editor +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_model_name msgid "Model Name" msgstr "" @@ -141,67 +216,141 @@ msgid "Models" msgstr "" #. module: bi_view_editor -#: field:bve.view,name:0 +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:85 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_name +#, python-format msgid "Name" msgstr "" #. module: bi_view_editor -#: view:bve.view:bi_view_editor.view_bi_view_editor_view_form -#: field:bve.view,note:0 +#: code:addons/bi_view_editor/models/models.py:56 +#, python-format +msgid "No data to be displayed." +msgstr "" + +#. module: bi_view_editor +#: code:addons/bi_view_editor/models/bve_view.py:284 +#, python-format +msgid "No data to process." +msgstr "" + +#. module: bi_view_editor +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_note +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form msgid "Notes" msgstr "" #. module: bi_view_editor -#: view:bve.view:bi_view_editor.view_bi_view_editor_view_form +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form msgid "Open BI View" msgstr "" #. module: bi_view_editor -#: view:bve.view:bi_view_editor.view_bi_view_editor_view_form +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:87 +#, python-format +msgid "Options" +msgstr "" + +#. module: bi_view_editor +#: code:addons/bi_view_editor/models/bve_view.py:224 +#, python-format +msgid "Please select at least one group on the security tab." +msgstr "" + +#. module: bi_view_editor +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form msgid "Query" msgstr "" #. module: bi_view_editor -#: view:bve.view:bi_view_editor.view_bi_view_editor_view_form +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form msgid "Reset to Draft" msgstr "" #. module: bi_view_editor -#: view:bve.view:bi_view_editor.view_bi_view_editor_view_form +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:110 +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:155 +#, python-format +msgid "Row" +msgstr "" + +#. module: bi_view_editor +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form msgid "Security" msgstr "" #. module: bi_view_editor -#: field:bve.view,state:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_state msgid "State" msgstr "" #. module: bi_view_editor -#: help:bve.view,data:0 +#: model:ir.actions.act_window,name:bi_view_editor.action_bi_view_editor_translations +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form +msgid "Translations" +msgstr "" + +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:30 +#, python-format +msgid "Use the existing node" +msgstr "" + +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:34 +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:43 +#, python-format +msgid "Use the field" +msgstr "" + +#. module: bi_view_editor +#: model:ir.model.fields,help:bi_view_editor.field_bve_view_data msgid "" "Use the special query builder to define the query to generate your report " "dataset. NOTE: To be edited, the query should be in 'Draft' status." msgstr "" #. module: bi_view_editor -#: help:bve.view,group_ids:0 +#: model:ir.model.fields,help:bi_view_editor.field_bve_view_group_ids msgid "" "User groups allowed to see the generated report; if NO groups are specified " "the report will be public for everyone." msgstr "" #. module: bi_view_editor -#: field:bve.view,user_ids:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_user_ids msgid "Users" msgstr "" #. module: bi_view_editor -#: field:bve.view,view_id:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_view_id msgid "View" msgstr "" #. module: bi_view_editor -#: code:addons/bi_view_editor/models/bve_view.py:73 +#: code:addons/bi_view_editor/models/bve_view.py:456 #, python-format msgid "You cannot delete a created view! Reset the view to draft first." msgstr "" + +#. module: bi_view_editor +#: model:ir.model,name:bi_view_editor.model_base +msgid "base" +msgstr "" + +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:39 +#, python-format +msgid "new" +msgstr "" + +#. module: bi_view_editor +#: model:ir.model,name:bi_view_editor.model_wizard_ir_model_menu_create +msgid "wizard.ir.model.menu.create" +msgstr "" diff --git a/bi_view_editor/i18n/lv.po b/bi_view_editor/i18n/lv.po index 2c281b66e..a749996f3 100644 --- a/bi_view_editor/i18n/lv.po +++ b/bi_view_editor/i18n/lv.po @@ -1,7 +1,7 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: # * bi_view_editor -# +# # Translators: msgid "" msgstr "" @@ -10,56 +10,100 @@ msgstr "" "POT-Creation-Date: 2016-09-18 04:34+0000\n" "PO-Revision-Date: 2016-03-21 15:33+0000\n" "Last-Translator: <>\n" -"Language-Team: Latvian (http://www.transifex.com/oca/OCA-reporting-engine-8-0/language/lv/)\n" +"Language-Team: Latvian (http://www.transifex.com/oca/OCA-reporting-" +"engine-8-0/language/lv/)\n" +"Language: lv\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: \n" -"Language: lv\n" -"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n != 0 ? 1 : 2);\n" +"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n != 0 ? 1 : " +"2);\n" #. module: bi_view_editor -#: model:ir.actions.act_window,help:bi_view_editor.action_bi_view_editor_view_form -msgid "" -"

    \n" -" Click to create a Custom Query Object.\n" -"

    \n" -"\n" -"

    \n" -" " +#: code:addons/bi_view_editor/models/bve_view.py:415 +#, python-format +msgid "%s (copy)" msgstr "" #. module: bi_view_editor -#: field:bve.view,action_id:0 +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:179 +#, python-format +msgid "(join left)" +msgstr "" + +#. module: bi_view_editor +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_action_id msgid "Action" msgstr "" +#. module: bi_view_editor +#: code:addons/bi_view_editor/models/bve_view.py:409 +#, python-format +msgid "BI View" +msgstr "" + #. module: bi_view_editor #: model:ir.model,name:bi_view_editor.model_bve_view msgid "BI View Editor" msgstr "" +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/js/bi_view_editor.JoinNodeDialog.js:36 +#, python-format +msgid "Cancel" +msgstr "" + +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:18 +#, python-format +msgid "Clear" +msgstr "" + +#. module: bi_view_editor +#: model:ir.actions.act_window,help:bi_view_editor.action_bi_view_editor_view_form +msgid "Click to create a Custom Query Object." +msgstr "" + +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:103 +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:154 +#, python-format +msgid "Column" +msgstr "" + +#. module: bi_view_editor +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form +#, fuzzy +msgid "Create a Menu" +msgstr "Izveidots" + #. module: bi_view_editor #: selection:bve.view,state:0 msgid "Created" msgstr "" #. module: bi_view_editor -#: field:bve.view,create_uid:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_create_uid msgid "Created by" msgstr "Izveidoja" #. module: bi_view_editor -#: field:bve.view,create_date:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_create_date msgid "Created on" msgstr "Izveidots" #. module: bi_view_editor -#: view:bve.view:bi_view_editor.view_bi_view_editor_view_tree +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_tree msgid "Custom BI View" msgstr "" #. module: bi_view_editor -#: sql_constraint:bve.view:0 +#: code:addons/bi_view_editor/models/bve_view.py:64 sql_constraint:bve.view:0 +#, python-format msgid "Custom BI View names must be unique!" msgstr "" @@ -70,7 +114,7 @@ msgid "Custom BI Views" msgstr "" #. module: bi_view_editor -#: view:bve.view:bi_view_editor.view_bi_view_editor_view_form +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form msgid "Custom Object" msgstr "" @@ -80,12 +124,12 @@ msgid "Custom Reports" msgstr "" #. module: bi_view_editor -#: field:bve.view,data:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_data msgid "Data" msgstr "" #. module: bi_view_editor -#: field:bve.view,display_name:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_display_name msgid "Display Name" msgstr "" @@ -95,43 +139,74 @@ msgid "Draft" msgstr "" #. module: bi_view_editor -#: code:addons/bi_view_editor/models/bve_view.py:72 -#, python-format -msgid "Error" -msgstr "" - -#. module: bi_view_editor -#: view:bve.view:bi_view_editor.view_bi_view_editor_view_form +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form msgid "Generate BI View" msgstr "" #. module: bi_view_editor -#: field:bve.view,group_ids:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_group_ids msgid "Groups" msgstr "" #. module: bi_view_editor -#: field:bve.view,id:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_id msgid "ID" msgstr "ID" #. module: bi_view_editor -#: field:bve.view,__last_update:0 +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:137 +#, python-format +msgid "Join Left" +msgstr "" + +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/js/bi_view_editor.JoinNodeDialog.js:30 +#, python-format +msgid "Join..." +msgstr "" + +#. module: bi_view_editor +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view___last_update msgid "Last Modified on" msgstr "" #. module: bi_view_editor -#: field:bve.view,write_uid:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_write_uid msgid "Last Updated by" msgstr "Pēdējo reizi atjaunoja" #. module: bi_view_editor -#: field:bve.view,write_date:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_write_date msgid "Last Updated on" msgstr "Pēdējās izmaiņas" #. module: bi_view_editor -#: field:bve.view,model_name:0 +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:124 +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:157 +#, python-format +msgid "List" +msgstr "" + +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:117 +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:156 +#, python-format +msgid "Measure" +msgstr "" + +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:86 +#, python-format +msgid "Model" +msgstr "" + +#. module: bi_view_editor +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_model_name msgid "Model Name" msgstr "" @@ -141,67 +216,141 @@ msgid "Models" msgstr "" #. module: bi_view_editor -#: field:bve.view,name:0 +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:85 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_name +#, python-format msgid "Name" msgstr "Nosaukums" #. module: bi_view_editor -#: view:bve.view:bi_view_editor.view_bi_view_editor_view_form -#: field:bve.view,note:0 +#: code:addons/bi_view_editor/models/models.py:56 +#, python-format +msgid "No data to be displayed." +msgstr "" + +#. module: bi_view_editor +#: code:addons/bi_view_editor/models/bve_view.py:284 +#, python-format +msgid "No data to process." +msgstr "" + +#. module: bi_view_editor +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_note +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form msgid "Notes" msgstr "" #. module: bi_view_editor -#: view:bve.view:bi_view_editor.view_bi_view_editor_view_form +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form msgid "Open BI View" msgstr "" #. module: bi_view_editor -#: view:bve.view:bi_view_editor.view_bi_view_editor_view_form +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:87 +#, python-format +msgid "Options" +msgstr "" + +#. module: bi_view_editor +#: code:addons/bi_view_editor/models/bve_view.py:224 +#, python-format +msgid "Please select at least one group on the security tab." +msgstr "" + +#. module: bi_view_editor +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form msgid "Query" msgstr "" #. module: bi_view_editor -#: view:bve.view:bi_view_editor.view_bi_view_editor_view_form +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form msgid "Reset to Draft" msgstr "" #. module: bi_view_editor -#: view:bve.view:bi_view_editor.view_bi_view_editor_view_form +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:110 +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:155 +#, python-format +msgid "Row" +msgstr "" + +#. module: bi_view_editor +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form msgid "Security" msgstr "Drošība" #. module: bi_view_editor -#: field:bve.view,state:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_state msgid "State" msgstr "" #. module: bi_view_editor -#: help:bve.view,data:0 +#: model:ir.actions.act_window,name:bi_view_editor.action_bi_view_editor_translations +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form +msgid "Translations" +msgstr "" + +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:30 +#, python-format +msgid "Use the existing node" +msgstr "" + +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:34 +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:43 +#, python-format +msgid "Use the field" +msgstr "" + +#. module: bi_view_editor +#: model:ir.model.fields,help:bi_view_editor.field_bve_view_data msgid "" "Use the special query builder to define the query to generate your report " "dataset. NOTE: To be edited, the query should be in 'Draft' status." msgstr "" #. module: bi_view_editor -#: help:bve.view,group_ids:0 +#: model:ir.model.fields,help:bi_view_editor.field_bve_view_group_ids msgid "" "User groups allowed to see the generated report; if NO groups are specified " "the report will be public for everyone." msgstr "" #. module: bi_view_editor -#: field:bve.view,user_ids:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_user_ids msgid "Users" msgstr "" #. module: bi_view_editor -#: field:bve.view,view_id:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_view_id msgid "View" msgstr "" #. module: bi_view_editor -#: code:addons/bi_view_editor/models/bve_view.py:73 +#: code:addons/bi_view_editor/models/bve_view.py:456 #, python-format msgid "You cannot delete a created view! Reset the view to draft first." msgstr "" + +#. module: bi_view_editor +#: model:ir.model,name:bi_view_editor.model_base +msgid "base" +msgstr "" + +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:39 +#, python-format +msgid "new" +msgstr "" + +#. module: bi_view_editor +#: model:ir.model,name:bi_view_editor.model_wizard_ir_model_menu_create +msgid "wizard.ir.model.menu.create" +msgstr "" diff --git a/bi_view_editor/i18n/mk.po b/bi_view_editor/i18n/mk.po index 5cf131da5..503ab5404 100644 --- a/bi_view_editor/i18n/mk.po +++ b/bi_view_editor/i18n/mk.po @@ -1,7 +1,7 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: # * bi_view_editor -# +# # Translators: msgid "" msgstr "" @@ -10,56 +10,99 @@ msgstr "" "POT-Creation-Date: 2016-09-18 04:34+0000\n" "PO-Revision-Date: 2016-03-21 15:33+0000\n" "Last-Translator: <>\n" -"Language-Team: Macedonian (http://www.transifex.com/oca/OCA-reporting-engine-8-0/language/mk/)\n" +"Language-Team: Macedonian (http://www.transifex.com/oca/OCA-reporting-" +"engine-8-0/language/mk/)\n" +"Language: mk\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: \n" -"Language: mk\n" "Plural-Forms: nplurals=2; plural=(n % 10 == 1 && n % 100 != 11) ? 0 : 1;\n" #. module: bi_view_editor -#: model:ir.actions.act_window,help:bi_view_editor.action_bi_view_editor_view_form -msgid "" -"

    \n" -" Click to create a Custom Query Object.\n" -"

    \n" -"\n" -"

    \n" -" " +#: code:addons/bi_view_editor/models/bve_view.py:415 +#, python-format +msgid "%s (copy)" msgstr "" #. module: bi_view_editor -#: field:bve.view,action_id:0 +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:179 +#, python-format +msgid "(join left)" +msgstr "" + +#. module: bi_view_editor +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_action_id msgid "Action" msgstr "" +#. module: bi_view_editor +#: code:addons/bi_view_editor/models/bve_view.py:409 +#, python-format +msgid "BI View" +msgstr "" + #. module: bi_view_editor #: model:ir.model,name:bi_view_editor.model_bve_view msgid "BI View Editor" msgstr "" +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/js/bi_view_editor.JoinNodeDialog.js:36 +#, python-format +msgid "Cancel" +msgstr "" + +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:18 +#, python-format +msgid "Clear" +msgstr "" + +#. module: bi_view_editor +#: model:ir.actions.act_window,help:bi_view_editor.action_bi_view_editor_view_form +msgid "Click to create a Custom Query Object." +msgstr "" + +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:103 +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:154 +#, python-format +msgid "Column" +msgstr "" + +#. module: bi_view_editor +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form +#, fuzzy +msgid "Create a Menu" +msgstr "Креирано на" + #. module: bi_view_editor #: selection:bve.view,state:0 msgid "Created" msgstr "" #. module: bi_view_editor -#: field:bve.view,create_uid:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_create_uid msgid "Created by" msgstr "Креирано од" #. module: bi_view_editor -#: field:bve.view,create_date:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_create_date msgid "Created on" msgstr "Креирано на" #. module: bi_view_editor -#: view:bve.view:bi_view_editor.view_bi_view_editor_view_tree +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_tree msgid "Custom BI View" msgstr "" #. module: bi_view_editor -#: sql_constraint:bve.view:0 +#: code:addons/bi_view_editor/models/bve_view.py:64 sql_constraint:bve.view:0 +#, python-format msgid "Custom BI View names must be unique!" msgstr "" @@ -70,7 +113,7 @@ msgid "Custom BI Views" msgstr "" #. module: bi_view_editor -#: view:bve.view:bi_view_editor.view_bi_view_editor_view_form +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form msgid "Custom Object" msgstr "" @@ -80,12 +123,12 @@ msgid "Custom Reports" msgstr "" #. module: bi_view_editor -#: field:bve.view,data:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_data msgid "Data" msgstr "" #. module: bi_view_editor -#: field:bve.view,display_name:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_display_name msgid "Display Name" msgstr "Прикажи име" @@ -95,43 +138,74 @@ msgid "Draft" msgstr "" #. module: bi_view_editor -#: code:addons/bi_view_editor/models/bve_view.py:72 -#, python-format -msgid "Error" -msgstr "" - -#. module: bi_view_editor -#: view:bve.view:bi_view_editor.view_bi_view_editor_view_form +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form msgid "Generate BI View" msgstr "" #. module: bi_view_editor -#: field:bve.view,group_ids:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_group_ids msgid "Groups" msgstr "" #. module: bi_view_editor -#: field:bve.view,id:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_id msgid "ID" msgstr "ID" #. module: bi_view_editor -#: field:bve.view,__last_update:0 +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:137 +#, python-format +msgid "Join Left" +msgstr "" + +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/js/bi_view_editor.JoinNodeDialog.js:30 +#, python-format +msgid "Join..." +msgstr "" + +#. module: bi_view_editor +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view___last_update msgid "Last Modified on" msgstr "Последна промена на" #. module: bi_view_editor -#: field:bve.view,write_uid:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_write_uid msgid "Last Updated by" msgstr "Последно ажурирање од" #. module: bi_view_editor -#: field:bve.view,write_date:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_write_date msgid "Last Updated on" msgstr "Последно ажурирање на" #. module: bi_view_editor -#: field:bve.view,model_name:0 +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:124 +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:157 +#, python-format +msgid "List" +msgstr "" + +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:117 +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:156 +#, python-format +msgid "Measure" +msgstr "" + +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:86 +#, python-format +msgid "Model" +msgstr "" + +#. module: bi_view_editor +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_model_name msgid "Model Name" msgstr "" @@ -141,67 +215,141 @@ msgid "Models" msgstr "" #. module: bi_view_editor -#: field:bve.view,name:0 +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:85 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_name +#, python-format msgid "Name" msgstr "Име" #. module: bi_view_editor -#: view:bve.view:bi_view_editor.view_bi_view_editor_view_form -#: field:bve.view,note:0 +#: code:addons/bi_view_editor/models/models.py:56 +#, python-format +msgid "No data to be displayed." +msgstr "" + +#. module: bi_view_editor +#: code:addons/bi_view_editor/models/bve_view.py:284 +#, python-format +msgid "No data to process." +msgstr "" + +#. module: bi_view_editor +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_note +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form msgid "Notes" msgstr "" #. module: bi_view_editor -#: view:bve.view:bi_view_editor.view_bi_view_editor_view_form +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form msgid "Open BI View" msgstr "" #. module: bi_view_editor -#: view:bve.view:bi_view_editor.view_bi_view_editor_view_form +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:87 +#, python-format +msgid "Options" +msgstr "" + +#. module: bi_view_editor +#: code:addons/bi_view_editor/models/bve_view.py:224 +#, python-format +msgid "Please select at least one group on the security tab." +msgstr "" + +#. module: bi_view_editor +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form msgid "Query" msgstr "" #. module: bi_view_editor -#: view:bve.view:bi_view_editor.view_bi_view_editor_view_form +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form msgid "Reset to Draft" msgstr "" #. module: bi_view_editor -#: view:bve.view:bi_view_editor.view_bi_view_editor_view_form +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:110 +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:155 +#, python-format +msgid "Row" +msgstr "" + +#. module: bi_view_editor +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form msgid "Security" msgstr "Безбедност" #. module: bi_view_editor -#: field:bve.view,state:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_state msgid "State" msgstr "" #. module: bi_view_editor -#: help:bve.view,data:0 +#: model:ir.actions.act_window,name:bi_view_editor.action_bi_view_editor_translations +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form +msgid "Translations" +msgstr "" + +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:30 +#, python-format +msgid "Use the existing node" +msgstr "" + +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:34 +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:43 +#, python-format +msgid "Use the field" +msgstr "" + +#. module: bi_view_editor +#: model:ir.model.fields,help:bi_view_editor.field_bve_view_data msgid "" "Use the special query builder to define the query to generate your report " "dataset. NOTE: To be edited, the query should be in 'Draft' status." msgstr "" #. module: bi_view_editor -#: help:bve.view,group_ids:0 +#: model:ir.model.fields,help:bi_view_editor.field_bve_view_group_ids msgid "" "User groups allowed to see the generated report; if NO groups are specified " "the report will be public for everyone." msgstr "" #. module: bi_view_editor -#: field:bve.view,user_ids:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_user_ids msgid "Users" msgstr "" #. module: bi_view_editor -#: field:bve.view,view_id:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_view_id msgid "View" msgstr "" #. module: bi_view_editor -#: code:addons/bi_view_editor/models/bve_view.py:73 +#: code:addons/bi_view_editor/models/bve_view.py:456 #, python-format msgid "You cannot delete a created view! Reset the view to draft first." msgstr "" + +#. module: bi_view_editor +#: model:ir.model,name:bi_view_editor.model_base +msgid "base" +msgstr "" + +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:39 +#, python-format +msgid "new" +msgstr "" + +#. module: bi_view_editor +#: model:ir.model,name:bi_view_editor.model_wizard_ir_model_menu_create +msgid "wizard.ir.model.menu.create" +msgstr "" diff --git a/bi_view_editor/i18n/mn.po b/bi_view_editor/i18n/mn.po index acecd0034..6b2479267 100644 --- a/bi_view_editor/i18n/mn.po +++ b/bi_view_editor/i18n/mn.po @@ -1,7 +1,7 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: # * bi_view_editor -# +# # Translators: msgid "" msgstr "" @@ -10,56 +10,99 @@ msgstr "" "POT-Creation-Date: 2016-09-18 04:34+0000\n" "PO-Revision-Date: 2016-03-21 15:33+0000\n" "Last-Translator: <>\n" -"Language-Team: Mongolian (http://www.transifex.com/oca/OCA-reporting-engine-8-0/language/mn/)\n" +"Language-Team: Mongolian (http://www.transifex.com/oca/OCA-reporting-" +"engine-8-0/language/mn/)\n" +"Language: mn\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: \n" -"Language: mn\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #. module: bi_view_editor -#: model:ir.actions.act_window,help:bi_view_editor.action_bi_view_editor_view_form -msgid "" -"

    \n" -" Click to create a Custom Query Object.\n" -"

    \n" -"\n" -"

    \n" -" " +#: code:addons/bi_view_editor/models/bve_view.py:415 +#, python-format +msgid "%s (copy)" msgstr "" #. module: bi_view_editor -#: field:bve.view,action_id:0 +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:179 +#, python-format +msgid "(join left)" +msgstr "" + +#. module: bi_view_editor +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_action_id msgid "Action" msgstr "" +#. module: bi_view_editor +#: code:addons/bi_view_editor/models/bve_view.py:409 +#, python-format +msgid "BI View" +msgstr "" + #. module: bi_view_editor #: model:ir.model,name:bi_view_editor.model_bve_view msgid "BI View Editor" msgstr "" +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/js/bi_view_editor.JoinNodeDialog.js:36 +#, python-format +msgid "Cancel" +msgstr "" + +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:18 +#, python-format +msgid "Clear" +msgstr "" + +#. module: bi_view_editor +#: model:ir.actions.act_window,help:bi_view_editor.action_bi_view_editor_view_form +msgid "Click to create a Custom Query Object." +msgstr "" + +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:103 +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:154 +#, python-format +msgid "Column" +msgstr "" + +#. module: bi_view_editor +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form +#, fuzzy +msgid "Create a Menu" +msgstr "Үүсгэсэн" + #. module: bi_view_editor #: selection:bve.view,state:0 msgid "Created" msgstr "" #. module: bi_view_editor -#: field:bve.view,create_uid:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_create_uid msgid "Created by" msgstr "Үүсгэгч" #. module: bi_view_editor -#: field:bve.view,create_date:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_create_date msgid "Created on" msgstr "Үүсгэсэн" #. module: bi_view_editor -#: view:bve.view:bi_view_editor.view_bi_view_editor_view_tree +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_tree msgid "Custom BI View" msgstr "" #. module: bi_view_editor -#: sql_constraint:bve.view:0 +#: code:addons/bi_view_editor/models/bve_view.py:64 sql_constraint:bve.view:0 +#, python-format msgid "Custom BI View names must be unique!" msgstr "" @@ -70,7 +113,7 @@ msgid "Custom BI Views" msgstr "" #. module: bi_view_editor -#: view:bve.view:bi_view_editor.view_bi_view_editor_view_form +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form msgid "Custom Object" msgstr "" @@ -80,12 +123,12 @@ msgid "Custom Reports" msgstr "" #. module: bi_view_editor -#: field:bve.view,data:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_data msgid "Data" msgstr "" #. module: bi_view_editor -#: field:bve.view,display_name:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_display_name msgid "Display Name" msgstr "Дэлгэцийн Нэр" @@ -95,43 +138,74 @@ msgid "Draft" msgstr "" #. module: bi_view_editor -#: code:addons/bi_view_editor/models/bve_view.py:72 -#, python-format -msgid "Error" -msgstr "" - -#. module: bi_view_editor -#: view:bve.view:bi_view_editor.view_bi_view_editor_view_form +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form msgid "Generate BI View" msgstr "" #. module: bi_view_editor -#: field:bve.view,group_ids:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_group_ids msgid "Groups" msgstr "" #. module: bi_view_editor -#: field:bve.view,id:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_id msgid "ID" msgstr "ID" #. module: bi_view_editor -#: field:bve.view,__last_update:0 +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:137 +#, python-format +msgid "Join Left" +msgstr "" + +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/js/bi_view_editor.JoinNodeDialog.js:30 +#, python-format +msgid "Join..." +msgstr "" + +#. module: bi_view_editor +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view___last_update msgid "Last Modified on" msgstr "Сүүлийн засвар хийсэн огноо" #. module: bi_view_editor -#: field:bve.view,write_uid:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_write_uid msgid "Last Updated by" msgstr "Сүүлийн засвар хийсэн" #. module: bi_view_editor -#: field:bve.view,write_date:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_write_date msgid "Last Updated on" msgstr "Сүүлийн засвар хийсэн огноо" #. module: bi_view_editor -#: field:bve.view,model_name:0 +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:124 +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:157 +#, python-format +msgid "List" +msgstr "" + +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:117 +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:156 +#, python-format +msgid "Measure" +msgstr "" + +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:86 +#, python-format +msgid "Model" +msgstr "" + +#. module: bi_view_editor +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_model_name msgid "Model Name" msgstr "" @@ -141,67 +215,141 @@ msgid "Models" msgstr "" #. module: bi_view_editor -#: field:bve.view,name:0 +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:85 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_name +#, python-format msgid "Name" msgstr "Нэр" #. module: bi_view_editor -#: view:bve.view:bi_view_editor.view_bi_view_editor_view_form -#: field:bve.view,note:0 +#: code:addons/bi_view_editor/models/models.py:56 +#, python-format +msgid "No data to be displayed." +msgstr "" + +#. module: bi_view_editor +#: code:addons/bi_view_editor/models/bve_view.py:284 +#, python-format +msgid "No data to process." +msgstr "" + +#. module: bi_view_editor +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_note +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form msgid "Notes" msgstr "" #. module: bi_view_editor -#: view:bve.view:bi_view_editor.view_bi_view_editor_view_form +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form msgid "Open BI View" msgstr "" #. module: bi_view_editor -#: view:bve.view:bi_view_editor.view_bi_view_editor_view_form +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:87 +#, python-format +msgid "Options" +msgstr "" + +#. module: bi_view_editor +#: code:addons/bi_view_editor/models/bve_view.py:224 +#, python-format +msgid "Please select at least one group on the security tab." +msgstr "" + +#. module: bi_view_editor +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form msgid "Query" msgstr "" #. module: bi_view_editor -#: view:bve.view:bi_view_editor.view_bi_view_editor_view_form +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form msgid "Reset to Draft" msgstr "" #. module: bi_view_editor -#: view:bve.view:bi_view_editor.view_bi_view_editor_view_form +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:110 +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:155 +#, python-format +msgid "Row" +msgstr "" + +#. module: bi_view_editor +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form msgid "Security" msgstr "Хамгаалалт" #. module: bi_view_editor -#: field:bve.view,state:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_state msgid "State" msgstr "" #. module: bi_view_editor -#: help:bve.view,data:0 +#: model:ir.actions.act_window,name:bi_view_editor.action_bi_view_editor_translations +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form +msgid "Translations" +msgstr "" + +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:30 +#, python-format +msgid "Use the existing node" +msgstr "" + +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:34 +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:43 +#, python-format +msgid "Use the field" +msgstr "" + +#. module: bi_view_editor +#: model:ir.model.fields,help:bi_view_editor.field_bve_view_data msgid "" "Use the special query builder to define the query to generate your report " "dataset. NOTE: To be edited, the query should be in 'Draft' status." msgstr "" #. module: bi_view_editor -#: help:bve.view,group_ids:0 +#: model:ir.model.fields,help:bi_view_editor.field_bve_view_group_ids msgid "" "User groups allowed to see the generated report; if NO groups are specified " "the report will be public for everyone." msgstr "" #. module: bi_view_editor -#: field:bve.view,user_ids:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_user_ids msgid "Users" msgstr "" #. module: bi_view_editor -#: field:bve.view,view_id:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_view_id msgid "View" msgstr "" #. module: bi_view_editor -#: code:addons/bi_view_editor/models/bve_view.py:73 +#: code:addons/bi_view_editor/models/bve_view.py:456 #, python-format msgid "You cannot delete a created view! Reset the view to draft first." msgstr "" + +#. module: bi_view_editor +#: model:ir.model,name:bi_view_editor.model_base +msgid "base" +msgstr "" + +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:39 +#, python-format +msgid "new" +msgstr "" + +#. module: bi_view_editor +#: model:ir.model,name:bi_view_editor.model_wizard_ir_model_menu_create +msgid "wizard.ir.model.menu.create" +msgstr "" diff --git a/bi_view_editor/i18n/nb.po b/bi_view_editor/i18n/nb.po index 27c5738da..21dcb33cd 100644 --- a/bi_view_editor/i18n/nb.po +++ b/bi_view_editor/i18n/nb.po @@ -1,7 +1,7 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: # * bi_view_editor -# +# # Translators: msgid "" msgstr "" @@ -10,56 +10,99 @@ msgstr "" "POT-Creation-Date: 2016-09-18 04:34+0000\n" "PO-Revision-Date: 2016-03-21 15:33+0000\n" "Last-Translator: <>\n" -"Language-Team: Norwegian Bokmål (http://www.transifex.com/oca/OCA-reporting-engine-8-0/language/nb/)\n" +"Language-Team: Norwegian Bokmål (http://www.transifex.com/oca/OCA-reporting-" +"engine-8-0/language/nb/)\n" +"Language: nb\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: \n" -"Language: nb\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #. module: bi_view_editor -#: model:ir.actions.act_window,help:bi_view_editor.action_bi_view_editor_view_form -msgid "" -"

    \n" -" Click to create a Custom Query Object.\n" -"

    \n" -"\n" -"

    \n" -" " +#: code:addons/bi_view_editor/models/bve_view.py:415 +#, python-format +msgid "%s (copy)" msgstr "" #. module: bi_view_editor -#: field:bve.view,action_id:0 +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:179 +#, python-format +msgid "(join left)" +msgstr "" + +#. module: bi_view_editor +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_action_id msgid "Action" msgstr "" +#. module: bi_view_editor +#: code:addons/bi_view_editor/models/bve_view.py:409 +#, python-format +msgid "BI View" +msgstr "" + #. module: bi_view_editor #: model:ir.model,name:bi_view_editor.model_bve_view msgid "BI View Editor" msgstr "" +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/js/bi_view_editor.JoinNodeDialog.js:36 +#, python-format +msgid "Cancel" +msgstr "" + +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:18 +#, python-format +msgid "Clear" +msgstr "" + +#. module: bi_view_editor +#: model:ir.actions.act_window,help:bi_view_editor.action_bi_view_editor_view_form +msgid "Click to create a Custom Query Object." +msgstr "" + +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:103 +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:154 +#, python-format +msgid "Column" +msgstr "" + +#. module: bi_view_editor +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form +#, fuzzy +msgid "Create a Menu" +msgstr "Opprettet den" + #. module: bi_view_editor #: selection:bve.view,state:0 msgid "Created" msgstr "" #. module: bi_view_editor -#: field:bve.view,create_uid:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_create_uid msgid "Created by" msgstr "Opprettet av" #. module: bi_view_editor -#: field:bve.view,create_date:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_create_date msgid "Created on" msgstr "Opprettet den" #. module: bi_view_editor -#: view:bve.view:bi_view_editor.view_bi_view_editor_view_tree +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_tree msgid "Custom BI View" msgstr "" #. module: bi_view_editor -#: sql_constraint:bve.view:0 +#: code:addons/bi_view_editor/models/bve_view.py:64 sql_constraint:bve.view:0 +#, python-format msgid "Custom BI View names must be unique!" msgstr "" @@ -70,7 +113,7 @@ msgid "Custom BI Views" msgstr "" #. module: bi_view_editor -#: view:bve.view:bi_view_editor.view_bi_view_editor_view_form +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form msgid "Custom Object" msgstr "" @@ -80,12 +123,12 @@ msgid "Custom Reports" msgstr "" #. module: bi_view_editor -#: field:bve.view,data:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_data msgid "Data" msgstr "" #. module: bi_view_editor -#: field:bve.view,display_name:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_display_name msgid "Display Name" msgstr "Visnings navn" @@ -95,43 +138,74 @@ msgid "Draft" msgstr "" #. module: bi_view_editor -#: code:addons/bi_view_editor/models/bve_view.py:72 -#, python-format -msgid "Error" -msgstr "" - -#. module: bi_view_editor -#: view:bve.view:bi_view_editor.view_bi_view_editor_view_form +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form msgid "Generate BI View" msgstr "" #. module: bi_view_editor -#: field:bve.view,group_ids:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_group_ids msgid "Groups" msgstr "" #. module: bi_view_editor -#: field:bve.view,id:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_id msgid "ID" msgstr "ID" #. module: bi_view_editor -#: field:bve.view,__last_update:0 +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:137 +#, python-format +msgid "Join Left" +msgstr "" + +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/js/bi_view_editor.JoinNodeDialog.js:30 +#, python-format +msgid "Join..." +msgstr "" + +#. module: bi_view_editor +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view___last_update msgid "Last Modified on" msgstr "Sist oppdatert " #. module: bi_view_editor -#: field:bve.view,write_uid:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_write_uid msgid "Last Updated by" msgstr "Sist oppdatert av" #. module: bi_view_editor -#: field:bve.view,write_date:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_write_date msgid "Last Updated on" msgstr "Sist oppdatert" #. module: bi_view_editor -#: field:bve.view,model_name:0 +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:124 +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:157 +#, python-format +msgid "List" +msgstr "" + +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:117 +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:156 +#, python-format +msgid "Measure" +msgstr "" + +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:86 +#, python-format +msgid "Model" +msgstr "" + +#. module: bi_view_editor +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_model_name msgid "Model Name" msgstr "" @@ -141,67 +215,141 @@ msgid "Models" msgstr "" #. module: bi_view_editor -#: field:bve.view,name:0 +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:85 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_name +#, python-format msgid "Name" msgstr "Navn" #. module: bi_view_editor -#: view:bve.view:bi_view_editor.view_bi_view_editor_view_form -#: field:bve.view,note:0 +#: code:addons/bi_view_editor/models/models.py:56 +#, python-format +msgid "No data to be displayed." +msgstr "" + +#. module: bi_view_editor +#: code:addons/bi_view_editor/models/bve_view.py:284 +#, python-format +msgid "No data to process." +msgstr "" + +#. module: bi_view_editor +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_note +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form msgid "Notes" msgstr "" #. module: bi_view_editor -#: view:bve.view:bi_view_editor.view_bi_view_editor_view_form +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form msgid "Open BI View" msgstr "" #. module: bi_view_editor -#: view:bve.view:bi_view_editor.view_bi_view_editor_view_form +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:87 +#, python-format +msgid "Options" +msgstr "" + +#. module: bi_view_editor +#: code:addons/bi_view_editor/models/bve_view.py:224 +#, python-format +msgid "Please select at least one group on the security tab." +msgstr "" + +#. module: bi_view_editor +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form msgid "Query" msgstr "" #. module: bi_view_editor -#: view:bve.view:bi_view_editor.view_bi_view_editor_view_form +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form msgid "Reset to Draft" msgstr "" #. module: bi_view_editor -#: view:bve.view:bi_view_editor.view_bi_view_editor_view_form +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:110 +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:155 +#, python-format +msgid "Row" +msgstr "" + +#. module: bi_view_editor +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form msgid "Security" msgstr "Sikkerhet" #. module: bi_view_editor -#: field:bve.view,state:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_state msgid "State" msgstr "" #. module: bi_view_editor -#: help:bve.view,data:0 +#: model:ir.actions.act_window,name:bi_view_editor.action_bi_view_editor_translations +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form +msgid "Translations" +msgstr "" + +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:30 +#, python-format +msgid "Use the existing node" +msgstr "" + +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:34 +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:43 +#, python-format +msgid "Use the field" +msgstr "" + +#. module: bi_view_editor +#: model:ir.model.fields,help:bi_view_editor.field_bve_view_data msgid "" "Use the special query builder to define the query to generate your report " "dataset. NOTE: To be edited, the query should be in 'Draft' status." msgstr "" #. module: bi_view_editor -#: help:bve.view,group_ids:0 +#: model:ir.model.fields,help:bi_view_editor.field_bve_view_group_ids msgid "" "User groups allowed to see the generated report; if NO groups are specified " "the report will be public for everyone." msgstr "" #. module: bi_view_editor -#: field:bve.view,user_ids:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_user_ids msgid "Users" msgstr "" #. module: bi_view_editor -#: field:bve.view,view_id:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_view_id msgid "View" msgstr "" #. module: bi_view_editor -#: code:addons/bi_view_editor/models/bve_view.py:73 +#: code:addons/bi_view_editor/models/bve_view.py:456 #, python-format msgid "You cannot delete a created view! Reset the view to draft first." msgstr "" + +#. module: bi_view_editor +#: model:ir.model,name:bi_view_editor.model_base +msgid "base" +msgstr "" + +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:39 +#, python-format +msgid "new" +msgstr "" + +#. module: bi_view_editor +#: model:ir.model,name:bi_view_editor.model_wizard_ir_model_menu_create +msgid "wizard.ir.model.menu.create" +msgstr "" diff --git a/bi_view_editor/i18n/nb_NO.po b/bi_view_editor/i18n/nb_NO.po index 09cff7e05..01dc48e5a 100644 --- a/bi_view_editor/i18n/nb_NO.po +++ b/bi_view_editor/i18n/nb_NO.po @@ -1,7 +1,7 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: # * bi_view_editor -# +# # Translators: msgid "" msgstr "" @@ -10,56 +10,99 @@ msgstr "" "POT-Creation-Date: 2016-12-24 04:38+0000\n" "PO-Revision-Date: 2016-03-21 15:33+0000\n" "Last-Translator: <>\n" -"Language-Team: Norwegian Bokmål (Norway) (http://www.transifex.com/oca/OCA-reporting-engine-8-0/language/nb_NO/)\n" +"Language-Team: Norwegian Bokmål (Norway) (http://www.transifex.com/oca/OCA-" +"reporting-engine-8-0/language/nb_NO/)\n" +"Language: nb_NO\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: \n" -"Language: nb_NO\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #. module: bi_view_editor -#: model:ir.actions.act_window,help:bi_view_editor.action_bi_view_editor_view_form -msgid "" -"

    \n" -" Click to create a Custom Query Object.\n" -"

    \n" -"\n" -"

    \n" -" " +#: code:addons/bi_view_editor/models/bve_view.py:415 +#, python-format +msgid "%s (copy)" msgstr "" #. module: bi_view_editor -#: field:bve.view,action_id:0 +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:179 +#, python-format +msgid "(join left)" +msgstr "" + +#. module: bi_view_editor +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_action_id msgid "Action" msgstr "" +#. module: bi_view_editor +#: code:addons/bi_view_editor/models/bve_view.py:409 +#, python-format +msgid "BI View" +msgstr "" + #. module: bi_view_editor #: model:ir.model,name:bi_view_editor.model_bve_view msgid "BI View Editor" msgstr "" +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/js/bi_view_editor.JoinNodeDialog.js:36 +#, python-format +msgid "Cancel" +msgstr "" + +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:18 +#, python-format +msgid "Clear" +msgstr "" + +#. module: bi_view_editor +#: model:ir.actions.act_window,help:bi_view_editor.action_bi_view_editor_view_form +msgid "Click to create a Custom Query Object." +msgstr "" + +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:103 +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:154 +#, python-format +msgid "Column" +msgstr "" + +#. module: bi_view_editor +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form +#, fuzzy +msgid "Create a Menu" +msgstr "Laget den" + #. module: bi_view_editor #: selection:bve.view,state:0 msgid "Created" msgstr "" #. module: bi_view_editor -#: field:bve.view,create_uid:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_create_uid msgid "Created by" msgstr "Laget av" #. module: bi_view_editor -#: field:bve.view,create_date:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_create_date msgid "Created on" msgstr "Laget den" #. module: bi_view_editor -#: view:bve.view:bi_view_editor.view_bi_view_editor_view_tree +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_tree msgid "Custom BI View" msgstr "" #. module: bi_view_editor -#: sql_constraint:bve.view:0 +#: code:addons/bi_view_editor/models/bve_view.py:64 sql_constraint:bve.view:0 +#, python-format msgid "Custom BI View names must be unique!" msgstr "" @@ -70,7 +113,7 @@ msgid "Custom BI Views" msgstr "" #. module: bi_view_editor -#: view:bve.view:bi_view_editor.view_bi_view_editor_view_form +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form msgid "Custom Object" msgstr "" @@ -80,12 +123,12 @@ msgid "Custom Reports" msgstr "" #. module: bi_view_editor -#: field:bve.view,data:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_data msgid "Data" msgstr "" #. module: bi_view_editor -#: field:bve.view,display_name:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_display_name msgid "Display Name" msgstr "Vis navn" @@ -95,43 +138,74 @@ msgid "Draft" msgstr "" #. module: bi_view_editor -#: code:addons/bi_view_editor/models/bve_view.py:72 -#, python-format -msgid "Error" -msgstr "" - -#. module: bi_view_editor -#: view:bve.view:bi_view_editor.view_bi_view_editor_view_form +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form msgid "Generate BI View" msgstr "" #. module: bi_view_editor -#: field:bve.view,group_ids:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_group_ids msgid "Groups" msgstr "" #. module: bi_view_editor -#: field:bve.view,id:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_id msgid "ID" msgstr "ID" #. module: bi_view_editor -#: field:bve.view,__last_update:0 +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:137 +#, python-format +msgid "Join Left" +msgstr "" + +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/js/bi_view_editor.JoinNodeDialog.js:30 +#, python-format +msgid "Join..." +msgstr "" + +#. module: bi_view_editor +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view___last_update msgid "Last Modified on" msgstr "Sist endret den" #. module: bi_view_editor -#: field:bve.view,write_uid:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_write_uid msgid "Last Updated by" msgstr "Sist oppdatert av" #. module: bi_view_editor -#: field:bve.view,write_date:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_write_date msgid "Last Updated on" msgstr "Sist oppdatert den" #. module: bi_view_editor -#: field:bve.view,model_name:0 +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:124 +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:157 +#, python-format +msgid "List" +msgstr "" + +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:117 +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:156 +#, python-format +msgid "Measure" +msgstr "" + +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:86 +#, python-format +msgid "Model" +msgstr "" + +#. module: bi_view_editor +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_model_name msgid "Model Name" msgstr "" @@ -141,67 +215,141 @@ msgid "Models" msgstr "" #. module: bi_view_editor -#: field:bve.view,name:0 +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:85 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_name +#, python-format msgid "Name" msgstr "" #. module: bi_view_editor -#: view:bve.view:bi_view_editor.view_bi_view_editor_view_form -#: field:bve.view,note:0 +#: code:addons/bi_view_editor/models/models.py:56 +#, python-format +msgid "No data to be displayed." +msgstr "" + +#. module: bi_view_editor +#: code:addons/bi_view_editor/models/bve_view.py:284 +#, python-format +msgid "No data to process." +msgstr "" + +#. module: bi_view_editor +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_note +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form msgid "Notes" msgstr "" #. module: bi_view_editor -#: view:bve.view:bi_view_editor.view_bi_view_editor_view_form +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form msgid "Open BI View" msgstr "" #. module: bi_view_editor -#: view:bve.view:bi_view_editor.view_bi_view_editor_view_form +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:87 +#, python-format +msgid "Options" +msgstr "" + +#. module: bi_view_editor +#: code:addons/bi_view_editor/models/bve_view.py:224 +#, python-format +msgid "Please select at least one group on the security tab." +msgstr "" + +#. module: bi_view_editor +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form msgid "Query" msgstr "" #. module: bi_view_editor -#: view:bve.view:bi_view_editor.view_bi_view_editor_view_form +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form msgid "Reset to Draft" msgstr "" #. module: bi_view_editor -#: view:bve.view:bi_view_editor.view_bi_view_editor_view_form +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:110 +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:155 +#, python-format +msgid "Row" +msgstr "" + +#. module: bi_view_editor +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form msgid "Security" msgstr "" #. module: bi_view_editor -#: field:bve.view,state:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_state msgid "State" msgstr "" #. module: bi_view_editor -#: help:bve.view,data:0 +#: model:ir.actions.act_window,name:bi_view_editor.action_bi_view_editor_translations +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form +msgid "Translations" +msgstr "" + +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:30 +#, python-format +msgid "Use the existing node" +msgstr "" + +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:34 +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:43 +#, python-format +msgid "Use the field" +msgstr "" + +#. module: bi_view_editor +#: model:ir.model.fields,help:bi_view_editor.field_bve_view_data msgid "" "Use the special query builder to define the query to generate your report " "dataset. NOTE: To be edited, the query should be in 'Draft' status." msgstr "" #. module: bi_view_editor -#: help:bve.view,group_ids:0 +#: model:ir.model.fields,help:bi_view_editor.field_bve_view_group_ids msgid "" "User groups allowed to see the generated report; if NO groups are specified " "the report will be public for everyone." msgstr "" #. module: bi_view_editor -#: field:bve.view,user_ids:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_user_ids msgid "Users" msgstr "" #. module: bi_view_editor -#: field:bve.view,view_id:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_view_id msgid "View" msgstr "" #. module: bi_view_editor -#: code:addons/bi_view_editor/models/bve_view.py:73 +#: code:addons/bi_view_editor/models/bve_view.py:456 #, python-format msgid "You cannot delete a created view! Reset the view to draft first." msgstr "" + +#. module: bi_view_editor +#: model:ir.model,name:bi_view_editor.model_base +msgid "base" +msgstr "" + +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:39 +#, python-format +msgid "new" +msgstr "" + +#. module: bi_view_editor +#: model:ir.model,name:bi_view_editor.model_wizard_ir_model_menu_create +msgid "wizard.ir.model.menu.create" +msgstr "" diff --git a/bi_view_editor/i18n/nl.po b/bi_view_editor/i18n/nl.po index 4007bba6f..cc86b94f7 100755 --- a/bi_view_editor/i18n/nl.po +++ b/bi_view_editor/i18n/nl.po @@ -12,61 +12,97 @@ msgstr "" "Last-Translator: <>\n" "Language-Team: Dutch (http://www.transifex.com/oca/OCA-reporting-engine-10-0/" "language/nl/)\n" +"Language: 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: bi_view_editor -#: model:ir.actions.act_window,help:bi_view_editor.action_bi_view_editor_view_form -msgid "" -"

    \n" -" Click to create a Custom Query Object.\n" -"

    \n" -"\n" -"

    \n" -" " +#: code:addons/bi_view_editor/models/bve_view.py:415 +#, python-format +msgid "%s (copy)" msgstr "" -"

    \n" -" Klik om een nieuwe custom query object te maken.\n" -"

    \n" -"\n" -"

    \n" -" " #. module: bi_view_editor -#: field:bve.view,action_id:0 +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:179 +#, python-format +msgid "(join left)" +msgstr "" + +#. module: bi_view_editor +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_action_id msgid "Action" msgstr "Actie" +#. module: bi_view_editor +#: code:addons/bi_view_editor/models/bve_view.py:409 +#, fuzzy, python-format +msgid "BI View" +msgstr "Open BI Weergave" + #. module: bi_view_editor #: model:ir.model,name:bi_view_editor.model_bve_view msgid "BI View Editor" msgstr "BI Weergave bewerker" +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/js/bi_view_editor.JoinNodeDialog.js:36 +#, python-format +msgid "Cancel" +msgstr "" + +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:18 +#, python-format +msgid "Clear" +msgstr "" + +#. module: bi_view_editor +#: model:ir.actions.act_window,help:bi_view_editor.action_bi_view_editor_view_form +msgid "Click to create a Custom Query Object." +msgstr "" + +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:103 +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:154 +#, python-format +msgid "Column" +msgstr "" + +#. module: bi_view_editor +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form +#, fuzzy +msgid "Create a Menu" +msgstr "Aangemaakt op" + #. module: bi_view_editor #: selection:bve.view,state:0 msgid "Created" msgstr "Aangemaakt" #. module: bi_view_editor -#: field:bve.view,create_uid:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_create_uid msgid "Created by" msgstr "Aangemaakt door" #. module: bi_view_editor -#: field:bve.view,create_date:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_create_date msgid "Created on" msgstr "Aangemaakt op" #. module: bi_view_editor -#: view:bve.view:bi_view_editor.view_bi_view_editor_view_tree +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_tree msgid "Custom BI View" msgstr "Aangepaste BI Weergave" #. module: bi_view_editor -#: sql_constraint:bve.view:0 +#: code:addons/bi_view_editor/models/bve_view.py:64 sql_constraint:bve.view:0 +#, python-format msgid "Custom BI View names must be unique!" msgstr "Aangepaste BI Weergave moet uniek zijn!" @@ -77,7 +113,7 @@ msgid "Custom BI Views" msgstr "Aangepaste BI Weergaves" #. module: bi_view_editor -#: view:bve.view:bi_view_editor.view_bi_view_editor_view_form +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form msgid "Custom Object" msgstr "Aangepast object" @@ -87,12 +123,12 @@ msgid "Custom Reports" msgstr "Aangepaste rapporten" #. module: bi_view_editor -#: field:bve.view,data:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_data msgid "Data" msgstr "Data" #. module: bi_view_editor -#: field:bve.view,display_name:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_display_name msgid "Display Name" msgstr "Te tonen naam" @@ -102,43 +138,74 @@ msgid "Draft" msgstr "Concept" #. module: bi_view_editor -#: code:addons/bi_view_editor/models/bve_view.py:72 -#, python-format -msgid "Error" -msgstr "Fout" - -#. module: bi_view_editor -#: view:bve.view:bi_view_editor.view_bi_view_editor_view_form +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form msgid "Generate BI View" msgstr "Genereer BI Weergave" #. module: bi_view_editor -#: field:bve.view,group_ids:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_group_ids msgid "Groups" msgstr "Groepen" #. module: bi_view_editor -#: field:bve.view,id:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_id msgid "ID" msgstr "ID" #. module: bi_view_editor -#: field:bve.view,__last_update:0 +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:137 +#, python-format +msgid "Join Left" +msgstr "" + +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/js/bi_view_editor.JoinNodeDialog.js:30 +#, python-format +msgid "Join..." +msgstr "" + +#. module: bi_view_editor +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view___last_update msgid "Last Modified on" msgstr "Laatst bijgewerkt op" #. module: bi_view_editor -#: field:bve.view,write_uid:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_write_uid msgid "Last Updated by" msgstr "Laatst bijgewerkt door" #. module: bi_view_editor -#: field:bve.view,write_date:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_write_date msgid "Last Updated on" msgstr "Laatst bijgewerkt op" #. module: bi_view_editor -#: field:bve.view,model_name:0 +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:124 +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:157 +#, python-format +msgid "List" +msgstr "" + +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:117 +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:156 +#, python-format +msgid "Measure" +msgstr "" + +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:86 +#, fuzzy, python-format +msgid "Model" +msgstr "Modellen" + +#. module: bi_view_editor +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_model_name msgid "Model Name" msgstr "Model naam" @@ -148,53 +215,109 @@ msgid "Models" msgstr "Modellen" #. module: bi_view_editor -#: field:bve.view,name:0 +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:85 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_name +#, python-format msgid "Name" msgstr "Naam" #. module: bi_view_editor -#: view:bve.view:bi_view_editor.view_bi_view_editor_view_form -#: field:bve.view,note:0 +#: code:addons/bi_view_editor/models/models.py:56 +#, python-format +msgid "No data to be displayed." +msgstr "" + +#. module: bi_view_editor +#: code:addons/bi_view_editor/models/bve_view.py:284 +#, python-format +msgid "No data to process." +msgstr "" + +#. module: bi_view_editor +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_note +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form msgid "Notes" msgstr "Notities" #. module: bi_view_editor -#: view:bve.view:bi_view_editor.view_bi_view_editor_view_form +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form msgid "Open BI View" msgstr "Open BI Weergave" #. module: bi_view_editor -#: view:bve.view:bi_view_editor.view_bi_view_editor_view_form +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:87 +#, fuzzy, python-format +msgid "Options" +msgstr "Actie" + +#. module: bi_view_editor +#: code:addons/bi_view_editor/models/bve_view.py:224 +#, python-format +msgid "Please select at least one group on the security tab." +msgstr "" + +#. module: bi_view_editor +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form msgid "Query" msgstr "Query" #. module: bi_view_editor -#: view:bve.view:bi_view_editor.view_bi_view_editor_view_form +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form msgid "Reset to Draft" msgstr "Terug naar concept" #. module: bi_view_editor -#: view:bve.view:bi_view_editor.view_bi_view_editor_view_form +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:110 +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:155 +#, python-format +msgid "Row" +msgstr "" + +#. module: bi_view_editor +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form msgid "Security" msgstr "Beveiliging" #. module: bi_view_editor -#: field:bve.view,state:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_state msgid "State" msgstr "Status" #. module: bi_view_editor -#: help:bve.view,data:0 +#: model:ir.actions.act_window,name:bi_view_editor.action_bi_view_editor_translations +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form +msgid "Translations" +msgstr "" + +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:30 +#, python-format +msgid "Use the existing node" +msgstr "" + +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:34 +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:43 +#, python-format +msgid "Use the field" +msgstr "" + +#. module: bi_view_editor +#: model:ir.model.fields,help:bi_view_editor.field_bve_view_data msgid "" "Use the special query builder to define the query to generate your report " "dataset. NOTE: To be edited, the query should be in 'Draft' status." msgstr "" -"Gebruik de speciale query bouwer om queries te definiëren voor uw " -"rapportage dataset. LET OP: Om te bewerken moet de query in de 'Concept\" " -"status zijn. " +"Gebruik de speciale query bouwer om queries te definiëren voor uw rapportage " +"dataset. LET OP: Om te bewerken moet de query in de 'Concept\" status zijn. " #. module: bi_view_editor -#: help:bve.view,group_ids:0 +#: model:ir.model.fields,help:bi_view_editor.field_bve_view_group_ids msgid "" "User groups allowed to see the generated report; if NO groups are specified " "the report will be public for everyone." @@ -203,19 +326,54 @@ msgstr "" "groepen ingesteld zijn is het rapport zichtbaar voor alle gebruikers." #. module: bi_view_editor -#: field:bve.view,user_ids:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_user_ids msgid "Users" msgstr "Gebruikers" #. module: bi_view_editor -#: field:bve.view,view_id:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_view_id msgid "View" msgstr "Weergave" #. module: bi_view_editor -#: code:addons/bi_view_editor/models/bve_view.py:73 +#: code:addons/bi_view_editor/models/bve_view.py:456 #, python-format msgid "You cannot delete a created view! Reset the view to draft first." msgstr "" "U kunt een aangemaakte weergave niet verwijderen. Reset de weergave eerst " "naar de concept fase." + +#. module: bi_view_editor +#: model:ir.model,name:bi_view_editor.model_base +msgid "base" +msgstr "" + +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:39 +#, python-format +msgid "new" +msgstr "" + +#. module: bi_view_editor +#: model:ir.model,name:bi_view_editor.model_wizard_ir_model_menu_create +msgid "wizard.ir.model.menu.create" +msgstr "" + +#~ msgid "" +#~ "

    \n" +#~ " Click to create a Custom Query Object.\n" +#~ "

    \n" +#~ "\n" +#~ "

    \n" +#~ " " +#~ msgstr "" +#~ "

    \n" +#~ " Klik om een nieuwe custom query object te maken.\n" +#~ "

    \n" +#~ "\n" +#~ "

    \n" +#~ " " + +#~ msgid "Error" +#~ msgstr "Fout" diff --git a/bi_view_editor/i18n/nl_BE.po b/bi_view_editor/i18n/nl_BE.po index d5e5b75dc..3fc001658 100644 --- a/bi_view_editor/i18n/nl_BE.po +++ b/bi_view_editor/i18n/nl_BE.po @@ -1,7 +1,7 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: # * bi_view_editor -# +# # Translators: msgid "" msgstr "" @@ -10,56 +10,99 @@ msgstr "" "POT-Creation-Date: 2016-09-18 04:34+0000\n" "PO-Revision-Date: 2016-03-21 15:33+0000\n" "Last-Translator: <>\n" -"Language-Team: Dutch (Belgium) (http://www.transifex.com/oca/OCA-reporting-engine-8-0/language/nl_BE/)\n" +"Language-Team: Dutch (Belgium) (http://www.transifex.com/oca/OCA-reporting-" +"engine-8-0/language/nl_BE/)\n" +"Language: nl_BE\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: \n" -"Language: nl_BE\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #. module: bi_view_editor -#: model:ir.actions.act_window,help:bi_view_editor.action_bi_view_editor_view_form -msgid "" -"

    \n" -" Click to create a Custom Query Object.\n" -"

    \n" -"\n" -"

    \n" -" " +#: code:addons/bi_view_editor/models/bve_view.py:415 +#, python-format +msgid "%s (copy)" msgstr "" #. module: bi_view_editor -#: field:bve.view,action_id:0 +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:179 +#, python-format +msgid "(join left)" +msgstr "" + +#. module: bi_view_editor +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_action_id msgid "Action" msgstr "" +#. module: bi_view_editor +#: code:addons/bi_view_editor/models/bve_view.py:409 +#, python-format +msgid "BI View" +msgstr "" + #. module: bi_view_editor #: model:ir.model,name:bi_view_editor.model_bve_view msgid "BI View Editor" msgstr "" +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/js/bi_view_editor.JoinNodeDialog.js:36 +#, python-format +msgid "Cancel" +msgstr "" + +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:18 +#, python-format +msgid "Clear" +msgstr "" + +#. module: bi_view_editor +#: model:ir.actions.act_window,help:bi_view_editor.action_bi_view_editor_view_form +msgid "Click to create a Custom Query Object." +msgstr "" + +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:103 +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:154 +#, python-format +msgid "Column" +msgstr "" + +#. module: bi_view_editor +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form +#, fuzzy +msgid "Create a Menu" +msgstr "Gemaakt op" + #. module: bi_view_editor #: selection:bve.view,state:0 msgid "Created" msgstr "" #. module: bi_view_editor -#: field:bve.view,create_uid:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_create_uid msgid "Created by" msgstr "Gemaakt door" #. module: bi_view_editor -#: field:bve.view,create_date:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_create_date msgid "Created on" msgstr "Gemaakt op" #. module: bi_view_editor -#: view:bve.view:bi_view_editor.view_bi_view_editor_view_tree +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_tree msgid "Custom BI View" msgstr "" #. module: bi_view_editor -#: sql_constraint:bve.view:0 +#: code:addons/bi_view_editor/models/bve_view.py:64 sql_constraint:bve.view:0 +#, python-format msgid "Custom BI View names must be unique!" msgstr "" @@ -70,7 +113,7 @@ msgid "Custom BI Views" msgstr "" #. module: bi_view_editor -#: view:bve.view:bi_view_editor.view_bi_view_editor_view_form +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form msgid "Custom Object" msgstr "" @@ -80,12 +123,12 @@ msgid "Custom Reports" msgstr "" #. module: bi_view_editor -#: field:bve.view,data:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_data msgid "Data" msgstr "" #. module: bi_view_editor -#: field:bve.view,display_name:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_display_name msgid "Display Name" msgstr "Schermnaam" @@ -95,43 +138,74 @@ msgid "Draft" msgstr "" #. module: bi_view_editor -#: code:addons/bi_view_editor/models/bve_view.py:72 -#, python-format -msgid "Error" -msgstr "" - -#. module: bi_view_editor -#: view:bve.view:bi_view_editor.view_bi_view_editor_view_form +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form msgid "Generate BI View" msgstr "" #. module: bi_view_editor -#: field:bve.view,group_ids:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_group_ids msgid "Groups" msgstr "" #. module: bi_view_editor -#: field:bve.view,id:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_id msgid "ID" msgstr "ID" #. module: bi_view_editor -#: field:bve.view,__last_update:0 +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:137 +#, python-format +msgid "Join Left" +msgstr "" + +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/js/bi_view_editor.JoinNodeDialog.js:30 +#, python-format +msgid "Join..." +msgstr "" + +#. module: bi_view_editor +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view___last_update msgid "Last Modified on" msgstr "Laatst Aangepast op" #. module: bi_view_editor -#: field:bve.view,write_uid:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_write_uid msgid "Last Updated by" msgstr "Laatst bijgewerkt door" #. module: bi_view_editor -#: field:bve.view,write_date:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_write_date msgid "Last Updated on" msgstr "Laatst bijgewerkt op" #. module: bi_view_editor -#: field:bve.view,model_name:0 +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:124 +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:157 +#, python-format +msgid "List" +msgstr "" + +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:117 +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:156 +#, python-format +msgid "Measure" +msgstr "" + +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:86 +#, python-format +msgid "Model" +msgstr "" + +#. module: bi_view_editor +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_model_name msgid "Model Name" msgstr "" @@ -141,67 +215,141 @@ msgid "Models" msgstr "" #. module: bi_view_editor -#: field:bve.view,name:0 +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:85 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_name +#, python-format msgid "Name" msgstr "Naam:" #. module: bi_view_editor -#: view:bve.view:bi_view_editor.view_bi_view_editor_view_form -#: field:bve.view,note:0 +#: code:addons/bi_view_editor/models/models.py:56 +#, python-format +msgid "No data to be displayed." +msgstr "" + +#. module: bi_view_editor +#: code:addons/bi_view_editor/models/bve_view.py:284 +#, python-format +msgid "No data to process." +msgstr "" + +#. module: bi_view_editor +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_note +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form msgid "Notes" msgstr "" #. module: bi_view_editor -#: view:bve.view:bi_view_editor.view_bi_view_editor_view_form +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form msgid "Open BI View" msgstr "" #. module: bi_view_editor -#: view:bve.view:bi_view_editor.view_bi_view_editor_view_form +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:87 +#, python-format +msgid "Options" +msgstr "" + +#. module: bi_view_editor +#: code:addons/bi_view_editor/models/bve_view.py:224 +#, python-format +msgid "Please select at least one group on the security tab." +msgstr "" + +#. module: bi_view_editor +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form msgid "Query" msgstr "" #. module: bi_view_editor -#: view:bve.view:bi_view_editor.view_bi_view_editor_view_form +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form msgid "Reset to Draft" msgstr "" #. module: bi_view_editor -#: view:bve.view:bi_view_editor.view_bi_view_editor_view_form +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:110 +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:155 +#, python-format +msgid "Row" +msgstr "" + +#. module: bi_view_editor +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form msgid "Security" msgstr "" #. module: bi_view_editor -#: field:bve.view,state:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_state msgid "State" msgstr "" #. module: bi_view_editor -#: help:bve.view,data:0 +#: model:ir.actions.act_window,name:bi_view_editor.action_bi_view_editor_translations +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form +msgid "Translations" +msgstr "" + +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:30 +#, python-format +msgid "Use the existing node" +msgstr "" + +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:34 +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:43 +#, python-format +msgid "Use the field" +msgstr "" + +#. module: bi_view_editor +#: model:ir.model.fields,help:bi_view_editor.field_bve_view_data msgid "" "Use the special query builder to define the query to generate your report " "dataset. NOTE: To be edited, the query should be in 'Draft' status." msgstr "" #. module: bi_view_editor -#: help:bve.view,group_ids:0 +#: model:ir.model.fields,help:bi_view_editor.field_bve_view_group_ids msgid "" "User groups allowed to see the generated report; if NO groups are specified " "the report will be public for everyone." msgstr "" #. module: bi_view_editor -#: field:bve.view,user_ids:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_user_ids msgid "Users" msgstr "" #. module: bi_view_editor -#: field:bve.view,view_id:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_view_id msgid "View" msgstr "" #. module: bi_view_editor -#: code:addons/bi_view_editor/models/bve_view.py:73 +#: code:addons/bi_view_editor/models/bve_view.py:456 #, python-format msgid "You cannot delete a created view! Reset the view to draft first." msgstr "" + +#. module: bi_view_editor +#: model:ir.model,name:bi_view_editor.model_base +msgid "base" +msgstr "" + +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:39 +#, python-format +msgid "new" +msgstr "" + +#. module: bi_view_editor +#: model:ir.model,name:bi_view_editor.model_wizard_ir_model_menu_create +msgid "wizard.ir.model.menu.create" +msgstr "" diff --git a/bi_view_editor/i18n/pl.po b/bi_view_editor/i18n/pl.po index 037a12763..1fb7c4a21 100644 --- a/bi_view_editor/i18n/pl.po +++ b/bi_view_editor/i18n/pl.po @@ -1,7 +1,7 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: # * bi_view_editor -# +# # Translators: msgid "" msgstr "" @@ -10,56 +10,100 @@ msgstr "" "POT-Creation-Date: 2016-09-18 04:34+0000\n" "PO-Revision-Date: 2016-03-21 15:33+0000\n" "Last-Translator: <>\n" -"Language-Team: Polish (http://www.transifex.com/oca/OCA-reporting-engine-8-0/language/pl/)\n" +"Language-Team: Polish (http://www.transifex.com/oca/OCA-reporting-engine-8-0/" +"language/pl/)\n" +"Language: pl\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: \n" -"Language: pl\n" -"Plural-Forms: nplurals=3; plural=(n==1 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n" +"Plural-Forms: nplurals=3; plural=(n==1 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 " +"|| n%100>=20) ? 1 : 2);\n" #. module: bi_view_editor -#: model:ir.actions.act_window,help:bi_view_editor.action_bi_view_editor_view_form -msgid "" -"

    \n" -" Click to create a Custom Query Object.\n" -"

    \n" -"\n" -"

    \n" -" " +#: code:addons/bi_view_editor/models/bve_view.py:415 +#, python-format +msgid "%s (copy)" msgstr "" #. module: bi_view_editor -#: field:bve.view,action_id:0 +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:179 +#, python-format +msgid "(join left)" +msgstr "" + +#. module: bi_view_editor +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_action_id msgid "Action" msgstr "" +#. module: bi_view_editor +#: code:addons/bi_view_editor/models/bve_view.py:409 +#, python-format +msgid "BI View" +msgstr "" + #. module: bi_view_editor #: model:ir.model,name:bi_view_editor.model_bve_view msgid "BI View Editor" msgstr "" +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/js/bi_view_editor.JoinNodeDialog.js:36 +#, python-format +msgid "Cancel" +msgstr "" + +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:18 +#, python-format +msgid "Clear" +msgstr "" + +#. module: bi_view_editor +#: model:ir.actions.act_window,help:bi_view_editor.action_bi_view_editor_view_form +msgid "Click to create a Custom Query Object." +msgstr "" + +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:103 +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:154 +#, python-format +msgid "Column" +msgstr "" + +#. module: bi_view_editor +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form +#, fuzzy +msgid "Create a Menu" +msgstr "Utworzono" + #. module: bi_view_editor #: selection:bve.view,state:0 msgid "Created" msgstr "" #. module: bi_view_editor -#: field:bve.view,create_uid:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_create_uid msgid "Created by" msgstr "Utworzone przez" #. module: bi_view_editor -#: field:bve.view,create_date:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_create_date msgid "Created on" msgstr "Utworzono" #. module: bi_view_editor -#: view:bve.view:bi_view_editor.view_bi_view_editor_view_tree +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_tree msgid "Custom BI View" msgstr "" #. module: bi_view_editor -#: sql_constraint:bve.view:0 +#: code:addons/bi_view_editor/models/bve_view.py:64 sql_constraint:bve.view:0 +#, python-format msgid "Custom BI View names must be unique!" msgstr "" @@ -70,7 +114,7 @@ msgid "Custom BI Views" msgstr "" #. module: bi_view_editor -#: view:bve.view:bi_view_editor.view_bi_view_editor_view_form +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form msgid "Custom Object" msgstr "" @@ -80,12 +124,12 @@ msgid "Custom Reports" msgstr "" #. module: bi_view_editor -#: field:bve.view,data:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_data msgid "Data" msgstr "" #. module: bi_view_editor -#: field:bve.view,display_name:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_display_name msgid "Display Name" msgstr "Wyświetlana nazwa " @@ -95,43 +139,74 @@ msgid "Draft" msgstr "" #. module: bi_view_editor -#: code:addons/bi_view_editor/models/bve_view.py:72 -#, python-format -msgid "Error" -msgstr "" - -#. module: bi_view_editor -#: view:bve.view:bi_view_editor.view_bi_view_editor_view_form +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form msgid "Generate BI View" msgstr "" #. module: bi_view_editor -#: field:bve.view,group_ids:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_group_ids msgid "Groups" msgstr "" #. module: bi_view_editor -#: field:bve.view,id:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_id msgid "ID" msgstr "ID" #. module: bi_view_editor -#: field:bve.view,__last_update:0 +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:137 +#, python-format +msgid "Join Left" +msgstr "" + +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/js/bi_view_editor.JoinNodeDialog.js:30 +#, python-format +msgid "Join..." +msgstr "" + +#. module: bi_view_editor +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view___last_update msgid "Last Modified on" msgstr "Ostatnio modyfikowano" #. module: bi_view_editor -#: field:bve.view,write_uid:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_write_uid msgid "Last Updated by" msgstr "Ostatnio modyfikowane przez" #. module: bi_view_editor -#: field:bve.view,write_date:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_write_date msgid "Last Updated on" msgstr "Ostatnia zmiana" #. module: bi_view_editor -#: field:bve.view,model_name:0 +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:124 +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:157 +#, python-format +msgid "List" +msgstr "" + +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:117 +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:156 +#, python-format +msgid "Measure" +msgstr "" + +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:86 +#, python-format +msgid "Model" +msgstr "" + +#. module: bi_view_editor +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_model_name msgid "Model Name" msgstr "" @@ -141,67 +216,141 @@ msgid "Models" msgstr "" #. module: bi_view_editor -#: field:bve.view,name:0 +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:85 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_name +#, python-format msgid "Name" msgstr "Nazwa" #. module: bi_view_editor -#: view:bve.view:bi_view_editor.view_bi_view_editor_view_form -#: field:bve.view,note:0 +#: code:addons/bi_view_editor/models/models.py:56 +#, python-format +msgid "No data to be displayed." +msgstr "" + +#. module: bi_view_editor +#: code:addons/bi_view_editor/models/bve_view.py:284 +#, python-format +msgid "No data to process." +msgstr "" + +#. module: bi_view_editor +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_note +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form msgid "Notes" msgstr "" #. module: bi_view_editor -#: view:bve.view:bi_view_editor.view_bi_view_editor_view_form +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form msgid "Open BI View" msgstr "" #. module: bi_view_editor -#: view:bve.view:bi_view_editor.view_bi_view_editor_view_form +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:87 +#, python-format +msgid "Options" +msgstr "" + +#. module: bi_view_editor +#: code:addons/bi_view_editor/models/bve_view.py:224 +#, python-format +msgid "Please select at least one group on the security tab." +msgstr "" + +#. module: bi_view_editor +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form msgid "Query" msgstr "" #. module: bi_view_editor -#: view:bve.view:bi_view_editor.view_bi_view_editor_view_form +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form msgid "Reset to Draft" msgstr "" #. module: bi_view_editor -#: view:bve.view:bi_view_editor.view_bi_view_editor_view_form +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:110 +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:155 +#, python-format +msgid "Row" +msgstr "" + +#. module: bi_view_editor +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form msgid "Security" msgstr "Uprawnienia" #. module: bi_view_editor -#: field:bve.view,state:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_state msgid "State" msgstr "" #. module: bi_view_editor -#: help:bve.view,data:0 +#: model:ir.actions.act_window,name:bi_view_editor.action_bi_view_editor_translations +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form +msgid "Translations" +msgstr "" + +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:30 +#, python-format +msgid "Use the existing node" +msgstr "" + +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:34 +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:43 +#, python-format +msgid "Use the field" +msgstr "" + +#. module: bi_view_editor +#: model:ir.model.fields,help:bi_view_editor.field_bve_view_data msgid "" "Use the special query builder to define the query to generate your report " "dataset. NOTE: To be edited, the query should be in 'Draft' status." msgstr "" #. module: bi_view_editor -#: help:bve.view,group_ids:0 +#: model:ir.model.fields,help:bi_view_editor.field_bve_view_group_ids msgid "" "User groups allowed to see the generated report; if NO groups are specified " "the report will be public for everyone." msgstr "" #. module: bi_view_editor -#: field:bve.view,user_ids:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_user_ids msgid "Users" msgstr "" #. module: bi_view_editor -#: field:bve.view,view_id:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_view_id msgid "View" msgstr "" #. module: bi_view_editor -#: code:addons/bi_view_editor/models/bve_view.py:73 +#: code:addons/bi_view_editor/models/bve_view.py:456 #, python-format msgid "You cannot delete a created view! Reset the view to draft first." msgstr "" + +#. module: bi_view_editor +#: model:ir.model,name:bi_view_editor.model_base +msgid "base" +msgstr "" + +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:39 +#, python-format +msgid "new" +msgstr "" + +#. module: bi_view_editor +#: model:ir.model,name:bi_view_editor.model_wizard_ir_model_menu_create +msgid "wizard.ir.model.menu.create" +msgstr "" diff --git a/bi_view_editor/i18n/pt.po b/bi_view_editor/i18n/pt.po index dc147d5c2..e01fa08e5 100644 --- a/bi_view_editor/i18n/pt.po +++ b/bi_view_editor/i18n/pt.po @@ -1,7 +1,7 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: # * bi_view_editor -# +# # Translators: msgid "" msgstr "" @@ -10,56 +10,99 @@ msgstr "" "POT-Creation-Date: 2016-09-18 04:34+0000\n" "PO-Revision-Date: 2016-03-21 15:33+0000\n" "Last-Translator: <>\n" -"Language-Team: Portuguese (http://www.transifex.com/oca/OCA-reporting-engine-8-0/language/pt/)\n" +"Language-Team: Portuguese (http://www.transifex.com/oca/OCA-reporting-" +"engine-8-0/language/pt/)\n" +"Language: pt\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: \n" -"Language: pt\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #. module: bi_view_editor -#: model:ir.actions.act_window,help:bi_view_editor.action_bi_view_editor_view_form -msgid "" -"

    \n" -" Click to create a Custom Query Object.\n" -"

    \n" -"\n" -"

    \n" -" " +#: code:addons/bi_view_editor/models/bve_view.py:415 +#, python-format +msgid "%s (copy)" msgstr "" #. module: bi_view_editor -#: field:bve.view,action_id:0 +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:179 +#, python-format +msgid "(join left)" +msgstr "" + +#. module: bi_view_editor +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_action_id msgid "Action" msgstr "" +#. module: bi_view_editor +#: code:addons/bi_view_editor/models/bve_view.py:409 +#, python-format +msgid "BI View" +msgstr "" + #. module: bi_view_editor #: model:ir.model,name:bi_view_editor.model_bve_view msgid "BI View Editor" msgstr "" +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/js/bi_view_editor.JoinNodeDialog.js:36 +#, python-format +msgid "Cancel" +msgstr "" + +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:18 +#, python-format +msgid "Clear" +msgstr "" + +#. module: bi_view_editor +#: model:ir.actions.act_window,help:bi_view_editor.action_bi_view_editor_view_form +msgid "Click to create a Custom Query Object." +msgstr "" + +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:103 +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:154 +#, python-format +msgid "Column" +msgstr "" + +#. module: bi_view_editor +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form +#, fuzzy +msgid "Create a Menu" +msgstr "Criado em" + #. module: bi_view_editor #: selection:bve.view,state:0 msgid "Created" msgstr "" #. module: bi_view_editor -#: field:bve.view,create_uid:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_create_uid msgid "Created by" msgstr "Criado por" #. module: bi_view_editor -#: field:bve.view,create_date:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_create_date msgid "Created on" msgstr "Criado em" #. module: bi_view_editor -#: view:bve.view:bi_view_editor.view_bi_view_editor_view_tree +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_tree msgid "Custom BI View" msgstr "" #. module: bi_view_editor -#: sql_constraint:bve.view:0 +#: code:addons/bi_view_editor/models/bve_view.py:64 sql_constraint:bve.view:0 +#, python-format msgid "Custom BI View names must be unique!" msgstr "" @@ -70,7 +113,7 @@ msgid "Custom BI Views" msgstr "" #. module: bi_view_editor -#: view:bve.view:bi_view_editor.view_bi_view_editor_view_form +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form msgid "Custom Object" msgstr "" @@ -80,12 +123,12 @@ msgid "Custom Reports" msgstr "" #. module: bi_view_editor -#: field:bve.view,data:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_data msgid "Data" msgstr "" #. module: bi_view_editor -#: field:bve.view,display_name:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_display_name msgid "Display Name" msgstr "Nome" @@ -95,43 +138,74 @@ msgid "Draft" msgstr "" #. module: bi_view_editor -#: code:addons/bi_view_editor/models/bve_view.py:72 -#, python-format -msgid "Error" -msgstr "" - -#. module: bi_view_editor -#: view:bve.view:bi_view_editor.view_bi_view_editor_view_form +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form msgid "Generate BI View" msgstr "" #. module: bi_view_editor -#: field:bve.view,group_ids:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_group_ids msgid "Groups" msgstr "" #. module: bi_view_editor -#: field:bve.view,id:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_id msgid "ID" msgstr "ID" #. module: bi_view_editor -#: field:bve.view,__last_update:0 +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:137 +#, python-format +msgid "Join Left" +msgstr "" + +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/js/bi_view_editor.JoinNodeDialog.js:30 +#, python-format +msgid "Join..." +msgstr "" + +#. module: bi_view_editor +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view___last_update msgid "Last Modified on" msgstr "Modificado a última vez por" #. module: bi_view_editor -#: field:bve.view,write_uid:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_write_uid msgid "Last Updated by" msgstr "Atualizado pela última vez por" #. module: bi_view_editor -#: field:bve.view,write_date:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_write_date msgid "Last Updated on" msgstr "Atualizado pela última vez em" #. module: bi_view_editor -#: field:bve.view,model_name:0 +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:124 +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:157 +#, python-format +msgid "List" +msgstr "" + +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:117 +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:156 +#, python-format +msgid "Measure" +msgstr "" + +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:86 +#, python-format +msgid "Model" +msgstr "" + +#. module: bi_view_editor +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_model_name msgid "Model Name" msgstr "" @@ -141,67 +215,141 @@ msgid "Models" msgstr "" #. module: bi_view_editor -#: field:bve.view,name:0 +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:85 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_name +#, python-format msgid "Name" msgstr "Nome" #. module: bi_view_editor -#: view:bve.view:bi_view_editor.view_bi_view_editor_view_form -#: field:bve.view,note:0 +#: code:addons/bi_view_editor/models/models.py:56 +#, python-format +msgid "No data to be displayed." +msgstr "" + +#. module: bi_view_editor +#: code:addons/bi_view_editor/models/bve_view.py:284 +#, python-format +msgid "No data to process." +msgstr "" + +#. module: bi_view_editor +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_note +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form msgid "Notes" msgstr "" #. module: bi_view_editor -#: view:bve.view:bi_view_editor.view_bi_view_editor_view_form +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form msgid "Open BI View" msgstr "" #. module: bi_view_editor -#: view:bve.view:bi_view_editor.view_bi_view_editor_view_form +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:87 +#, python-format +msgid "Options" +msgstr "" + +#. module: bi_view_editor +#: code:addons/bi_view_editor/models/bve_view.py:224 +#, python-format +msgid "Please select at least one group on the security tab." +msgstr "" + +#. module: bi_view_editor +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form msgid "Query" msgstr "" #. module: bi_view_editor -#: view:bve.view:bi_view_editor.view_bi_view_editor_view_form +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form msgid "Reset to Draft" msgstr "" #. module: bi_view_editor -#: view:bve.view:bi_view_editor.view_bi_view_editor_view_form +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:110 +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:155 +#, python-format +msgid "Row" +msgstr "" + +#. module: bi_view_editor +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form msgid "Security" msgstr "" #. module: bi_view_editor -#: field:bve.view,state:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_state msgid "State" msgstr "" #. module: bi_view_editor -#: help:bve.view,data:0 +#: model:ir.actions.act_window,name:bi_view_editor.action_bi_view_editor_translations +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form +msgid "Translations" +msgstr "" + +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:30 +#, python-format +msgid "Use the existing node" +msgstr "" + +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:34 +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:43 +#, python-format +msgid "Use the field" +msgstr "" + +#. module: bi_view_editor +#: model:ir.model.fields,help:bi_view_editor.field_bve_view_data msgid "" "Use the special query builder to define the query to generate your report " "dataset. NOTE: To be edited, the query should be in 'Draft' status." msgstr "" #. module: bi_view_editor -#: help:bve.view,group_ids:0 +#: model:ir.model.fields,help:bi_view_editor.field_bve_view_group_ids msgid "" "User groups allowed to see the generated report; if NO groups are specified " "the report will be public for everyone." msgstr "" #. module: bi_view_editor -#: field:bve.view,user_ids:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_user_ids msgid "Users" msgstr "" #. module: bi_view_editor -#: field:bve.view,view_id:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_view_id msgid "View" msgstr "" #. module: bi_view_editor -#: code:addons/bi_view_editor/models/bve_view.py:73 +#: code:addons/bi_view_editor/models/bve_view.py:456 #, python-format msgid "You cannot delete a created view! Reset the view to draft first." msgstr "" + +#. module: bi_view_editor +#: model:ir.model,name:bi_view_editor.model_base +msgid "base" +msgstr "" + +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:39 +#, python-format +msgid "new" +msgstr "" + +#. module: bi_view_editor +#: model:ir.model,name:bi_view_editor.model_wizard_ir_model_menu_create +msgid "wizard.ir.model.menu.create" +msgstr "" diff --git a/bi_view_editor/i18n/pt_BR.po b/bi_view_editor/i18n/pt_BR.po index 7f722449d..4dc267d17 100644 --- a/bi_view_editor/i18n/pt_BR.po +++ b/bi_view_editor/i18n/pt_BR.po @@ -1,7 +1,7 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: # * bi_view_editor -# +# # Translators: msgid "" msgstr "" @@ -10,56 +10,99 @@ msgstr "" "POT-Creation-Date: 2016-12-03 04:09+0000\n" "PO-Revision-Date: 2016-03-21 15:33+0000\n" "Last-Translator: <>\n" -"Language-Team: Portuguese (Brazil) (http://www.transifex.com/oca/OCA-reporting-engine-8-0/language/pt_BR/)\n" +"Language-Team: Portuguese (Brazil) (http://www.transifex.com/oca/OCA-" +"reporting-engine-8-0/language/pt_BR/)\n" +"Language: 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: bi_view_editor -#: model:ir.actions.act_window,help:bi_view_editor.action_bi_view_editor_view_form -msgid "" -"

    \n" -" Click to create a Custom Query Object.\n" -"

    \n" -"\n" -"

    \n" -" " +#: code:addons/bi_view_editor/models/bve_view.py:415 +#, python-format +msgid "%s (copy)" msgstr "" #. module: bi_view_editor -#: field:bve.view,action_id:0 +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:179 +#, python-format +msgid "(join left)" +msgstr "" + +#. module: bi_view_editor +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_action_id msgid "Action" msgstr "Ação" +#. module: bi_view_editor +#: code:addons/bi_view_editor/models/bve_view.py:409 +#, python-format +msgid "BI View" +msgstr "" + #. module: bi_view_editor #: model:ir.model,name:bi_view_editor.model_bve_view msgid "BI View Editor" msgstr "" +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/js/bi_view_editor.JoinNodeDialog.js:36 +#, python-format +msgid "Cancel" +msgstr "" + +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:18 +#, python-format +msgid "Clear" +msgstr "" + +#. module: bi_view_editor +#: model:ir.actions.act_window,help:bi_view_editor.action_bi_view_editor_view_form +msgid "Click to create a Custom Query Object." +msgstr "" + +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:103 +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:154 +#, python-format +msgid "Column" +msgstr "" + +#. module: bi_view_editor +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form +#, fuzzy +msgid "Create a Menu" +msgstr "Criado em" + #. module: bi_view_editor #: selection:bve.view,state:0 msgid "Created" msgstr "" #. module: bi_view_editor -#: field:bve.view,create_uid:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_create_uid msgid "Created by" msgstr "Criado por" #. module: bi_view_editor -#: field:bve.view,create_date:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_create_date msgid "Created on" msgstr "Criado em" #. module: bi_view_editor -#: view:bve.view:bi_view_editor.view_bi_view_editor_view_tree +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_tree msgid "Custom BI View" msgstr "" #. module: bi_view_editor -#: sql_constraint:bve.view:0 +#: code:addons/bi_view_editor/models/bve_view.py:64 sql_constraint:bve.view:0 +#, python-format msgid "Custom BI View names must be unique!" msgstr "" @@ -70,7 +113,7 @@ msgid "Custom BI Views" msgstr "" #. module: bi_view_editor -#: view:bve.view:bi_view_editor.view_bi_view_editor_view_form +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form msgid "Custom Object" msgstr "" @@ -80,12 +123,12 @@ msgid "Custom Reports" msgstr "" #. module: bi_view_editor -#: field:bve.view,data:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_data msgid "Data" msgstr "" #. module: bi_view_editor -#: field:bve.view,display_name:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_display_name msgid "Display Name" msgstr "Nome para Mostrar" @@ -95,43 +138,74 @@ msgid "Draft" msgstr "Rascunho" #. module: bi_view_editor -#: code:addons/bi_view_editor/models/bve_view.py:72 -#, python-format -msgid "Error" -msgstr "" - -#. module: bi_view_editor -#: view:bve.view:bi_view_editor.view_bi_view_editor_view_form +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form msgid "Generate BI View" msgstr "" #. module: bi_view_editor -#: field:bve.view,group_ids:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_group_ids msgid "Groups" msgstr "" #. module: bi_view_editor -#: field:bve.view,id:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_id msgid "ID" msgstr "Identificação" #. module: bi_view_editor -#: field:bve.view,__last_update:0 +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:137 +#, python-format +msgid "Join Left" +msgstr "" + +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/js/bi_view_editor.JoinNodeDialog.js:30 +#, python-format +msgid "Join..." +msgstr "" + +#. module: bi_view_editor +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view___last_update msgid "Last Modified on" msgstr "Última atualização em" #. module: bi_view_editor -#: field:bve.view,write_uid:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_write_uid msgid "Last Updated by" msgstr "Última atualização por" #. module: bi_view_editor -#: field:bve.view,write_date:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_write_date msgid "Last Updated on" msgstr "Última atualização em" #. module: bi_view_editor -#: field:bve.view,model_name:0 +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:124 +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:157 +#, python-format +msgid "List" +msgstr "" + +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:117 +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:156 +#, python-format +msgid "Measure" +msgstr "" + +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:86 +#, fuzzy, python-format +msgid "Model" +msgstr "Modelos" + +#. module: bi_view_editor +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_model_name msgid "Model Name" msgstr "" @@ -141,67 +215,141 @@ msgid "Models" msgstr "Modelos" #. module: bi_view_editor -#: field:bve.view,name:0 +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:85 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_name +#, python-format msgid "Name" msgstr "Nome" #. module: bi_view_editor -#: view:bve.view:bi_view_editor.view_bi_view_editor_view_form -#: field:bve.view,note:0 +#: code:addons/bi_view_editor/models/models.py:56 +#, python-format +msgid "No data to be displayed." +msgstr "" + +#. module: bi_view_editor +#: code:addons/bi_view_editor/models/bve_view.py:284 +#, python-format +msgid "No data to process." +msgstr "" + +#. module: bi_view_editor +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_note +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form msgid "Notes" msgstr "" #. module: bi_view_editor -#: view:bve.view:bi_view_editor.view_bi_view_editor_view_form +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form msgid "Open BI View" msgstr "" #. module: bi_view_editor -#: view:bve.view:bi_view_editor.view_bi_view_editor_view_form +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:87 +#, fuzzy, python-format +msgid "Options" +msgstr "Ação" + +#. module: bi_view_editor +#: code:addons/bi_view_editor/models/bve_view.py:224 +#, python-format +msgid "Please select at least one group on the security tab." +msgstr "" + +#. module: bi_view_editor +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form msgid "Query" msgstr "" #. module: bi_view_editor -#: view:bve.view:bi_view_editor.view_bi_view_editor_view_form +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form msgid "Reset to Draft" msgstr "" #. module: bi_view_editor -#: view:bve.view:bi_view_editor.view_bi_view_editor_view_form +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:110 +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:155 +#, python-format +msgid "Row" +msgstr "" + +#. module: bi_view_editor +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form msgid "Security" msgstr "" #. module: bi_view_editor -#: field:bve.view,state:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_state msgid "State" msgstr "Estado" #. module: bi_view_editor -#: help:bve.view,data:0 +#: model:ir.actions.act_window,name:bi_view_editor.action_bi_view_editor_translations +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form +msgid "Translations" +msgstr "" + +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:30 +#, python-format +msgid "Use the existing node" +msgstr "" + +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:34 +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:43 +#, python-format +msgid "Use the field" +msgstr "" + +#. module: bi_view_editor +#: model:ir.model.fields,help:bi_view_editor.field_bve_view_data msgid "" "Use the special query builder to define the query to generate your report " "dataset. NOTE: To be edited, the query should be in 'Draft' status." msgstr "" #. module: bi_view_editor -#: help:bve.view,group_ids:0 +#: model:ir.model.fields,help:bi_view_editor.field_bve_view_group_ids msgid "" "User groups allowed to see the generated report; if NO groups are specified " "the report will be public for everyone." msgstr "" #. module: bi_view_editor -#: field:bve.view,user_ids:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_user_ids msgid "Users" msgstr "Usuários" #. module: bi_view_editor -#: field:bve.view,view_id:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_view_id msgid "View" msgstr "" #. module: bi_view_editor -#: code:addons/bi_view_editor/models/bve_view.py:73 +#: code:addons/bi_view_editor/models/bve_view.py:456 #, python-format msgid "You cannot delete a created view! Reset the view to draft first." msgstr "" + +#. module: bi_view_editor +#: model:ir.model,name:bi_view_editor.model_base +msgid "base" +msgstr "" + +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:39 +#, python-format +msgid "new" +msgstr "" + +#. module: bi_view_editor +#: model:ir.model,name:bi_view_editor.model_wizard_ir_model_menu_create +msgid "wizard.ir.model.menu.create" +msgstr "" diff --git a/bi_view_editor/i18n/pt_PT.po b/bi_view_editor/i18n/pt_PT.po index 795803529..cc57ba710 100644 --- a/bi_view_editor/i18n/pt_PT.po +++ b/bi_view_editor/i18n/pt_PT.po @@ -1,7 +1,7 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: # * bi_view_editor -# +# # Translators: msgid "" msgstr "" @@ -10,56 +10,99 @@ msgstr "" "POT-Creation-Date: 2017-02-25 05:54+0000\n" "PO-Revision-Date: 2016-03-21 15:33+0000\n" "Last-Translator: <>\n" -"Language-Team: Portuguese (Portugal) (http://www.transifex.com/oca/OCA-reporting-engine-8-0/language/pt_PT/)\n" +"Language-Team: Portuguese (Portugal) (http://www.transifex.com/oca/OCA-" +"reporting-engine-8-0/language/pt_PT/)\n" +"Language: pt_PT\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: \n" -"Language: pt_PT\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #. module: bi_view_editor -#: model:ir.actions.act_window,help:bi_view_editor.action_bi_view_editor_view_form -msgid "" -"

    \n" -" Click to create a Custom Query Object.\n" -"

    \n" -"\n" -"

    \n" -" " +#: code:addons/bi_view_editor/models/bve_view.py:415 +#, python-format +msgid "%s (copy)" msgstr "" #. module: bi_view_editor -#: field:bve.view,action_id:0 +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:179 +#, python-format +msgid "(join left)" +msgstr "" + +#. module: bi_view_editor +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_action_id msgid "Action" msgstr "" +#. module: bi_view_editor +#: code:addons/bi_view_editor/models/bve_view.py:409 +#, python-format +msgid "BI View" +msgstr "" + #. module: bi_view_editor #: model:ir.model,name:bi_view_editor.model_bve_view msgid "BI View Editor" msgstr "" +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/js/bi_view_editor.JoinNodeDialog.js:36 +#, python-format +msgid "Cancel" +msgstr "" + +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:18 +#, python-format +msgid "Clear" +msgstr "" + +#. module: bi_view_editor +#: model:ir.actions.act_window,help:bi_view_editor.action_bi_view_editor_view_form +msgid "Click to create a Custom Query Object." +msgstr "" + +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:103 +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:154 +#, python-format +msgid "Column" +msgstr "" + +#. module: bi_view_editor +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form +#, fuzzy +msgid "Create a Menu" +msgstr "Criado em" + #. module: bi_view_editor #: selection:bve.view,state:0 msgid "Created" msgstr "" #. module: bi_view_editor -#: field:bve.view,create_uid:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_create_uid msgid "Created by" msgstr "Criado por" #. module: bi_view_editor -#: field:bve.view,create_date:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_create_date msgid "Created on" msgstr "Criado em" #. module: bi_view_editor -#: view:bve.view:bi_view_editor.view_bi_view_editor_view_tree +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_tree msgid "Custom BI View" msgstr "" #. module: bi_view_editor -#: sql_constraint:bve.view:0 +#: code:addons/bi_view_editor/models/bve_view.py:64 sql_constraint:bve.view:0 +#, python-format msgid "Custom BI View names must be unique!" msgstr "" @@ -70,7 +113,7 @@ msgid "Custom BI Views" msgstr "" #. module: bi_view_editor -#: view:bve.view:bi_view_editor.view_bi_view_editor_view_form +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form msgid "Custom Object" msgstr "" @@ -80,12 +123,12 @@ msgid "Custom Reports" msgstr "" #. module: bi_view_editor -#: field:bve.view,data:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_data msgid "Data" msgstr "" #. module: bi_view_editor -#: field:bve.view,display_name:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_display_name msgid "Display Name" msgstr "Nome a Apresentar" @@ -95,43 +138,74 @@ msgid "Draft" msgstr "Rascunho" #. module: bi_view_editor -#: code:addons/bi_view_editor/models/bve_view.py:72 -#, python-format -msgid "Error" -msgstr "Erro" - -#. module: bi_view_editor -#: view:bve.view:bi_view_editor.view_bi_view_editor_view_form +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form msgid "Generate BI View" msgstr "" #. module: bi_view_editor -#: field:bve.view,group_ids:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_group_ids msgid "Groups" msgstr "" #. module: bi_view_editor -#: field:bve.view,id:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_id msgid "ID" msgstr "ID" #. module: bi_view_editor -#: field:bve.view,__last_update:0 +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:137 +#, python-format +msgid "Join Left" +msgstr "" + +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/js/bi_view_editor.JoinNodeDialog.js:30 +#, python-format +msgid "Join..." +msgstr "" + +#. module: bi_view_editor +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view___last_update msgid "Last Modified on" msgstr "Última Modificação Em" #. module: bi_view_editor -#: field:bve.view,write_uid:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_write_uid msgid "Last Updated by" msgstr "Atualizado pela última vez por" #. module: bi_view_editor -#: field:bve.view,write_date:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_write_date msgid "Last Updated on" msgstr "Atualizado pela última vez em" #. module: bi_view_editor -#: field:bve.view,model_name:0 +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:124 +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:157 +#, python-format +msgid "List" +msgstr "" + +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:117 +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:156 +#, python-format +msgid "Measure" +msgstr "" + +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:86 +#, python-format +msgid "Model" +msgstr "" + +#. module: bi_view_editor +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_model_name msgid "Model Name" msgstr "" @@ -141,67 +215,144 @@ msgid "Models" msgstr "" #. module: bi_view_editor -#: field:bve.view,name:0 +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:85 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_name +#, python-format msgid "Name" msgstr "Nome" #. module: bi_view_editor -#: view:bve.view:bi_view_editor.view_bi_view_editor_view_form -#: field:bve.view,note:0 +#: code:addons/bi_view_editor/models/models.py:56 +#, python-format +msgid "No data to be displayed." +msgstr "" + +#. module: bi_view_editor +#: code:addons/bi_view_editor/models/bve_view.py:284 +#, python-format +msgid "No data to process." +msgstr "" + +#. module: bi_view_editor +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_note +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form msgid "Notes" msgstr "" #. module: bi_view_editor -#: view:bve.view:bi_view_editor.view_bi_view_editor_view_form +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form msgid "Open BI View" msgstr "" #. module: bi_view_editor -#: view:bve.view:bi_view_editor.view_bi_view_editor_view_form +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:87 +#, python-format +msgid "Options" +msgstr "" + +#. module: bi_view_editor +#: code:addons/bi_view_editor/models/bve_view.py:224 +#, python-format +msgid "Please select at least one group on the security tab." +msgstr "" + +#. module: bi_view_editor +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form msgid "Query" msgstr "" #. module: bi_view_editor -#: view:bve.view:bi_view_editor.view_bi_view_editor_view_form +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form msgid "Reset to Draft" msgstr "" #. module: bi_view_editor -#: view:bve.view:bi_view_editor.view_bi_view_editor_view_form +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:110 +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:155 +#, python-format +msgid "Row" +msgstr "" + +#. module: bi_view_editor +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form msgid "Security" msgstr "" #. module: bi_view_editor -#: field:bve.view,state:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_state msgid "State" msgstr "" #. module: bi_view_editor -#: help:bve.view,data:0 +#: model:ir.actions.act_window,name:bi_view_editor.action_bi_view_editor_translations +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form +msgid "Translations" +msgstr "" + +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:30 +#, python-format +msgid "Use the existing node" +msgstr "" + +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:34 +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:43 +#, python-format +msgid "Use the field" +msgstr "" + +#. module: bi_view_editor +#: model:ir.model.fields,help:bi_view_editor.field_bve_view_data msgid "" "Use the special query builder to define the query to generate your report " "dataset. NOTE: To be edited, the query should be in 'Draft' status." msgstr "" #. module: bi_view_editor -#: help:bve.view,group_ids:0 +#: model:ir.model.fields,help:bi_view_editor.field_bve_view_group_ids msgid "" "User groups allowed to see the generated report; if NO groups are specified " "the report will be public for everyone." msgstr "" #. module: bi_view_editor -#: field:bve.view,user_ids:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_user_ids msgid "Users" msgstr "" #. module: bi_view_editor -#: field:bve.view,view_id:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_view_id msgid "View" msgstr "" #. module: bi_view_editor -#: code:addons/bi_view_editor/models/bve_view.py:73 +#: code:addons/bi_view_editor/models/bve_view.py:456 #, python-format msgid "You cannot delete a created view! Reset the view to draft first." msgstr "" + +#. module: bi_view_editor +#: model:ir.model,name:bi_view_editor.model_base +msgid "base" +msgstr "" + +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:39 +#, python-format +msgid "new" +msgstr "" + +#. module: bi_view_editor +#: model:ir.model,name:bi_view_editor.model_wizard_ir_model_menu_create +msgid "wizard.ir.model.menu.create" +msgstr "" + +#~ msgid "Error" +#~ msgstr "Erro" diff --git a/bi_view_editor/i18n/ro.po b/bi_view_editor/i18n/ro.po index 50b9663ca..14719a74d 100644 --- a/bi_view_editor/i18n/ro.po +++ b/bi_view_editor/i18n/ro.po @@ -1,7 +1,7 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: # * bi_view_editor -# +# # Translators: msgid "" msgstr "" @@ -10,56 +10,100 @@ msgstr "" "POT-Creation-Date: 2016-12-24 04:38+0000\n" "PO-Revision-Date: 2016-03-21 15:33+0000\n" "Last-Translator: <>\n" -"Language-Team: Romanian (http://www.transifex.com/oca/OCA-reporting-engine-8-0/language/ro/)\n" +"Language-Team: Romanian (http://www.transifex.com/oca/OCA-reporting-" +"engine-8-0/language/ro/)\n" +"Language: ro\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: \n" -"Language: ro\n" -"Plural-Forms: nplurals=3; plural=(n==1?0:(((n%100>19)||((n%100==0)&&(n!=0)))?2:1));\n" +"Plural-Forms: nplurals=3; plural=(n==1?0:(((n%100>19)||((n%100==0)&&(n!=0)))?" +"2:1));\n" #. module: bi_view_editor -#: model:ir.actions.act_window,help:bi_view_editor.action_bi_view_editor_view_form -msgid "" -"

    \n" -" Click to create a Custom Query Object.\n" -"

    \n" -"\n" -"

    \n" -" " +#: code:addons/bi_view_editor/models/bve_view.py:415 +#, python-format +msgid "%s (copy)" msgstr "" #. module: bi_view_editor -#: field:bve.view,action_id:0 +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:179 +#, python-format +msgid "(join left)" +msgstr "" + +#. module: bi_view_editor +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_action_id msgid "Action" msgstr "" +#. module: bi_view_editor +#: code:addons/bi_view_editor/models/bve_view.py:409 +#, python-format +msgid "BI View" +msgstr "" + #. module: bi_view_editor #: model:ir.model,name:bi_view_editor.model_bve_view msgid "BI View Editor" msgstr "" +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/js/bi_view_editor.JoinNodeDialog.js:36 +#, python-format +msgid "Cancel" +msgstr "" + +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:18 +#, python-format +msgid "Clear" +msgstr "" + +#. module: bi_view_editor +#: model:ir.actions.act_window,help:bi_view_editor.action_bi_view_editor_view_form +msgid "Click to create a Custom Query Object." +msgstr "" + +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:103 +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:154 +#, python-format +msgid "Column" +msgstr "" + +#. module: bi_view_editor +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form +#, fuzzy +msgid "Create a Menu" +msgstr "Creat la" + #. module: bi_view_editor #: selection:bve.view,state:0 msgid "Created" msgstr "" #. module: bi_view_editor -#: field:bve.view,create_uid:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_create_uid msgid "Created by" msgstr "Creat de" #. module: bi_view_editor -#: field:bve.view,create_date:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_create_date msgid "Created on" msgstr "Creat la" #. module: bi_view_editor -#: view:bve.view:bi_view_editor.view_bi_view_editor_view_tree +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_tree msgid "Custom BI View" msgstr "" #. module: bi_view_editor -#: sql_constraint:bve.view:0 +#: code:addons/bi_view_editor/models/bve_view.py:64 sql_constraint:bve.view:0 +#, python-format msgid "Custom BI View names must be unique!" msgstr "" @@ -70,7 +114,7 @@ msgid "Custom BI Views" msgstr "" #. module: bi_view_editor -#: view:bve.view:bi_view_editor.view_bi_view_editor_view_form +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form msgid "Custom Object" msgstr "" @@ -80,12 +124,12 @@ msgid "Custom Reports" msgstr "" #. module: bi_view_editor -#: field:bve.view,data:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_data msgid "Data" msgstr "" #. module: bi_view_editor -#: field:bve.view,display_name:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_display_name msgid "Display Name" msgstr "Nume Afişat" @@ -95,43 +139,74 @@ msgid "Draft" msgstr "" #. module: bi_view_editor -#: code:addons/bi_view_editor/models/bve_view.py:72 -#, python-format -msgid "Error" -msgstr "" - -#. module: bi_view_editor -#: view:bve.view:bi_view_editor.view_bi_view_editor_view_form +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form msgid "Generate BI View" msgstr "" #. module: bi_view_editor -#: field:bve.view,group_ids:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_group_ids msgid "Groups" msgstr "" #. module: bi_view_editor -#: field:bve.view,id:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_id msgid "ID" msgstr "ID" #. module: bi_view_editor -#: field:bve.view,__last_update:0 +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:137 +#, python-format +msgid "Join Left" +msgstr "" + +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/js/bi_view_editor.JoinNodeDialog.js:30 +#, python-format +msgid "Join..." +msgstr "" + +#. module: bi_view_editor +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view___last_update msgid "Last Modified on" msgstr "Ultima actualizare în" #. module: bi_view_editor -#: field:bve.view,write_uid:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_write_uid msgid "Last Updated by" msgstr "Ultima actualizare făcută de" #. module: bi_view_editor -#: field:bve.view,write_date:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_write_date msgid "Last Updated on" msgstr "Ultima actualizare la" #. module: bi_view_editor -#: field:bve.view,model_name:0 +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:124 +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:157 +#, python-format +msgid "List" +msgstr "" + +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:117 +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:156 +#, python-format +msgid "Measure" +msgstr "" + +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:86 +#, python-format +msgid "Model" +msgstr "" + +#. module: bi_view_editor +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_model_name msgid "Model Name" msgstr "" @@ -141,67 +216,141 @@ msgid "Models" msgstr "" #. module: bi_view_editor -#: field:bve.view,name:0 +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:85 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_name +#, python-format msgid "Name" msgstr "" #. module: bi_view_editor -#: view:bve.view:bi_view_editor.view_bi_view_editor_view_form -#: field:bve.view,note:0 +#: code:addons/bi_view_editor/models/models.py:56 +#, python-format +msgid "No data to be displayed." +msgstr "" + +#. module: bi_view_editor +#: code:addons/bi_view_editor/models/bve_view.py:284 +#, python-format +msgid "No data to process." +msgstr "" + +#. module: bi_view_editor +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_note +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form msgid "Notes" msgstr "" #. module: bi_view_editor -#: view:bve.view:bi_view_editor.view_bi_view_editor_view_form +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form msgid "Open BI View" msgstr "" #. module: bi_view_editor -#: view:bve.view:bi_view_editor.view_bi_view_editor_view_form +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:87 +#, python-format +msgid "Options" +msgstr "" + +#. module: bi_view_editor +#: code:addons/bi_view_editor/models/bve_view.py:224 +#, python-format +msgid "Please select at least one group on the security tab." +msgstr "" + +#. module: bi_view_editor +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form msgid "Query" msgstr "" #. module: bi_view_editor -#: view:bve.view:bi_view_editor.view_bi_view_editor_view_form +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form msgid "Reset to Draft" msgstr "" #. module: bi_view_editor -#: view:bve.view:bi_view_editor.view_bi_view_editor_view_form +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:110 +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:155 +#, python-format +msgid "Row" +msgstr "" + +#. module: bi_view_editor +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form msgid "Security" msgstr "" #. module: bi_view_editor -#: field:bve.view,state:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_state msgid "State" msgstr "" #. module: bi_view_editor -#: help:bve.view,data:0 +#: model:ir.actions.act_window,name:bi_view_editor.action_bi_view_editor_translations +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form +msgid "Translations" +msgstr "" + +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:30 +#, python-format +msgid "Use the existing node" +msgstr "" + +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:34 +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:43 +#, python-format +msgid "Use the field" +msgstr "" + +#. module: bi_view_editor +#: model:ir.model.fields,help:bi_view_editor.field_bve_view_data msgid "" "Use the special query builder to define the query to generate your report " "dataset. NOTE: To be edited, the query should be in 'Draft' status." msgstr "" #. module: bi_view_editor -#: help:bve.view,group_ids:0 +#: model:ir.model.fields,help:bi_view_editor.field_bve_view_group_ids msgid "" "User groups allowed to see the generated report; if NO groups are specified " "the report will be public for everyone." msgstr "" #. module: bi_view_editor -#: field:bve.view,user_ids:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_user_ids msgid "Users" msgstr "" #. module: bi_view_editor -#: field:bve.view,view_id:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_view_id msgid "View" msgstr "" #. module: bi_view_editor -#: code:addons/bi_view_editor/models/bve_view.py:73 +#: code:addons/bi_view_editor/models/bve_view.py:456 #, python-format msgid "You cannot delete a created view! Reset the view to draft first." msgstr "" + +#. module: bi_view_editor +#: model:ir.model,name:bi_view_editor.model_base +msgid "base" +msgstr "" + +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:39 +#, python-format +msgid "new" +msgstr "" + +#. module: bi_view_editor +#: model:ir.model,name:bi_view_editor.model_wizard_ir_model_menu_create +msgid "wizard.ir.model.menu.create" +msgstr "" diff --git a/bi_view_editor/i18n/ru.po b/bi_view_editor/i18n/ru.po index 944b78fd3..d52ab73ce 100644 --- a/bi_view_editor/i18n/ru.po +++ b/bi_view_editor/i18n/ru.po @@ -1,7 +1,7 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: # * bi_view_editor -# +# # Translators: msgid "" msgstr "" @@ -10,56 +10,101 @@ msgstr "" "POT-Creation-Date: 2016-12-24 04:38+0000\n" "PO-Revision-Date: 2016-03-21 15:33+0000\n" "Last-Translator: <>\n" -"Language-Team: Russian (http://www.transifex.com/oca/OCA-reporting-engine-8-0/language/ru/)\n" +"Language-Team: Russian (http://www.transifex.com/oca/OCA-reporting-" +"engine-8-0/language/ru/)\n" +"Language: ru\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: \n" -"Language: ru\n" -"Plural-Forms: nplurals=4; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<12 || n%100>14) ? 1 : n%10==0 || (n%10>=5 && n%10<=9) || (n%100>=11 && n%100<=14)? 2 : 3);\n" +"Plural-Forms: nplurals=4; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n" +"%10<=4 && (n%100<12 || n%100>14) ? 1 : n%10==0 || (n%10>=5 && n%10<=9) || (n" +"%100>=11 && n%100<=14)? 2 : 3);\n" #. module: bi_view_editor -#: model:ir.actions.act_window,help:bi_view_editor.action_bi_view_editor_view_form -msgid "" -"

    \n" -" Click to create a Custom Query Object.\n" -"

    \n" -"\n" -"

    \n" -" " +#: code:addons/bi_view_editor/models/bve_view.py:415 +#, python-format +msgid "%s (copy)" msgstr "" #. module: bi_view_editor -#: field:bve.view,action_id:0 +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:179 +#, python-format +msgid "(join left)" +msgstr "" + +#. module: bi_view_editor +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_action_id msgid "Action" msgstr "" +#. module: bi_view_editor +#: code:addons/bi_view_editor/models/bve_view.py:409 +#, python-format +msgid "BI View" +msgstr "" + #. module: bi_view_editor #: model:ir.model,name:bi_view_editor.model_bve_view msgid "BI View Editor" msgstr "" +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/js/bi_view_editor.JoinNodeDialog.js:36 +#, python-format +msgid "Cancel" +msgstr "" + +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:18 +#, python-format +msgid "Clear" +msgstr "" + +#. module: bi_view_editor +#: model:ir.actions.act_window,help:bi_view_editor.action_bi_view_editor_view_form +msgid "Click to create a Custom Query Object." +msgstr "" + +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:103 +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:154 +#, python-format +msgid "Column" +msgstr "" + +#. module: bi_view_editor +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form +#, fuzzy +msgid "Create a Menu" +msgstr "Создан" + #. module: bi_view_editor #: selection:bve.view,state:0 msgid "Created" msgstr "" #. module: bi_view_editor -#: field:bve.view,create_uid:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_create_uid msgid "Created by" msgstr "Создано" #. module: bi_view_editor -#: field:bve.view,create_date:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_create_date msgid "Created on" msgstr "Создан" #. module: bi_view_editor -#: view:bve.view:bi_view_editor.view_bi_view_editor_view_tree +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_tree msgid "Custom BI View" msgstr "" #. module: bi_view_editor -#: sql_constraint:bve.view:0 +#: code:addons/bi_view_editor/models/bve_view.py:64 sql_constraint:bve.view:0 +#, python-format msgid "Custom BI View names must be unique!" msgstr "" @@ -70,7 +115,7 @@ msgid "Custom BI Views" msgstr "" #. module: bi_view_editor -#: view:bve.view:bi_view_editor.view_bi_view_editor_view_form +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form msgid "Custom Object" msgstr "" @@ -80,12 +125,12 @@ msgid "Custom Reports" msgstr "" #. module: bi_view_editor -#: field:bve.view,data:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_data msgid "Data" msgstr "" #. module: bi_view_editor -#: field:bve.view,display_name:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_display_name msgid "Display Name" msgstr "" @@ -95,43 +140,74 @@ msgid "Draft" msgstr "" #. module: bi_view_editor -#: code:addons/bi_view_editor/models/bve_view.py:72 -#, python-format -msgid "Error" -msgstr "" - -#. module: bi_view_editor -#: view:bve.view:bi_view_editor.view_bi_view_editor_view_form +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form msgid "Generate BI View" msgstr "" #. module: bi_view_editor -#: field:bve.view,group_ids:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_group_ids msgid "Groups" msgstr "" #. module: bi_view_editor -#: field:bve.view,id:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_id msgid "ID" msgstr "ID" #. module: bi_view_editor -#: field:bve.view,__last_update:0 +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:137 +#, python-format +msgid "Join Left" +msgstr "" + +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/js/bi_view_editor.JoinNodeDialog.js:30 +#, python-format +msgid "Join..." +msgstr "" + +#. module: bi_view_editor +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view___last_update msgid "Last Modified on" msgstr "" #. module: bi_view_editor -#: field:bve.view,write_uid:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_write_uid msgid "Last Updated by" msgstr "Последний раз обновлено" #. module: bi_view_editor -#: field:bve.view,write_date:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_write_date msgid "Last Updated on" msgstr "Последний раз обновлено" #. module: bi_view_editor -#: field:bve.view,model_name:0 +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:124 +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:157 +#, python-format +msgid "List" +msgstr "" + +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:117 +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:156 +#, python-format +msgid "Measure" +msgstr "" + +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:86 +#, python-format +msgid "Model" +msgstr "" + +#. module: bi_view_editor +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_model_name msgid "Model Name" msgstr "" @@ -141,67 +217,141 @@ msgid "Models" msgstr "" #. module: bi_view_editor -#: field:bve.view,name:0 +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:85 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_name +#, python-format msgid "Name" msgstr "Название" #. module: bi_view_editor -#: view:bve.view:bi_view_editor.view_bi_view_editor_view_form -#: field:bve.view,note:0 +#: code:addons/bi_view_editor/models/models.py:56 +#, python-format +msgid "No data to be displayed." +msgstr "" + +#. module: bi_view_editor +#: code:addons/bi_view_editor/models/bve_view.py:284 +#, python-format +msgid "No data to process." +msgstr "" + +#. module: bi_view_editor +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_note +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form msgid "Notes" msgstr "" #. module: bi_view_editor -#: view:bve.view:bi_view_editor.view_bi_view_editor_view_form +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form msgid "Open BI View" msgstr "" #. module: bi_view_editor -#: view:bve.view:bi_view_editor.view_bi_view_editor_view_form +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:87 +#, python-format +msgid "Options" +msgstr "" + +#. module: bi_view_editor +#: code:addons/bi_view_editor/models/bve_view.py:224 +#, python-format +msgid "Please select at least one group on the security tab." +msgstr "" + +#. module: bi_view_editor +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form msgid "Query" msgstr "" #. module: bi_view_editor -#: view:bve.view:bi_view_editor.view_bi_view_editor_view_form +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form msgid "Reset to Draft" msgstr "" #. module: bi_view_editor -#: view:bve.view:bi_view_editor.view_bi_view_editor_view_form +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:110 +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:155 +#, python-format +msgid "Row" +msgstr "" + +#. module: bi_view_editor +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form msgid "Security" msgstr "" #. module: bi_view_editor -#: field:bve.view,state:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_state msgid "State" msgstr "" #. module: bi_view_editor -#: help:bve.view,data:0 +#: model:ir.actions.act_window,name:bi_view_editor.action_bi_view_editor_translations +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form +msgid "Translations" +msgstr "" + +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:30 +#, python-format +msgid "Use the existing node" +msgstr "" + +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:34 +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:43 +#, python-format +msgid "Use the field" +msgstr "" + +#. module: bi_view_editor +#: model:ir.model.fields,help:bi_view_editor.field_bve_view_data msgid "" "Use the special query builder to define the query to generate your report " "dataset. NOTE: To be edited, the query should be in 'Draft' status." msgstr "" #. module: bi_view_editor -#: help:bve.view,group_ids:0 +#: model:ir.model.fields,help:bi_view_editor.field_bve_view_group_ids msgid "" "User groups allowed to see the generated report; if NO groups are specified " "the report will be public for everyone." msgstr "" #. module: bi_view_editor -#: field:bve.view,user_ids:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_user_ids msgid "Users" msgstr "" #. module: bi_view_editor -#: field:bve.view,view_id:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_view_id msgid "View" msgstr "" #. module: bi_view_editor -#: code:addons/bi_view_editor/models/bve_view.py:73 +#: code:addons/bi_view_editor/models/bve_view.py:456 #, python-format msgid "You cannot delete a created view! Reset the view to draft first." msgstr "" + +#. module: bi_view_editor +#: model:ir.model,name:bi_view_editor.model_base +msgid "base" +msgstr "" + +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:39 +#, python-format +msgid "new" +msgstr "" + +#. module: bi_view_editor +#: model:ir.model,name:bi_view_editor.model_wizard_ir_model_menu_create +msgid "wizard.ir.model.menu.create" +msgstr "" diff --git a/bi_view_editor/i18n/sk.po b/bi_view_editor/i18n/sk.po index 2bc6810d2..409fe776f 100644 --- a/bi_view_editor/i18n/sk.po +++ b/bi_view_editor/i18n/sk.po @@ -1,7 +1,7 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: # * bi_view_editor -# +# # Translators: msgid "" msgstr "" @@ -10,56 +10,99 @@ msgstr "" "POT-Creation-Date: 2016-09-18 04:34+0000\n" "PO-Revision-Date: 2016-03-21 15:33+0000\n" "Last-Translator: <>\n" -"Language-Team: Slovak (http://www.transifex.com/oca/OCA-reporting-engine-8-0/language/sk/)\n" +"Language-Team: Slovak (http://www.transifex.com/oca/OCA-reporting-engine-8-0/" +"language/sk/)\n" +"Language: sk\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: \n" -"Language: sk\n" "Plural-Forms: nplurals=3; plural=(n==1) ? 0 : (n>=2 && n<=4) ? 1 : 2;\n" #. module: bi_view_editor -#: model:ir.actions.act_window,help:bi_view_editor.action_bi_view_editor_view_form -msgid "" -"

    \n" -" Click to create a Custom Query Object.\n" -"

    \n" -"\n" -"

    \n" -" " +#: code:addons/bi_view_editor/models/bve_view.py:415 +#, python-format +msgid "%s (copy)" msgstr "" #. module: bi_view_editor -#: field:bve.view,action_id:0 +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:179 +#, python-format +msgid "(join left)" +msgstr "" + +#. module: bi_view_editor +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_action_id msgid "Action" msgstr "" +#. module: bi_view_editor +#: code:addons/bi_view_editor/models/bve_view.py:409 +#, python-format +msgid "BI View" +msgstr "" + #. module: bi_view_editor #: model:ir.model,name:bi_view_editor.model_bve_view msgid "BI View Editor" msgstr "" +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/js/bi_view_editor.JoinNodeDialog.js:36 +#, python-format +msgid "Cancel" +msgstr "" + +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:18 +#, python-format +msgid "Clear" +msgstr "" + +#. module: bi_view_editor +#: model:ir.actions.act_window,help:bi_view_editor.action_bi_view_editor_view_form +msgid "Click to create a Custom Query Object." +msgstr "" + +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:103 +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:154 +#, python-format +msgid "Column" +msgstr "" + +#. module: bi_view_editor +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form +#, fuzzy +msgid "Create a Menu" +msgstr "Vytvorené" + #. module: bi_view_editor #: selection:bve.view,state:0 msgid "Created" msgstr "" #. module: bi_view_editor -#: field:bve.view,create_uid:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_create_uid msgid "Created by" msgstr "Vytvoril" #. module: bi_view_editor -#: field:bve.view,create_date:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_create_date msgid "Created on" msgstr "Vytvorené" #. module: bi_view_editor -#: view:bve.view:bi_view_editor.view_bi_view_editor_view_tree +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_tree msgid "Custom BI View" msgstr "" #. module: bi_view_editor -#: sql_constraint:bve.view:0 +#: code:addons/bi_view_editor/models/bve_view.py:64 sql_constraint:bve.view:0 +#, python-format msgid "Custom BI View names must be unique!" msgstr "" @@ -70,7 +113,7 @@ msgid "Custom BI Views" msgstr "" #. module: bi_view_editor -#: view:bve.view:bi_view_editor.view_bi_view_editor_view_form +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form msgid "Custom Object" msgstr "" @@ -80,12 +123,12 @@ msgid "Custom Reports" msgstr "" #. module: bi_view_editor -#: field:bve.view,data:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_data msgid "Data" msgstr "" #. module: bi_view_editor -#: field:bve.view,display_name:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_display_name msgid "Display Name" msgstr "Zobraziť meno" @@ -95,43 +138,74 @@ msgid "Draft" msgstr "" #. module: bi_view_editor -#: code:addons/bi_view_editor/models/bve_view.py:72 -#, python-format -msgid "Error" -msgstr "" - -#. module: bi_view_editor -#: view:bve.view:bi_view_editor.view_bi_view_editor_view_form +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form msgid "Generate BI View" msgstr "" #. module: bi_view_editor -#: field:bve.view,group_ids:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_group_ids msgid "Groups" msgstr "" #. module: bi_view_editor -#: field:bve.view,id:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_id msgid "ID" msgstr "ID" #. module: bi_view_editor -#: field:bve.view,__last_update:0 +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:137 +#, python-format +msgid "Join Left" +msgstr "" + +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/js/bi_view_editor.JoinNodeDialog.js:30 +#, python-format +msgid "Join..." +msgstr "" + +#. module: bi_view_editor +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view___last_update msgid "Last Modified on" msgstr "Posledná modifikácia" #. module: bi_view_editor -#: field:bve.view,write_uid:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_write_uid msgid "Last Updated by" msgstr "Naposledy upravoval" #. module: bi_view_editor -#: field:bve.view,write_date:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_write_date msgid "Last Updated on" msgstr "Naposledy upravované" #. module: bi_view_editor -#: field:bve.view,model_name:0 +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:124 +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:157 +#, python-format +msgid "List" +msgstr "" + +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:117 +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:156 +#, python-format +msgid "Measure" +msgstr "" + +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:86 +#, python-format +msgid "Model" +msgstr "" + +#. module: bi_view_editor +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_model_name msgid "Model Name" msgstr "" @@ -141,67 +215,141 @@ msgid "Models" msgstr "" #. module: bi_view_editor -#: field:bve.view,name:0 +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:85 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_name +#, python-format msgid "Name" msgstr "Meno" #. module: bi_view_editor -#: view:bve.view:bi_view_editor.view_bi_view_editor_view_form -#: field:bve.view,note:0 +#: code:addons/bi_view_editor/models/models.py:56 +#, python-format +msgid "No data to be displayed." +msgstr "" + +#. module: bi_view_editor +#: code:addons/bi_view_editor/models/bve_view.py:284 +#, python-format +msgid "No data to process." +msgstr "" + +#. module: bi_view_editor +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_note +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form msgid "Notes" msgstr "" #. module: bi_view_editor -#: view:bve.view:bi_view_editor.view_bi_view_editor_view_form +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form msgid "Open BI View" msgstr "" #. module: bi_view_editor -#: view:bve.view:bi_view_editor.view_bi_view_editor_view_form +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:87 +#, python-format +msgid "Options" +msgstr "" + +#. module: bi_view_editor +#: code:addons/bi_view_editor/models/bve_view.py:224 +#, python-format +msgid "Please select at least one group on the security tab." +msgstr "" + +#. module: bi_view_editor +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form msgid "Query" msgstr "" #. module: bi_view_editor -#: view:bve.view:bi_view_editor.view_bi_view_editor_view_form +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form msgid "Reset to Draft" msgstr "" #. module: bi_view_editor -#: view:bve.view:bi_view_editor.view_bi_view_editor_view_form +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:110 +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:155 +#, python-format +msgid "Row" +msgstr "" + +#. module: bi_view_editor +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form msgid "Security" msgstr "Bezpečnosť" #. module: bi_view_editor -#: field:bve.view,state:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_state msgid "State" msgstr "" #. module: bi_view_editor -#: help:bve.view,data:0 +#: model:ir.actions.act_window,name:bi_view_editor.action_bi_view_editor_translations +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form +msgid "Translations" +msgstr "" + +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:30 +#, python-format +msgid "Use the existing node" +msgstr "" + +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:34 +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:43 +#, python-format +msgid "Use the field" +msgstr "" + +#. module: bi_view_editor +#: model:ir.model.fields,help:bi_view_editor.field_bve_view_data msgid "" "Use the special query builder to define the query to generate your report " "dataset. NOTE: To be edited, the query should be in 'Draft' status." msgstr "" #. module: bi_view_editor -#: help:bve.view,group_ids:0 +#: model:ir.model.fields,help:bi_view_editor.field_bve_view_group_ids msgid "" "User groups allowed to see the generated report; if NO groups are specified " "the report will be public for everyone." msgstr "" #. module: bi_view_editor -#: field:bve.view,user_ids:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_user_ids msgid "Users" msgstr "" #. module: bi_view_editor -#: field:bve.view,view_id:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_view_id msgid "View" msgstr "" #. module: bi_view_editor -#: code:addons/bi_view_editor/models/bve_view.py:73 +#: code:addons/bi_view_editor/models/bve_view.py:456 #, python-format msgid "You cannot delete a created view! Reset the view to draft first." msgstr "" + +#. module: bi_view_editor +#: model:ir.model,name:bi_view_editor.model_base +msgid "base" +msgstr "" + +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:39 +#, python-format +msgid "new" +msgstr "" + +#. module: bi_view_editor +#: model:ir.model,name:bi_view_editor.model_wizard_ir_model_menu_create +msgid "wizard.ir.model.menu.create" +msgstr "" diff --git a/bi_view_editor/i18n/sl.po b/bi_view_editor/i18n/sl.po index 4186abe10..05bfe4d55 100644 --- a/bi_view_editor/i18n/sl.po +++ b/bi_view_editor/i18n/sl.po @@ -1,7 +1,7 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: # * bi_view_editor -# +# # Translators: # Matjaž Mozetič , 2016 msgid "" @@ -11,56 +11,100 @@ msgstr "" "POT-Creation-Date: 2016-05-04 02:44+0000\n" "PO-Revision-Date: 2016-05-03 15:03+0000\n" "Last-Translator: Matjaž Mozetič \n" -"Language-Team: Slovenian (http://www.transifex.com/oca/OCA-reporting-engine-8-0/language/sl/)\n" +"Language-Team: Slovenian (http://www.transifex.com/oca/OCA-reporting-" +"engine-8-0/language/sl/)\n" +"Language: 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" +"Plural-Forms: nplurals=4; plural=(n%100==1 ? 0 : n%100==2 ? 1 : n%100==3 || n" +"%100==4 ? 2 : 3);\n" #. module: bi_view_editor -#: model:ir.actions.act_window,help:bi_view_editor.action_bi_view_editor_view_form -msgid "" -"

    \n" -" Click to create a Custom Query Object.\n" -"

    \n" -"\n" -"

    \n" -" " -msgstr "

    \n Ustvari prilagojen objekt poizvedbe.\n

    \n\n

    \n " +#: code:addons/bi_view_editor/models/bve_view.py:415 +#, python-format +msgid "%s (copy)" +msgstr "" #. module: bi_view_editor -#: field:bve.view,action_id:0 +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:179 +#, python-format +msgid "(join left)" +msgstr "" + +#. module: bi_view_editor +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_action_id msgid "Action" msgstr "Ukrep" +#. module: bi_view_editor +#: code:addons/bi_view_editor/models/bve_view.py:409 +#, fuzzy, python-format +msgid "BI View" +msgstr "Odpri BI prikaz" + #. module: bi_view_editor #: model:ir.model,name:bi_view_editor.model_bve_view msgid "BI View Editor" msgstr "BI urejevalnik prikazov" +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/js/bi_view_editor.JoinNodeDialog.js:36 +#, python-format +msgid "Cancel" +msgstr "" + +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:18 +#, python-format +msgid "Clear" +msgstr "" + +#. module: bi_view_editor +#: model:ir.actions.act_window,help:bi_view_editor.action_bi_view_editor_view_form +msgid "Click to create a Custom Query Object." +msgstr "" + +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:103 +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:154 +#, python-format +msgid "Column" +msgstr "" + +#. module: bi_view_editor +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form +#, fuzzy +msgid "Create a Menu" +msgstr "Ustvarjeno" + #. module: bi_view_editor #: selection:bve.view,state:0 msgid "Created" msgstr "Nastanek" #. module: bi_view_editor -#: field:bve.view,create_uid:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_create_uid msgid "Created by" msgstr "Ustvaril" #. module: bi_view_editor -#: field:bve.view,create_date:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_create_date msgid "Created on" msgstr "Ustvarjeno" #. module: bi_view_editor -#: view:bve.view:bi_view_editor.view_bi_view_editor_view_tree +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_tree msgid "Custom BI View" msgstr "Prilagojen BI prikaz" #. module: bi_view_editor -#: sql_constraint:bve.view:0 +#: code:addons/bi_view_editor/models/bve_view.py:64 sql_constraint:bve.view:0 +#, python-format msgid "Custom BI View names must be unique!" msgstr "Nazivi prilagojenih BI prikazov morajo biti unikatni!" @@ -71,7 +115,7 @@ msgid "Custom BI Views" msgstr "Prilagojeni BI prikazi" #. module: bi_view_editor -#: view:bve.view:bi_view_editor.view_bi_view_editor_view_form +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form msgid "Custom Object" msgstr "Prilagojen objekt" @@ -81,12 +125,12 @@ msgid "Custom Reports" msgstr "Prilagojena poročila" #. module: bi_view_editor -#: field:bve.view,data:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_data msgid "Data" msgstr "Podatki" #. module: bi_view_editor -#: field:bve.view,display_name:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_display_name msgid "Display Name" msgstr "Prikazni naziv" @@ -96,43 +140,74 @@ msgid "Draft" msgstr "Osnutek" #. module: bi_view_editor -#: code:addons/bi_view_editor/models/bve_view.py:72 -#, python-format -msgid "Error" -msgstr "Napaka" - -#. module: bi_view_editor -#: view:bve.view:bi_view_editor.view_bi_view_editor_view_form +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form msgid "Generate BI View" msgstr "Ustvari BI prikaz" #. module: bi_view_editor -#: field:bve.view,group_ids:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_group_ids msgid "Groups" msgstr "Skupine" #. module: bi_view_editor -#: field:bve.view,id:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_id msgid "ID" msgstr "ID" #. module: bi_view_editor -#: field:bve.view,__last_update:0 +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:137 +#, python-format +msgid "Join Left" +msgstr "" + +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/js/bi_view_editor.JoinNodeDialog.js:30 +#, python-format +msgid "Join..." +msgstr "" + +#. module: bi_view_editor +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view___last_update msgid "Last Modified on" msgstr "Zadnjič spremenjeno" #. module: bi_view_editor -#: field:bve.view,write_uid:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_write_uid msgid "Last Updated by" msgstr "Zadnji posodobil" #. module: bi_view_editor -#: field:bve.view,write_date:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_write_date msgid "Last Updated on" msgstr "Zadnjič posodobljeno" #. module: bi_view_editor -#: field:bve.view,model_name:0 +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:124 +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:157 +#, python-format +msgid "List" +msgstr "" + +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:117 +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:156 +#, python-format +msgid "Measure" +msgstr "" + +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:86 +#, fuzzy, python-format +msgid "Model" +msgstr "Modeli" + +#. module: bi_view_editor +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_model_name msgid "Model Name" msgstr "Naziv modela" @@ -142,67 +217,166 @@ msgid "Models" msgstr "Modeli" #. module: bi_view_editor -#: field:bve.view,name:0 +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:85 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_name +#, python-format msgid "Name" msgstr "Naziv" #. module: bi_view_editor -#: view:bve.view:bi_view_editor.view_bi_view_editor_view_form -#: field:bve.view,note:0 +#: code:addons/bi_view_editor/models/models.py:56 +#, python-format +msgid "No data to be displayed." +msgstr "" + +#. module: bi_view_editor +#: code:addons/bi_view_editor/models/bve_view.py:284 +#, python-format +msgid "No data to process." +msgstr "" + +#. module: bi_view_editor +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_note +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form msgid "Notes" msgstr "Opombe" #. module: bi_view_editor -#: view:bve.view:bi_view_editor.view_bi_view_editor_view_form +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form msgid "Open BI View" msgstr "Odpri BI prikaz" #. module: bi_view_editor -#: view:bve.view:bi_view_editor.view_bi_view_editor_view_form +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:87 +#, fuzzy, python-format +msgid "Options" +msgstr "Ukrep" + +#. module: bi_view_editor +#: code:addons/bi_view_editor/models/bve_view.py:224 +#, python-format +msgid "Please select at least one group on the security tab." +msgstr "" + +#. module: bi_view_editor +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form msgid "Query" msgstr "Poizvedba" #. module: bi_view_editor -#: view:bve.view:bi_view_editor.view_bi_view_editor_view_form +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form msgid "Reset to Draft" msgstr "Ponastavi v osnutek" #. module: bi_view_editor -#: view:bve.view:bi_view_editor.view_bi_view_editor_view_form +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:110 +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:155 +#, python-format +msgid "Row" +msgstr "" + +#. module: bi_view_editor +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form msgid "Security" msgstr "Varnost" #. module: bi_view_editor -#: field:bve.view,state:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_state msgid "State" msgstr "Stanje" #. module: bi_view_editor -#: help:bve.view,data:0 +#: model:ir.actions.act_window,name:bi_view_editor.action_bi_view_editor_translations +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form +msgid "Translations" +msgstr "" + +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:30 +#, python-format +msgid "Use the existing node" +msgstr "" + +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:34 +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:43 +#, python-format +msgid "Use the field" +msgstr "" + +#. module: bi_view_editor +#: model:ir.model.fields,help:bi_view_editor.field_bve_view_data msgid "" "Use the special query builder to define the query to generate your report " "dataset. NOTE: To be edited, the query should be in 'Draft' status." -msgstr "Uporabite posebni gradnik poizvedb za določanje poizvedbe, ki bo ustvarila poročilo z vašim naborom podatkov. OPOMBA: Urejate lahko le poizvedbe s statusom 'Osnutek'." +msgstr "" +"Uporabite posebni gradnik poizvedb za določanje poizvedbe, ki bo ustvarila " +"poročilo z vašim naborom podatkov. OPOMBA: Urejate lahko le poizvedbe s " +"statusom 'Osnutek'." #. module: bi_view_editor -#: help:bve.view,group_ids:0 +#: model:ir.model.fields,help:bi_view_editor.field_bve_view_group_ids msgid "" "User groups allowed to see the generated report; if NO groups are specified " "the report will be public for everyone." -msgstr "Uporabniške skupine, ki imajo vpogled v ustvarjeno poročilo; če ni določena nobena skupina, bo poročilo javno dostopno." +msgstr "" +"Uporabniške skupine, ki imajo vpogled v ustvarjeno poročilo; če ni določena " +"nobena skupina, bo poročilo javno dostopno." #. module: bi_view_editor -#: field:bve.view,user_ids:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_user_ids msgid "Users" msgstr "Uporabniki" #. module: bi_view_editor -#: field:bve.view,view_id:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_view_id msgid "View" msgstr "Prikaz" #. module: bi_view_editor -#: code:addons/bi_view_editor/models/bve_view.py:73 +#: code:addons/bi_view_editor/models/bve_view.py:456 #, python-format msgid "You cannot delete a created view! Reset the view to draft first." -msgstr "Ustvarjenega prikaza ne morete brisati! Najprej morate prikaz ponastaviti v osnutek." +msgstr "" +"Ustvarjenega prikaza ne morete brisati! Najprej morate prikaz ponastaviti v " +"osnutek." + +#. module: bi_view_editor +#: model:ir.model,name:bi_view_editor.model_base +msgid "base" +msgstr "" + +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:39 +#, python-format +msgid "new" +msgstr "" + +#. module: bi_view_editor +#: model:ir.model,name:bi_view_editor.model_wizard_ir_model_menu_create +msgid "wizard.ir.model.menu.create" +msgstr "" + +#~ msgid "" +#~ "

    \n" +#~ " Click to create a Custom Query Object.\n" +#~ "

    \n" +#~ "\n" +#~ "

    \n" +#~ " " +#~ msgstr "" +#~ "

    \n" +#~ " Ustvari prilagojen objekt poizvedbe.\n" +#~ "

    \n" +#~ "\n" +#~ "

    \n" +#~ " " + +#~ msgid "Error" +#~ msgstr "Napaka" diff --git a/bi_view_editor/i18n/sr.po b/bi_view_editor/i18n/sr.po index 1c2969a58..aa7d3de41 100644 --- a/bi_view_editor/i18n/sr.po +++ b/bi_view_editor/i18n/sr.po @@ -1,7 +1,7 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: # * bi_view_editor -# +# # Translators: msgid "" msgstr "" @@ -10,56 +10,100 @@ msgstr "" "POT-Creation-Date: 2016-12-24 04:38+0000\n" "PO-Revision-Date: 2016-03-21 15:33+0000\n" "Last-Translator: <>\n" -"Language-Team: Serbian (http://www.transifex.com/oca/OCA-reporting-engine-8-0/language/sr/)\n" +"Language-Team: Serbian (http://www.transifex.com/oca/OCA-reporting-" +"engine-8-0/language/sr/)\n" +"Language: sr\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: \n" -"Language: sr\n" -"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n" +"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n" +"%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n" #. module: bi_view_editor -#: model:ir.actions.act_window,help:bi_view_editor.action_bi_view_editor_view_form -msgid "" -"

    \n" -" Click to create a Custom Query Object.\n" -"

    \n" -"\n" -"

    \n" -" " +#: code:addons/bi_view_editor/models/bve_view.py:415 +#, python-format +msgid "%s (copy)" msgstr "" #. module: bi_view_editor -#: field:bve.view,action_id:0 +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:179 +#, python-format +msgid "(join left)" +msgstr "" + +#. module: bi_view_editor +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_action_id msgid "Action" msgstr "" +#. module: bi_view_editor +#: code:addons/bi_view_editor/models/bve_view.py:409 +#, python-format +msgid "BI View" +msgstr "" + #. module: bi_view_editor #: model:ir.model,name:bi_view_editor.model_bve_view msgid "BI View Editor" msgstr "" +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/js/bi_view_editor.JoinNodeDialog.js:36 +#, python-format +msgid "Cancel" +msgstr "" + +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:18 +#, python-format +msgid "Clear" +msgstr "" + +#. module: bi_view_editor +#: model:ir.actions.act_window,help:bi_view_editor.action_bi_view_editor_view_form +msgid "Click to create a Custom Query Object." +msgstr "" + +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:103 +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:154 +#, python-format +msgid "Column" +msgstr "" + +#. module: bi_view_editor +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form +#, fuzzy +msgid "Create a Menu" +msgstr "Kreiran" + #. module: bi_view_editor #: selection:bve.view,state:0 msgid "Created" msgstr "" #. module: bi_view_editor -#: field:bve.view,create_uid:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_create_uid msgid "Created by" msgstr "" #. module: bi_view_editor -#: field:bve.view,create_date:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_create_date msgid "Created on" msgstr "Kreiran" #. module: bi_view_editor -#: view:bve.view:bi_view_editor.view_bi_view_editor_view_tree +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_tree msgid "Custom BI View" msgstr "" #. module: bi_view_editor -#: sql_constraint:bve.view:0 +#: code:addons/bi_view_editor/models/bve_view.py:64 sql_constraint:bve.view:0 +#, python-format msgid "Custom BI View names must be unique!" msgstr "" @@ -70,7 +114,7 @@ msgid "Custom BI Views" msgstr "" #. module: bi_view_editor -#: view:bve.view:bi_view_editor.view_bi_view_editor_view_form +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form msgid "Custom Object" msgstr "" @@ -80,12 +124,12 @@ msgid "Custom Reports" msgstr "" #. module: bi_view_editor -#: field:bve.view,data:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_data msgid "Data" msgstr "" #. module: bi_view_editor -#: field:bve.view,display_name:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_display_name msgid "Display Name" msgstr "" @@ -95,43 +139,74 @@ msgid "Draft" msgstr "" #. module: bi_view_editor -#: code:addons/bi_view_editor/models/bve_view.py:72 -#, python-format -msgid "Error" -msgstr "" - -#. module: bi_view_editor -#: view:bve.view:bi_view_editor.view_bi_view_editor_view_form +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form msgid "Generate BI View" msgstr "" #. module: bi_view_editor -#: field:bve.view,group_ids:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_group_ids msgid "Groups" msgstr "" #. module: bi_view_editor -#: field:bve.view,id:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_id msgid "ID" msgstr "ID" #. module: bi_view_editor -#: field:bve.view,__last_update:0 +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:137 +#, python-format +msgid "Join Left" +msgstr "" + +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/js/bi_view_editor.JoinNodeDialog.js:30 +#, python-format +msgid "Join..." +msgstr "" + +#. module: bi_view_editor +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view___last_update msgid "Last Modified on" msgstr "" #. module: bi_view_editor -#: field:bve.view,write_uid:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_write_uid msgid "Last Updated by" msgstr "" #. module: bi_view_editor -#: field:bve.view,write_date:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_write_date msgid "Last Updated on" msgstr "" #. module: bi_view_editor -#: field:bve.view,model_name:0 +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:124 +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:157 +#, python-format +msgid "List" +msgstr "" + +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:117 +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:156 +#, python-format +msgid "Measure" +msgstr "" + +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:86 +#, python-format +msgid "Model" +msgstr "" + +#. module: bi_view_editor +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_model_name msgid "Model Name" msgstr "" @@ -141,67 +216,141 @@ msgid "Models" msgstr "" #. module: bi_view_editor -#: field:bve.view,name:0 +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:85 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_name +#, python-format msgid "Name" msgstr "Ime" #. module: bi_view_editor -#: view:bve.view:bi_view_editor.view_bi_view_editor_view_form -#: field:bve.view,note:0 +#: code:addons/bi_view_editor/models/models.py:56 +#, python-format +msgid "No data to be displayed." +msgstr "" + +#. module: bi_view_editor +#: code:addons/bi_view_editor/models/bve_view.py:284 +#, python-format +msgid "No data to process." +msgstr "" + +#. module: bi_view_editor +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_note +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form msgid "Notes" msgstr "" #. module: bi_view_editor -#: view:bve.view:bi_view_editor.view_bi_view_editor_view_form +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form msgid "Open BI View" msgstr "" #. module: bi_view_editor -#: view:bve.view:bi_view_editor.view_bi_view_editor_view_form +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:87 +#, python-format +msgid "Options" +msgstr "" + +#. module: bi_view_editor +#: code:addons/bi_view_editor/models/bve_view.py:224 +#, python-format +msgid "Please select at least one group on the security tab." +msgstr "" + +#. module: bi_view_editor +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form msgid "Query" msgstr "" #. module: bi_view_editor -#: view:bve.view:bi_view_editor.view_bi_view_editor_view_form +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form msgid "Reset to Draft" msgstr "" #. module: bi_view_editor -#: view:bve.view:bi_view_editor.view_bi_view_editor_view_form +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:110 +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:155 +#, python-format +msgid "Row" +msgstr "" + +#. module: bi_view_editor +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form msgid "Security" msgstr "Bezbednost" #. module: bi_view_editor -#: field:bve.view,state:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_state msgid "State" msgstr "" #. module: bi_view_editor -#: help:bve.view,data:0 +#: model:ir.actions.act_window,name:bi_view_editor.action_bi_view_editor_translations +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form +msgid "Translations" +msgstr "" + +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:30 +#, python-format +msgid "Use the existing node" +msgstr "" + +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:34 +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:43 +#, python-format +msgid "Use the field" +msgstr "" + +#. module: bi_view_editor +#: model:ir.model.fields,help:bi_view_editor.field_bve_view_data msgid "" "Use the special query builder to define the query to generate your report " "dataset. NOTE: To be edited, the query should be in 'Draft' status." msgstr "" #. module: bi_view_editor -#: help:bve.view,group_ids:0 +#: model:ir.model.fields,help:bi_view_editor.field_bve_view_group_ids msgid "" "User groups allowed to see the generated report; if NO groups are specified " "the report will be public for everyone." msgstr "" #. module: bi_view_editor -#: field:bve.view,user_ids:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_user_ids msgid "Users" msgstr "" #. module: bi_view_editor -#: field:bve.view,view_id:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_view_id msgid "View" msgstr "" #. module: bi_view_editor -#: code:addons/bi_view_editor/models/bve_view.py:73 +#: code:addons/bi_view_editor/models/bve_view.py:456 #, python-format msgid "You cannot delete a created view! Reset the view to draft first." msgstr "" + +#. module: bi_view_editor +#: model:ir.model,name:bi_view_editor.model_base +msgid "base" +msgstr "" + +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:39 +#, python-format +msgid "new" +msgstr "" + +#. module: bi_view_editor +#: model:ir.model,name:bi_view_editor.model_wizard_ir_model_menu_create +msgid "wizard.ir.model.menu.create" +msgstr "" diff --git a/bi_view_editor/i18n/sr@latin.po b/bi_view_editor/i18n/sr@latin.po index f0ec94ce5..09a4b865b 100644 --- a/bi_view_editor/i18n/sr@latin.po +++ b/bi_view_editor/i18n/sr@latin.po @@ -1,7 +1,7 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: # * bi_view_editor -# +# # Translators: msgid "" msgstr "" @@ -10,56 +10,100 @@ msgstr "" "POT-Creation-Date: 2016-09-18 04:34+0000\n" "PO-Revision-Date: 2016-03-21 15:33+0000\n" "Last-Translator: <>\n" -"Language-Team: Serbian (Latin) (http://www.transifex.com/oca/OCA-reporting-engine-8-0/language/sr@latin/)\n" +"Language-Team: Serbian (Latin) (http://www.transifex.com/oca/OCA-reporting-" +"engine-8-0/language/sr@latin/)\n" +"Language: sr@latin\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: \n" -"Language: sr@latin\n" -"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n" +"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n" +"%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n" #. module: bi_view_editor -#: model:ir.actions.act_window,help:bi_view_editor.action_bi_view_editor_view_form -msgid "" -"

    \n" -" Click to create a Custom Query Object.\n" -"

    \n" -"\n" -"

    \n" -" " +#: code:addons/bi_view_editor/models/bve_view.py:415 +#, python-format +msgid "%s (copy)" msgstr "" #. module: bi_view_editor -#: field:bve.view,action_id:0 +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:179 +#, python-format +msgid "(join left)" +msgstr "" + +#. module: bi_view_editor +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_action_id msgid "Action" msgstr "" +#. module: bi_view_editor +#: code:addons/bi_view_editor/models/bve_view.py:409 +#, python-format +msgid "BI View" +msgstr "" + #. module: bi_view_editor #: model:ir.model,name:bi_view_editor.model_bve_view msgid "BI View Editor" msgstr "" +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/js/bi_view_editor.JoinNodeDialog.js:36 +#, python-format +msgid "Cancel" +msgstr "" + +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:18 +#, python-format +msgid "Clear" +msgstr "" + +#. module: bi_view_editor +#: model:ir.actions.act_window,help:bi_view_editor.action_bi_view_editor_view_form +msgid "Click to create a Custom Query Object." +msgstr "" + +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:103 +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:154 +#, python-format +msgid "Column" +msgstr "" + +#. module: bi_view_editor +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form +#, fuzzy +msgid "Create a Menu" +msgstr "Kreiran" + #. module: bi_view_editor #: selection:bve.view,state:0 msgid "Created" msgstr "" #. module: bi_view_editor -#: field:bve.view,create_uid:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_create_uid msgid "Created by" msgstr "Kreirao" #. module: bi_view_editor -#: field:bve.view,create_date:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_create_date msgid "Created on" msgstr "Kreiran" #. module: bi_view_editor -#: view:bve.view:bi_view_editor.view_bi_view_editor_view_tree +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_tree msgid "Custom BI View" msgstr "" #. module: bi_view_editor -#: sql_constraint:bve.view:0 +#: code:addons/bi_view_editor/models/bve_view.py:64 sql_constraint:bve.view:0 +#, python-format msgid "Custom BI View names must be unique!" msgstr "" @@ -70,7 +114,7 @@ msgid "Custom BI Views" msgstr "" #. module: bi_view_editor -#: view:bve.view:bi_view_editor.view_bi_view_editor_view_form +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form msgid "Custom Object" msgstr "" @@ -80,12 +124,12 @@ msgid "Custom Reports" msgstr "" #. module: bi_view_editor -#: field:bve.view,data:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_data msgid "Data" msgstr "" #. module: bi_view_editor -#: field:bve.view,display_name:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_display_name msgid "Display Name" msgstr "Ime za prikaz" @@ -95,43 +139,74 @@ msgid "Draft" msgstr "" #. module: bi_view_editor -#: code:addons/bi_view_editor/models/bve_view.py:72 -#, python-format -msgid "Error" -msgstr "" - -#. module: bi_view_editor -#: view:bve.view:bi_view_editor.view_bi_view_editor_view_form +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form msgid "Generate BI View" msgstr "" #. module: bi_view_editor -#: field:bve.view,group_ids:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_group_ids msgid "Groups" msgstr "" #. module: bi_view_editor -#: field:bve.view,id:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_id msgid "ID" msgstr "ID" #. module: bi_view_editor -#: field:bve.view,__last_update:0 +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:137 +#, python-format +msgid "Join Left" +msgstr "" + +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/js/bi_view_editor.JoinNodeDialog.js:30 +#, python-format +msgid "Join..." +msgstr "" + +#. module: bi_view_editor +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view___last_update msgid "Last Modified on" msgstr "Zadnja izmjena" #. module: bi_view_editor -#: field:bve.view,write_uid:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_write_uid msgid "Last Updated by" msgstr "Zadnja izmjena" #. module: bi_view_editor -#: field:bve.view,write_date:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_write_date msgid "Last Updated on" msgstr "Zadnja izmjena" #. module: bi_view_editor -#: field:bve.view,model_name:0 +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:124 +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:157 +#, python-format +msgid "List" +msgstr "" + +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:117 +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:156 +#, python-format +msgid "Measure" +msgstr "" + +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:86 +#, python-format +msgid "Model" +msgstr "" + +#. module: bi_view_editor +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_model_name msgid "Model Name" msgstr "" @@ -141,67 +216,141 @@ msgid "Models" msgstr "" #. module: bi_view_editor -#: field:bve.view,name:0 +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:85 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_name +#, python-format msgid "Name" msgstr "Ime:" #. module: bi_view_editor -#: view:bve.view:bi_view_editor.view_bi_view_editor_view_form -#: field:bve.view,note:0 +#: code:addons/bi_view_editor/models/models.py:56 +#, python-format +msgid "No data to be displayed." +msgstr "" + +#. module: bi_view_editor +#: code:addons/bi_view_editor/models/bve_view.py:284 +#, python-format +msgid "No data to process." +msgstr "" + +#. module: bi_view_editor +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_note +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form msgid "Notes" msgstr "" #. module: bi_view_editor -#: view:bve.view:bi_view_editor.view_bi_view_editor_view_form +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form msgid "Open BI View" msgstr "" #. module: bi_view_editor -#: view:bve.view:bi_view_editor.view_bi_view_editor_view_form +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:87 +#, python-format +msgid "Options" +msgstr "" + +#. module: bi_view_editor +#: code:addons/bi_view_editor/models/bve_view.py:224 +#, python-format +msgid "Please select at least one group on the security tab." +msgstr "" + +#. module: bi_view_editor +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form msgid "Query" msgstr "" #. module: bi_view_editor -#: view:bve.view:bi_view_editor.view_bi_view_editor_view_form +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form msgid "Reset to Draft" msgstr "" #. module: bi_view_editor -#: view:bve.view:bi_view_editor.view_bi_view_editor_view_form +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:110 +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:155 +#, python-format +msgid "Row" +msgstr "" + +#. module: bi_view_editor +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form msgid "Security" msgstr "Bezbednost" #. module: bi_view_editor -#: field:bve.view,state:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_state msgid "State" msgstr "" #. module: bi_view_editor -#: help:bve.view,data:0 +#: model:ir.actions.act_window,name:bi_view_editor.action_bi_view_editor_translations +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form +msgid "Translations" +msgstr "" + +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:30 +#, python-format +msgid "Use the existing node" +msgstr "" + +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:34 +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:43 +#, python-format +msgid "Use the field" +msgstr "" + +#. module: bi_view_editor +#: model:ir.model.fields,help:bi_view_editor.field_bve_view_data msgid "" "Use the special query builder to define the query to generate your report " "dataset. NOTE: To be edited, the query should be in 'Draft' status." msgstr "" #. module: bi_view_editor -#: help:bve.view,group_ids:0 +#: model:ir.model.fields,help:bi_view_editor.field_bve_view_group_ids msgid "" "User groups allowed to see the generated report; if NO groups are specified " "the report will be public for everyone." msgstr "" #. module: bi_view_editor -#: field:bve.view,user_ids:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_user_ids msgid "Users" msgstr "" #. module: bi_view_editor -#: field:bve.view,view_id:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_view_id msgid "View" msgstr "" #. module: bi_view_editor -#: code:addons/bi_view_editor/models/bve_view.py:73 +#: code:addons/bi_view_editor/models/bve_view.py:456 #, python-format msgid "You cannot delete a created view! Reset the view to draft first." msgstr "" + +#. module: bi_view_editor +#: model:ir.model,name:bi_view_editor.model_base +msgid "base" +msgstr "" + +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:39 +#, python-format +msgid "new" +msgstr "" + +#. module: bi_view_editor +#: model:ir.model,name:bi_view_editor.model_wizard_ir_model_menu_create +msgid "wizard.ir.model.menu.create" +msgstr "" diff --git a/bi_view_editor/i18n/sv.po b/bi_view_editor/i18n/sv.po index 10cd7f2f8..623087042 100644 --- a/bi_view_editor/i18n/sv.po +++ b/bi_view_editor/i18n/sv.po @@ -1,7 +1,7 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: # * bi_view_editor -# +# # Translators: msgid "" msgstr "" @@ -10,56 +10,99 @@ msgstr "" "POT-Creation-Date: 2016-09-18 04:34+0000\n" "PO-Revision-Date: 2016-03-21 15:33+0000\n" "Last-Translator: <>\n" -"Language-Team: Swedish (http://www.transifex.com/oca/OCA-reporting-engine-8-0/language/sv/)\n" +"Language-Team: Swedish (http://www.transifex.com/oca/OCA-reporting-" +"engine-8-0/language/sv/)\n" +"Language: sv\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: \n" -"Language: sv\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #. module: bi_view_editor -#: model:ir.actions.act_window,help:bi_view_editor.action_bi_view_editor_view_form -msgid "" -"

    \n" -" Click to create a Custom Query Object.\n" -"

    \n" -"\n" -"

    \n" -" " +#: code:addons/bi_view_editor/models/bve_view.py:415 +#, python-format +msgid "%s (copy)" msgstr "" #. module: bi_view_editor -#: field:bve.view,action_id:0 +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:179 +#, python-format +msgid "(join left)" +msgstr "" + +#. module: bi_view_editor +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_action_id msgid "Action" msgstr "" +#. module: bi_view_editor +#: code:addons/bi_view_editor/models/bve_view.py:409 +#, python-format +msgid "BI View" +msgstr "" + #. module: bi_view_editor #: model:ir.model,name:bi_view_editor.model_bve_view msgid "BI View Editor" msgstr "" +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/js/bi_view_editor.JoinNodeDialog.js:36 +#, python-format +msgid "Cancel" +msgstr "" + +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:18 +#, python-format +msgid "Clear" +msgstr "" + +#. module: bi_view_editor +#: model:ir.actions.act_window,help:bi_view_editor.action_bi_view_editor_view_form +msgid "Click to create a Custom Query Object." +msgstr "" + +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:103 +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:154 +#, python-format +msgid "Column" +msgstr "" + +#. module: bi_view_editor +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form +#, fuzzy +msgid "Create a Menu" +msgstr "Skapad den" + #. module: bi_view_editor #: selection:bve.view,state:0 msgid "Created" msgstr "" #. module: bi_view_editor -#: field:bve.view,create_uid:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_create_uid msgid "Created by" msgstr "Skapad av" #. module: bi_view_editor -#: field:bve.view,create_date:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_create_date msgid "Created on" msgstr "Skapad den" #. module: bi_view_editor -#: view:bve.view:bi_view_editor.view_bi_view_editor_view_tree +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_tree msgid "Custom BI View" msgstr "" #. module: bi_view_editor -#: sql_constraint:bve.view:0 +#: code:addons/bi_view_editor/models/bve_view.py:64 sql_constraint:bve.view:0 +#, python-format msgid "Custom BI View names must be unique!" msgstr "" @@ -70,7 +113,7 @@ msgid "Custom BI Views" msgstr "" #. module: bi_view_editor -#: view:bve.view:bi_view_editor.view_bi_view_editor_view_form +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form msgid "Custom Object" msgstr "" @@ -80,12 +123,12 @@ msgid "Custom Reports" msgstr "" #. module: bi_view_editor -#: field:bve.view,data:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_data msgid "Data" msgstr "" #. module: bi_view_editor -#: field:bve.view,display_name:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_display_name msgid "Display Name" msgstr "Visa namn" @@ -95,43 +138,74 @@ msgid "Draft" msgstr "" #. module: bi_view_editor -#: code:addons/bi_view_editor/models/bve_view.py:72 -#, python-format -msgid "Error" -msgstr "" - -#. module: bi_view_editor -#: view:bve.view:bi_view_editor.view_bi_view_editor_view_form +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form msgid "Generate BI View" msgstr "" #. module: bi_view_editor -#: field:bve.view,group_ids:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_group_ids msgid "Groups" msgstr "" #. module: bi_view_editor -#: field:bve.view,id:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_id msgid "ID" msgstr "ID" #. module: bi_view_editor -#: field:bve.view,__last_update:0 +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:137 +#, python-format +msgid "Join Left" +msgstr "" + +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/js/bi_view_editor.JoinNodeDialog.js:30 +#, python-format +msgid "Join..." +msgstr "" + +#. module: bi_view_editor +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view___last_update msgid "Last Modified on" msgstr "Senast redigerad" #. module: bi_view_editor -#: field:bve.view,write_uid:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_write_uid msgid "Last Updated by" msgstr "Senast uppdaterad av" #. module: bi_view_editor -#: field:bve.view,write_date:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_write_date msgid "Last Updated on" msgstr "Senast uppdaterad" #. module: bi_view_editor -#: field:bve.view,model_name:0 +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:124 +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:157 +#, python-format +msgid "List" +msgstr "" + +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:117 +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:156 +#, python-format +msgid "Measure" +msgstr "" + +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:86 +#, python-format +msgid "Model" +msgstr "" + +#. module: bi_view_editor +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_model_name msgid "Model Name" msgstr "" @@ -141,67 +215,141 @@ msgid "Models" msgstr "" #. module: bi_view_editor -#: field:bve.view,name:0 +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:85 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_name +#, python-format msgid "Name" msgstr "Namn" #. module: bi_view_editor -#: view:bve.view:bi_view_editor.view_bi_view_editor_view_form -#: field:bve.view,note:0 +#: code:addons/bi_view_editor/models/models.py:56 +#, python-format +msgid "No data to be displayed." +msgstr "" + +#. module: bi_view_editor +#: code:addons/bi_view_editor/models/bve_view.py:284 +#, python-format +msgid "No data to process." +msgstr "" + +#. module: bi_view_editor +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_note +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form msgid "Notes" msgstr "" #. module: bi_view_editor -#: view:bve.view:bi_view_editor.view_bi_view_editor_view_form +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form msgid "Open BI View" msgstr "" #. module: bi_view_editor -#: view:bve.view:bi_view_editor.view_bi_view_editor_view_form +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:87 +#, python-format +msgid "Options" +msgstr "" + +#. module: bi_view_editor +#: code:addons/bi_view_editor/models/bve_view.py:224 +#, python-format +msgid "Please select at least one group on the security tab." +msgstr "" + +#. module: bi_view_editor +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form msgid "Query" msgstr "" #. module: bi_view_editor -#: view:bve.view:bi_view_editor.view_bi_view_editor_view_form +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form msgid "Reset to Draft" msgstr "" #. module: bi_view_editor -#: view:bve.view:bi_view_editor.view_bi_view_editor_view_form +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:110 +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:155 +#, python-format +msgid "Row" +msgstr "" + +#. module: bi_view_editor +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form msgid "Security" msgstr "Säkerhet" #. module: bi_view_editor -#: field:bve.view,state:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_state msgid "State" msgstr "" #. module: bi_view_editor -#: help:bve.view,data:0 +#: model:ir.actions.act_window,name:bi_view_editor.action_bi_view_editor_translations +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form +msgid "Translations" +msgstr "" + +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:30 +#, python-format +msgid "Use the existing node" +msgstr "" + +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:34 +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:43 +#, python-format +msgid "Use the field" +msgstr "" + +#. module: bi_view_editor +#: model:ir.model.fields,help:bi_view_editor.field_bve_view_data msgid "" "Use the special query builder to define the query to generate your report " "dataset. NOTE: To be edited, the query should be in 'Draft' status." msgstr "" #. module: bi_view_editor -#: help:bve.view,group_ids:0 +#: model:ir.model.fields,help:bi_view_editor.field_bve_view_group_ids msgid "" "User groups allowed to see the generated report; if NO groups are specified " "the report will be public for everyone." msgstr "" #. module: bi_view_editor -#: field:bve.view,user_ids:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_user_ids msgid "Users" msgstr "" #. module: bi_view_editor -#: field:bve.view,view_id:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_view_id msgid "View" msgstr "" #. module: bi_view_editor -#: code:addons/bi_view_editor/models/bve_view.py:73 +#: code:addons/bi_view_editor/models/bve_view.py:456 #, python-format msgid "You cannot delete a created view! Reset the view to draft first." msgstr "" + +#. module: bi_view_editor +#: model:ir.model,name:bi_view_editor.model_base +msgid "base" +msgstr "" + +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:39 +#, python-format +msgid "new" +msgstr "" + +#. module: bi_view_editor +#: model:ir.model,name:bi_view_editor.model_wizard_ir_model_menu_create +msgid "wizard.ir.model.menu.create" +msgstr "" diff --git a/bi_view_editor/i18n/th.po b/bi_view_editor/i18n/th.po index 677688837..278784ebf 100644 --- a/bi_view_editor/i18n/th.po +++ b/bi_view_editor/i18n/th.po @@ -1,7 +1,7 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: # * bi_view_editor -# +# # Translators: msgid "" msgstr "" @@ -10,56 +10,99 @@ msgstr "" "POT-Creation-Date: 2016-09-18 04:34+0000\n" "PO-Revision-Date: 2016-03-21 15:33+0000\n" "Last-Translator: <>\n" -"Language-Team: Thai (http://www.transifex.com/oca/OCA-reporting-engine-8-0/language/th/)\n" +"Language-Team: Thai (http://www.transifex.com/oca/OCA-reporting-engine-8-0/" +"language/th/)\n" +"Language: th\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: \n" -"Language: th\n" "Plural-Forms: nplurals=1; plural=0;\n" #. module: bi_view_editor -#: model:ir.actions.act_window,help:bi_view_editor.action_bi_view_editor_view_form -msgid "" -"

    \n" -" Click to create a Custom Query Object.\n" -"

    \n" -"\n" -"

    \n" -" " +#: code:addons/bi_view_editor/models/bve_view.py:415 +#, python-format +msgid "%s (copy)" msgstr "" #. module: bi_view_editor -#: field:bve.view,action_id:0 +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:179 +#, python-format +msgid "(join left)" +msgstr "" + +#. module: bi_view_editor +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_action_id msgid "Action" msgstr "" +#. module: bi_view_editor +#: code:addons/bi_view_editor/models/bve_view.py:409 +#, python-format +msgid "BI View" +msgstr "" + #. module: bi_view_editor #: model:ir.model,name:bi_view_editor.model_bve_view msgid "BI View Editor" msgstr "" +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/js/bi_view_editor.JoinNodeDialog.js:36 +#, python-format +msgid "Cancel" +msgstr "" + +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:18 +#, python-format +msgid "Clear" +msgstr "" + +#. module: bi_view_editor +#: model:ir.actions.act_window,help:bi_view_editor.action_bi_view_editor_view_form +msgid "Click to create a Custom Query Object." +msgstr "" + +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:103 +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:154 +#, python-format +msgid "Column" +msgstr "" + +#. module: bi_view_editor +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form +#, fuzzy +msgid "Create a Menu" +msgstr "สร้างเมื่อ" + #. module: bi_view_editor #: selection:bve.view,state:0 msgid "Created" msgstr "" #. module: bi_view_editor -#: field:bve.view,create_uid:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_create_uid msgid "Created by" msgstr "สร้างโดย" #. module: bi_view_editor -#: field:bve.view,create_date:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_create_date msgid "Created on" msgstr "สร้างเมื่อ" #. module: bi_view_editor -#: view:bve.view:bi_view_editor.view_bi_view_editor_view_tree +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_tree msgid "Custom BI View" msgstr "" #. module: bi_view_editor -#: sql_constraint:bve.view:0 +#: code:addons/bi_view_editor/models/bve_view.py:64 sql_constraint:bve.view:0 +#, python-format msgid "Custom BI View names must be unique!" msgstr "" @@ -70,7 +113,7 @@ msgid "Custom BI Views" msgstr "" #. module: bi_view_editor -#: view:bve.view:bi_view_editor.view_bi_view_editor_view_form +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form msgid "Custom Object" msgstr "" @@ -80,12 +123,12 @@ msgid "Custom Reports" msgstr "" #. module: bi_view_editor -#: field:bve.view,data:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_data msgid "Data" msgstr "" #. module: bi_view_editor -#: field:bve.view,display_name:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_display_name msgid "Display Name" msgstr "ชื่อที่ใช้แสดง" @@ -95,43 +138,74 @@ msgid "Draft" msgstr "" #. module: bi_view_editor -#: code:addons/bi_view_editor/models/bve_view.py:72 -#, python-format -msgid "Error" -msgstr "" - -#. module: bi_view_editor -#: view:bve.view:bi_view_editor.view_bi_view_editor_view_form +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form msgid "Generate BI View" msgstr "" #. module: bi_view_editor -#: field:bve.view,group_ids:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_group_ids msgid "Groups" msgstr "" #. module: bi_view_editor -#: field:bve.view,id:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_id msgid "ID" msgstr "รหัส" #. module: bi_view_editor -#: field:bve.view,__last_update:0 +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:137 +#, python-format +msgid "Join Left" +msgstr "" + +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/js/bi_view_editor.JoinNodeDialog.js:30 +#, python-format +msgid "Join..." +msgstr "" + +#. module: bi_view_editor +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view___last_update msgid "Last Modified on" msgstr "แก้ไขครั้งสุดท้ายเมื่อ" #. module: bi_view_editor -#: field:bve.view,write_uid:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_write_uid msgid "Last Updated by" msgstr "อัพเดทครั้งสุดท้ายโดย" #. module: bi_view_editor -#: field:bve.view,write_date:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_write_date msgid "Last Updated on" msgstr "อัพเดทครั้งสุดท้ายเมื่อ" #. module: bi_view_editor -#: field:bve.view,model_name:0 +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:124 +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:157 +#, python-format +msgid "List" +msgstr "" + +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:117 +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:156 +#, python-format +msgid "Measure" +msgstr "" + +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:86 +#, python-format +msgid "Model" +msgstr "" + +#. module: bi_view_editor +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_model_name msgid "Model Name" msgstr "" @@ -141,67 +215,141 @@ msgid "Models" msgstr "" #. module: bi_view_editor -#: field:bve.view,name:0 +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:85 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_name +#, python-format msgid "Name" msgstr "ชื่อ" #. module: bi_view_editor -#: view:bve.view:bi_view_editor.view_bi_view_editor_view_form -#: field:bve.view,note:0 +#: code:addons/bi_view_editor/models/models.py:56 +#, python-format +msgid "No data to be displayed." +msgstr "" + +#. module: bi_view_editor +#: code:addons/bi_view_editor/models/bve_view.py:284 +#, python-format +msgid "No data to process." +msgstr "" + +#. module: bi_view_editor +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_note +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form msgid "Notes" msgstr "" #. module: bi_view_editor -#: view:bve.view:bi_view_editor.view_bi_view_editor_view_form +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form msgid "Open BI View" msgstr "" #. module: bi_view_editor -#: view:bve.view:bi_view_editor.view_bi_view_editor_view_form +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:87 +#, python-format +msgid "Options" +msgstr "" + +#. module: bi_view_editor +#: code:addons/bi_view_editor/models/bve_view.py:224 +#, python-format +msgid "Please select at least one group on the security tab." +msgstr "" + +#. module: bi_view_editor +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form msgid "Query" msgstr "" #. module: bi_view_editor -#: view:bve.view:bi_view_editor.view_bi_view_editor_view_form +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form msgid "Reset to Draft" msgstr "" #. module: bi_view_editor -#: view:bve.view:bi_view_editor.view_bi_view_editor_view_form +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:110 +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:155 +#, python-format +msgid "Row" +msgstr "" + +#. module: bi_view_editor +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form msgid "Security" msgstr "ความปลอดภัย" #. module: bi_view_editor -#: field:bve.view,state:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_state msgid "State" msgstr "" #. module: bi_view_editor -#: help:bve.view,data:0 +#: model:ir.actions.act_window,name:bi_view_editor.action_bi_view_editor_translations +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form +msgid "Translations" +msgstr "" + +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:30 +#, python-format +msgid "Use the existing node" +msgstr "" + +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:34 +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:43 +#, python-format +msgid "Use the field" +msgstr "" + +#. module: bi_view_editor +#: model:ir.model.fields,help:bi_view_editor.field_bve_view_data msgid "" "Use the special query builder to define the query to generate your report " "dataset. NOTE: To be edited, the query should be in 'Draft' status." msgstr "" #. module: bi_view_editor -#: help:bve.view,group_ids:0 +#: model:ir.model.fields,help:bi_view_editor.field_bve_view_group_ids msgid "" "User groups allowed to see the generated report; if NO groups are specified " "the report will be public for everyone." msgstr "" #. module: bi_view_editor -#: field:bve.view,user_ids:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_user_ids msgid "Users" msgstr "" #. module: bi_view_editor -#: field:bve.view,view_id:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_view_id msgid "View" msgstr "" #. module: bi_view_editor -#: code:addons/bi_view_editor/models/bve_view.py:73 +#: code:addons/bi_view_editor/models/bve_view.py:456 #, python-format msgid "You cannot delete a created view! Reset the view to draft first." msgstr "" + +#. module: bi_view_editor +#: model:ir.model,name:bi_view_editor.model_base +msgid "base" +msgstr "" + +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:39 +#, python-format +msgid "new" +msgstr "" + +#. module: bi_view_editor +#: model:ir.model,name:bi_view_editor.model_wizard_ir_model_menu_create +msgid "wizard.ir.model.menu.create" +msgstr "" diff --git a/bi_view_editor/i18n/tr.po b/bi_view_editor/i18n/tr.po index 736e18f3a..d778032f5 100644 --- a/bi_view_editor/i18n/tr.po +++ b/bi_view_editor/i18n/tr.po @@ -1,7 +1,7 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: # * bi_view_editor -# +# # Translators: msgid "" msgstr "" @@ -10,56 +10,99 @@ msgstr "" "POT-Creation-Date: 2017-01-07 05:41+0000\n" "PO-Revision-Date: 2016-03-21 15:33+0000\n" "Last-Translator: <>\n" -"Language-Team: Turkish (http://www.transifex.com/oca/OCA-reporting-engine-8-0/language/tr/)\n" +"Language-Team: Turkish (http://www.transifex.com/oca/OCA-reporting-" +"engine-8-0/language/tr/)\n" +"Language: 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: bi_view_editor -#: model:ir.actions.act_window,help:bi_view_editor.action_bi_view_editor_view_form -msgid "" -"

    \n" -" Click to create a Custom Query Object.\n" -"

    \n" -"\n" -"

    \n" -" " +#: code:addons/bi_view_editor/models/bve_view.py:415 +#, python-format +msgid "%s (copy)" msgstr "" #. module: bi_view_editor -#: field:bve.view,action_id:0 +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:179 +#, python-format +msgid "(join left)" +msgstr "" + +#. module: bi_view_editor +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_action_id msgid "Action" msgstr "Eylem" +#. module: bi_view_editor +#: code:addons/bi_view_editor/models/bve_view.py:409 +#, python-format +msgid "BI View" +msgstr "" + #. module: bi_view_editor #: model:ir.model,name:bi_view_editor.model_bve_view msgid "BI View Editor" msgstr "" +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/js/bi_view_editor.JoinNodeDialog.js:36 +#, python-format +msgid "Cancel" +msgstr "" + +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:18 +#, python-format +msgid "Clear" +msgstr "" + +#. module: bi_view_editor +#: model:ir.actions.act_window,help:bi_view_editor.action_bi_view_editor_view_form +msgid "Click to create a Custom Query Object." +msgstr "" + +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:103 +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:154 +#, python-format +msgid "Column" +msgstr "" + +#. module: bi_view_editor +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form +#, fuzzy +msgid "Create a Menu" +msgstr "Oluşturuldu" + #. module: bi_view_editor #: selection:bve.view,state:0 msgid "Created" msgstr "" #. module: bi_view_editor -#: field:bve.view,create_uid:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_create_uid msgid "Created by" msgstr "Oluşturan" #. module: bi_view_editor -#: field:bve.view,create_date:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_create_date msgid "Created on" msgstr "Oluşturuldu" #. module: bi_view_editor -#: view:bve.view:bi_view_editor.view_bi_view_editor_view_tree +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_tree msgid "Custom BI View" msgstr "" #. module: bi_view_editor -#: sql_constraint:bve.view:0 +#: code:addons/bi_view_editor/models/bve_view.py:64 sql_constraint:bve.view:0 +#, python-format msgid "Custom BI View names must be unique!" msgstr "" @@ -70,7 +113,7 @@ msgid "Custom BI Views" msgstr "" #. module: bi_view_editor -#: view:bve.view:bi_view_editor.view_bi_view_editor_view_form +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form msgid "Custom Object" msgstr "" @@ -80,12 +123,12 @@ msgid "Custom Reports" msgstr "" #. module: bi_view_editor -#: field:bve.view,data:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_data msgid "Data" msgstr "" #. module: bi_view_editor -#: field:bve.view,display_name:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_display_name msgid "Display Name" msgstr "Görünen İsim" @@ -95,43 +138,74 @@ msgid "Draft" msgstr "Taslak" #. module: bi_view_editor -#: code:addons/bi_view_editor/models/bve_view.py:72 -#, python-format -msgid "Error" -msgstr "" - -#. module: bi_view_editor -#: view:bve.view:bi_view_editor.view_bi_view_editor_view_form +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form msgid "Generate BI View" msgstr "" #. module: bi_view_editor -#: field:bve.view,group_ids:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_group_ids msgid "Groups" msgstr "" #. module: bi_view_editor -#: field:bve.view,id:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_id msgid "ID" msgstr "ID" #. module: bi_view_editor -#: field:bve.view,__last_update:0 +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:137 +#, python-format +msgid "Join Left" +msgstr "" + +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/js/bi_view_editor.JoinNodeDialog.js:30 +#, python-format +msgid "Join..." +msgstr "" + +#. module: bi_view_editor +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view___last_update msgid "Last Modified on" msgstr "Son değişiklik" #. module: bi_view_editor -#: field:bve.view,write_uid:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_write_uid msgid "Last Updated by" msgstr "Son güncelleyen" #. module: bi_view_editor -#: field:bve.view,write_date:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_write_date msgid "Last Updated on" msgstr "Son güncelleme" #. module: bi_view_editor -#: field:bve.view,model_name:0 +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:124 +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:157 +#, python-format +msgid "List" +msgstr "" + +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:117 +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:156 +#, python-format +msgid "Measure" +msgstr "" + +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:86 +#, fuzzy, python-format +msgid "Model" +msgstr "Modeller" + +#. module: bi_view_editor +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_model_name msgid "Model Name" msgstr "" @@ -141,67 +215,141 @@ msgid "Models" msgstr "Modeller" #. module: bi_view_editor -#: field:bve.view,name:0 +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:85 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_name +#, python-format msgid "Name" msgstr "Adı" #. module: bi_view_editor -#: view:bve.view:bi_view_editor.view_bi_view_editor_view_form -#: field:bve.view,note:0 +#: code:addons/bi_view_editor/models/models.py:56 +#, python-format +msgid "No data to be displayed." +msgstr "" + +#. module: bi_view_editor +#: code:addons/bi_view_editor/models/bve_view.py:284 +#, python-format +msgid "No data to process." +msgstr "" + +#. module: bi_view_editor +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_note +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form msgid "Notes" msgstr "Notlar" #. module: bi_view_editor -#: view:bve.view:bi_view_editor.view_bi_view_editor_view_form +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form msgid "Open BI View" msgstr "" #. module: bi_view_editor -#: view:bve.view:bi_view_editor.view_bi_view_editor_view_form +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:87 +#, fuzzy, python-format +msgid "Options" +msgstr "Eylem" + +#. module: bi_view_editor +#: code:addons/bi_view_editor/models/bve_view.py:224 +#, python-format +msgid "Please select at least one group on the security tab." +msgstr "" + +#. module: bi_view_editor +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form msgid "Query" msgstr "" #. module: bi_view_editor -#: view:bve.view:bi_view_editor.view_bi_view_editor_view_form +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form msgid "Reset to Draft" msgstr "Taslakta Sıfırla" #. module: bi_view_editor -#: view:bve.view:bi_view_editor.view_bi_view_editor_view_form +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:110 +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:155 +#, python-format +msgid "Row" +msgstr "" + +#. module: bi_view_editor +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form msgid "Security" msgstr "" #. module: bi_view_editor -#: field:bve.view,state:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_state msgid "State" msgstr "Durum" #. module: bi_view_editor -#: help:bve.view,data:0 +#: model:ir.actions.act_window,name:bi_view_editor.action_bi_view_editor_translations +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form +msgid "Translations" +msgstr "" + +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:30 +#, python-format +msgid "Use the existing node" +msgstr "" + +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:34 +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:43 +#, python-format +msgid "Use the field" +msgstr "" + +#. module: bi_view_editor +#: model:ir.model.fields,help:bi_view_editor.field_bve_view_data msgid "" "Use the special query builder to define the query to generate your report " "dataset. NOTE: To be edited, the query should be in 'Draft' status." msgstr "" #. module: bi_view_editor -#: help:bve.view,group_ids:0 +#: model:ir.model.fields,help:bi_view_editor.field_bve_view_group_ids msgid "" "User groups allowed to see the generated report; if NO groups are specified " "the report will be public for everyone." msgstr "" #. module: bi_view_editor -#: field:bve.view,user_ids:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_user_ids msgid "Users" msgstr "Kullanıcılar" #. module: bi_view_editor -#: field:bve.view,view_id:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_view_id msgid "View" msgstr "" #. module: bi_view_editor -#: code:addons/bi_view_editor/models/bve_view.py:73 +#: code:addons/bi_view_editor/models/bve_view.py:456 #, python-format msgid "You cannot delete a created view! Reset the view to draft first." msgstr "" + +#. module: bi_view_editor +#: model:ir.model,name:bi_view_editor.model_base +msgid "base" +msgstr "" + +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:39 +#, python-format +msgid "new" +msgstr "" + +#. module: bi_view_editor +#: model:ir.model,name:bi_view_editor.model_wizard_ir_model_menu_create +msgid "wizard.ir.model.menu.create" +msgstr "" diff --git a/bi_view_editor/i18n/tr_TR.po b/bi_view_editor/i18n/tr_TR.po index e8d47018b..0440255a5 100644 --- a/bi_view_editor/i18n/tr_TR.po +++ b/bi_view_editor/i18n/tr_TR.po @@ -1,7 +1,7 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: # * bi_view_editor -# +# # Translators: # Ozge Altinisik , 2017 msgid "" @@ -11,56 +11,99 @@ msgstr "" "POT-Creation-Date: 2016-12-31 06:53+0000\n" "PO-Revision-Date: 2017-01-04 14:44+0000\n" "Last-Translator: Ozge Altinisik \n" -"Language-Team: Turkish (Turkey) (http://www.transifex.com/oca/OCA-reporting-engine-8-0/language/tr_TR/)\n" +"Language-Team: Turkish (Turkey) (http://www.transifex.com/oca/OCA-reporting-" +"engine-8-0/language/tr_TR/)\n" +"Language: tr_TR\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: \n" -"Language: tr_TR\n" "Plural-Forms: nplurals=1; plural=0;\n" #. module: bi_view_editor -#: model:ir.actions.act_window,help:bi_view_editor.action_bi_view_editor_view_form -msgid "" -"

    \n" -" Click to create a Custom Query Object.\n" -"

    \n" -"\n" -"

    \n" -" " +#: code:addons/bi_view_editor/models/bve_view.py:415 +#, python-format +msgid "%s (copy)" msgstr "" #. module: bi_view_editor -#: field:bve.view,action_id:0 +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:179 +#, python-format +msgid "(join left)" +msgstr "" + +#. module: bi_view_editor +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_action_id msgid "Action" msgstr "Eylem" +#. module: bi_view_editor +#: code:addons/bi_view_editor/models/bve_view.py:409 +#, fuzzy, python-format +msgid "BI View" +msgstr "Görüntüle" + #. module: bi_view_editor #: model:ir.model,name:bi_view_editor.model_bve_view msgid "BI View Editor" msgstr "" +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/js/bi_view_editor.JoinNodeDialog.js:36 +#, python-format +msgid "Cancel" +msgstr "" + +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:18 +#, python-format +msgid "Clear" +msgstr "" + +#. module: bi_view_editor +#: model:ir.actions.act_window,help:bi_view_editor.action_bi_view_editor_view_form +msgid "Click to create a Custom Query Object." +msgstr "" + +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:103 +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:154 +#, python-format +msgid "Column" +msgstr "" + +#. module: bi_view_editor +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form +#, fuzzy +msgid "Create a Menu" +msgstr "Oluşturulma tarihi" + #. module: bi_view_editor #: selection:bve.view,state:0 msgid "Created" msgstr "Oluşturuldu" #. module: bi_view_editor -#: field:bve.view,create_uid:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_create_uid msgid "Created by" msgstr "Oluşturan" #. module: bi_view_editor -#: field:bve.view,create_date:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_create_date msgid "Created on" msgstr "Oluşturulma tarihi" #. module: bi_view_editor -#: view:bve.view:bi_view_editor.view_bi_view_editor_view_tree +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_tree msgid "Custom BI View" msgstr "" #. module: bi_view_editor -#: sql_constraint:bve.view:0 +#: code:addons/bi_view_editor/models/bve_view.py:64 sql_constraint:bve.view:0 +#, python-format msgid "Custom BI View names must be unique!" msgstr "" @@ -71,7 +114,7 @@ msgid "Custom BI Views" msgstr "" #. module: bi_view_editor -#: view:bve.view:bi_view_editor.view_bi_view_editor_view_form +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form msgid "Custom Object" msgstr "" @@ -81,12 +124,12 @@ msgid "Custom Reports" msgstr "" #. module: bi_view_editor -#: field:bve.view,data:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_data msgid "Data" msgstr "Veri" #. module: bi_view_editor -#: field:bve.view,display_name:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_display_name msgid "Display Name" msgstr "Görünen ad" @@ -96,43 +139,74 @@ msgid "Draft" msgstr "Taslak" #. module: bi_view_editor -#: code:addons/bi_view_editor/models/bve_view.py:72 -#, python-format -msgid "Error" -msgstr "Hata" - -#. module: bi_view_editor -#: view:bve.view:bi_view_editor.view_bi_view_editor_view_form +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form msgid "Generate BI View" msgstr "" #. module: bi_view_editor -#: field:bve.view,group_ids:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_group_ids msgid "Groups" msgstr "" #. module: bi_view_editor -#: field:bve.view,id:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_id msgid "ID" msgstr "Kimlik" #. module: bi_view_editor -#: field:bve.view,__last_update:0 +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:137 +#, python-format +msgid "Join Left" +msgstr "" + +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/js/bi_view_editor.JoinNodeDialog.js:30 +#, python-format +msgid "Join..." +msgstr "" + +#. module: bi_view_editor +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view___last_update msgid "Last Modified on" msgstr "En son güncelleme tarihi" #. module: bi_view_editor -#: field:bve.view,write_uid:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_write_uid msgid "Last Updated by" msgstr "En son güncelleyen " #. module: bi_view_editor -#: field:bve.view,write_date:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_write_date msgid "Last Updated on" msgstr "En son güncelleme tarihi" #. module: bi_view_editor -#: field:bve.view,model_name:0 +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:124 +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:157 +#, python-format +msgid "List" +msgstr "" + +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:117 +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:156 +#, python-format +msgid "Measure" +msgstr "" + +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:86 +#, fuzzy, python-format +msgid "Model" +msgstr "Tipler" + +#. module: bi_view_editor +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_model_name msgid "Model Name" msgstr "Tip adı" @@ -142,67 +216,148 @@ msgid "Models" msgstr "Tipler" #. module: bi_view_editor -#: field:bve.view,name:0 +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:85 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_name +#, python-format msgid "Name" msgstr "Ad" #. module: bi_view_editor -#: view:bve.view:bi_view_editor.view_bi_view_editor_view_form -#: field:bve.view,note:0 +#: code:addons/bi_view_editor/models/models.py:56 +#, python-format +msgid "No data to be displayed." +msgstr "" + +#. module: bi_view_editor +#: code:addons/bi_view_editor/models/bve_view.py:284 +#, python-format +msgid "No data to process." +msgstr "" + +#. module: bi_view_editor +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_note +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form msgid "Notes" msgstr "Notlar" #. module: bi_view_editor -#: view:bve.view:bi_view_editor.view_bi_view_editor_view_form +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form msgid "Open BI View" msgstr "" #. module: bi_view_editor -#: view:bve.view:bi_view_editor.view_bi_view_editor_view_form +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:87 +#, fuzzy, python-format +msgid "Options" +msgstr "Eylem" + +#. module: bi_view_editor +#: code:addons/bi_view_editor/models/bve_view.py:224 +#, python-format +msgid "Please select at least one group on the security tab." +msgstr "" + +#. module: bi_view_editor +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form msgid "Query" msgstr "Soru" #. module: bi_view_editor -#: view:bve.view:bi_view_editor.view_bi_view_editor_view_form +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form msgid "Reset to Draft" msgstr "" #. module: bi_view_editor -#: view:bve.view:bi_view_editor.view_bi_view_editor_view_form +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:110 +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:155 +#, python-format +msgid "Row" +msgstr "" + +#. module: bi_view_editor +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form msgid "Security" msgstr "Güvenlik" #. module: bi_view_editor -#: field:bve.view,state:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_state msgid "State" msgstr "Hal" #. module: bi_view_editor -#: help:bve.view,data:0 +#: model:ir.actions.act_window,name:bi_view_editor.action_bi_view_editor_translations +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form +msgid "Translations" +msgstr "" + +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:30 +#, python-format +msgid "Use the existing node" +msgstr "" + +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:34 +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:43 +#, python-format +msgid "Use the field" +msgstr "" + +#. module: bi_view_editor +#: model:ir.model.fields,help:bi_view_editor.field_bve_view_data msgid "" "Use the special query builder to define the query to generate your report " "dataset. NOTE: To be edited, the query should be in 'Draft' status." msgstr "" #. module: bi_view_editor -#: help:bve.view,group_ids:0 +#: model:ir.model.fields,help:bi_view_editor.field_bve_view_group_ids msgid "" "User groups allowed to see the generated report; if NO groups are specified " "the report will be public for everyone." -msgstr "Kullanıcı grupları oluşturulan raporu görebilir; eğer hiçbir grup belirlenmemişse rapor herkes tarafından görüntülenebilir." +msgstr "" +"Kullanıcı grupları oluşturulan raporu görebilir; eğer hiçbir grup " +"belirlenmemişse rapor herkes tarafından görüntülenebilir." #. module: bi_view_editor -#: field:bve.view,user_ids:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_user_ids msgid "Users" msgstr "Kullanıcılar" #. module: bi_view_editor -#: field:bve.view,view_id:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_view_id msgid "View" msgstr "Görüntüle" #. module: bi_view_editor -#: code:addons/bi_view_editor/models/bve_view.py:73 +#: code:addons/bi_view_editor/models/bve_view.py:456 #, python-format msgid "You cannot delete a created view! Reset the view to draft first." -msgstr "Oluşturulmuş görüntüyü silemezsiniz! İlk önce taslak hazırlamak için görüntüyü sıfırla. " +msgstr "" +"Oluşturulmuş görüntüyü silemezsiniz! İlk önce taslak hazırlamak için " +"görüntüyü sıfırla. " + +#. module: bi_view_editor +#: model:ir.model,name:bi_view_editor.model_base +msgid "base" +msgstr "" + +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:39 +#, python-format +msgid "new" +msgstr "" + +#. module: bi_view_editor +#: model:ir.model,name:bi_view_editor.model_wizard_ir_model_menu_create +msgid "wizard.ir.model.menu.create" +msgstr "" + +#~ msgid "Error" +#~ msgstr "Hata" diff --git a/bi_view_editor/i18n/uk.po b/bi_view_editor/i18n/uk.po index 32fb84682..3c76796ed 100644 --- a/bi_view_editor/i18n/uk.po +++ b/bi_view_editor/i18n/uk.po @@ -1,7 +1,7 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: # * bi_view_editor -# +# # Translators: msgid "" msgstr "" @@ -10,56 +10,100 @@ msgstr "" "POT-Creation-Date: 2016-09-18 04:34+0000\n" "PO-Revision-Date: 2016-03-21 15:33+0000\n" "Last-Translator: <>\n" -"Language-Team: Ukrainian (http://www.transifex.com/oca/OCA-reporting-engine-8-0/language/uk/)\n" +"Language-Team: Ukrainian (http://www.transifex.com/oca/OCA-reporting-" +"engine-8-0/language/uk/)\n" +"Language: uk\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: \n" -"Language: uk\n" -"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n" +"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n" +"%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n" #. module: bi_view_editor -#: model:ir.actions.act_window,help:bi_view_editor.action_bi_view_editor_view_form -msgid "" -"

    \n" -" Click to create a Custom Query Object.\n" -"

    \n" -"\n" -"

    \n" -" " +#: code:addons/bi_view_editor/models/bve_view.py:415 +#, python-format +msgid "%s (copy)" msgstr "" #. module: bi_view_editor -#: field:bve.view,action_id:0 +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:179 +#, python-format +msgid "(join left)" +msgstr "" + +#. module: bi_view_editor +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_action_id msgid "Action" msgstr "" +#. module: bi_view_editor +#: code:addons/bi_view_editor/models/bve_view.py:409 +#, python-format +msgid "BI View" +msgstr "" + #. module: bi_view_editor #: model:ir.model,name:bi_view_editor.model_bve_view msgid "BI View Editor" msgstr "" +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/js/bi_view_editor.JoinNodeDialog.js:36 +#, python-format +msgid "Cancel" +msgstr "" + +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:18 +#, python-format +msgid "Clear" +msgstr "" + +#. module: bi_view_editor +#: model:ir.actions.act_window,help:bi_view_editor.action_bi_view_editor_view_form +msgid "Click to create a Custom Query Object." +msgstr "" + +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:103 +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:154 +#, python-format +msgid "Column" +msgstr "" + +#. module: bi_view_editor +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form +#, fuzzy +msgid "Create a Menu" +msgstr "Дата створення" + #. module: bi_view_editor #: selection:bve.view,state:0 msgid "Created" msgstr "" #. module: bi_view_editor -#: field:bve.view,create_uid:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_create_uid msgid "Created by" msgstr "Створив" #. module: bi_view_editor -#: field:bve.view,create_date:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_create_date msgid "Created on" msgstr "Дата створення" #. module: bi_view_editor -#: view:bve.view:bi_view_editor.view_bi_view_editor_view_tree +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_tree msgid "Custom BI View" msgstr "" #. module: bi_view_editor -#: sql_constraint:bve.view:0 +#: code:addons/bi_view_editor/models/bve_view.py:64 sql_constraint:bve.view:0 +#, python-format msgid "Custom BI View names must be unique!" msgstr "" @@ -70,7 +114,7 @@ msgid "Custom BI Views" msgstr "" #. module: bi_view_editor -#: view:bve.view:bi_view_editor.view_bi_view_editor_view_form +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form msgid "Custom Object" msgstr "" @@ -80,12 +124,12 @@ msgid "Custom Reports" msgstr "" #. module: bi_view_editor -#: field:bve.view,data:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_data msgid "Data" msgstr "" #. module: bi_view_editor -#: field:bve.view,display_name:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_display_name msgid "Display Name" msgstr "Назва для відображення" @@ -95,43 +139,74 @@ msgid "Draft" msgstr "" #. module: bi_view_editor -#: code:addons/bi_view_editor/models/bve_view.py:72 -#, python-format -msgid "Error" -msgstr "" - -#. module: bi_view_editor -#: view:bve.view:bi_view_editor.view_bi_view_editor_view_form +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form msgid "Generate BI View" msgstr "" #. module: bi_view_editor -#: field:bve.view,group_ids:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_group_ids msgid "Groups" msgstr "" #. module: bi_view_editor -#: field:bve.view,id:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_id msgid "ID" msgstr "ID" #. module: bi_view_editor -#: field:bve.view,__last_update:0 +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:137 +#, python-format +msgid "Join Left" +msgstr "" + +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/js/bi_view_editor.JoinNodeDialog.js:30 +#, python-format +msgid "Join..." +msgstr "" + +#. module: bi_view_editor +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view___last_update msgid "Last Modified on" msgstr "Остання модифікація" #. module: bi_view_editor -#: field:bve.view,write_uid:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_write_uid msgid "Last Updated by" msgstr "Востаннє оновив" #. module: bi_view_editor -#: field:bve.view,write_date:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_write_date msgid "Last Updated on" msgstr "Останнє оновлення" #. module: bi_view_editor -#: field:bve.view,model_name:0 +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:124 +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:157 +#, python-format +msgid "List" +msgstr "" + +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:117 +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:156 +#, python-format +msgid "Measure" +msgstr "" + +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:86 +#, python-format +msgid "Model" +msgstr "" + +#. module: bi_view_editor +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_model_name msgid "Model Name" msgstr "" @@ -141,67 +216,141 @@ msgid "Models" msgstr "" #. module: bi_view_editor -#: field:bve.view,name:0 +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:85 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_name +#, python-format msgid "Name" msgstr "Name" #. module: bi_view_editor -#: view:bve.view:bi_view_editor.view_bi_view_editor_view_form -#: field:bve.view,note:0 +#: code:addons/bi_view_editor/models/models.py:56 +#, python-format +msgid "No data to be displayed." +msgstr "" + +#. module: bi_view_editor +#: code:addons/bi_view_editor/models/bve_view.py:284 +#, python-format +msgid "No data to process." +msgstr "" + +#. module: bi_view_editor +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_note +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form msgid "Notes" msgstr "" #. module: bi_view_editor -#: view:bve.view:bi_view_editor.view_bi_view_editor_view_form +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form msgid "Open BI View" msgstr "" #. module: bi_view_editor -#: view:bve.view:bi_view_editor.view_bi_view_editor_view_form +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:87 +#, python-format +msgid "Options" +msgstr "" + +#. module: bi_view_editor +#: code:addons/bi_view_editor/models/bve_view.py:224 +#, python-format +msgid "Please select at least one group on the security tab." +msgstr "" + +#. module: bi_view_editor +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form msgid "Query" msgstr "" #. module: bi_view_editor -#: view:bve.view:bi_view_editor.view_bi_view_editor_view_form +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form msgid "Reset to Draft" msgstr "" #. module: bi_view_editor -#: view:bve.view:bi_view_editor.view_bi_view_editor_view_form +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:110 +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:155 +#, python-format +msgid "Row" +msgstr "" + +#. module: bi_view_editor +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form msgid "Security" msgstr "Безпека" #. module: bi_view_editor -#: field:bve.view,state:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_state msgid "State" msgstr "" #. module: bi_view_editor -#: help:bve.view,data:0 +#: model:ir.actions.act_window,name:bi_view_editor.action_bi_view_editor_translations +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form +msgid "Translations" +msgstr "" + +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:30 +#, python-format +msgid "Use the existing node" +msgstr "" + +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:34 +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:43 +#, python-format +msgid "Use the field" +msgstr "" + +#. module: bi_view_editor +#: model:ir.model.fields,help:bi_view_editor.field_bve_view_data msgid "" "Use the special query builder to define the query to generate your report " "dataset. NOTE: To be edited, the query should be in 'Draft' status." msgstr "" #. module: bi_view_editor -#: help:bve.view,group_ids:0 +#: model:ir.model.fields,help:bi_view_editor.field_bve_view_group_ids msgid "" "User groups allowed to see the generated report; if NO groups are specified " "the report will be public for everyone." msgstr "" #. module: bi_view_editor -#: field:bve.view,user_ids:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_user_ids msgid "Users" msgstr "" #. module: bi_view_editor -#: field:bve.view,view_id:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_view_id msgid "View" msgstr "" #. module: bi_view_editor -#: code:addons/bi_view_editor/models/bve_view.py:73 +#: code:addons/bi_view_editor/models/bve_view.py:456 #, python-format msgid "You cannot delete a created view! Reset the view to draft first." msgstr "" + +#. module: bi_view_editor +#: model:ir.model,name:bi_view_editor.model_base +msgid "base" +msgstr "" + +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:39 +#, python-format +msgid "new" +msgstr "" + +#. module: bi_view_editor +#: model:ir.model,name:bi_view_editor.model_wizard_ir_model_menu_create +msgid "wizard.ir.model.menu.create" +msgstr "" diff --git a/bi_view_editor/i18n/vi.po b/bi_view_editor/i18n/vi.po index 1f9662767..2eaf920cc 100644 --- a/bi_view_editor/i18n/vi.po +++ b/bi_view_editor/i18n/vi.po @@ -1,7 +1,7 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: # * bi_view_editor -# +# # Translators: msgid "" msgstr "" @@ -10,56 +10,99 @@ msgstr "" "POT-Creation-Date: 2016-09-18 04:34+0000\n" "PO-Revision-Date: 2016-03-21 15:33+0000\n" "Last-Translator: <>\n" -"Language-Team: Vietnamese (http://www.transifex.com/oca/OCA-reporting-engine-8-0/language/vi/)\n" +"Language-Team: Vietnamese (http://www.transifex.com/oca/OCA-reporting-" +"engine-8-0/language/vi/)\n" +"Language: vi\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: \n" -"Language: vi\n" "Plural-Forms: nplurals=1; plural=0;\n" #. module: bi_view_editor -#: model:ir.actions.act_window,help:bi_view_editor.action_bi_view_editor_view_form -msgid "" -"

    \n" -" Click to create a Custom Query Object.\n" -"

    \n" -"\n" -"

    \n" -" " +#: code:addons/bi_view_editor/models/bve_view.py:415 +#, python-format +msgid "%s (copy)" msgstr "" #. module: bi_view_editor -#: field:bve.view,action_id:0 +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:179 +#, python-format +msgid "(join left)" +msgstr "" + +#. module: bi_view_editor +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_action_id msgid "Action" msgstr "" +#. module: bi_view_editor +#: code:addons/bi_view_editor/models/bve_view.py:409 +#, python-format +msgid "BI View" +msgstr "" + #. module: bi_view_editor #: model:ir.model,name:bi_view_editor.model_bve_view msgid "BI View Editor" msgstr "" +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/js/bi_view_editor.JoinNodeDialog.js:36 +#, python-format +msgid "Cancel" +msgstr "" + +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:18 +#, python-format +msgid "Clear" +msgstr "" + +#. module: bi_view_editor +#: model:ir.actions.act_window,help:bi_view_editor.action_bi_view_editor_view_form +msgid "Click to create a Custom Query Object." +msgstr "" + +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:103 +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:154 +#, python-format +msgid "Column" +msgstr "" + +#. module: bi_view_editor +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form +#, fuzzy +msgid "Create a Menu" +msgstr "Được tạo vào" + #. module: bi_view_editor #: selection:bve.view,state:0 msgid "Created" msgstr "" #. module: bi_view_editor -#: field:bve.view,create_uid:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_create_uid msgid "Created by" msgstr "Được tạo bởi" #. module: bi_view_editor -#: field:bve.view,create_date:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_create_date msgid "Created on" msgstr "Được tạo vào" #. module: bi_view_editor -#: view:bve.view:bi_view_editor.view_bi_view_editor_view_tree +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_tree msgid "Custom BI View" msgstr "" #. module: bi_view_editor -#: sql_constraint:bve.view:0 +#: code:addons/bi_view_editor/models/bve_view.py:64 sql_constraint:bve.view:0 +#, python-format msgid "Custom BI View names must be unique!" msgstr "" @@ -70,7 +113,7 @@ msgid "Custom BI Views" msgstr "" #. module: bi_view_editor -#: view:bve.view:bi_view_editor.view_bi_view_editor_view_form +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form msgid "Custom Object" msgstr "" @@ -80,12 +123,12 @@ msgid "Custom Reports" msgstr "" #. module: bi_view_editor -#: field:bve.view,data:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_data msgid "Data" msgstr "" #. module: bi_view_editor -#: field:bve.view,display_name:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_display_name msgid "Display Name" msgstr "Tên hiển thị" @@ -95,43 +138,74 @@ msgid "Draft" msgstr "" #. module: bi_view_editor -#: code:addons/bi_view_editor/models/bve_view.py:72 -#, python-format -msgid "Error" -msgstr "" - -#. module: bi_view_editor -#: view:bve.view:bi_view_editor.view_bi_view_editor_view_form +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form msgid "Generate BI View" msgstr "" #. module: bi_view_editor -#: field:bve.view,group_ids:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_group_ids msgid "Groups" msgstr "" #. module: bi_view_editor -#: field:bve.view,id:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_id msgid "ID" msgstr "ID" #. module: bi_view_editor -#: field:bve.view,__last_update:0 +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:137 +#, python-format +msgid "Join Left" +msgstr "" + +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/js/bi_view_editor.JoinNodeDialog.js:30 +#, python-format +msgid "Join..." +msgstr "" + +#. module: bi_view_editor +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view___last_update msgid "Last Modified on" msgstr "Sửa lần cuối vào" #. module: bi_view_editor -#: field:bve.view,write_uid:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_write_uid msgid "Last Updated by" msgstr "Last Updated by" #. module: bi_view_editor -#: field:bve.view,write_date:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_write_date msgid "Last Updated on" msgstr "Cập nhật lần cuối vào" #. module: bi_view_editor -#: field:bve.view,model_name:0 +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:124 +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:157 +#, python-format +msgid "List" +msgstr "" + +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:117 +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:156 +#, python-format +msgid "Measure" +msgstr "" + +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:86 +#, python-format +msgid "Model" +msgstr "" + +#. module: bi_view_editor +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_model_name msgid "Model Name" msgstr "" @@ -141,67 +215,141 @@ msgid "Models" msgstr "" #. module: bi_view_editor -#: field:bve.view,name:0 +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:85 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_name +#, python-format msgid "Name" msgstr "Tên" #. module: bi_view_editor -#: view:bve.view:bi_view_editor.view_bi_view_editor_view_form -#: field:bve.view,note:0 +#: code:addons/bi_view_editor/models/models.py:56 +#, python-format +msgid "No data to be displayed." +msgstr "" + +#. module: bi_view_editor +#: code:addons/bi_view_editor/models/bve_view.py:284 +#, python-format +msgid "No data to process." +msgstr "" + +#. module: bi_view_editor +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_note +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form msgid "Notes" msgstr "" #. module: bi_view_editor -#: view:bve.view:bi_view_editor.view_bi_view_editor_view_form +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form msgid "Open BI View" msgstr "" #. module: bi_view_editor -#: view:bve.view:bi_view_editor.view_bi_view_editor_view_form +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:87 +#, python-format +msgid "Options" +msgstr "" + +#. module: bi_view_editor +#: code:addons/bi_view_editor/models/bve_view.py:224 +#, python-format +msgid "Please select at least one group on the security tab." +msgstr "" + +#. module: bi_view_editor +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form msgid "Query" msgstr "" #. module: bi_view_editor -#: view:bve.view:bi_view_editor.view_bi_view_editor_view_form +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form msgid "Reset to Draft" msgstr "" #. module: bi_view_editor -#: view:bve.view:bi_view_editor.view_bi_view_editor_view_form +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:110 +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:155 +#, python-format +msgid "Row" +msgstr "" + +#. module: bi_view_editor +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form msgid "Security" msgstr "Bảo mật" #. module: bi_view_editor -#: field:bve.view,state:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_state msgid "State" msgstr "" #. module: bi_view_editor -#: help:bve.view,data:0 +#: model:ir.actions.act_window,name:bi_view_editor.action_bi_view_editor_translations +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form +msgid "Translations" +msgstr "" + +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:30 +#, python-format +msgid "Use the existing node" +msgstr "" + +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:34 +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:43 +#, python-format +msgid "Use the field" +msgstr "" + +#. module: bi_view_editor +#: model:ir.model.fields,help:bi_view_editor.field_bve_view_data msgid "" "Use the special query builder to define the query to generate your report " "dataset. NOTE: To be edited, the query should be in 'Draft' status." msgstr "" #. module: bi_view_editor -#: help:bve.view,group_ids:0 +#: model:ir.model.fields,help:bi_view_editor.field_bve_view_group_ids msgid "" "User groups allowed to see the generated report; if NO groups are specified " "the report will be public for everyone." msgstr "" #. module: bi_view_editor -#: field:bve.view,user_ids:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_user_ids msgid "Users" msgstr "" #. module: bi_view_editor -#: field:bve.view,view_id:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_view_id msgid "View" msgstr "" #. module: bi_view_editor -#: code:addons/bi_view_editor/models/bve_view.py:73 +#: code:addons/bi_view_editor/models/bve_view.py:456 #, python-format msgid "You cannot delete a created view! Reset the view to draft first." msgstr "" + +#. module: bi_view_editor +#: model:ir.model,name:bi_view_editor.model_base +msgid "base" +msgstr "" + +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:39 +#, python-format +msgid "new" +msgstr "" + +#. module: bi_view_editor +#: model:ir.model,name:bi_view_editor.model_wizard_ir_model_menu_create +msgid "wizard.ir.model.menu.create" +msgstr "" diff --git a/bi_view_editor/i18n/vi_VN.po b/bi_view_editor/i18n/vi_VN.po index 162905efd..bd523d493 100644 --- a/bi_view_editor/i18n/vi_VN.po +++ b/bi_view_editor/i18n/vi_VN.po @@ -1,7 +1,7 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: # * bi_view_editor -# +# # Translators: msgid "" msgstr "" @@ -10,56 +10,99 @@ msgstr "" "POT-Creation-Date: 2016-12-24 04:38+0000\n" "PO-Revision-Date: 2016-03-21 15:33+0000\n" "Last-Translator: <>\n" -"Language-Team: Vietnamese (Viet Nam) (http://www.transifex.com/oca/OCA-reporting-engine-8-0/language/vi_VN/)\n" +"Language-Team: Vietnamese (Viet Nam) (http://www.transifex.com/oca/OCA-" +"reporting-engine-8-0/language/vi_VN/)\n" +"Language: vi_VN\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: \n" -"Language: vi_VN\n" "Plural-Forms: nplurals=1; plural=0;\n" #. module: bi_view_editor -#: model:ir.actions.act_window,help:bi_view_editor.action_bi_view_editor_view_form -msgid "" -"

    \n" -" Click to create a Custom Query Object.\n" -"

    \n" -"\n" -"

    \n" -" " +#: code:addons/bi_view_editor/models/bve_view.py:415 +#, python-format +msgid "%s (copy)" msgstr "" #. module: bi_view_editor -#: field:bve.view,action_id:0 +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:179 +#, python-format +msgid "(join left)" +msgstr "" + +#. module: bi_view_editor +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_action_id msgid "Action" msgstr "" +#. module: bi_view_editor +#: code:addons/bi_view_editor/models/bve_view.py:409 +#, python-format +msgid "BI View" +msgstr "" + #. module: bi_view_editor #: model:ir.model,name:bi_view_editor.model_bve_view msgid "BI View Editor" msgstr "" +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/js/bi_view_editor.JoinNodeDialog.js:36 +#, python-format +msgid "Cancel" +msgstr "" + +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:18 +#, python-format +msgid "Clear" +msgstr "" + +#. module: bi_view_editor +#: model:ir.actions.act_window,help:bi_view_editor.action_bi_view_editor_view_form +msgid "Click to create a Custom Query Object." +msgstr "" + +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:103 +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:154 +#, python-format +msgid "Column" +msgstr "" + +#. module: bi_view_editor +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form +#, fuzzy +msgid "Create a Menu" +msgstr "Tạo vào" + #. module: bi_view_editor #: selection:bve.view,state:0 msgid "Created" msgstr "" #. module: bi_view_editor -#: field:bve.view,create_uid:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_create_uid msgid "Created by" msgstr "Tạo bởi" #. module: bi_view_editor -#: field:bve.view,create_date:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_create_date msgid "Created on" msgstr "Tạo vào" #. module: bi_view_editor -#: view:bve.view:bi_view_editor.view_bi_view_editor_view_tree +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_tree msgid "Custom BI View" msgstr "" #. module: bi_view_editor -#: sql_constraint:bve.view:0 +#: code:addons/bi_view_editor/models/bve_view.py:64 sql_constraint:bve.view:0 +#, python-format msgid "Custom BI View names must be unique!" msgstr "" @@ -70,7 +113,7 @@ msgid "Custom BI Views" msgstr "" #. module: bi_view_editor -#: view:bve.view:bi_view_editor.view_bi_view_editor_view_form +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form msgid "Custom Object" msgstr "" @@ -80,12 +123,12 @@ msgid "Custom Reports" msgstr "" #. module: bi_view_editor -#: field:bve.view,data:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_data msgid "Data" msgstr "" #. module: bi_view_editor -#: field:bve.view,display_name:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_display_name msgid "Display Name" msgstr "" @@ -95,43 +138,74 @@ msgid "Draft" msgstr "" #. module: bi_view_editor -#: code:addons/bi_view_editor/models/bve_view.py:72 -#, python-format -msgid "Error" -msgstr "" - -#. module: bi_view_editor -#: view:bve.view:bi_view_editor.view_bi_view_editor_view_form +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form msgid "Generate BI View" msgstr "" #. module: bi_view_editor -#: field:bve.view,group_ids:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_group_ids msgid "Groups" msgstr "" #. module: bi_view_editor -#: field:bve.view,id:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_id msgid "ID" msgstr "ID" #. module: bi_view_editor -#: field:bve.view,__last_update:0 +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:137 +#, python-format +msgid "Join Left" +msgstr "" + +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/js/bi_view_editor.JoinNodeDialog.js:30 +#, python-format +msgid "Join..." +msgstr "" + +#. module: bi_view_editor +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view___last_update msgid "Last Modified on" msgstr "" #. module: bi_view_editor -#: field:bve.view,write_uid:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_write_uid msgid "Last Updated by" msgstr "Cập nhật lần cuối bởi" #. module: bi_view_editor -#: field:bve.view,write_date:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_write_date msgid "Last Updated on" msgstr "Cập nhật lần cuối vào" #. module: bi_view_editor -#: field:bve.view,model_name:0 +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:124 +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:157 +#, python-format +msgid "List" +msgstr "" + +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:117 +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:156 +#, python-format +msgid "Measure" +msgstr "" + +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:86 +#, python-format +msgid "Model" +msgstr "" + +#. module: bi_view_editor +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_model_name msgid "Model Name" msgstr "" @@ -141,67 +215,141 @@ msgid "Models" msgstr "" #. module: bi_view_editor -#: field:bve.view,name:0 +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:85 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_name +#, python-format msgid "Name" msgstr "" #. module: bi_view_editor -#: view:bve.view:bi_view_editor.view_bi_view_editor_view_form -#: field:bve.view,note:0 +#: code:addons/bi_view_editor/models/models.py:56 +#, python-format +msgid "No data to be displayed." +msgstr "" + +#. module: bi_view_editor +#: code:addons/bi_view_editor/models/bve_view.py:284 +#, python-format +msgid "No data to process." +msgstr "" + +#. module: bi_view_editor +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_note +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form msgid "Notes" msgstr "" #. module: bi_view_editor -#: view:bve.view:bi_view_editor.view_bi_view_editor_view_form +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form msgid "Open BI View" msgstr "" #. module: bi_view_editor -#: view:bve.view:bi_view_editor.view_bi_view_editor_view_form +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:87 +#, python-format +msgid "Options" +msgstr "" + +#. module: bi_view_editor +#: code:addons/bi_view_editor/models/bve_view.py:224 +#, python-format +msgid "Please select at least one group on the security tab." +msgstr "" + +#. module: bi_view_editor +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form msgid "Query" msgstr "" #. module: bi_view_editor -#: view:bve.view:bi_view_editor.view_bi_view_editor_view_form +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form msgid "Reset to Draft" msgstr "" #. module: bi_view_editor -#: view:bve.view:bi_view_editor.view_bi_view_editor_view_form +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:110 +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:155 +#, python-format +msgid "Row" +msgstr "" + +#. module: bi_view_editor +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form msgid "Security" msgstr "" #. module: bi_view_editor -#: field:bve.view,state:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_state msgid "State" msgstr "" #. module: bi_view_editor -#: help:bve.view,data:0 +#: model:ir.actions.act_window,name:bi_view_editor.action_bi_view_editor_translations +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form +msgid "Translations" +msgstr "" + +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:30 +#, python-format +msgid "Use the existing node" +msgstr "" + +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:34 +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:43 +#, python-format +msgid "Use the field" +msgstr "" + +#. module: bi_view_editor +#: model:ir.model.fields,help:bi_view_editor.field_bve_view_data msgid "" "Use the special query builder to define the query to generate your report " "dataset. NOTE: To be edited, the query should be in 'Draft' status." msgstr "" #. module: bi_view_editor -#: help:bve.view,group_ids:0 +#: model:ir.model.fields,help:bi_view_editor.field_bve_view_group_ids msgid "" "User groups allowed to see the generated report; if NO groups are specified " "the report will be public for everyone." msgstr "" #. module: bi_view_editor -#: field:bve.view,user_ids:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_user_ids msgid "Users" msgstr "" #. module: bi_view_editor -#: field:bve.view,view_id:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_view_id msgid "View" msgstr "" #. module: bi_view_editor -#: code:addons/bi_view_editor/models/bve_view.py:73 +#: code:addons/bi_view_editor/models/bve_view.py:456 #, python-format msgid "You cannot delete a created view! Reset the view to draft first." msgstr "" + +#. module: bi_view_editor +#: model:ir.model,name:bi_view_editor.model_base +msgid "base" +msgstr "" + +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:39 +#, python-format +msgid "new" +msgstr "" + +#. module: bi_view_editor +#: model:ir.model,name:bi_view_editor.model_wizard_ir_model_menu_create +msgid "wizard.ir.model.menu.create" +msgstr "" diff --git a/bi_view_editor/i18n/zh_CN.po b/bi_view_editor/i18n/zh_CN.po index 77eeaf6ea..5c20e4986 100644 --- a/bi_view_editor/i18n/zh_CN.po +++ b/bi_view_editor/i18n/zh_CN.po @@ -1,7 +1,7 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: # * bi_view_editor -# +# # Translators: msgid "" msgstr "" @@ -10,56 +10,99 @@ msgstr "" "POT-Creation-Date: 2017-01-07 05:41+0000\n" "PO-Revision-Date: 2016-03-21 15:33+0000\n" "Last-Translator: <>\n" -"Language-Team: Chinese (China) (http://www.transifex.com/oca/OCA-reporting-engine-8-0/language/zh_CN/)\n" +"Language-Team: Chinese (China) (http://www.transifex.com/oca/OCA-reporting-" +"engine-8-0/language/zh_CN/)\n" +"Language: zh_CN\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: \n" -"Language: zh_CN\n" "Plural-Forms: nplurals=1; plural=0;\n" #. module: bi_view_editor -#: model:ir.actions.act_window,help:bi_view_editor.action_bi_view_editor_view_form -msgid "" -"

    \n" -" Click to create a Custom Query Object.\n" -"

    \n" -"\n" -"

    \n" -" " +#: code:addons/bi_view_editor/models/bve_view.py:415 +#, python-format +msgid "%s (copy)" msgstr "" #. module: bi_view_editor -#: field:bve.view,action_id:0 +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:179 +#, python-format +msgid "(join left)" +msgstr "" + +#. module: bi_view_editor +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_action_id msgid "Action" msgstr "" +#. module: bi_view_editor +#: code:addons/bi_view_editor/models/bve_view.py:409 +#, python-format +msgid "BI View" +msgstr "" + #. module: bi_view_editor #: model:ir.model,name:bi_view_editor.model_bve_view msgid "BI View Editor" msgstr "" +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/js/bi_view_editor.JoinNodeDialog.js:36 +#, python-format +msgid "Cancel" +msgstr "" + +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:18 +#, python-format +msgid "Clear" +msgstr "" + +#. module: bi_view_editor +#: model:ir.actions.act_window,help:bi_view_editor.action_bi_view_editor_view_form +msgid "Click to create a Custom Query Object." +msgstr "" + +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:103 +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:154 +#, python-format +msgid "Column" +msgstr "" + +#. module: bi_view_editor +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form +#, fuzzy +msgid "Create a Menu" +msgstr "创建时间" + #. module: bi_view_editor #: selection:bve.view,state:0 msgid "Created" msgstr "" #. module: bi_view_editor -#: field:bve.view,create_uid:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_create_uid msgid "Created by" msgstr "创建者" #. module: bi_view_editor -#: field:bve.view,create_date:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_create_date msgid "Created on" msgstr "创建时间" #. module: bi_view_editor -#: view:bve.view:bi_view_editor.view_bi_view_editor_view_tree +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_tree msgid "Custom BI View" msgstr "" #. module: bi_view_editor -#: sql_constraint:bve.view:0 +#: code:addons/bi_view_editor/models/bve_view.py:64 sql_constraint:bve.view:0 +#, python-format msgid "Custom BI View names must be unique!" msgstr "" @@ -70,7 +113,7 @@ msgid "Custom BI Views" msgstr "" #. module: bi_view_editor -#: view:bve.view:bi_view_editor.view_bi_view_editor_view_form +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form msgid "Custom Object" msgstr "" @@ -80,12 +123,12 @@ msgid "Custom Reports" msgstr "" #. module: bi_view_editor -#: field:bve.view,data:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_data msgid "Data" msgstr "" #. module: bi_view_editor -#: field:bve.view,display_name:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_display_name msgid "Display Name" msgstr "显示名称" @@ -95,43 +138,74 @@ msgid "Draft" msgstr "" #. module: bi_view_editor -#: code:addons/bi_view_editor/models/bve_view.py:72 -#, python-format -msgid "Error" -msgstr "" - -#. module: bi_view_editor -#: view:bve.view:bi_view_editor.view_bi_view_editor_view_form +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form msgid "Generate BI View" msgstr "" #. module: bi_view_editor -#: field:bve.view,group_ids:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_group_ids msgid "Groups" msgstr "" #. module: bi_view_editor -#: field:bve.view,id:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_id msgid "ID" msgstr "ID" #. module: bi_view_editor -#: field:bve.view,__last_update:0 +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:137 +#, python-format +msgid "Join Left" +msgstr "" + +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/js/bi_view_editor.JoinNodeDialog.js:30 +#, python-format +msgid "Join..." +msgstr "" + +#. module: bi_view_editor +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view___last_update msgid "Last Modified on" msgstr "最后修改时间" #. module: bi_view_editor -#: field:bve.view,write_uid:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_write_uid msgid "Last Updated by" msgstr "最后更新者" #. module: bi_view_editor -#: field:bve.view,write_date:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_write_date msgid "Last Updated on" msgstr "上次更新日期" #. module: bi_view_editor -#: field:bve.view,model_name:0 +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:124 +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:157 +#, python-format +msgid "List" +msgstr "" + +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:117 +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:156 +#, python-format +msgid "Measure" +msgstr "" + +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:86 +#, python-format +msgid "Model" +msgstr "" + +#. module: bi_view_editor +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_model_name msgid "Model Name" msgstr "" @@ -141,67 +215,141 @@ msgid "Models" msgstr "" #. module: bi_view_editor -#: field:bve.view,name:0 +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:85 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_name +#, python-format msgid "Name" msgstr "名称" #. module: bi_view_editor -#: view:bve.view:bi_view_editor.view_bi_view_editor_view_form -#: field:bve.view,note:0 +#: code:addons/bi_view_editor/models/models.py:56 +#, python-format +msgid "No data to be displayed." +msgstr "" + +#. module: bi_view_editor +#: code:addons/bi_view_editor/models/bve_view.py:284 +#, python-format +msgid "No data to process." +msgstr "" + +#. module: bi_view_editor +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_note +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form msgid "Notes" msgstr "" #. module: bi_view_editor -#: view:bve.view:bi_view_editor.view_bi_view_editor_view_form +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form msgid "Open BI View" msgstr "" #. module: bi_view_editor -#: view:bve.view:bi_view_editor.view_bi_view_editor_view_form +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:87 +#, python-format +msgid "Options" +msgstr "" + +#. module: bi_view_editor +#: code:addons/bi_view_editor/models/bve_view.py:224 +#, python-format +msgid "Please select at least one group on the security tab." +msgstr "" + +#. module: bi_view_editor +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form msgid "Query" msgstr "" #. module: bi_view_editor -#: view:bve.view:bi_view_editor.view_bi_view_editor_view_form +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form msgid "Reset to Draft" msgstr "" #. module: bi_view_editor -#: view:bve.view:bi_view_editor.view_bi_view_editor_view_form +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:110 +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:155 +#, python-format +msgid "Row" +msgstr "" + +#. module: bi_view_editor +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form msgid "Security" msgstr "安全" #. module: bi_view_editor -#: field:bve.view,state:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_state msgid "State" msgstr "" #. module: bi_view_editor -#: help:bve.view,data:0 +#: model:ir.actions.act_window,name:bi_view_editor.action_bi_view_editor_translations +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form +msgid "Translations" +msgstr "" + +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:30 +#, python-format +msgid "Use the existing node" +msgstr "" + +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:34 +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:43 +#, python-format +msgid "Use the field" +msgstr "" + +#. module: bi_view_editor +#: model:ir.model.fields,help:bi_view_editor.field_bve_view_data msgid "" "Use the special query builder to define the query to generate your report " "dataset. NOTE: To be edited, the query should be in 'Draft' status." msgstr "" #. module: bi_view_editor -#: help:bve.view,group_ids:0 +#: model:ir.model.fields,help:bi_view_editor.field_bve_view_group_ids msgid "" "User groups allowed to see the generated report; if NO groups are specified " "the report will be public for everyone." msgstr "" #. module: bi_view_editor -#: field:bve.view,user_ids:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_user_ids msgid "Users" msgstr "用户" #. module: bi_view_editor -#: field:bve.view,view_id:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_view_id msgid "View" msgstr "" #. module: bi_view_editor -#: code:addons/bi_view_editor/models/bve_view.py:73 +#: code:addons/bi_view_editor/models/bve_view.py:456 #, python-format msgid "You cannot delete a created view! Reset the view to draft first." msgstr "" + +#. module: bi_view_editor +#: model:ir.model,name:bi_view_editor.model_base +msgid "base" +msgstr "" + +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:39 +#, python-format +msgid "new" +msgstr "" + +#. module: bi_view_editor +#: model:ir.model,name:bi_view_editor.model_wizard_ir_model_menu_create +msgid "wizard.ir.model.menu.create" +msgstr "" diff --git a/bi_view_editor/i18n/zh_TW.po b/bi_view_editor/i18n/zh_TW.po index 4f54cca5e..a287282ed 100644 --- a/bi_view_editor/i18n/zh_TW.po +++ b/bi_view_editor/i18n/zh_TW.po @@ -1,7 +1,7 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: # * bi_view_editor -# +# # Translators: msgid "" msgstr "" @@ -10,56 +10,99 @@ msgstr "" "POT-Creation-Date: 2016-09-18 04:34+0000\n" "PO-Revision-Date: 2016-03-21 15:33+0000\n" "Last-Translator: <>\n" -"Language-Team: Chinese (Taiwan) (http://www.transifex.com/oca/OCA-reporting-engine-8-0/language/zh_TW/)\n" +"Language-Team: Chinese (Taiwan) (http://www.transifex.com/oca/OCA-reporting-" +"engine-8-0/language/zh_TW/)\n" +"Language: zh_TW\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: \n" -"Language: zh_TW\n" "Plural-Forms: nplurals=1; plural=0;\n" #. module: bi_view_editor -#: model:ir.actions.act_window,help:bi_view_editor.action_bi_view_editor_view_form -msgid "" -"

    \n" -" Click to create a Custom Query Object.\n" -"

    \n" -"\n" -"

    \n" -" " +#: code:addons/bi_view_editor/models/bve_view.py:415 +#, python-format +msgid "%s (copy)" msgstr "" #. module: bi_view_editor -#: field:bve.view,action_id:0 +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:179 +#, python-format +msgid "(join left)" +msgstr "" + +#. module: bi_view_editor +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_action_id msgid "Action" msgstr "" +#. module: bi_view_editor +#: code:addons/bi_view_editor/models/bve_view.py:409 +#, python-format +msgid "BI View" +msgstr "" + #. module: bi_view_editor #: model:ir.model,name:bi_view_editor.model_bve_view msgid "BI View Editor" msgstr "" +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/js/bi_view_editor.JoinNodeDialog.js:36 +#, python-format +msgid "Cancel" +msgstr "" + +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:18 +#, python-format +msgid "Clear" +msgstr "" + +#. module: bi_view_editor +#: model:ir.actions.act_window,help:bi_view_editor.action_bi_view_editor_view_form +msgid "Click to create a Custom Query Object." +msgstr "" + +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:103 +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:154 +#, python-format +msgid "Column" +msgstr "" + +#. module: bi_view_editor +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form +#, fuzzy +msgid "Create a Menu" +msgstr "建立於" + #. module: bi_view_editor #: selection:bve.view,state:0 msgid "Created" msgstr "" #. module: bi_view_editor -#: field:bve.view,create_uid:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_create_uid msgid "Created by" msgstr "建立者" #. module: bi_view_editor -#: field:bve.view,create_date:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_create_date msgid "Created on" msgstr "建立於" #. module: bi_view_editor -#: view:bve.view:bi_view_editor.view_bi_view_editor_view_tree +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_tree msgid "Custom BI View" msgstr "" #. module: bi_view_editor -#: sql_constraint:bve.view:0 +#: code:addons/bi_view_editor/models/bve_view.py:64 sql_constraint:bve.view:0 +#, python-format msgid "Custom BI View names must be unique!" msgstr "" @@ -70,7 +113,7 @@ msgid "Custom BI Views" msgstr "" #. module: bi_view_editor -#: view:bve.view:bi_view_editor.view_bi_view_editor_view_form +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form msgid "Custom Object" msgstr "" @@ -80,12 +123,12 @@ msgid "Custom Reports" msgstr "" #. module: bi_view_editor -#: field:bve.view,data:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_data msgid "Data" msgstr "" #. module: bi_view_editor -#: field:bve.view,display_name:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_display_name msgid "Display Name" msgstr "顯示名稱" @@ -95,43 +138,74 @@ msgid "Draft" msgstr "" #. module: bi_view_editor -#: code:addons/bi_view_editor/models/bve_view.py:72 -#, python-format -msgid "Error" -msgstr "" - -#. module: bi_view_editor -#: view:bve.view:bi_view_editor.view_bi_view_editor_view_form +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form msgid "Generate BI View" msgstr "" #. module: bi_view_editor -#: field:bve.view,group_ids:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_group_ids msgid "Groups" msgstr "" #. module: bi_view_editor -#: field:bve.view,id:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_id msgid "ID" msgstr "編號" #. module: bi_view_editor -#: field:bve.view,__last_update:0 +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:137 +#, python-format +msgid "Join Left" +msgstr "" + +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/js/bi_view_editor.JoinNodeDialog.js:30 +#, python-format +msgid "Join..." +msgstr "" + +#. module: bi_view_editor +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view___last_update msgid "Last Modified on" msgstr "最後修改:" #. module: bi_view_editor -#: field:bve.view,write_uid:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_write_uid msgid "Last Updated by" msgstr "最後更新:" #. module: bi_view_editor -#: field:bve.view,write_date:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_write_date msgid "Last Updated on" msgstr "最後更新於" #. module: bi_view_editor -#: field:bve.view,model_name:0 +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:124 +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:157 +#, python-format +msgid "List" +msgstr "" + +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:117 +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:156 +#, python-format +msgid "Measure" +msgstr "" + +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:86 +#, python-format +msgid "Model" +msgstr "" + +#. module: bi_view_editor +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_model_name msgid "Model Name" msgstr "" @@ -141,67 +215,141 @@ msgid "Models" msgstr "" #. module: bi_view_editor -#: field:bve.view,name:0 +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:85 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_name +#, python-format msgid "Name" msgstr "名稱" #. module: bi_view_editor -#: view:bve.view:bi_view_editor.view_bi_view_editor_view_form -#: field:bve.view,note:0 +#: code:addons/bi_view_editor/models/models.py:56 +#, python-format +msgid "No data to be displayed." +msgstr "" + +#. module: bi_view_editor +#: code:addons/bi_view_editor/models/bve_view.py:284 +#, python-format +msgid "No data to process." +msgstr "" + +#. module: bi_view_editor +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_note +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form msgid "Notes" msgstr "" #. module: bi_view_editor -#: view:bve.view:bi_view_editor.view_bi_view_editor_view_form +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form msgid "Open BI View" msgstr "" #. module: bi_view_editor -#: view:bve.view:bi_view_editor.view_bi_view_editor_view_form +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:87 +#, python-format +msgid "Options" +msgstr "" + +#. module: bi_view_editor +#: code:addons/bi_view_editor/models/bve_view.py:224 +#, python-format +msgid "Please select at least one group on the security tab." +msgstr "" + +#. module: bi_view_editor +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form msgid "Query" msgstr "" #. module: bi_view_editor -#: view:bve.view:bi_view_editor.view_bi_view_editor_view_form +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form msgid "Reset to Draft" msgstr "" #. module: bi_view_editor -#: view:bve.view:bi_view_editor.view_bi_view_editor_view_form +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:110 +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:155 +#, python-format +msgid "Row" +msgstr "" + +#. module: bi_view_editor +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form msgid "Security" msgstr "安全" #. module: bi_view_editor -#: field:bve.view,state:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_state msgid "State" msgstr "" #. module: bi_view_editor -#: help:bve.view,data:0 +#: model:ir.actions.act_window,name:bi_view_editor.action_bi_view_editor_translations +#: model:ir.ui.view,arch_db:bi_view_editor.view_bi_view_editor_view_form +msgid "Translations" +msgstr "" + +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:30 +#, python-format +msgid "Use the existing node" +msgstr "" + +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:34 +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:43 +#, python-format +msgid "Use the field" +msgstr "" + +#. module: bi_view_editor +#: model:ir.model.fields,help:bi_view_editor.field_bve_view_data msgid "" "Use the special query builder to define the query to generate your report " "dataset. NOTE: To be edited, the query should be in 'Draft' status." msgstr "" #. module: bi_view_editor -#: help:bve.view,group_ids:0 +#: model:ir.model.fields,help:bi_view_editor.field_bve_view_group_ids msgid "" "User groups allowed to see the generated report; if NO groups are specified " "the report will be public for everyone." msgstr "" #. module: bi_view_editor -#: field:bve.view,user_ids:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_user_ids msgid "Users" msgstr "" #. module: bi_view_editor -#: field:bve.view,view_id:0 +#: model:ir.model.fields,field_description:bi_view_editor.field_bve_view_view_id msgid "View" msgstr "" #. module: bi_view_editor -#: code:addons/bi_view_editor/models/bve_view.py:73 +#: code:addons/bi_view_editor/models/bve_view.py:456 #, python-format msgid "You cannot delete a created view! Reset the view to draft first." msgstr "" + +#. module: bi_view_editor +#: model:ir.model,name:bi_view_editor.model_base +msgid "base" +msgstr "" + +#. module: bi_view_editor +#. openerp-web +#: code:addons/bi_view_editor/static/src/xml/bi_view_editor.xml:39 +#, python-format +msgid "new" +msgstr "" + +#. module: bi_view_editor +#: model:ir.model,name:bi_view_editor.model_wizard_ir_model_menu_create +msgid "wizard.ir.model.menu.create" +msgstr "" From cd6ba396d58e66df28be2c25676d497096d86c22 Mon Sep 17 00:00:00 2001 From: Andrea Date: Thu, 6 Jun 2019 13:20:20 +0200 Subject: [PATCH 043/404] [12.0][MIG] bi_view_editor --- bi_view_editor/__manifest__.py | 7 +- bi_view_editor/hooks.py | 4 +- .../migrations/10.0.1.0.2/post-migrate.py | 51 -- bi_view_editor/models/__init__.py | 1 + bi_view_editor/models/bve_view.py | 496 +++++++++++------- bi_view_editor/models/bve_view_line.py | 63 +++ bi_view_editor/models/ir_model.py | 213 ++++---- bi_view_editor/models/models.py | 12 +- bi_view_editor/readme/ROADMAP.rst | 1 - bi_view_editor/security/ir.model.access.csv | 1 + .../static/src/js/bi_view_editor.FieldList.js | 114 +--- .../src/js/bi_view_editor.JoinNodeDialog.js | 16 +- .../static/src/js/bi_view_editor.ModelList.js | 34 +- .../static/src/js/bi_view_editor.js | 22 +- .../static/src/xml/bi_view_editor.xml | 18 +- bi_view_editor/templates/assets_template.xml | 24 +- bi_view_editor/tests/test_bi_view.py | 320 ++++++++--- bi_view_editor/views/bve_view.xml | 24 + .../wizard/wizard_ir_model_menu_create.py | 6 +- 19 files changed, 791 insertions(+), 636 deletions(-) delete mode 100644 bi_view_editor/migrations/10.0.1.0.2/post-migrate.py create mode 100644 bi_view_editor/models/bve_view_line.py diff --git a/bi_view_editor/__manifest__.py b/bi_view_editor/__manifest__.py index 77b6e44ba..49bb30943 100644 --- a/bi_view_editor/__manifest__.py +++ b/bi_view_editor/__manifest__.py @@ -1,4 +1,4 @@ -# Copyright 2015-2018 Onestein () +# Copyright 2015-2019 Onestein () # License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl). { @@ -9,11 +9,10 @@ 'license': 'AGPL-3', 'website': 'https://github.com/OCA/reporting-engine', 'category': 'Reporting', - 'version': '11.0.1.0.0', + 'version': '12.0.1.0.0', + 'development_status': 'Beta', 'depends': [ - 'base', 'web', - 'base_sparse_field' ], 'data': [ 'security/ir.model.access.csv', diff --git a/bi_view_editor/hooks.py b/bi_view_editor/hooks.py index 75746381e..dee77f94a 100644 --- a/bi_view_editor/hooks.py +++ b/bi_view_editor/hooks.py @@ -1,4 +1,4 @@ -# Copyright 2015-2018 Onestein () +# Copyright 2015-2019 Onestein () # License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl). import logging @@ -12,7 +12,7 @@ _logger = logging.getLogger(__name__) def _bi_view(_name): - return _name[0:6] == 'x_bve.' + return _name.startswith('x_bve.') def post_load(): diff --git a/bi_view_editor/migrations/10.0.1.0.2/post-migrate.py b/bi_view_editor/migrations/10.0.1.0.2/post-migrate.py deleted file mode 100644 index 806bb2d68..000000000 --- a/bi_view_editor/migrations/10.0.1.0.2/post-migrate.py +++ /dev/null @@ -1,51 +0,0 @@ -# -*- coding: utf-8 -*- -# Copyright 2018 Simone Rubino - Agile Business Group -# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). - -from openupgradelib.openupgrade import logged_query, migrate -import json - - -@migrate() -def migrate(env, version): - cr = env.cr - convert_text_to_serialized( - cr, env['bve.view']._table, env['bve.view']._fields['data'].name) - pass - - -def convert_text_to_serialized( - cr, table, text_field_name, serialized_field_name=None): - """ - Convert Text field value to Serialized value. - """ - if not serialized_field_name: - serialized_field_name = text_field_name - select_query = """ -SELECT - id, - %(text_field_name)s -FROM %(table)s -WHERE %(text_field_name)s IS NOT NULL -""" - cr.execute( - select_query % { - 'text_field_name': text_field_name, - 'table': table, - } - ) - update_query = """ -UPDATE %(table)s - SET %(serialized_field_name)s = %%(field_value)s - WHERE id = %(record_id)d -""" - for row in cr.fetchall(): - # Fill in the field_value later because it needs escaping - row_update_query = update_query % { - 'serialized_field_name': serialized_field_name, - 'table': table, - 'record_id': row[0]} - logged_query( - cr, row_update_query, { - 'field_value': json.dumps(row[1]) - }) diff --git a/bi_view_editor/models/__init__.py b/bi_view_editor/models/__init__.py index cacf524bd..b8e17515d 100644 --- a/bi_view_editor/models/__init__.py +++ b/bi_view_editor/models/__init__.py @@ -2,4 +2,5 @@ from . import models from . import bve_view +from . import bve_view_line from . import ir_model diff --git a/bi_view_editor/models/bve_view.py b/bi_view_editor/models/bve_view.py index d7042cfde..c3a8fe038 100644 --- a/bi_view_editor/models/bve_view.py +++ b/bi_view_editor/models/bve_view.py @@ -1,49 +1,81 @@ -# Copyright 2015-2018 Onestein () +# Copyright 2015-2019 Onestein () # License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl). import json +from psycopg2.extensions import AsIs -from odoo import api, fields, models, tools -from odoo.exceptions import UserError -from odoo.tools.translate import _ - -from odoo.addons.base_sparse_field.models.fields import Serialized +from odoo import _, api, fields, models, tools +from odoo.exceptions import UserError, ValidationError class BveView(models.Model): _name = 'bve.view' _description = 'BI View Editor' - @api.depends('group_ids') - @api.multi + @api.depends('group_ids', 'group_ids.users') def _compute_users(self): - for bve_view in self: - group_ids = bve_view.sudo().group_ids - if group_ids: - bve_view.user_ids = group_ids.mapped('users') + for bve_view in self.sudo(): + if bve_view.group_ids: + bve_view.user_ids = bve_view.group_ids.mapped('users') else: bve_view.user_ids = self.env['res.users'].sudo().search([]) @api.depends('name') - @api.multi def _compute_model_name(self): for bve_view in self: name = [x for x in bve_view.name.lower() if x.isalnum()] model_name = ''.join(name).replace('_', '.').replace(' ', '.') bve_view.model_name = 'x_bve.' + model_name + def _compute_serialized_data(self): + for bve_view in self: + serialized_data = [] + for line in bve_view.line_ids.sorted(key=lambda r: r.sequence): + serialized_data_dict = { + 'sequence': line.sequence, + 'model_id': line.model_id.id, + 'id': line.field_id.id, + 'name': line.name, + 'model_name': line.model_id.name, + 'model': line.model_id.model, + 'type': line.ttype, + 'table_alias': line.table_alias, + 'description': line.description, + 'row': line.row, + 'column': line.column, + 'measure': line.measure, + 'list': line.in_list, + } + if line.join_node: + serialized_data_dict.update({ + 'join_node': line.join_node, + 'relation': line.relation, + }) + serialized_data += [serialized_data_dict] + bve_view.data = json.dumps(serialized_data) + + def _inverse_serialized_data(self): + for bve_view in self: + line_ids = self._sync_lines_and_data(bve_view.data) + bve_view.write({'line_ids': line_ids}) + name = fields.Char(required=True, copy=False) model_name = fields.Char(compute='_compute_model_name', store=True) note = fields.Text(string='Notes') - state = fields.Selection( - [('draft', 'Draft'), - ('created', 'Created')], - default='draft', - copy=False) - data = Serialized( + state = fields.Selection([ + ('draft', 'Draft'), + ('created', 'Created') + ], default='draft', copy=False) + data = fields.Char( + compute='_compute_serialized_data', + inverse='_inverse_serialized_data', help="Use the special query builder to define the query " "to generate your report dataset. " "NOTE: To be edited, the query should be in 'Draft' status.") + line_ids = fields.One2many( + 'bve.view.line', + 'bve_view_id', + string='Lines') action_id = fields.Many2one('ir.actions.act_window', string='Action') view_id = fields.Many2one('ir.ui.view', string='View') group_ids = fields.Many2many( @@ -57,6 +89,7 @@ class BveView(models.Model): string='Users', compute='_compute_users', store=True) + query = fields.Text() _sql_constraints = [ ('name_uniq', @@ -68,31 +101,20 @@ class BveView(models.Model): def _create_view_arch(self): self.ensure_one() - def _get_field_def(name, def_type=''): - if not def_type: - return '' - return """""".format( - name, def_type - ) + def _get_field_def(name, def_type): + return """""".format(name, def_type) - def _get_field_type(field_info): - row = field_info['row'] and 'row' - column = field_info['column'] and 'col' - measure = field_info['measure'] and 'measure' + def _get_field_type(line): + row = line.row and 'row' + column = line.column and 'col' + measure = line.measure and 'measure' return row or column or measure - def _get_field_list(fields_info): - view_fields = [] - for field_info in fields_info: - field_name = field_info['name'] - def_type = _get_field_type(field_info) - if def_type: - field_def = _get_field_def(field_name, def_type) - view_fields.append(field_def) - return view_fields - - fields_info = json.loads(self.data) - view_fields = _get_field_list(fields_info) + view_fields = [] + for line in self.line_ids: + def_type = _get_field_type(line) + if def_type: + view_fields.append(_get_field_def(line.name, def_type)) return view_fields @api.multi @@ -100,22 +122,12 @@ class BveView(models.Model): self.ensure_one() def _get_field_def(name): - return """""".format( - name - ) + return """""".format(name) - def _get_field_list(fields_info): - view_fields = [] - for field_info in fields_info: - field_name = field_info['name'] - if field_info['list'] and 'join_node' not in field_info: - field_def = _get_field_def(field_name) - view_fields.append(field_def) - return view_fields - - fields_info = json.loads(self.data) - - view_fields = _get_field_list(fields_info) + view_fields = [] + for line in self.line_ids: + if line.in_list and not line.join_node: + view_fields.append(_get_field_def(line.name)) return view_fields @api.multi @@ -160,8 +172,7 @@ class BveView(models.Model): """.format("".join(self._create_view_arch())) }] - for vals in view_vals: - View.sudo().create(vals) + View.sudo().create(view_vals) # create Tree view tree_view = View.sudo().create({ @@ -199,132 +210,105 @@ class BveView(models.Model): def _build_access_rules(self, model): self.ensure_one() - def group_ids_with_access(model_name, access_mode): - # pylint: disable=sql-injection - self.env.cr.execute('''SELECT - g.id - FROM - ir_model_access a - JOIN ir_model m ON (a.model_id=m.id) - JOIN res_groups g ON (a.group_id=g.id) - WHERE - m.model=%s AND - a.active = true AND - a.perm_''' + access_mode, (model_name,)) - res = self.env.cr.fetchall() - return [x[0] for x in res] - - info = json.loads(self.data) - model_names = list(set([f['model'] for f in info])) - read_groups = set.intersection(*[set( - group_ids_with_access(model_name, 'read') - ) for model_name in model_names]) - - if not read_groups and not self.group_ids: - raise UserError(_('Please select at least one group' - ' on the security tab.')) - - # read access - for group in read_groups: + if not self.group_ids: self.env['ir.model.access'].sudo().create({ 'name': 'read access to ' + self.model_name, 'model_id': model.id, - 'group_id': group, 'perm_read': True, }) + else: + # read access only to model + access_vals = [] + for group in self.group_ids: + access_vals += [{ + 'name': 'read access to ' + self.model_name, + 'model_id': model.id, + 'group_id': group.id, + 'perm_read': True + }] + self.env['ir.model.access'].sudo().create(access_vals) - # read and write access - for group in self.group_ids: - self.env['ir.model.access'].sudo().create({ - 'name': 'read-write access to ' + self.model_name, - 'model_id': model.id, - 'group_id': group.id, - 'perm_read': True, - 'perm_write': True, - }) - - @api.model + @api.multi def _create_sql_view(self): + self.ensure_one() - def get_fields_info(fields_data): + def get_fields_info(lines): fields_info = [] - for field_data in fields_data: - field = self.env['ir.model.fields'].browse(field_data['id']) + for line in lines: vals = { - 'table': self.env[field.model_id.model]._table, - 'table_alias': field_data['table_alias'], - 'select_field': field.name, - 'as_field': 'x_' + field_data['name'], - 'join': False, - 'model': field.model_id.model + 'table': self.env[line.field_id.model_id.model]._table, + 'table_alias': line.table_alias, + 'select_field': line.field_id.name, + 'as_field': line.name, + 'join': line.join_node, } - if field_data.get('join_node'): - vals.update({'join': field_data['join_node']}) fields_info.append(vals) return fields_info def get_join_nodes(info): - join_nodes = [ - (f['table_alias'], - f['join'], - f['select_field']) for f in info if f['join'] is not False] - return join_nodes + return [( + f['table_alias'], + f['join'], + f['select_field'] + ) for f in info if f['join']] def get_tables(info): - tables = set([(f['table'], f['table_alias']) for f in info]) - return tables + return set([(f['table'], f['table_alias']) for f in info]) - def get_fields(info): - return [("{}.{}".format(f['table_alias'], - f['select_field']), - f['as_field']) for f in info if 'join_node' not in f] + def get_select_fields(info): + first_field = [(info[0]['table_alias'] + ".id", "id")] + next_fields = [ + ("{}.{}".format(f['table_alias'], f['select_field']), + f['as_field']) for f in info if 'join_node' not in f + ] + return first_field + next_fields - def check_empty_data(data): - if not data or data == '[]': - raise UserError(_('No data to process.')) + if not self.line_ids: + raise UserError(_('No data to process.')) - check_empty_data(self.data) - - formatted_data = json.loads(self.data) - info = get_fields_info(formatted_data) - select_fields = get_fields(info) + info = get_fields_info(self.line_ids) + select_fields = get_select_fields(info) tables = get_tables(info) join_nodes = get_join_nodes(info) - table_name = self.model_name.replace('.', '_') + view_name = self.model_name.replace('.', '_') + select_str = ', '.join(["{} AS {}".format(f[0], f[1]) + for f in select_fields]) + from_str = ', '.join(["{} AS {}".format(t[0], t[1]) + for t in list(tables)]) + where_str = " AND ".join(["{}.{} = {}.id".format(j[0], j[2], j[1]) + for j in join_nodes]) # robustness in case something went wrong - # pylint: disable=sql-injection - self._cr.execute('DROP TABLE IF EXISTS "%s"' % table_name) + self._cr.execute('DROP TABLE IF EXISTS %s', (AsIs(view_name), )) - basic_fields = [ - ("t0.id", "id") - ] - # pylint: disable=sql-injection - q = """CREATE or REPLACE VIEW %s as ( + self.query = """ SELECT %s - FROM %s - WHERE %s - )""" % (table_name, ','.join( - ["{} AS {}".format(f[0], f[1]) - for f in basic_fields + select_fields]), ','.join( - ["{} AS {}".format(t[0], t[1]) - for t in list(tables)]), " AND ".join( - ["{}.{} = {}.id".format(j[0], j[2], j[1]) - for j in join_nodes] + ["TRUE"])) - self.env.cr.execute(q) + FROM %s + """ % (AsIs(select_str), AsIs(from_str), ) + if where_str: + self.query += """ + WHERE %s + """ % (AsIs(where_str), ) + + self.env.cr.execute( + """CREATE or REPLACE VIEW %s as ( + %s + )""", (AsIs(view_name), AsIs(self.query), )) @api.multi def action_translations(self): self.ensure_one() + if self.state != 'created': + return model = self.env['ir.model'].sudo().search([ ('model', '=', self.model_name) ]) - translation_obj = self.env['ir.translation'].sudo() - translation_obj.translate_fields('ir.model', model.id) + IrTranslation = self.env['ir.translation'].sudo() + IrTranslation.translate_fields('ir.model', model.id) for field_id in model.field_id.ids: - translation_obj.translate_fields('ir.model.fields', field_id) + IrTranslation.translate_fields('ir.model.fields', field_id) return { 'name': 'Translations', 'res_model': 'ir.translation', @@ -348,53 +332,51 @@ class BveView(models.Model): def action_create(self): self.ensure_one() - def _prepare_field(field_data): - if not field_data['custom']: - field = self.env['ir.model.fields'].browse(field_data['id']) - vals = { - 'name': 'x_' + field_data['name'], - 'complete_name': field.complete_name, - 'model': self.model_name, - 'relation': field.relation, - 'field_description': field_data.get( - 'description', field.field_description), - 'ttype': field.ttype, - 'selection': field.selection, - 'size': field.size, - 'state': 'manual', - 'readonly': True - } - if vals['ttype'] == 'monetary': - vals.update({'ttype': 'float'}) - if field.ttype == 'selection' and not field.selection: - model_obj = self.env[field.model_id.model] - selection = model_obj._fields[field.name].selection - if callable(selection): - selection_domain = selection(model_obj) - else: - selection_domain = selection - vals.update({'selection': str(selection_domain)}) - return vals + def _prepare_field(line): + field = line.field_id + vals = { + 'name': line.name, + 'complete_name': field.complete_name, + 'model': self.model_name, + 'relation': field.relation, + 'field_description': line.description, + 'ttype': field.ttype, + 'selection': field.selection, + 'size': field.size, + 'state': 'manual', + 'readonly': True, + 'groups': [(6, 0, field.groups.ids)], + } + if vals['ttype'] == 'monetary': + vals.update({'ttype': 'float'}) + if field.ttype == 'selection' and not field.selection: + model_obj = self.env[field.model_id.model] + selection = model_obj._fields[field.name].selection + if callable(selection): + selection_domain = selection(model_obj) + else: + selection_domain = selection + vals.update({'selection': str(selection_domain)}) + return vals - # clean dirty view (in case something went wrong) - self.action_reset() + self._check_invalid_lines() + self._check_groups_consistency() + + # force removal of dirty views in case something went wrong + self.sudo().action_reset() # create sql view self._create_sql_view() # create model and fields - data = json.loads(self.data) - model_vals = { + fields_data = self.line_ids.filtered(lambda l: not l.join_node) + field_ids = [(0, 0, _prepare_field(f)) for f in fields_data] + model = self.env['ir.model'].sudo().with_context(bve=True).create({ 'name': self.name, 'model': self.model_name, 'state': 'manual', - 'field_id': [ - (0, 0, _prepare_field(field)) - for field in data - if 'join_node' not in field] - } - Model = self.env['ir.model'].sudo().with_context(bve=True) - model = Model.create(model_vals) + 'field_id': field_ids, + }) # give access rights self._build_access_rules(model) @@ -402,9 +384,59 @@ class BveView(models.Model): # create tree, graph and pivot views self._create_bve_view() + def _check_groups_consistency(self): + self.ensure_one() + + if not self.group_ids: + return + + for line_model in self.line_ids.mapped('model_id'): + res_count = self.env['ir.model.access'].sudo().search([ + ('model_id', '=', line_model.id), + ('perm_read', '=', True), + '|', + ('group_id', '=', False), + ('group_id', 'in', self.group_ids.ids), + ], limit=1) + if not res_count: + access_records = self.env['ir.model.access'].sudo().search([ + ('model_id', '=', line_model.id), + ('perm_read', '=', True), + ]) + group_list = '' + for group in access_records.mapped('group_id'): + group_list += ' * %s\n' % (group.full_name, ) + msg_title = _( + 'The model "%s" cannot be accessed by users with the ' + 'selected groups only.' % (line_model.name, )) + msg_details = _( + 'At least one of the following groups must be added:') + raise UserError(_( + '%s\n\n%s\n%s' % (msg_title, msg_details, group_list,) + )) + + def _check_invalid_lines(self): + self.ensure_one() + if any(not line.model_id for line in self.line_ids): + invalid_lines = self.line_ids.filtered(lambda l: not l.model_id) + missing_models = set(invalid_lines.mapped('model_name')) + missing_models = ', '.join(missing_models) + raise UserError(_( + 'Following models are missing: %s.\n' + 'Probably some modules were uninstalled.' % (missing_models,) + )) + if any(not line.field_id for line in self.line_ids): + invalid_lines = self.line_ids.filtered(lambda l: not l.field_id) + missing_fields = set(invalid_lines.mapped('field_name')) + missing_fields = ', '.join(missing_fields) + raise UserError(_( + 'Following fields are missing: %s.' % (missing_fields,) + )) + @api.multi def open_view(self): self.ensure_one() + self._check_invalid_lines() [action] = self.action_id.read() action['display_name'] = _('BI View') return action @@ -413,7 +445,7 @@ class BveView(models.Model): def copy(self, default=None): self.ensure_one() default = dict(default or {}, name=_("%s (copy)") % self.name) - return super(BveView, self).copy(default=default) + return super().copy(default=default) @api.multi def action_reset(self): @@ -422,23 +454,22 @@ class BveView(models.Model): has_menus = False if self.action_id: action = 'ir.actions.act_window,%d' % (self.action_id.id,) - menus = self.env['ir.ui.menu'].sudo().search([ + menus = self.env['ir.ui.menu'].search([ ('action', '=', action) ]) has_menus = True if menus else False menus.unlink() if self.action_id.view_id: - self.action_id.view_id.sudo().unlink() - self.action_id.sudo().unlink() + self.sudo().action_id.view_id.unlink() + self.sudo().action_id.unlink() self.env['ir.ui.view'].sudo().search( [('model', '=', self.model_name)]).unlink() - ir_models = self.env['ir.model'].sudo().search([ - ('model', '=', self.model_name) - ]) - for model in ir_models: - model.unlink() + models_to_delete = self.env['ir.model'].sudo().search([ + ('model', '=', self.model_name)]) + if models_to_delete: + models_to_delete.unlink() table_name = self.model_name.replace('.', '_') tools.drop_view_if_exists(self.env.cr, table_name) @@ -450,9 +481,74 @@ class BveView(models.Model): @api.multi def unlink(self): + if self.filtered(lambda v: v.state == 'created'): + raise UserError( + _('You cannot delete a created view! ' + 'Reset the view to draft first.')) + return super().unlink() + + @api.model + def _sync_lines_and_data(self, data): + line_ids = [(5, 0, 0)] + fields_info = {} + if data: + fields_info = json.loads(data) + + table_model_map = {} + for item in fields_info: + if item.get('join_node', -1) == -1: + table_model_map[item['table_alias']] = item['model_id'] + + for sequence, field_info in enumerate(fields_info, start=1): + join_model_id = False + join_node = field_info.get('join_node', -1) + if join_node != -1 and table_model_map.get(join_node): + join_model_id = int(table_model_map[join_node]) + + line_ids += [(0, False, { + 'sequence': sequence, + 'model_id': field_info['model_id'], + 'table_alias': field_info['table_alias'], + 'description': field_info['description'], + 'field_id': field_info['id'], + 'ttype': field_info['type'], + 'row': field_info['row'], + 'column': field_info['column'], + 'measure': field_info['measure'], + 'in_list': field_info['list'], + 'relation': field_info.get('relation'), + 'join_node': field_info.get('join_node'), + 'join_model_id': join_model_id, + })] + return line_ids + + @api.constrains('line_ids') + def _constraint_line_ids(self): for view in self: - if view.state == 'created': - raise UserError( - _('You cannot delete a created view! ' - 'Reset the view to draft first.')) - return super(BveView, self).unlink() + nodes = view.line_ids.filtered(lambda n: n.join_node) + nodes_models = nodes.mapped('table_alias') + nodes_models += nodes.mapped('join_node') + not_nodes = view.line_ids.filtered(lambda n: not n.join_node) + not_nodes_models = not_nodes.mapped('table_alias') + err_msg = _('Inconsistent lines.') + if set(nodes_models) - set(not_nodes_models): + raise ValidationError(err_msg) + if len(set(not_nodes_models) - set(nodes_models)) > 1: + raise ValidationError(err_msg) + + @api.model + def get_clean_list(self, data_dict): + serialized_data = json.loads(data_dict) + table_alias_list = set() + for item in serialized_data: + if item.get('join_node', -1) == -1: + table_alias_list.add(item['table_alias']) + + for item in serialized_data: + if item.get('join_node', -1) != -1: + if item['table_alias'] not in table_alias_list: + serialized_data.remove(item) + elif item['join_node'] not in table_alias_list: + serialized_data.remove(item) + + return json.dumps(serialized_data) diff --git a/bi_view_editor/models/bve_view_line.py b/bi_view_editor/models/bve_view_line.py new file mode 100644 index 000000000..ab30e8858 --- /dev/null +++ b/bi_view_editor/models/bve_view_line.py @@ -0,0 +1,63 @@ +# Copyright 2015-2019 Onestein () +# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl). + +from odoo import _, api, fields, models +from odoo.exceptions import ValidationError + + +class BveViewLine(models.Model): + _name = 'bve.view.line' + _description = 'BI View Editor Lines' + + name = fields.Char(compute='_compute_name') + sequence = fields.Integer(default=1) + bve_view_id = fields.Many2one('bve.view', ondelete='cascade') + model_id = fields.Many2one('ir.model', string='Model') + model_name = fields.Char(compute='_compute_model_name', store=True) + table_alias = fields.Char() + join_model_id = fields.Many2one('ir.model', string='Join Model') + field_id = fields.Many2one('ir.model.fields', string='Field') + field_name = fields.Char(compute='_compute_model_field_name', store=True) + ttype = fields.Char(string='Type') + description = fields.Char(translate=True) + relation = fields.Char() + join_node = fields.Char() + + row = fields.Boolean() + column = fields.Boolean() + measure = fields.Boolean() + in_list = fields.Boolean() + + @api.constrains('row', 'column', 'measure') + def _constrains_options_check(self): + measure_types = ['float', 'integer', 'monetary'] + for line in self: + if line.row or line.column: + if line.join_model_id or line.ttype in measure_types: + err_msg = _('This field cannot be a row or a column.') + raise ValidationError(err_msg) + if line.measure: + if line.join_model_id or line.ttype not in measure_types: + err_msg = _('This field cannot be a measure.') + raise ValidationError(err_msg) + + @api.depends('field_id', 'sequence') + def _compute_name(self): + for line in self: + if line.field_id: + field_name = line.field_id.name + line.name = 'x_bve_%s_%s' % (line.sequence, field_name,) + + @api.depends('model_id') + def _compute_model_name(self): + for line in self: + if line.model_id: + line.model_name = line.model_id.model + + @api.depends('field_id') + def _compute_model_field_name(self): + for line in self: + if line.field_id: + field_name = line.description + model_name = line.model_name + line.field_name = '%s (%s)' % (field_name, model_name, ) diff --git a/bi_view_editor/models/ir_model.py b/bi_view_editor/models/ir_model.py index 2003b2097..b3ce86cc2 100644 --- a/bi_view_editor/models/ir_model.py +++ b/bi_view_editor/models/ir_model.py @@ -1,6 +1,8 @@ -# Copyright 2015-2018 Onestein () +# Copyright 2015-2019 Onestein () # License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl). +from collections import defaultdict + from odoo import api, models, registry NO_BI_MODELS = [ @@ -9,14 +11,6 @@ NO_BI_MODELS = [ 'fetchmail.server' ] -NO_BI_FIELDS = [ - 'id', - 'create_uid', - 'create_date', - 'write_uid', - 'write_date' -] - NO_BI_TTYPES = [ 'many2many', 'one2many', @@ -73,8 +67,8 @@ class IrModel(models.Model): return 1 return 0 - def _check_unknow(model_name): - if model_name == 'Unknow' or '.' in model_name: + def _check_unknown(model_name): + if model_name == 'Unknown' or '.' in model_name: return 1 return 0 @@ -84,7 +78,7 @@ class IrModel(models.Model): count_check += _check_name(model_model) count_check += _check_startswith(model_model) count_check += _check_contains(model_model) - count_check += _check_unknow(model_name) + count_check += _check_unknown(model_name) if not count_check: return self.env['ir.model.access'].check( model['model'], 'read', False) @@ -97,100 +91,72 @@ class IrModel(models.Model): key=lambda x: x['name']) return res - @api.model - def _search_fields(self, domain): - Fields = self.env['ir.model.fields'] - fields = Fields.sudo().search(domain) - return fields + def get_model_list(self, model_table_map): + if not model_table_map: + return [] + domain = [('model_id', 'in', list(model_table_map.keys())), + ('store', '=', True), + ('ttype', '=', 'many2one')] + fields = self.env['ir.model.fields'].sudo().search(domain) + model_list = [] + for field in fields: + for table_alias in model_table_map[field.model_id.id]: + model_list.append(dict( + dict_for_field(field), + table_alias=table_alias, + join_node=-1, + )) + return model_list - @api.model - def get_related_fields(self, model_ids): - """ Return list of field dicts for all fields that can be - joined with models in model_ids - """ - - def get_model_list(model_ids): - model_list = [] - domain = [('model_id', 'in', list(model_ids.values())), - ('store', '=', True), - ('ttype', 'in', ['many2one'])] - filtered_fields = self._search_fields(domain) - for model in model_ids.items(): - for field in filtered_fields: - if model[1] == field.model_id.id: - model_list.append( - dict(dict_for_field(field), - join_node=-1, - table_alias=model[0]) - ) - return model_list - - def get_relation_list(model_ids, model_names): - relation_list = [] - domain = [('relation', 'in', list(model_names.values())), - ('store', '=', True), - ('ttype', 'in', ['many2one'])] - filtered_fields = self._search_fields(domain) - for model in model_ids.items(): - for field in filtered_fields: - if model_names[model[1]] == field['relation']: - relation_list.append( - dict(dict_for_field(field), - join_node=model[0], - table_alias=-1) - ) - return relation_list - - models = self.sudo().browse(model_ids.values()) + def get_relation_list(self, model_table_map): + if not model_table_map: + return [] model_names = {} - for model in models: - model_names.update({model.id: model.model}) + for model in self.sudo().browse(model_table_map.keys()): + model_names.update({model.model: model.id}) - model_list = get_model_list(model_ids) - relation_list = get_relation_list(model_ids, model_names) - - return relation_list + model_list + domain = [('relation', 'in', list(model_names.keys())), + ('store', '=', True), + ('ttype', '=', 'many2one')] + fields = self.env['ir.model.fields'].sudo().search(domain) + relation_list = [] + for field in fields: + model_id = model_names[field.relation] + for join_node in model_table_map[model_id]: + relation_list.append(dict( + dict_for_field(field), + join_node=join_node, + table_alias=-1 + )) + return relation_list @api.model - def get_related_models(self, model_ids): + def get_related_models(self, model_table_map): """ Return list of model dicts for all models that can be joined with the already selected models. """ - - def _get_field(fields, orig, target): - field_list = [] - for f in fields: - if f[orig] == -1: - field_list.append(f[target]) - return field_list - - def _get_list_id(model_ids, fields): - list_model = list(model_ids.values()) - list_model += _get_field(fields, 'table_alias', 'model_id') - return list_model - - def _get_list_relation(fields): - list_model = _get_field(fields, 'join_node', 'relation') - return list_model - - models_list = [] - related_fields = self.get_related_fields(model_ids) - list_id = _get_list_id(model_ids, related_fields) - list_model = _get_list_relation(related_fields) - domain = ['|', - ('id', 'in', list_id), - ('model', 'in', list_model)] - for model in self.sudo().search(domain): - models_list.append(dict_for_model(model)) - return self.sort_filter_models(models_list) + domain = [('transient', '=', False)] + if model_table_map: + model_list = self.get_model_list(model_table_map) + relation_list = self.get_relation_list(model_table_map) + model_ids = [f['model_id'] for f in relation_list + model_list] + model_ids += list(model_table_map.keys()) + relations = [f['relation'] for f in model_list] + domain += [ + '|', ('id', 'in', model_ids), ('model', 'in', relations)] + return self.sudo().search(domain) @api.model - def get_models(self): + def get_models(self, table_model_map=None): """ Return list of model dicts for all available models. """ + self = self.with_context(lang=self.env.user.lang) + model_table_map = defaultdict(list) + for k, v in (table_model_map or {}).items(): + model_table_map[v].append(k) models_list = [] - for model in self.search([('transient', '=', False)]): + for model in self.get_related_models(model_table_map): models_list.append(dict_for_model(model)) return self.sort_filter_models(models_list) @@ -201,21 +167,23 @@ class IrModel(models.Model): Return all possible join nodes to add new_field to the query containing model_ids. """ - def _get_model_ids(field_data): - model_ids = dict([(field['table_alias'], - field['model_id']) for field in field_data]) - return model_ids + def _get_model_table_map(field_data): + table_map = defaultdict(list) + for data in field_data: + table_map[data['model_id']].append(data['table_alias']) + return table_map - def _get_join_nodes_dict(model_ids, new_field): + def _get_join_nodes_dict(model_table_map, new_field): join_nodes = [] - for alias, model_id in model_ids.items(): - if model_id == new_field['model_id']: - join_nodes.append({'table_alias': alias}) - for field in self.get_related_fields(model_ids): - c = [field['join_node'] == -1, field['table_alias'] == -1] - a = (new_field['model'] == field['relation']) - b = (new_field['model_id'] == field['model_id']) - if (a and c[0]) or (b and c[1]): + for alias in model_table_map[new_field['model_id']]: + join_nodes.append({'table_alias': alias}) + + for field in self.get_model_list(model_table_map): + if new_field['model'] == field['relation']: + join_nodes.append(field) + + for field in self.get_relation_list(model_table_map): + if new_field['model_id'] == field['model_id']: join_nodes.append(field) return join_nodes @@ -229,10 +197,11 @@ class IrModel(models.Model): nodes_list.append(node) return nodes_list - model_ids = _get_model_ids(field_data) + self = self.with_context(lang=self.env.user.lang) + model_table_map = _get_model_table_map(field_data) keys = [(field['table_alias'], field['id']) for field in field_data if field.get('join_node', -1) != -1] - join_nodes = _get_join_nodes_dict(model_ids, new_field) + join_nodes = _get_join_nodes_dict(model_table_map, new_field) join_nodes = remove_duplicate_nodes(join_nodes) return list(filter( @@ -241,38 +210,34 @@ class IrModel(models.Model): @api.model def get_fields(self, model_id): + self = self.with_context(lang=self.env.user.lang) domain = [ ('model_id', '=', model_id), ('store', '=', True), - ('name', 'not in', NO_BI_FIELDS), + ('name', 'not in', models.MAGIC_COLUMNS), ('ttype', 'not in', NO_BI_TTYPES) ] fields_dict = [] - filtered_fields = self._search_fields(domain) - for field in filtered_fields: - fields_dict.append( - {'id': field.id, - 'model_id': model_id, - 'name': field.name, - 'description': field.field_description, - 'type': field.ttype, - 'custom': False, - 'model': field.model_id.model, - 'model_name': field.model_id.name - } - ) - sorted_fields = sorted( + for field in self.env['ir.model.fields'].sudo().search(domain): + fields_dict.append({ + 'id': field.id, + 'model_id': model_id, + 'name': field.name, + 'description': field.field_description, + 'type': field.ttype, + 'model': field.model, + }) + return sorted( fields_dict, key=lambda x: x['description'], reverse=True ) - return sorted_fields @api.model def create(self, vals): if self.env.context and self.env.context.get('bve'): vals['state'] = 'base' - res = super(IrModel, self).create(vals) + res = super().create(vals) # this sql update is necessary since a write method here would # be not working (an orm constraint is restricting the modification diff --git a/bi_view_editor/models/models.py b/bi_view_editor/models/models.py index 546b44b54..ae95bf5b3 100644 --- a/bi_view_editor/models/models.py +++ b/bi_view_editor/models/models.py @@ -1,4 +1,4 @@ -# Copyright 2017-2018 Onestein () +# Copyright 2017-2019 Onestein () # License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl). import logging @@ -11,7 +11,7 @@ _logger = logging.getLogger(__name__) @api.model def _bi_view(_name): - return _name[0:6] == 'x_bve.' + return _name.startswith('x_bve.') _auto_init_orig = models.BaseModel._auto_init @@ -41,23 +41,23 @@ class Base(models.AbstractModel): @api.model def _setup_complete(self): if not _bi_view(self._name): - super(Base, self)._setup_complete() + super()._setup_complete() else: self.pool.models[self._name]._log_access = False @api.model def _read_group_process_groupby(self, gb, query): if not _bi_view(self._name): - return super(Base, self)._read_group_process_groupby(gb, query) + return super()._read_group_process_groupby(gb, query) split = gb.split(':') if split[0] not in self._fields: raise UserError( _('No data to be displayed.')) - return super(Base, self)._read_group_process_groupby(gb, query) + return super()._read_group_process_groupby(gb, query) @api.model def _add_magic_fields(self): if _bi_view(self._name): self._log_access = False - return super(Base, self)._add_magic_fields() + return super()._add_magic_fields() diff --git a/bi_view_editor/readme/ROADMAP.rst b/bi_view_editor/readme/ROADMAP.rst index 4d261c614..0a98a82b4 100644 --- a/bi_view_editor/readme/ROADMAP.rst +++ b/bi_view_editor/readme/ROADMAP.rst @@ -6,5 +6,4 @@ * Find better ways to extend the *_auto_init()* without override * Possibly avoid the monkey patches * Data the user has no access to (e.g. in a multi company situation) can be viewed by making a view -* Store the JSON data structure in ORM * Would be nice if models available to select when creating a view are limited to the ones that have intersecting groups (for non technical users) diff --git a/bi_view_editor/security/ir.model.access.csv b/bi_view_editor/security/ir.model.access.csv index 81d91dc47..dd6cc2daf 100644 --- a/bi_view_editor/security/ir.model.access.csv +++ b/bi_view_editor/security/ir.model.access.csv @@ -1,2 +1,3 @@ id,name,model_id:id,group_id:id,perm_read,perm_write,perm_create,perm_unlink access_bve_view_everyone,bve.view,bi_view_editor.model_bve_view,,1,1,1,1 +access_bve_view_line,access_bve_view_line,model_bve_view_line,,1,1,1,1 diff --git a/bi_view_editor/static/src/js/bi_view_editor.FieldList.js b/bi_view_editor/static/src/js/bi_view_editor.FieldList.js index 087db3023..2525e2231 100644 --- a/bi_view_editor/static/src/js/bi_view_editor.FieldList.js +++ b/bi_view_editor/static/src/js/bi_view_editor.FieldList.js @@ -1,4 +1,4 @@ -/* Copyright 2015-2018 Onestein () +/* Copyright 2015-2019 Onestein () * License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl). */ odoo.define('bi_view_editor.FieldList', function (require) { @@ -12,18 +12,18 @@ odoo.define('bi_view_editor.FieldList', function (require) { start: function () { var res = this._super.apply(this, arguments); this.$el.mouseleave(function () { - $(this).addClass('hidden'); + $(this).addClass('d-none'); }); return res; }, open: function (x, y) { this.$el.css({ 'left': x + 'px', - 'top': y + 'px' + 'top': y + 'px', }); - this.$el.removeClass('hidden'); + this.$el.removeClass('d-none'); return _.extend({}, window.Backbone.Events); - } + }, }); var FieldListFieldContextMenu = FieldListContextMenu.extend({ @@ -55,7 +55,7 @@ odoo.define('bi_view_editor.FieldList', function (require) { }); return events; - } + }, }); var FieldListJoinContextMenu = FieldListContextMenu.extend({ @@ -72,14 +72,14 @@ odoo.define('bi_view_editor.FieldList', function (require) { events.trigger('change', node); }); return events; - } + }, }); var FieldList = Widget.extend({ template: 'bi_view_editor.FieldList', events: { 'click .delete-button': 'removeClicked', - 'keyup input[name="description"]': 'keyupDescription' + 'keyup input[name="description"]': 'keyupDescription', }, start: function () { var res = this._super.apply(this, arguments); @@ -94,10 +94,10 @@ odoo.define('bi_view_editor.FieldList', function (require) { setMode: function (mode) { if (mode === 'readonly') { this.$el.find('input[type="text"]').attr('disabled', true); - this.$el.find(".delete-button:last").addClass('hidden'); + this.$el.find(".delete-button").addClass('d-none'); } else { this.$el.find('input[type="text"]').removeAttr('disabled'); - this.$el.find(".delete-button:last").removeClass('hidden'); + this.$el.find(".delete-button").removeClass('d-none'); } this.mode = mode; }, @@ -122,7 +122,7 @@ odoo.define('bi_view_editor.FieldList', function (require) { var data = $(this).data('field'); model_data[data.table_alias] = { model_id: data.model_id, - model_name: data.model_name + model_name: data.model_name, }; }); return model_data; @@ -149,7 +149,7 @@ odoo.define('bi_view_editor.FieldList', function (require) { // Render table row var $html = $(qweb.render(field.join_node ? 'bi_view_editor.JoinListItem' : 'bi_view_editor.FieldListItem', { - 'field': field + 'field': field, })).data('field', field).contextmenu(function (e) { var $item = $(this); if (self.mode === 'readonly') { @@ -160,17 +160,10 @@ odoo.define('bi_view_editor.FieldList', function (require) { }); this.$el.find('tbody').append($html); - - this.$el.find(".delete-button").addClass('hidden'); - this.$el.find(".delete-button:last").removeClass('hidden'); - this.order(); }, remove: function (id) { var $item = this.$el.find('tr[data-id="' + id + '"]'); $item.remove(); - this.cleanJoinNodes(); - this.$el.find(".delete-button").addClass('hidden'); - this.$el.find(".delete-button:last").removeClass('hidden'); this.trigger('removed', id); }, set: function (fields) { @@ -182,8 +175,6 @@ odoo.define('bi_view_editor.FieldList', function (require) { for (var i = 0; i < set_fields.length; i++) { this.add(set_fields[i]); } - this.$el.find(".delete-button").addClass('hidden'); - this.$el.find(".delete-button:last").removeClass('hidden'); }, openContextMenu: function ($item, x, y) { var field = $item.data('field'); @@ -205,9 +196,9 @@ odoo.define('bi_view_editor.FieldList', function (require) { var $attribute = $(this); var value = data[$attribute.attr('data-for')]; if (value) { - $attribute.removeClass('hidden'); + $attribute.removeClass('d-none'); } else { - $attribute.addClass('hidden'); + $attribute.addClass('d-none'); } }); }, @@ -219,87 +210,12 @@ odoo.define('bi_view_editor.FieldList', function (require) { keyupDescription: function () { this.trigger('updated'); }, - cleanJoinNodes: function () { - var aliases = $.makeArray(this.$el.find("tbody tr").map(function () { - var data = $(this).data('field'); - return data.table_alias.localeCompare(data.join_node) > 0 ? data.join_node : data.table_alias; - })); - - this.$el.find("tbody tr").each(function () { - var data = $(this).data('field'); - if (typeof data.join_node === 'undefined') { - return; - } - var no_alias = data.table_alias.localeCompare(data.join_node) > 0 && - aliases.indexOf(data.table_alias) === -1; - if (no_alias || - aliases.indexOf(data.join_node) === -1) { - $(this).remove(); - } - }); - }, - getOrder: function () { - var items = this.get(); - var ordered = items.sort(function (a, b) { - var res = a.table_alias.localeCompare(b.table_alias); - if (res === 0) { - var both_join_node = a.join_node && b.join_node; - var both_not_join_node = !a.join_node && !b.join_node; - if (both_join_node || both_not_join_node) { - return 0; - } else if (!a.join_node && b.join_node) { - if (b.table_alias.localeCompare(b.join_node) > 0) { - return 1; - } - return -1; - } else if (a.join_node && !b.join_node) { - if (a.table_alias.localeCompare(a.join_node) > 0) { - return -1; - } - return 1; - } - } - return res; - }); - - var res = []; - _.each(ordered, function (item) { - var already_exists = _.findIndex(res, function (f) { - return f._id === item._id; - }) !== -1; - if (already_exists) { - return; - } - res.push(item); - if (item.join_node) { - var join_node_fields = _.filter(ordered, function (f) { - return f.table_alias === item.join_node && !f.join_node; - }); - res = _.union(res, join_node_fields); - } - }); - return res; - }, - order: function () { - var order = this.getOrder(); - var $rows = this.$el.find("tbody tr"); - - $rows.sort(function (a, b) { - var a_index = _.findIndex(order, function (item) { - return item._id === $(a).data('field')._id; - }); - var b_index = _.findIndex(order, function (item) { - return item._id === $(b).data('field')._id; - }); - return a_index - b_index; - }).appendTo(this.$el.find("tbody")); - } }); return { 'FieldList': FieldList, 'FieldListContextMenu': FieldListContextMenu, 'FieldListFieldContextMenu': FieldListFieldContextMenu, - 'FieldListJoinContextMenu': FieldListJoinContextMenu + 'FieldListJoinContextMenu': FieldListJoinContextMenu, }; }); diff --git a/bi_view_editor/static/src/js/bi_view_editor.JoinNodeDialog.js b/bi_view_editor/static/src/js/bi_view_editor.JoinNodeDialog.js index e04343290..bbb1ec8fe 100644 --- a/bi_view_editor/static/src/js/bi_view_editor.JoinNodeDialog.js +++ b/bi_view_editor/static/src/js/bi_view_editor.JoinNodeDialog.js @@ -1,4 +1,4 @@ -/* Copyright 2015-2018 Onestein () +/* Copyright 2015-2019 Onestein () * License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl). */ odoo.define('bi_view_editor.JoinNodeDialog', function (require) { @@ -11,10 +11,10 @@ odoo.define('bi_view_editor.JoinNodeDialog', function (require) { var JoinNodeDialog = Dialog.extend({ xmlDependencies: Dialog.prototype.xmlDependencies.concat([ - '/bi_view_editor/static/src/xml/bi_view_editor.xml' + '/bi_view_editor/static/src/xml/bi_view_editor.xml', ]), events: { - "click li": "choiceClicked" + "click li": "choiceClicked", }, init: function (parent, options, choices, model_data) { this.choices = choices; @@ -30,22 +30,22 @@ odoo.define('bi_view_editor.JoinNodeDialog', function (require) { title: _t("Join..."), dialogClass: 'oe_act_window', $content: qweb.render('bi_view_editor.JoinNodeDialog', { - 'choices': choices + 'choices': choices, }), buttons: [{ text: _t("Cancel"), classes: "btn-default o_form_button_cancel", - close: true - }] + close: true, + }], }); this._super(parent, defaults); }, choiceClicked: function (e) { this.trigger('chosen', { - choice: this.choices[$(e.currentTarget).attr('data-index')] + choice: this.choices[$(e.currentTarget).attr('data-index')], }); this.close(); - } + }, }); return JoinNodeDialog; diff --git a/bi_view_editor/static/src/js/bi_view_editor.ModelList.js b/bi_view_editor/static/src/js/bi_view_editor.ModelList.js index 96bca43ca..588cea8d3 100644 --- a/bi_view_editor/static/src/js/bi_view_editor.ModelList.js +++ b/bi_view_editor/static/src/js/bi_view_editor.ModelList.js @@ -1,4 +1,4 @@ -/* Copyright 2015-2018 Onestein () +/* Copyright 2015-2019 Onestein () * License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl). */ odoo.define('bi_view_editor.ModelList', function (require) { @@ -6,13 +6,12 @@ odoo.define('bi_view_editor.ModelList', function (require) { var Widget = require('web.Widget'); var core = require('web.core'); - var session = require('web.session'); var qweb = core.qweb; var ModelList = Widget.extend({ template: 'bi_view_editor.ModelList', events: { - 'keyup .search-bar > input': 'filterChanged' + 'keyup .search-bar > input': 'filterChanged', }, init: function (parent) { var res = this._super(parent); @@ -43,22 +42,10 @@ odoo.define('bi_view_editor.ModelList', function (require) { this.active_models.push(id); }, loadModels: function (model_ids) { - if (model_ids) { - return this._rpc({ - model: 'ir.model', - method: 'get_related_models', - args: [model_ids], - context: { - lang: session.user_context.lang - } - }); - } return this._rpc({ model: 'ir.model', method: 'get_models', - context: { - lang: session.user_context.lang - } + args: model_ids ? [model_ids] : [], }); }, loadFields: function (model_id) { @@ -67,9 +54,6 @@ odoo.define('bi_view_editor.ModelList', function (require) { model: 'ir.model', method: 'get_fields', args: [model_id], - context: { - lang: session.user_context.lang - } }); this.cache_fields[model_id] = deferred; } @@ -83,7 +67,7 @@ odoo.define('bi_view_editor.ModelList', function (require) { var $html = $(qweb.render('bi_view_editor.ModelListItem', { 'id': model.id, 'model': model.model, - 'name': model.name + 'name': model.name, })); $html.find('.class').data('model', model).click(function () { self.modelClicked($(this)); @@ -110,7 +94,7 @@ odoo.define('bi_view_editor.ModelList', function (require) { _.each(fields, function (field) { var $field = $(qweb.render('bi_view_editor.ModelListFieldItem', { name: field.name, - description: field.description + description: field.description, })).data('field', field).click(function () { self.fieldClicked($(this)); }).draggable({ @@ -118,7 +102,7 @@ odoo.define('bi_view_editor.ModelList', function (require) { 'scroll': false, 'helper': 'clone', 'appendTo': 'body', - 'containment': 'window' + 'containment': 'window', }); $model_item.after($field); @@ -157,13 +141,13 @@ odoo.define('bi_view_editor.ModelList', function (require) { var data = $(this).data('model'); if (data.name.toLowerCase().indexOf(val) === -1 && data.model.toLowerCase().indexOf(val) === -1) { - $(this).addClass('hidden'); + $(this).addClass('d-none'); } else { - $(this).removeClass('hidden'); + $(this).removeClass('d-none'); } }); this.current_filter = val; - } + }, }); return ModelList; diff --git a/bi_view_editor/static/src/js/bi_view_editor.js b/bi_view_editor/static/src/js/bi_view_editor.js index ed3a231db..2b8abba3c 100644 --- a/bi_view_editor/static/src/js/bi_view_editor.js +++ b/bi_view_editor/static/src/js/bi_view_editor.js @@ -1,4 +1,4 @@ -/* Copyright 2015-2018 Onestein () +/* Copyright 2015-2019 Onestein () * License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl). */ odoo.define('bi_view_editor', function (require) { @@ -15,7 +15,7 @@ odoo.define('bi_view_editor', function (require) { var BiViewEditor = AbstractField.extend({ template: "bi_view_editor.Frame", events: { - "click .clear-btn": "clear" + "click .clear-btn": "clear", }, start: function () { var self = this; @@ -39,7 +39,7 @@ odoo.define('bi_view_editor', function (require) { drop: function (event, ui) { self.addField(_.extend({}, ui.draggable.data('field'))); ui.draggable.draggable('option', 'revert', false); - } + }, }); this.on("change:effective_readonly", this, function () { @@ -62,18 +62,23 @@ odoo.define('bi_view_editor', function (require) { }, fieldListRemoved: function () { console.log(this.field_list.get()); - this.loadAndPopulateModelList(); this._setValue(this.field_list.get()); + var model = new Data.DataSet(this, "bve.view"); + model.call('get_clean_list', [this.value]).then(function (result) { + this.field_list.set(JSON.parse(result)); + this._setValue(this.field_list.get()); + }.bind(this)); + this.loadAndPopulateModelList(); }, renderValue: function () { this.field_list.set(JSON.parse(this.value)); }, updateMode: function () { if (this.mode === 'readonly') { - this.$el.find('.clear-btn').addClass('hidden'); + this.$el.find('.clear-btn').addClass('d-none'); this.$el.find(".body .right").droppable("option", "disabled", true); } else { - this.$el.find('.clear-btn').removeClass('hidden'); + this.$el.find('.clear-btn').removeClass('d-none'); this.$el.find('.body .right').droppable('option', 'disabled', false); } this.field_list.setMode(this.mode); @@ -129,8 +134,7 @@ odoo.define('bi_view_editor', function (require) { this.addFieldAndJoinNode(data, e.choice); }); } else { - var table_alias = this.getTableAlias(data); - data.table_alias = table_alias; + data.table_alias = this.getTableAlias(data); this.field_list.add(data); this.loadAndPopulateModelList(); this._setValue(this.field_list.get()); @@ -139,7 +143,7 @@ odoo.define('bi_view_editor', function (require) { }, _parseValue: function (value) { return JSON.stringify(value); - } + }, }); field_registry.add('BVEEditor', BiViewEditor); diff --git a/bi_view_editor/static/src/xml/bi_view_editor.xml b/bi_view_editor/static/src/xml/bi_view_editor.xml index fb82e7964..a5e6aaec2 100644 --- a/bi_view_editor/static/src/xml/bi_view_editor.xml +++ b/bi_view_editor/static/src/xml/bi_view_editor.xml @@ -15,7 +15,7 @@
    @@ -96,7 +96,7 @@ -