From be68d150d1adbd3fb2c0883e7c43ffbef8f46216 Mon Sep 17 00:00:00 2001 From: Lois Rilo Date: Wed, 8 Jul 2020 17:30:44 +0200 Subject: [PATCH 01/96] [11.0][ADD] filter_multi_user --- filter_multi_user/README.rst | 93 ++++ filter_multi_user/__init__.py | 1 + filter_multi_user/__manifest__.py | 21 + filter_multi_user/models/__init__.py | 1 + filter_multi_user/models/ir_filters.py | 27 ++ filter_multi_user/readme/CONFIGURE.rst | 8 + filter_multi_user/readme/CONTRIBUTORS.rst | 1 + filter_multi_user/readme/DESCRIPTION.rst | 1 + .../security/ir_filters_security.xml | 12 + .../static/description/index.html | 434 ++++++++++++++++++ filter_multi_user/tests/__init__.py | 1 + .../tests/test_filter_multi_user.py | 78 ++++ filter_multi_user/views/ir_filters_view.xml | 42 ++ 13 files changed, 720 insertions(+) create mode 100644 filter_multi_user/README.rst create mode 100644 filter_multi_user/__init__.py create mode 100644 filter_multi_user/__manifest__.py create mode 100644 filter_multi_user/models/__init__.py create mode 100644 filter_multi_user/models/ir_filters.py create mode 100644 filter_multi_user/readme/CONFIGURE.rst create mode 100644 filter_multi_user/readme/CONTRIBUTORS.rst create mode 100644 filter_multi_user/readme/DESCRIPTION.rst create mode 100644 filter_multi_user/security/ir_filters_security.xml create mode 100644 filter_multi_user/static/description/index.html create mode 100644 filter_multi_user/tests/__init__.py create mode 100644 filter_multi_user/tests/test_filter_multi_user.py create mode 100644 filter_multi_user/views/ir_filters_view.xml diff --git a/filter_multi_user/README.rst b/filter_multi_user/README.rst new file mode 100644 index 0000000000..02b6cc2e85 --- /dev/null +++ b/filter_multi_user/README.rst @@ -0,0 +1,93 @@ +================= +Filter Multi User +================= + +.. !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + !! 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%2Fserver--ux-lightgray.png?logo=github + :target: https://github.com/OCA/server-ux/tree/11.0/filter_multi_user + :alt: OCA/server-ux +.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png + :target: https://translation.odoo-community.org/projects/server-ux-11-0/server-ux-11-0-filter_multi_user + :alt: Translate me on Weblate +.. |badge5| image:: https://img.shields.io/badge/runbot-Try%20me-875A7B.png + :target: https://runbot.odoo-community.org/runbot/250/11.0 + :alt: Try me on Runbot + +|badge1| |badge2| |badge3| |badge4| |badge5| + +Allows to share user-defined filters among several users. + +**Table of contents** + +.. contents:: + :local: + +Configuration +============= + +To share a filter among several users you need to: + +#. Go to *Settings > Technical > User Interface > User-defined Filters*. +#. Edit a filter and fill the field *Available for users* with the desired + users. +#. The selected users will find the filter available as any other custom filter + under favorites in the search panel. However only the owner will be able to + delete the filter. + +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 +~~~~~~~ + +* ForgeFlow + +Contributors +~~~~~~~~~~~~ + +* Lois Rilo + +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. + +.. |maintainer-LoisRForgeFlow| image:: https://github.com/LoisRForgeFlow.png?size=40px + :target: https://github.com/LoisRForgeFlow + :alt: LoisRForgeFlow + +Current `maintainer `__: + +|maintainer-LoisRForgeFlow| + +This module is part of the `OCA/server-ux `_ project on GitHub. + +You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute. diff --git a/filter_multi_user/__init__.py b/filter_multi_user/__init__.py new file mode 100644 index 0000000000..0650744f6b --- /dev/null +++ b/filter_multi_user/__init__.py @@ -0,0 +1 @@ +from . import models diff --git a/filter_multi_user/__manifest__.py b/filter_multi_user/__manifest__.py new file mode 100644 index 0000000000..354f5af6c1 --- /dev/null +++ b/filter_multi_user/__manifest__.py @@ -0,0 +1,21 @@ +# Copyright 2020 ForgeFlow S.L. +# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl). +{ + "name": "Filter Multi User", + "summary": "Allows to share user-defined filters filters among several users.", + "version": "11.0.1.0.0", + "development_status": "Beta", + "maintainers": ['LoisRForgeFlow'], + "category": "Tools", + "website": "https://github.com/OCA/server-ux", + "author": "ForgeFlow, Odoo Community Association (OCA)", + "license": "AGPL-3", + "installable": True, + "depends": [ + "base", + ], + "data": [ + "security/ir_filters_security.xml", + "views/ir_filters_view.xml", + ], +} diff --git a/filter_multi_user/models/__init__.py b/filter_multi_user/models/__init__.py new file mode 100644 index 0000000000..4c520abbe4 --- /dev/null +++ b/filter_multi_user/models/__init__.py @@ -0,0 +1 @@ +from . import ir_filters diff --git a/filter_multi_user/models/ir_filters.py b/filter_multi_user/models/ir_filters.py new file mode 100644 index 0000000000..3aca7e472b --- /dev/null +++ b/filter_multi_user/models/ir_filters.py @@ -0,0 +1,27 @@ +# Copyright 2020 ForgeFlow S.L. +# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl). + +from odoo import api, fields, models + + +class IrFilters(models.Model): + _inherit = "ir.filters" + + user_ids = fields.Many2many( + comodel_name="res.users", + string="Users", + ) + + @api.model + def get_filters(self, model, action_id=None): + # WARNING: this function overrides the standard one. + # The only change done is in the domain used to search the filters. + action_domain = self._get_action_domain(action_id) + filters = self.search(action_domain + [ + ('model_id', '=', model), + '|', ('user_id', 'in', [self._uid, False]), + ('user_ids', 'in', self._uid), + ]) + user_context = self.env['res.users'].context_get() + return filters.with_context(user_context).read( + ['name', 'is_default', 'domain', 'context', 'user_id', 'sort']) diff --git a/filter_multi_user/readme/CONFIGURE.rst b/filter_multi_user/readme/CONFIGURE.rst new file mode 100644 index 0000000000..fec8c1cde8 --- /dev/null +++ b/filter_multi_user/readme/CONFIGURE.rst @@ -0,0 +1,8 @@ +To share a filter among several users you need to: + +#. Go to *Settings > Technical > User Interface > User-defined Filters*. +#. Edit a filter and fill the field *Available for users* with the desired + users. +#. The selected users will find the filter available as any other custom filter + under favorites in the search panel. However only the owner will be able to + delete the filter. diff --git a/filter_multi_user/readme/CONTRIBUTORS.rst b/filter_multi_user/readme/CONTRIBUTORS.rst new file mode 100644 index 0000000000..77dfbe89e9 --- /dev/null +++ b/filter_multi_user/readme/CONTRIBUTORS.rst @@ -0,0 +1 @@ +* Lois Rilo diff --git a/filter_multi_user/readme/DESCRIPTION.rst b/filter_multi_user/readme/DESCRIPTION.rst new file mode 100644 index 0000000000..cf4b5b22a5 --- /dev/null +++ b/filter_multi_user/readme/DESCRIPTION.rst @@ -0,0 +1 @@ +Allows to share user-defined filters among several users. diff --git a/filter_multi_user/security/ir_filters_security.xml b/filter_multi_user/security/ir_filters_security.xml new file mode 100644 index 0000000000..6b91525da6 --- /dev/null +++ b/filter_multi_user/security/ir_filters_security.xml @@ -0,0 +1,12 @@ + + + + + ir.filters.multiuser + + ['|', ('user_id','in',[False,user.id]), ('user_ids','in',user.id)] + + + + + diff --git a/filter_multi_user/static/description/index.html b/filter_multi_user/static/description/index.html new file mode 100644 index 0000000000..24ba0a500d --- /dev/null +++ b/filter_multi_user/static/description/index.html @@ -0,0 +1,434 @@ + + + + + + +Filter Multi User + + + +
+

Filter Multi User

+ + +

Beta License: AGPL-3 OCA/server-ux Translate me on Weblate Try me on Runbot

+

Allows to share user-defined filters among several users.

+

Table of contents

+ +
+

Configuration

+

To share a filter among several users you need to:

+
    +
  1. Go to Settings > Technical > User Interface > User-defined Filters.
  2. +
  3. Edit a filter and fill the field Available for users with the desired +users.
  4. +
  5. The selected users will find the filter available as any other custom filter +under favorites in the search panel. However only the owner will be able to +delete the filter.
  6. +
+
+
+

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

+
    +
  • ForgeFlow
  • +
+
+ +
+

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.

+

Current maintainer:

+

LoisRForgeFlow

+

This module is part of the OCA/server-ux project on GitHub.

+

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

+
+
+
+ + diff --git a/filter_multi_user/tests/__init__.py b/filter_multi_user/tests/__init__.py new file mode 100644 index 0000000000..1ec5b7eea6 --- /dev/null +++ b/filter_multi_user/tests/__init__.py @@ -0,0 +1 @@ +from . import test_filter_multi_user diff --git a/filter_multi_user/tests/test_filter_multi_user.py b/filter_multi_user/tests/test_filter_multi_user.py new file mode 100644 index 0000000000..78b1c89ccb --- /dev/null +++ b/filter_multi_user/tests/test_filter_multi_user.py @@ -0,0 +1,78 @@ +# Copyright 2020 ForgeFlow S.L. +# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl). + +from odoo.tests import common +from odoo.exceptions import AccessError + + +class TestFilterMultiUser(common.SavepointCase): + + @classmethod + def setUpClass(cls): + super().setUpClass() + cls.filter_model = cls.env["ir.filters"] + cls.user_model = cls.env["res.users"] + + cls.group_user = cls.env.ref("base.group_user") + + cls.user_1 = cls._create_user("user_1", [cls.group_user]) + cls.user_2 = cls._create_user("user_2", [cls.group_user]) + + @classmethod + def _create_user(self, login, groups): + group_ids = [group.id for group in groups] + user = self.user_model.with_context({"no_reset_password": True}).create({ + "name": "Test User", + "login": login, + "password": "demo", + "email": "%s@yourcompany.com" % login, + "groups_id": [(6, 0, group_ids)] + }) + return user + + def test_01_no_multi_user(self): + test_filter = self.filter_model.create({ + "name": "Test filter", + "model_id": "ir.filters", + "user_id": self.user_1.id, + }) + self.assertTrue(test_filter.sudo(self.user_1).name) + with self.assertRaises(AccessError): + self.assertTrue(test_filter.sudo(self.user_2).name) + + def test_02_multi_user(self): + test_filter = self.filter_model.create({ + "name": "Test filter", + "model_id": "ir.filters", + "user_id": self.user_1.id, + "user_ids": [(6, 0, (self.user_1 + self.user_2).ids)], + }) + self.assertTrue(test_filter.sudo(self.user_1).name) + self.assertTrue(test_filter.sudo(self.user_2).name) + + def test_02_get_filters(self): + test_filter_1 = self.filter_model.create({ + "name": "Test filter", + "model_id": "ir.filters", + "user_id": self.user_1.id, + "user_ids": [(6, 0, (self.user_1 + self.user_2).ids)], + }) + test_filter_2 = self.filter_model.create({ + "name": "Test filter 2", + "model_id": "ir.filters", + "user_id": self.user_1.id, + }) + # User 1: + res = self.filter_model.sudo(self.user_1).get_filters("ir.filters") + result = [] + for filter in res: + result.append(filter.get("id")) + self.assertIn(test_filter_1.id, result) + self.assertIn(test_filter_2.id, result) + # User 2: + res = self.filter_model.sudo(self.user_2).get_filters("ir.filters") + result = [] + for filter in res: + result.append(filter.get("id")) + self.assertIn(test_filter_1.id, result) + self.assertNotIn(test_filter_2.id, result) diff --git a/filter_multi_user/views/ir_filters_view.xml b/filter_multi_user/views/ir_filters_view.xml new file mode 100644 index 0000000000..6b54fa2ec2 --- /dev/null +++ b/filter_multi_user/views/ir_filters_view.xml @@ -0,0 +1,42 @@ + + + + + + ir.filters.form - filter_multi_user + ir.filters + + + + + + + Owner + + + + + + ir.filters.tree - filter_multi_user + ir.filters + + + + + + + + + + ir.filters.search - filter_multi_user + ir.filters + + + + + + + + + From ed90c16171ba40434c5ac0f97dd364d58ed12619 Mon Sep 17 00:00:00 2001 From: Lois Rilo Date: Wed, 15 Jul 2020 17:13:45 +0200 Subject: [PATCH 02/96] Apply suggestions from code review Co-authored-by: Simone Orsi --- filter_multi_user/tests/test_filter_multi_user.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/filter_multi_user/tests/test_filter_multi_user.py b/filter_multi_user/tests/test_filter_multi_user.py index 78b1c89ccb..537efa17ab 100644 --- a/filter_multi_user/tests/test_filter_multi_user.py +++ b/filter_multi_user/tests/test_filter_multi_user.py @@ -10,6 +10,9 @@ class TestFilterMultiUser(common.SavepointCase): @classmethod def setUpClass(cls): super().setUpClass() + cls.env = cls.env( + context=dict(cls.env.context, tracking_disable=True, no_reset_password=True) + ) cls.filter_model = cls.env["ir.filters"] cls.user_model = cls.env["res.users"] @@ -21,7 +24,7 @@ def setUpClass(cls): @classmethod def _create_user(self, login, groups): group_ids = [group.id for group in groups] - user = self.user_model.with_context({"no_reset_password": True}).create({ + user = self.user_model.create({ "name": "Test User", "login": login, "password": "demo", From cf7b48abc642079f78d2e37e8e279f912d5e1d4e Mon Sep 17 00:00:00 2001 From: Lois Rilo Date: Wed, 15 Jul 2020 17:51:41 +0200 Subject: [PATCH 03/96] [11.0][IMP] filter_multi_user: add option to select groups [UPD] Update filter_multi_user.pot [UPD] README.rst --- filter_multi_user/README.rst | 6 +-- filter_multi_user/i18n/filter_multi_user.pot | 41 +++++++++++++++++++ filter_multi_user/models/ir_filters.py | 16 ++++++++ filter_multi_user/readme/CONFIGURE.rst | 6 +-- .../static/description/index.html | 8 ++-- .../tests/test_filter_multi_user.py | 21 ++++++++-- filter_multi_user/views/ir_filters_view.xml | 9 ++-- 7 files changed, 91 insertions(+), 16 deletions(-) create mode 100644 filter_multi_user/i18n/filter_multi_user.pot diff --git a/filter_multi_user/README.rst b/filter_multi_user/README.rst index 02b6cc2e85..46d720a33f 100644 --- a/filter_multi_user/README.rst +++ b/filter_multi_user/README.rst @@ -38,9 +38,9 @@ Configuration To share a filter among several users you need to: #. Go to *Settings > Technical > User Interface > User-defined Filters*. -#. Edit a filter and fill the field *Available for users* with the desired - users. -#. The selected users will find the filter available as any other custom filter +#. Edit a filter and fill the fields *Available for users* and/or *Available + for groups* with the desired users/groups. +#. The matched users will find the filter available as any other custom filter under favorites in the search panel. However only the owner will be able to delete the filter. diff --git a/filter_multi_user/i18n/filter_multi_user.pot b/filter_multi_user/i18n/filter_multi_user.pot new file mode 100644 index 0000000000..643d64b614 --- /dev/null +++ b/filter_multi_user/i18n/filter_multi_user.pot @@ -0,0 +1,41 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * filter_multi_user +# +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: filter_multi_user +#: model:ir.model.fields,field_description:filter_multi_user.field_ir_filters_group_ids +msgid "Available for Groups" +msgstr "" + +#. module: filter_multi_user +#: model:ir.model.fields,field_description:filter_multi_user.field_ir_filters_manual_user_ids +#: model:ir.ui.view,arch_db:filter_multi_user.ir_filters_view_tree +msgid "Available for Users" +msgstr "" + +#. module: filter_multi_user +#: model:ir.model,name:filter_multi_user.model_ir_filters +msgid "Filters" +msgstr "" + +#. module: filter_multi_user +#: model:ir.ui.view,arch_db:filter_multi_user.ir_filters_view_form +msgid "Owner" +msgstr "" + +#. module: filter_multi_user +#: model:ir.model.fields,field_description:filter_multi_user.field_ir_filters_user_ids +msgid "Users" +msgstr "" + diff --git a/filter_multi_user/models/ir_filters.py b/filter_multi_user/models/ir_filters.py index 3aca7e472b..8cb07bf8ab 100644 --- a/filter_multi_user/models/ir_filters.py +++ b/filter_multi_user/models/ir_filters.py @@ -10,7 +10,23 @@ class IrFilters(models.Model): user_ids = fields.Many2many( comodel_name="res.users", string="Users", + compute="_compute_user_ids", + store=True, ) + manual_user_ids = fields.Many2many( + comodel_name="res.users", + string="Available for Users", + relation="ir_filters_res_users_manual_rel", + ) + group_ids = fields.Many2many( + comodel_name="res.groups", + string="Available for Groups", + ) + + @api.constrains("manual_user_ids", "group_ids") + def _compute_user_ids(self): + for rec in self: + rec.user_ids = rec.manual_user_ids + rec.group_ids.users @api.model def get_filters(self, model, action_id=None): diff --git a/filter_multi_user/readme/CONFIGURE.rst b/filter_multi_user/readme/CONFIGURE.rst index fec8c1cde8..4380c523fc 100644 --- a/filter_multi_user/readme/CONFIGURE.rst +++ b/filter_multi_user/readme/CONFIGURE.rst @@ -1,8 +1,8 @@ To share a filter among several users you need to: #. Go to *Settings > Technical > User Interface > User-defined Filters*. -#. Edit a filter and fill the field *Available for users* with the desired - users. -#. The selected users will find the filter available as any other custom filter +#. Edit a filter and fill the fields *Available for users* and/or *Available + for groups* with the desired users/groups. +#. The matched users will find the filter available as any other custom filter under favorites in the search panel. However only the owner will be able to delete the filter. diff --git a/filter_multi_user/static/description/index.html b/filter_multi_user/static/description/index.html index 24ba0a500d..cfed1dd519 100644 --- a/filter_multi_user/static/description/index.html +++ b/filter_multi_user/static/description/index.html @@ -3,7 +3,7 @@ - + Filter Multi User + + +
+

Barcode action launcher

+ + +

Beta License: AGPL-3 OCA/server-ux Translate me on Weblate Try me on Runbot

+

This module allows to use barcodes as launchers of actions.

+

The action will launch a function that uses the barcode in order to return an action.

+

Table of contents

+ +
+

Usage

+

Actions must be configured with the following data in the context: +* model: Model where we can find the method (required) +* method: Method to execute (required) +* res_id: Id as base (optional)

+

The method must return an action. Installing this module with demo data will +install a demo application that allows the system administrator to find a +partner by the external reference encoded in a barcode.

+

Go to Settings / Find partners and scan a barcode that contains the +internal reference of an existing partner. As soon as you read the barcode +the system will redirect you to that partner’s form view.

+

Technical implementation of this example:

+

Action:

+
+<act_window id="res_partner_find"
+    name="Find Partner"
+    res_model="barcode.action"
+    view_mode="form"
+    view_type="form"
+    context="{'default_model': 'res.partner', 'default_method': 'find_res_partner_by_ref_using_barcode'}"
+    target="new"/>
+
+<menuitem id="menu_orders_customers" name="Find partners"
+    action="res_partner_find"
+    parent="base.menu_administration"/>
+
+

Python code:

+
+import json
+from odoo import api, models, _
+from odoo.tools.safe_eval import safe_eval
+
+
+class ResPartner(models.Model):
+    _inherit = 'res.partner'
+
+    @api.multi
+    def find_res_partner_by_ref_using_barcode(self, barcode):
+        partner = self.search([('ref', '=', barcode)], limit=1)
+        if not partner:
+            action = self.env.ref('res_partner_find')
+            result = action.read()[0]
+            context = safe_eval(result['context'])
+            context.update({
+                'default_state': 'warning',
+                'default_status': _('Partner with Internal Reference '
+                                    '%s cannot be found') % barcode
+            })
+            result['context'] = json.dumps(context)
+            return result
+        action = self.env.ref('base.action_partner_form')
+        result = action.read()[0]
+        res = self.env.ref('base.view_partner_form', False)
+        result['views'] = [(res and res.id or False, 'form')]
+        result['res_id'] = partner.id
+        return result
+
+
+
+

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
  • +
  • Eficent
  • +
+
+
+

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/server-ux project on GitHub.

+

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

+
+
+
+ + From f02287c81b54b394808721a11bffa631fcc8a29e Mon Sep 17 00:00:00 2001 From: Enric Tobella Date: Wed, 8 May 2019 08:59:12 +0000 Subject: [PATCH 26/96] Added translation using Weblate (Spanish) --- barcode_action/i18n/es.po | 126 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 126 insertions(+) create mode 100644 barcode_action/i18n/es.po diff --git a/barcode_action/i18n/es.po b/barcode_action/i18n/es.po new file mode 100644 index 0000000000..378a28efc3 --- /dev/null +++ b/barcode_action/i18n/es.po @@ -0,0 +1,126 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * barcode_action +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 11.0\n" +"Report-Msgid-Bugs-To: \n" +"Last-Translator: Automatically generated\n" +"Language-Team: none\n" +"Language: es\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: nplurals=2; plural=n != 1;\n" + +#. module: barcode_action +#: model:ir.actions.act_window,name:barcode_action.barcode_action_action +msgid "Barcode Launcher" +msgstr "" + +#. module: barcode_action +#: model:ir.ui.view,arch_db:barcode_action.barcode_action_form +msgid "Close" +msgstr "" + +#. module: barcode_action +#: model:ir.model,name:barcode_action.model_res_partner +msgid "Contact" +msgstr "" + +#. module: barcode_action +#: model:ir.model.fields,field_description:barcode_action.field_barcode_action_create_uid +msgid "Created by" +msgstr "" + +#. module: barcode_action +#: model:ir.model.fields,field_description:barcode_action.field_barcode_action_create_date +msgid "Created on" +msgstr "" + +#. module: barcode_action +#: model:ir.model.fields,field_description:barcode_action.field_barcode_action_display_name +msgid "Display Name" +msgstr "" + +#. module: barcode_action +#: model:ir.ui.view,arch_db:barcode_action.barcode_action_form +msgid "Find" +msgstr "" + +#. module: barcode_action +#: model:ir.actions.act_window,name:barcode_action.res_partner_find +msgid "Find Partner" +msgstr "" + +#. module: barcode_action +#: model:ir.ui.menu,name:barcode_action.menu_orders_customers +msgid "Find partners" +msgstr "" + +#. module: barcode_action +#: model:ir.model.fields,field_description:barcode_action.field_barcode_action_id +msgid "ID" +msgstr "" + +#. module: barcode_action +#: model:ir.model.fields,field_description:barcode_action.field_barcode_action___last_update +msgid "Last Modified on" +msgstr "" + +#. module: barcode_action +#: model:ir.model.fields,field_description:barcode_action.field_barcode_action_write_uid +msgid "Last Updated by" +msgstr "" + +#. module: barcode_action +#: model:ir.model.fields,field_description:barcode_action.field_barcode_action_write_date +msgid "Last Updated on" +msgstr "" + +#. module: barcode_action +#: model:ir.model.fields,field_description:barcode_action.field_barcode_action_method +msgid "Method" +msgstr "" + +#. module: barcode_action +#: model:ir.model.fields,field_description:barcode_action.field_barcode_action_model +msgid "Model" +msgstr "" + +#. module: barcode_action +#: code:addons/barcode_action/models/res_partner.py:21 +#, python-format +msgid "Partner with Internal Reference %s cannot be found" +msgstr "" + +#. module: barcode_action +#: model:ir.model.fields,field_description:barcode_action.field_barcode_action_res_id +msgid "Res" +msgstr "" + +#. module: barcode_action +#: model:ir.model.fields,field_description:barcode_action.field_barcode_action_state +msgid "State" +msgstr "" + +#. module: barcode_action +#: model:ir.model.fields,field_description:barcode_action.field_barcode_action_status +msgid "Status" +msgstr "" + +#. module: barcode_action +#: selection:barcode.action,state:0 +msgid "Waiting" +msgstr "" + +#. module: barcode_action +#: selection:barcode.action,state:0 +msgid "Warning" +msgstr "" + +#. module: barcode_action +#: model:ir.model,name:barcode_action.model_barcode_action +msgid "barcode.action" +msgstr "" From c0280274d3e6fca12397fc8ea2a40586a4836220 Mon Sep 17 00:00:00 2001 From: Enric Tobella Date: Wed, 8 May 2019 08:59:28 +0000 Subject: [PATCH 27/96] Translated using Weblate (Spanish) Currently translated at 100.0% (22 of 22 strings) Translation: server-ux-11.0/server-ux-11.0-barcode_action Translate-URL: https://translation.odoo-community.org/projects/server-ux-11-0/server-ux-11-0-barcode_action/es/ --- barcode_action/i18n/es.po | 48 ++++++++++++++++++++------------------- 1 file changed, 25 insertions(+), 23 deletions(-) diff --git a/barcode_action/i18n/es.po b/barcode_action/i18n/es.po index 378a28efc3..4cca21be59 100644 --- a/barcode_action/i18n/es.po +++ b/barcode_action/i18n/es.po @@ -6,121 +6,123 @@ msgid "" msgstr "" "Project-Id-Version: Odoo Server 11.0\n" "Report-Msgid-Bugs-To: \n" -"Last-Translator: Automatically generated\n" +"PO-Revision-Date: 2019-05-08 11:03+0000\n" +"Last-Translator: Enric Tobella \n" "Language-Team: none\n" "Language: es\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: \n" "Plural-Forms: nplurals=2; plural=n != 1;\n" +"X-Generator: Weblate 3.5.1\n" #. module: barcode_action #: model:ir.actions.act_window,name:barcode_action.barcode_action_action msgid "Barcode Launcher" -msgstr "" +msgstr "Buscador por código de barras" #. module: barcode_action #: model:ir.ui.view,arch_db:barcode_action.barcode_action_form msgid "Close" -msgstr "" +msgstr "Cerrar" #. module: barcode_action #: model:ir.model,name:barcode_action.model_res_partner msgid "Contact" -msgstr "" +msgstr "Contacto" #. module: barcode_action #: model:ir.model.fields,field_description:barcode_action.field_barcode_action_create_uid msgid "Created by" -msgstr "" +msgstr "Creado por" #. module: barcode_action #: model:ir.model.fields,field_description:barcode_action.field_barcode_action_create_date msgid "Created on" -msgstr "" +msgstr "Creado en" #. module: barcode_action #: model:ir.model.fields,field_description:barcode_action.field_barcode_action_display_name msgid "Display Name" -msgstr "" +msgstr "Nombre mostrado" #. module: barcode_action #: model:ir.ui.view,arch_db:barcode_action.barcode_action_form msgid "Find" -msgstr "" +msgstr "Buscar" #. module: barcode_action #: model:ir.actions.act_window,name:barcode_action.res_partner_find msgid "Find Partner" -msgstr "" +msgstr "Buscar Contacto" #. module: barcode_action #: model:ir.ui.menu,name:barcode_action.menu_orders_customers msgid "Find partners" -msgstr "" +msgstr "Buscar contactos" #. module: barcode_action #: model:ir.model.fields,field_description:barcode_action.field_barcode_action_id msgid "ID" -msgstr "" +msgstr "ID" #. module: barcode_action #: model:ir.model.fields,field_description:barcode_action.field_barcode_action___last_update msgid "Last Modified on" -msgstr "" +msgstr "Última modificación en" #. module: barcode_action #: model:ir.model.fields,field_description:barcode_action.field_barcode_action_write_uid msgid "Last Updated by" -msgstr "" +msgstr "Última actualización de" #. module: barcode_action #: model:ir.model.fields,field_description:barcode_action.field_barcode_action_write_date msgid "Last Updated on" -msgstr "" +msgstr "Última actualización en" #. module: barcode_action #: model:ir.model.fields,field_description:barcode_action.field_barcode_action_method msgid "Method" -msgstr "" +msgstr "Método" #. module: barcode_action #: model:ir.model.fields,field_description:barcode_action.field_barcode_action_model msgid "Model" -msgstr "" +msgstr "Modelo" #. module: barcode_action #: code:addons/barcode_action/models/res_partner.py:21 #, python-format msgid "Partner with Internal Reference %s cannot be found" -msgstr "" +msgstr "No se ha encontrado el contacto con referencia %s" #. module: barcode_action #: model:ir.model.fields,field_description:barcode_action.field_barcode_action_res_id msgid "Res" -msgstr "" +msgstr "Res" #. module: barcode_action #: model:ir.model.fields,field_description:barcode_action.field_barcode_action_state msgid "State" -msgstr "" +msgstr "Estado" #. module: barcode_action #: model:ir.model.fields,field_description:barcode_action.field_barcode_action_status msgid "Status" -msgstr "" +msgstr "Estado" #. module: barcode_action #: selection:barcode.action,state:0 msgid "Waiting" -msgstr "" +msgstr "Esperando" #. module: barcode_action #: selection:barcode.action,state:0 msgid "Warning" -msgstr "" +msgstr "Aviso" #. module: barcode_action #: model:ir.model,name:barcode_action.model_barcode_action msgid "barcode.action" -msgstr "" +msgstr "barcode.action" From 193374f5eb21e0ef64540f609a77f5bb526594dd Mon Sep 17 00:00:00 2001 From: Jaime Arroyo Date: Wed, 12 Jun 2019 15:33:39 +0200 Subject: [PATCH 28/96] [12.0][MIG] barcode_action --- barcode_action/README.rst | 10 +++--- barcode_action/__manifest__.py | 2 +- barcode_action/static/description/index.html | 6 ++-- .../static/src/js/action_barcode_form.js | 20 +++++------ .../static/src/js/action_barcode_widget.js | 36 +++++++++---------- 5 files changed, 37 insertions(+), 37 deletions(-) diff --git a/barcode_action/README.rst b/barcode_action/README.rst index bddd4bead8..33c459eb8e 100644 --- a/barcode_action/README.rst +++ b/barcode_action/README.rst @@ -14,13 +14,13 @@ Barcode action launcher :target: http://www.gnu.org/licenses/agpl-3.0-standalone.html :alt: License: AGPL-3 .. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fserver--ux-lightgray.png?logo=github - :target: https://github.com/OCA/server-ux/tree/11.0/barcode_action + :target: https://github.com/OCA/server-ux/tree/12.0/barcode_action :alt: OCA/server-ux .. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png - :target: https://translation.odoo-community.org/projects/server-ux-11-0/server-ux-11-0-barcode_action + :target: https://translation.odoo-community.org/projects/server-ux-12-0/server-ux-12-0-barcode_action :alt: Translate me on Weblate .. |badge5| image:: https://img.shields.io/badge/runbot-Try%20me-875A7B.png - :target: https://runbot.odoo-community.org/runbot/250/11.0 + :target: https://runbot.odoo-community.org/runbot/250/12.0 :alt: Try me on Runbot |badge1| |badge2| |badge3| |badge4| |badge5| @@ -103,7 +103,7 @@ 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 `_. +`feedback `_. Do not contact contributors directly about support or help with technical issues. @@ -136,6 +136,6 @@ 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/server-ux `_ project on GitHub. +This module is part of the `OCA/server-ux `_ project on GitHub. You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute. diff --git a/barcode_action/__manifest__.py b/barcode_action/__manifest__.py index 1396c7773d..6488ce681d 100644 --- a/barcode_action/__manifest__.py +++ b/barcode_action/__manifest__.py @@ -4,7 +4,7 @@ { 'name': 'Barcode action launcher', - 'version': '11.0.1.0.0', + 'version': '12.0.1.0.0', 'category': 'Extra Tools', 'website': 'https://github.com/OCA/server-ux', 'author': 'Creu Blanca, Eficent, Odoo Community Association (OCA)', diff --git a/barcode_action/static/description/index.html b/barcode_action/static/description/index.html index 5b01fa0bde..36addc9011 100644 --- a/barcode_action/static/description/index.html +++ b/barcode_action/static/description/index.html @@ -367,7 +367,7 @@

Barcode action launcher

!! This file is generated by oca-gen-addon-readme !! !! changes will be overwritten. !! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! --> -

Beta License: AGPL-3 OCA/server-ux Translate me on Weblate Try me on Runbot

+

Beta License: AGPL-3 OCA/server-ux Translate me on Weblate Try me on Runbot

This module allows to use barcodes as launchers of actions.

The action will launch a function that uses the barcode in order to return an action.

Table of contents

@@ -447,7 +447,7 @@

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.

+feedback.

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

@@ -473,7 +473,7 @@

Maintainers

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/server-ux project on GitHub.

+

This module is part of the OCA/server-ux project on GitHub.

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

diff --git a/barcode_action/static/src/js/action_barcode_form.js b/barcode_action/static/src/js/action_barcode_form.js index e53c3817ef..4eedc5149b 100644 --- a/barcode_action/static/src/js/action_barcode_form.js +++ b/barcode_action/static/src/js/action_barcode_form.js @@ -1,23 +1,23 @@ odoo.define('barcode_action.form', function (require) { -"use strict"; + "use strict"; -var FormController = require('web.FormController'); + var FormController = require('web.FormController'); -FormController.include({ - _barcodeHandleAction: function (barcode, activeBarcode) { - var record = this.model.get(this.handle); - var self = this; - return self._rpc({ + FormController.include({ + _barcodeHandleAction: function (barcode, activeBarcode) { + var record = this.model.get(this.handle); + var self = this; + return self._rpc({ model: record.data.model, method: record.data.method, args: [[record.data.res_id], barcode], }).done(function (action) { - if (action){ + if (action) { self._barcodeStopListening(); self.do_action(action); } }); - }, -}); + }, + }); }); diff --git a/barcode_action/static/src/js/action_barcode_widget.js b/barcode_action/static/src/js/action_barcode_widget.js index 5e5bbdf55c..ad875d98f1 100644 --- a/barcode_action/static/src/js/action_barcode_widget.js +++ b/barcode_action/static/src/js/action_barcode_widget.js @@ -1,24 +1,24 @@ odoo.define('barcode_action.field', function (require) { -"use strict"; + "use strict"; -var AbstractField = require('web.AbstractField'); -var field_registry = require('web.field_registry'); + var AbstractField = require('web.AbstractField'); + var field_registry = require('web.field_registry'); -var ActionBarcodeField = AbstractField.extend({ - init: function() { - this._super.apply(this, arguments); - this.trigger_up('activeBarcode', { - name: this.name, - commands: { - barcode: '_barcodeHandleAction', - } - }); - }, -}); -field_registry.add('action_barcode_handler', ActionBarcodeField); + var ActionBarcodeField = AbstractField.extend({ + init: function () { + this._super.apply(this, arguments); + this.trigger_up('activeBarcode', { + name: this.name, + commands: { + barcode: '_barcodeHandleAction', + }, + }); + }, + }); + field_registry.add('action_barcode_handler', ActionBarcodeField); -return { - ActionBarcodeField:ActionBarcodeField, -}; + return { + ActionBarcodeField:ActionBarcodeField, + }; }); From 9febbbfc8dac8696d7ec3722ca1f668e32578065 Mon Sep 17 00:00:00 2001 From: oca-travis Date: Mon, 1 Jul 2019 07:24:42 +0000 Subject: [PATCH 29/96] [UPD] Update barcode_action.pot --- barcode_action/i18n/barcode_action.pot | 40 ++++++++++++++++---------- 1 file changed, 25 insertions(+), 15 deletions(-) diff --git a/barcode_action/i18n/barcode_action.pot b/barcode_action/i18n/barcode_action.pot index cd3b8276a1..d1126579bb 100644 --- a/barcode_action/i18n/barcode_action.pot +++ b/barcode_action/i18n/barcode_action.pot @@ -4,7 +4,7 @@ # msgid "" msgstr "" -"Project-Id-Version: Odoo Server 11.0\n" +"Project-Id-Version: Odoo Server 12.0\n" "Report-Msgid-Bugs-To: \n" "Last-Translator: <>\n" "Language-Team: \n" @@ -19,7 +19,12 @@ msgid "Barcode Launcher" msgstr "" #. module: barcode_action -#: model:ir.ui.view,arch_db:barcode_action.barcode_action_form +#: model:ir.model.fields,field_description:barcode_action.field_barcode_action___barcode_scanned +msgid "Barcode Scanned" +msgstr "" + +#. module: barcode_action +#: model_terms:ir.ui.view,arch_db:barcode_action.barcode_action_form msgid "Close" msgstr "" @@ -29,22 +34,22 @@ msgid "Contact" msgstr "" #. module: barcode_action -#: model:ir.model.fields,field_description:barcode_action.field_barcode_action_create_uid +#: model:ir.model.fields,field_description:barcode_action.field_barcode_action__create_uid msgid "Created by" msgstr "" #. module: barcode_action -#: model:ir.model.fields,field_description:barcode_action.field_barcode_action_create_date +#: model:ir.model.fields,field_description:barcode_action.field_barcode_action__create_date msgid "Created on" msgstr "" #. module: barcode_action -#: model:ir.model.fields,field_description:barcode_action.field_barcode_action_display_name +#: model:ir.model.fields,field_description:barcode_action.field_barcode_action__display_name msgid "Display Name" msgstr "" #. module: barcode_action -#: model:ir.ui.view,arch_db:barcode_action.barcode_action_form +#: model_terms:ir.ui.view,arch_db:barcode_action.barcode_action_form msgid "Find" msgstr "" @@ -59,32 +64,32 @@ msgid "Find partners" msgstr "" #. module: barcode_action -#: model:ir.model.fields,field_description:barcode_action.field_barcode_action_id +#: model:ir.model.fields,field_description:barcode_action.field_barcode_action__id msgid "ID" msgstr "" #. module: barcode_action -#: model:ir.model.fields,field_description:barcode_action.field_barcode_action___last_update +#: model:ir.model.fields,field_description:barcode_action.field_barcode_action____last_update msgid "Last Modified on" msgstr "" #. module: barcode_action -#: model:ir.model.fields,field_description:barcode_action.field_barcode_action_write_uid +#: model:ir.model.fields,field_description:barcode_action.field_barcode_action__write_uid msgid "Last Updated by" msgstr "" #. module: barcode_action -#: model:ir.model.fields,field_description:barcode_action.field_barcode_action_write_date +#: model:ir.model.fields,field_description:barcode_action.field_barcode_action__write_date msgid "Last Updated on" msgstr "" #. module: barcode_action -#: model:ir.model.fields,field_description:barcode_action.field_barcode_action_method +#: model:ir.model.fields,field_description:barcode_action.field_barcode_action__method msgid "Method" msgstr "" #. module: barcode_action -#: model:ir.model.fields,field_description:barcode_action.field_barcode_action_model +#: model:ir.model.fields,field_description:barcode_action.field_barcode_action__model msgid "Model" msgstr "" @@ -95,20 +100,25 @@ msgid "Partner with Internal Reference %s cannot be found" msgstr "" #. module: barcode_action -#: model:ir.model.fields,field_description:barcode_action.field_barcode_action_res_id +#: model:ir.model.fields,field_description:barcode_action.field_barcode_action__res_id msgid "Res" msgstr "" #. module: barcode_action -#: model:ir.model.fields,field_description:barcode_action.field_barcode_action_state +#: model:ir.model.fields,field_description:barcode_action.field_barcode_action__state msgid "State" msgstr "" #. module: barcode_action -#: model:ir.model.fields,field_description:barcode_action.field_barcode_action_status +#: model:ir.model.fields,field_description:barcode_action.field_barcode_action__status msgid "Status" msgstr "" +#. module: barcode_action +#: model:ir.model.fields,help:barcode_action.field_barcode_action___barcode_scanned +msgid "Value of the last barcode scanned." +msgstr "" + #. module: barcode_action #: selection:barcode.action,state:0 msgid "Waiting" From 1c6b0a3321936e79457cec5e6919c4b36fba1f3e Mon Sep 17 00:00:00 2001 From: OCA Transbot Date: Sat, 20 Jul 2019 12:02:01 +0000 Subject: [PATCH 30/96] Update translation files Updated by "Update PO files to match POT (msgmerge)" hook in Weblate. Translation: server-ux-12.0/server-ux-12.0-barcode_action Translate-URL: https://translation.odoo-community.org/projects/server-ux-12-0/server-ux-12-0-barcode_action/ --- barcode_action/i18n/es.po | 42 +++++++++++++++++++++++++-------------- 1 file changed, 27 insertions(+), 15 deletions(-) diff --git a/barcode_action/i18n/es.po b/barcode_action/i18n/es.po index 4cca21be59..b3faf5847d 100644 --- a/barcode_action/i18n/es.po +++ b/barcode_action/i18n/es.po @@ -1,6 +1,6 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: -# * barcode_action +# * barcode_action # msgid "" msgstr "" @@ -22,7 +22,14 @@ msgid "Barcode Launcher" msgstr "Buscador por código de barras" #. module: barcode_action -#: model:ir.ui.view,arch_db:barcode_action.barcode_action_form +#: model:ir.model.fields,field_description:barcode_action.field_barcode_action___barcode_scanned +#, fuzzy +#| msgid "Barcode Launcher" +msgid "Barcode Scanned" +msgstr "Buscador por código de barras" + +#. module: barcode_action +#: model_terms:ir.ui.view,arch_db:barcode_action.barcode_action_form msgid "Close" msgstr "Cerrar" @@ -32,22 +39,22 @@ msgid "Contact" msgstr "Contacto" #. module: barcode_action -#: model:ir.model.fields,field_description:barcode_action.field_barcode_action_create_uid +#: model:ir.model.fields,field_description:barcode_action.field_barcode_action__create_uid msgid "Created by" msgstr "Creado por" #. module: barcode_action -#: model:ir.model.fields,field_description:barcode_action.field_barcode_action_create_date +#: model:ir.model.fields,field_description:barcode_action.field_barcode_action__create_date msgid "Created on" msgstr "Creado en" #. module: barcode_action -#: model:ir.model.fields,field_description:barcode_action.field_barcode_action_display_name +#: model:ir.model.fields,field_description:barcode_action.field_barcode_action__display_name msgid "Display Name" msgstr "Nombre mostrado" #. module: barcode_action -#: model:ir.ui.view,arch_db:barcode_action.barcode_action_form +#: model_terms:ir.ui.view,arch_db:barcode_action.barcode_action_form msgid "Find" msgstr "Buscar" @@ -62,32 +69,32 @@ msgid "Find partners" msgstr "Buscar contactos" #. module: barcode_action -#: model:ir.model.fields,field_description:barcode_action.field_barcode_action_id +#: model:ir.model.fields,field_description:barcode_action.field_barcode_action__id msgid "ID" msgstr "ID" #. module: barcode_action -#: model:ir.model.fields,field_description:barcode_action.field_barcode_action___last_update +#: model:ir.model.fields,field_description:barcode_action.field_barcode_action____last_update msgid "Last Modified on" msgstr "Última modificación en" #. module: barcode_action -#: model:ir.model.fields,field_description:barcode_action.field_barcode_action_write_uid +#: model:ir.model.fields,field_description:barcode_action.field_barcode_action__write_uid msgid "Last Updated by" msgstr "Última actualización de" #. module: barcode_action -#: model:ir.model.fields,field_description:barcode_action.field_barcode_action_write_date +#: model:ir.model.fields,field_description:barcode_action.field_barcode_action__write_date msgid "Last Updated on" msgstr "Última actualización en" #. module: barcode_action -#: model:ir.model.fields,field_description:barcode_action.field_barcode_action_method +#: model:ir.model.fields,field_description:barcode_action.field_barcode_action__method msgid "Method" msgstr "Método" #. module: barcode_action -#: model:ir.model.fields,field_description:barcode_action.field_barcode_action_model +#: model:ir.model.fields,field_description:barcode_action.field_barcode_action__model msgid "Model" msgstr "Modelo" @@ -98,20 +105,25 @@ msgid "Partner with Internal Reference %s cannot be found" msgstr "No se ha encontrado el contacto con referencia %s" #. module: barcode_action -#: model:ir.model.fields,field_description:barcode_action.field_barcode_action_res_id +#: model:ir.model.fields,field_description:barcode_action.field_barcode_action__res_id msgid "Res" msgstr "Res" #. module: barcode_action -#: model:ir.model.fields,field_description:barcode_action.field_barcode_action_state +#: model:ir.model.fields,field_description:barcode_action.field_barcode_action__state msgid "State" msgstr "Estado" #. module: barcode_action -#: model:ir.model.fields,field_description:barcode_action.field_barcode_action_status +#: model:ir.model.fields,field_description:barcode_action.field_barcode_action__status msgid "Status" msgstr "Estado" +#. module: barcode_action +#: model:ir.model.fields,help:barcode_action.field_barcode_action___barcode_scanned +msgid "Value of the last barcode scanned." +msgstr "" + #. module: barcode_action #: selection:barcode.action,state:0 msgid "Waiting" From 344c14096aaf48a4a181fa0cef5bb8bf2db94543 Mon Sep 17 00:00:00 2001 From: OCA-git-bot Date: Mon, 29 Jul 2019 03:39:39 +0000 Subject: [PATCH 31/96] [UPD] README.rst --- barcode_action/static/description/index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/barcode_action/static/description/index.html b/barcode_action/static/description/index.html index 36addc9011..b75a4ad54f 100644 --- a/barcode_action/static/description/index.html +++ b/barcode_action/static/description/index.html @@ -3,7 +3,7 @@ - + Barcode action launcher