Skip to content
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
102 changes: 102 additions & 0 deletions pos_quick_logout/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,102 @@
============================
Point of Sale - Quick Logout
============================

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

.. |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%2Fpos-lightgray.png?logo=github
:target: https://github.com/OCA/pos/tree/18.0/pos_quick_logout
:alt: OCA/pos
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
:target: https://translation.odoo-community.org/projects/pos-18-0/pos-18-0-pos_quick_logout
: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/pos&target_branch=18.0
:alt: Try me on Runboat

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

This module was written to extend the functionality of Odoo Point Of
Sale about changing of cashier.

This module add a simple button 'Log Out' available in Point Of Sale
Front End UI. This button is available when the cashier is not the
initial user logged in Odoo. It allows to log out quickly, wihout
selecting again the user in the list. This module is useful for users
that use regularly the change of cashier, especialy with
'pos_access_right', when users doesn't have the right to do some actions
like set discount, change unit price, ...

- By default, the header is unchanged

|image|

- If the cashier changed, and is not the user logged in Odoo, the extra
button appears

|image1|

.. |image| image:: https://raw.githubusercontent.com/OCA/pos/18.0/pos_quick_logout/static/description/cashier_user_identical.png
.. |image1| image:: https://raw.githubusercontent.com/OCA/pos/18.0/pos_quick_logout/static/description/cashier_user_different.png

**Table of contents**

.. contents::
:local:

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

Bugs are tracked on `GitHub Issues <https://github.com/OCA/pos/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/pos/issues/new?body=module:%20pos_quick_logout%0Aversion:%2018.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
-------

* La Louve

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

- Sylvain LE GAL
<`https://twitter.com/legalsylvain\\> <https://twitter.com/legalsylvain\>>`__
- Druidoo <`https://www.druidoo.io\\> <https://www.druidoo.io\>>`__
- `Trobz <https://www.trobz.com>`__

- Phan Hong Phuc <phucph@trobz.com>

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/pos <https://github.com/OCA/pos/tree/18.0/pos_quick_logout>`_ project on GitHub.

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
Empty file added pos_quick_logout/__init__.py
Empty file.
21 changes: 21 additions & 0 deletions pos_quick_logout/__manifest__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
# Copyright (C) 2016-Today: La Louve (<http://www.lalouve.net/>)
# @author: Sylvain LE GAL (https://twitter.com/legalsylvain)
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).

{
"name": "Point of Sale - Quick Logout",
"version": "18.0.1.0.0",
"category": "Sales/Point Of Sale",
"summary": "Allow PoS user to logout quickly after user changed",
"license": "AGPL-3",
"author": "La Louve, Odoo Community Association (OCA)",
"website": "https://github.com/OCA/pos",
"depends": ["point_of_sale"],
"assets": {
"point_of_sale._assets_pos": [
"pos_quick_logout/static/src/js/pos_quick_logout.esm.js",
"pos_quick_logout/static/src/xml/pos_quick_logout.xml",
],
},
"installable": True,
}
48 changes: 48 additions & 0 deletions pos_quick_logout/i18n/ca.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * pos_quick_logout
#
# Translators:
# Marc Tormo i Bochaca <mtbochaca@gmail.com>, 2017
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 9.0c\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2017-03-28 05:50+0000\n"
"PO-Revision-Date: 2022-03-21 14:17+0000\n"
"Last-Translator: Noel estudillo <noelestudilloviera@gmail.com>\n"
"Language-Team: Catalan (https://www.transifex.com/oca/teams/23907/ca/)\n"
"Language: ca\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: pos_quick_logout
#: model_terms:ir.ui.view,arch_db:pos_quick_logout.view_pos_config_view_form_quick_logout
msgid "<span class=\"o_form_label\">Logout Timeout</span>"
msgstr "<span class=\"o_form_label\">Temps d'espera de tancament</span>"

#. module: pos_quick_logout
#. openerp-web
#: code:addons/pos_quick_logout/static/src/xml/pos_quick_logout.xml:0
#, python-format
msgid "Log Out"
msgstr "Sortida"

#. module: pos_quick_logout
#: model:ir.model.fields,field_description:pos_quick_logout.field_pos_config__logout_timeout
msgid "Logout Timeout"
msgstr "Temps d'espera de tancament de sessió"

#. module: pos_quick_logout
#: model:ir.model,name:pos_quick_logout.model_pos_config
msgid "Point of Sale Configuration"
msgstr "Configuració del punt de venda"

#. module: pos_quick_logout
#: model:ir.model.fields,help:pos_quick_logout.field_pos_config__logout_timeout
msgid "Timeout (sec) for automatic session logout in this POS"
msgstr ""
"Temps d'espera (s) per al tancament automàtic de la sessió en aquest TPV"
55 changes: 55 additions & 0 deletions pos_quick_logout/i18n/es.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * pos_quick_logout
#
# Translators:
# OCA Transbot <transbot@odoo-community.org>, 2018
# enjolras <yo@miguelrevilla.com>, 2018
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 10.0\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2018-03-01 02:01+0000\n"
"PO-Revision-Date: 2020-07-27 11:19+0000\n"
"Last-Translator: Daniel Martinez Vila <daniel.martinez@qubiq.es>\n"
"Language-Team: Spanish (https://www.transifex.com/oca/teams/23907/es/)\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.10\n"

#. module: pos_quick_logout
#: model_terms:ir.ui.view,arch_db:pos_quick_logout.view_pos_config_view_form_quick_logout
msgid "<span class=\"o_form_label\">Logout Timeout</span>"
msgstr ""
"<span class = \"o_form_label\">Tiempo de espera de cierre de sesión</span>"

#. module: pos_quick_logout
#. openerp-web
#: code:addons/pos_quick_logout/static/src/xml/pos_quick_logout.xml:0
#, python-format
msgid "Log Out"
msgstr "Desconectar"

#. module: pos_quick_logout
#: model:ir.model.fields,field_description:pos_quick_logout.field_pos_config__logout_timeout
msgid "Logout Timeout"
msgstr "Tiempo de desconexión"

#. module: pos_quick_logout
#: model:ir.model,name:pos_quick_logout.model_pos_config
msgid "Point of Sale Configuration"
msgstr "Configuración del punto de venta"

#. module: pos_quick_logout
#: model:ir.model.fields,help:pos_quick_logout.field_pos_config__logout_timeout
msgid "Timeout (sec) for automatic session logout in this POS"
msgstr ""

#~ msgid "Time out for automatic logout for sessions in this POS"
#~ msgstr "Tiempo para desconectar automáticamente la sesión de este TPV"

#~ msgid "pos.config"
#~ msgstr "Configuración del TPV"
54 changes: 54 additions & 0 deletions pos_quick_logout/i18n/fr.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * pos_quick_logout
#
# Translators:
# OCA Transbot <transbot@odoo-community.org>, 2018
# Quentin THEURET <odoo@kerpeo.com>, 2018
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 10.0\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2018-03-01 02:01+0000\n"
"PO-Revision-Date: 2018-03-01 02:01+0000\n"
"Last-Translator: Quentin THEURET <odoo@kerpeo.com>, 2018\n"
"Language-Team: French (https://www.transifex.com/oca/teams/23907/fr/)\n"
"Language: fr\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: pos_quick_logout
#: model_terms:ir.ui.view,arch_db:pos_quick_logout.view_pos_config_view_form_quick_logout
msgid "<span class=\"o_form_label\">Logout Timeout</span>"
msgstr ""

#. module: pos_quick_logout
#. openerp-web
#: code:addons/pos_quick_logout/static/src/xml/pos_quick_logout.xml:0
#, python-format
msgid "Log Out"
msgstr "Déconnexion"

#. module: pos_quick_logout
#: model:ir.model.fields,field_description:pos_quick_logout.field_pos_config__logout_timeout
msgid "Logout Timeout"
msgstr "Durée limite pour la déconnexion"

#. module: pos_quick_logout
#: model:ir.model,name:pos_quick_logout.model_pos_config
msgid "Point of Sale Configuration"
msgstr ""

#. module: pos_quick_logout
#: model:ir.model.fields,help:pos_quick_logout.field_pos_config__logout_timeout
msgid "Timeout (sec) for automatic session logout in this POS"
msgstr ""

#~ msgid "Time out for automatic logout for sessions in this POS"
#~ msgstr ""
#~ "Durée limite pour la déconnexion automatique des sessions dans ce PdV"

#~ msgid "pos.config"
#~ msgstr "pos.config"
51 changes: 51 additions & 0 deletions pos_quick_logout/i18n/hr_HR.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * pos_quick_logout
#
# Translators:
# Bole <bole@dajmi5.com>, 2018
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 10.0\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2018-01-20 15:54+0000\n"
"PO-Revision-Date: 2018-01-20 15:54+0000\n"
"Last-Translator: Bole <bole@dajmi5.com>, 2018\n"
"Language-Team: Croatian (Croatia) (https://www.transifex.com/oca/teams/23907/"
"hr_HR/)\n"
"Language: hr_HR\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \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: pos_quick_logout
#: model_terms:ir.ui.view,arch_db:pos_quick_logout.view_pos_config_view_form_quick_logout
msgid "<span class=\"o_form_label\">Logout Timeout</span>"
msgstr ""

#. module: pos_quick_logout
#. openerp-web
#: code:addons/pos_quick_logout/static/src/xml/pos_quick_logout.xml:0
#, python-format
msgid "Log Out"
msgstr ""

#. module: pos_quick_logout
#: model:ir.model.fields,field_description:pos_quick_logout.field_pos_config__logout_timeout
msgid "Logout Timeout"
msgstr ""

#. module: pos_quick_logout
#: model:ir.model,name:pos_quick_logout.model_pos_config
msgid "Point of Sale Configuration"
msgstr ""

#. module: pos_quick_logout
#: model:ir.model.fields,help:pos_quick_logout.field_pos_config__logout_timeout
msgid "Timeout (sec) for automatic session logout in this POS"
msgstr ""

#~ msgid "pos.config"
#~ msgstr "pos.config"
53 changes: 53 additions & 0 deletions pos_quick_logout/i18n/it.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * pos_quick_logout
#
# Translators:
# Francesco Fresta <franco.fresta@gmail.com>, 2018
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 10.0\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2018-03-01 02:01+0000\n"
"PO-Revision-Date: 2023-10-13 14:36+0000\n"
"Last-Translator: mymage <stefano.consolaro@mymage.it>\n"
"Language-Team: Italian (https://www.transifex.com/oca/teams/23907/it/)\n"
"Language: it\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.17\n"

#. module: pos_quick_logout
#: model_terms:ir.ui.view,arch_db:pos_quick_logout.view_pos_config_view_form_quick_logout
msgid "<span class=\"o_form_label\">Logout Timeout</span>"
msgstr "<span class=\"o_form_label\">Time-out uscita</span>"

#. module: pos_quick_logout
#. openerp-web
#: code:addons/pos_quick_logout/static/src/xml/pos_quick_logout.xml:0
#, python-format
msgid "Log Out"
msgstr "Esci"

#. module: pos_quick_logout
#: model:ir.model.fields,field_description:pos_quick_logout.field_pos_config__logout_timeout
msgid "Logout Timeout"
msgstr "Time-out uscita"

#. module: pos_quick_logout
#: model:ir.model,name:pos_quick_logout.model_pos_config
msgid "Point of Sale Configuration"
msgstr "Configurazione punto vendita"

#. module: pos_quick_logout
#: model:ir.model.fields,help:pos_quick_logout.field_pos_config__logout_timeout
msgid "Timeout (sec) for automatic session logout in this POS"
msgstr "Timeout (sec.) per uscita automatica dalla sessione in questo POS"

#~ msgid "Time out for automatic logout for sessions in this POS"
#~ msgstr "Timeout per l'uscita automatica dalla sessione POS"

#~ msgid "pos.config"
#~ msgstr "pos.config"
Loading
Loading