Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[17.0][MIG] document_quick_access: Migration to 17.0 #997

Open
wants to merge 2 commits into
base: 17.0
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
109 changes: 109 additions & 0 deletions document_quick_access/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,109 @@
=====================
Document Quick Access
=====================

..
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! This file is generated by oca-gen-addon-readme !!
!! changes will be overwritten. !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! source digest: sha256:60573be03baaa32601fb6a0a4bf5281e95aa17a7e9c77d1db074ea4d78f09fd2
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

.. |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/17.0/document_quick_access
: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-17-0/server-ux-17-0-document_quick_access
:alt: Translate me on Weblate
.. |badge5| image:: https://img.shields.io/badge/runboat-Try%20me-875A7B.png
:target: https://runboat.odoo-community.org/builds?repo=OCA/server-ux&target_branch=17.0
:alt: Try me on Runboat

|badge1| |badge2| |badge3| |badge4| |badge5|

This module allows to search any kind of records through a launcher.
With this, we can add a QR in our reports in order to search elements
faster. It could be used to add this QR (on a label) on external
documents.

**Table of contents**

.. contents::
:local:

Configuration
=============

# Access on developer mode # Access Settings > Technical > Document
Quick Access # Create a record selecting the model, format and priority

Usage
=====

# Click on the QR button upper right in the navbar or access to it with
Alt + Shift + Q # A Pop up will be opened. You can scan a QR / barcode #
If the QR / barcode is found, you will be redirected to the record view

Known issues / Roadmap
======================

- It would be interesting to be able to read the QR without clicking the
button. Maybe using a shortcut or directly accessing it.

Bug Tracker
===========

Bugs are tracked on `GitHub Issues <https://github.com/OCA/server-ux/issues>`_.
In case of trouble, please check there if your issue has already been reported.
If you spotted it first, help us to smash it by providing a detailed and welcomed
`feedback <https://github.com/OCA/server-ux/issues/new?body=module:%20document_quick_access%0Aversion:%2017.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.

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

Credits
=======

Authors
-------

* Creu Blanca

Contributors
------------

- Enric Tobella <[email protected]>
- [APSL](https://apsl.tech):

- Antoni Marroig <[email protected]>

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-etobella| image:: https://github.com/etobella.png?size=40px
:target: https://github.com/etobella
:alt: etobella

Current `maintainer <https://odoo-community.org/page/maintainer-role>`__:

|maintainer-etobella|

This module is part of the `OCA/server-ux <https://github.com/OCA/server-ux/tree/17.0/document_quick_access>`_ project on GitHub.

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
1 change: 1 addition & 0 deletions document_quick_access/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
from . import models
25 changes: 25 additions & 0 deletions document_quick_access/__manifest__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
# Copyright 2019 Creu Blanca
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).

{
"name": "Document Quick Access",
"summary": """
Document quick access""",
"version": "17.0.1.0.0",
"license": "AGPL-3",
"author": "Creu Blanca,Odoo Community Association (OCA)",
"website": "https://github.com/OCA/server-ux",
"maintainers": ["etobella"],
"depends": ["web", "barcode_action"],
"external_dependencies": {"python": ["pyzbar", "pdf2image"]},
"data": [
"security/ir.model.access.csv",
"views/document_quick_access_rule.xml",
],
"assets": {
"web.assets_backend": [
"document_quick_access/static/src/js/document_quick_access_launcher.js",
"document_quick_access/static/src/xml/document_quick_access_launcher.xml",
],
},
}
122 changes: 122 additions & 0 deletions document_quick_access/i18n/document_quick_access.pot
Original file line number Diff line number Diff line change
@@ -0,0 +1,122 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * document_quick_access
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 16.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: document_quick_access
#: model:ir.model.fields,field_description:document_quick_access.field_document_quick_access_rule__active
msgid "Active"
msgstr ""

#. module: document_quick_access
#: model_terms:ir.ui.view,arch_db:document_quick_access.document_quick_access_rule_form_view
msgid "Archived"
msgstr ""

#. module: document_quick_access
#: model:ir.model.fields,field_description:document_quick_access.field_document_quick_access_rule__barcode_format
msgid "Barcode Format"
msgstr ""

#. module: document_quick_access
#: model:ir.model,name:document_quick_access.model_base
msgid "Base"
msgstr ""

#. module: document_quick_access
#: model:ir.model.fields.selection,name:document_quick_access.selection__document_quick_access_rule__barcode_format__b64_standard
msgid "Base64"
msgstr ""

#. module: document_quick_access
#: model:ir.model.fields,field_description:document_quick_access.field_document_quick_access_rule__create_uid
msgid "Created by"
msgstr ""

#. module: document_quick_access
#: model:ir.model.fields,field_description:document_quick_access.field_document_quick_access_rule__create_date
msgid "Created on"
msgstr ""

#. module: document_quick_access
#: model:ir.model.fields,field_description:document_quick_access.field_document_quick_access_rule__display_name
msgid "Display Name"
msgstr ""

#. module: document_quick_access
#: model:ir.actions.act_window,name:document_quick_access.document_quick_access_rule_act_window
#: model:ir.model,name:document_quick_access.model_document_quick_access_rule
#: model:ir.ui.menu,name:document_quick_access.document_quick_access_rule_menu
msgid "Document Quick Access Rule"
msgstr ""

#. module: document_quick_access
#. odoo-python
#: code:addons/document_quick_access/models/document_quick_access_rule.py:0
#, python-format
msgid "Document cannot be found"
msgstr ""

#. module: document_quick_access
#: model:ir.model.fields,field_description:document_quick_access.field_document_quick_access_rule__id
msgid "ID"
msgstr ""

#. module: document_quick_access
#: model:ir.model.fields,field_description:document_quick_access.field_document_quick_access_rule____last_update
msgid "Last Modified on"
msgstr ""

#. module: document_quick_access
#: model:ir.model.fields,field_description:document_quick_access.field_document_quick_access_rule__write_uid
msgid "Last Updated by"
msgstr ""

#. module: document_quick_access
#: model:ir.model.fields,field_description:document_quick_access.field_document_quick_access_rule__write_date
msgid "Last Updated on"
msgstr ""

#. module: document_quick_access
#: model:ir.model.fields,field_description:document_quick_access.field_document_quick_access_rule__model_id
msgid "Model"
msgstr ""

#. module: document_quick_access
#: model:ir.model.fields,field_description:document_quick_access.field_document_quick_access_rule__name
msgid "Name"
msgstr ""

#. module: document_quick_access
#. odoo-python
#: code:addons/document_quick_access/models/document_quick_access_rule.py:0
#, python-format
msgid "No format has been found for this record"
msgstr ""

#. module: document_quick_access
#: model:ir.model.fields,field_description:document_quick_access.field_document_quick_access_rule__priority
msgid "Priority"
msgstr ""

#. module: document_quick_access
#. odoo-javascript
#: code:addons/document_quick_access/static/src/xml/document_quick_access_launcher.xml:0
#, python-format
msgid "QR search"
msgstr ""

#. module: document_quick_access
#: model:ir.model.fields.selection,name:document_quick_access.selection__document_quick_access_rule__barcode_format__standard
msgid "Standard"
msgstr ""
128 changes: 128 additions & 0 deletions document_quick_access/i18n/es.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,128 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * document_quick_access
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 11.0\n"
"Report-Msgid-Bugs-To: \n"
"PO-Revision-Date: 2021-03-16 11:46+0000\n"
"Last-Translator: Ana Suárez <[email protected]>\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 4.3.2\n"

#. module: document_quick_access
#: model:ir.model.fields,field_description:document_quick_access.field_document_quick_access_rule__active
msgid "Active"
msgstr "Activo"

#. module: document_quick_access
#: model_terms:ir.ui.view,arch_db:document_quick_access.document_quick_access_rule_form_view
msgid "Archived"
msgstr ""

#. module: document_quick_access
#: model:ir.model.fields,field_description:document_quick_access.field_document_quick_access_rule__barcode_format
msgid "Barcode Format"
msgstr "Formato"

#. module: document_quick_access
#: model:ir.model,name:document_quick_access.model_base
msgid "Base"
msgstr "Base"

#. module: document_quick_access
#: model:ir.model.fields.selection,name:document_quick_access.selection__document_quick_access_rule__barcode_format__b64_standard
msgid "Base64"
msgstr "Base64"

#. module: document_quick_access
#: model:ir.model.fields,field_description:document_quick_access.field_document_quick_access_rule__create_uid
msgid "Created by"
msgstr "Creado por"

#. module: document_quick_access
#: model:ir.model.fields,field_description:document_quick_access.field_document_quick_access_rule__create_date
msgid "Created on"
msgstr "Creado en"

#. module: document_quick_access
#: model:ir.model.fields,field_description:document_quick_access.field_document_quick_access_rule__display_name
msgid "Display Name"
msgstr "Nombre mostrado"

#. module: document_quick_access
#: model:ir.actions.act_window,name:document_quick_access.document_quick_access_rule_act_window
#: model:ir.model,name:document_quick_access.model_document_quick_access_rule
#: model:ir.ui.menu,name:document_quick_access.document_quick_access_rule_menu
msgid "Document Quick Access Rule"
msgstr "Regla de acceso rápido"

#. module: document_quick_access
#. odoo-python
#: code:addons/document_quick_access/models/document_quick_access_rule.py:0
#, python-format
msgid "Document cannot be found"
msgstr "No se ha encontrado documento"

#. module: document_quick_access
#: model:ir.model.fields,field_description:document_quick_access.field_document_quick_access_rule__id
msgid "ID"
msgstr "ID"

#. module: document_quick_access
#: model:ir.model.fields,field_description:document_quick_access.field_document_quick_access_rule____last_update
msgid "Last Modified on"
msgstr "Última modificación en"

#. module: document_quick_access
#: model:ir.model.fields,field_description:document_quick_access.field_document_quick_access_rule__write_uid
msgid "Last Updated by"
msgstr "Última actualización de"

#. module: document_quick_access
#: model:ir.model.fields,field_description:document_quick_access.field_document_quick_access_rule__write_date
msgid "Last Updated on"
msgstr "Última actualización en"

#. module: document_quick_access
#: model:ir.model.fields,field_description:document_quick_access.field_document_quick_access_rule__model_id
msgid "Model"
msgstr "Modelo"

#. module: document_quick_access
#: model:ir.model.fields,field_description:document_quick_access.field_document_quick_access_rule__name
msgid "Name"
msgstr "Nombre"

#. module: document_quick_access
#. odoo-python
#: code:addons/document_quick_access/models/document_quick_access_rule.py:0
#, python-format
msgid "No format has been found for this record"
msgstr "No se ha encontrado ningún formato para este registro"

#. module: document_quick_access
#: model:ir.model.fields,field_description:document_quick_access.field_document_quick_access_rule__priority
msgid "Priority"
msgstr "Prioridad"

#. module: document_quick_access
#. odoo-javascript
#: code:addons/document_quick_access/static/src/xml/document_quick_access_launcher.xml:0
#, python-format
msgid "QR search"
msgstr "Buscar QR"

#. module: document_quick_access
#: model:ir.model.fields.selection,name:document_quick_access.selection__document_quick_access_rule__barcode_format__standard
msgid "Standard"
msgstr "Estándar"

#~ msgid "base"
#~ msgstr "base"
Loading
Loading