Skip to content

Commit

Permalink
Merge PR #774 into 16.0
Browse files Browse the repository at this point in the history
Signed-off-by etobella
  • Loading branch information
OCA-git-bot committed Jun 28, 2024
2 parents 0621433 + 40af75c commit abc1ee0
Show file tree
Hide file tree
Showing 24 changed files with 1,173 additions and 0 deletions.
108 changes: 108 additions & 0 deletions document_quick_access/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,108 @@
=====================
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/16.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-16-0/server-ux-16-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=16.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:%2016.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 <etobella@creublanca.es>
* [APSL](https://apsl.tech):
* Antoni Marroig <amarroig@apsl.net>

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/16.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": "16.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",
],
},
}
130 changes: 130 additions & 0 deletions document_quick_access/i18n/document_quick_access.pot
Original file line number Diff line number Diff line change
@@ -0,0 +1,130 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * document_quick_access
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 15.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
#: 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__archive_uid
msgid "Last Archived by"
msgstr ""

#. module: document_quick_access
#: model:ir.model.fields,field_description:document_quick_access.field_document_quick_access_rule__archive_date
msgid "Last Archived on"
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
#: 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
#. openerp-web
#: 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 ""
Loading

0 comments on commit abc1ee0

Please sign in to comment.