Skip to content
Draft
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
38 changes: 38 additions & 0 deletions pos_disable_payment/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
.. image:: https://itpp.dev/images/infinity-readme.png
:alt: Tested and maintained by IT Projects Labs
:target: https://itpp.dev

=======================
Disable payments in POS
=======================

The module allows disable payments in POS. For example, it could be helpful to use POS only to get price of item by barcode

Module allows directly in user settings:

* disable create order line
* disable remove non-empty order
* disable discount button
* disable edit price button
* disable remove order line
* disable refunds

Questions?
==========

To get an assistance on this module contact us by email :arrow_right: [email protected]

Contributors
============
* `Ivan Yelizariev <https://it-projects.info/team/yelizariev>`__
* `Ilmir Karamov <https://it-projects.info/team/ilmir-k>`__
* `Dinar Gabbasov <https://it-projects.info/team/GabbasovDinar>`__


Further information
===================

Odoo Apps Store: https://apps.odoo.com/apps/modules/11.0/pos_disable_payment/


Tested on `Odoo 11.0 <https://github.com/odoo/odoo/commit/c7171795f891335e8a8b6d5a6b796c28cea77fea>`_
1 change: 1 addition & 0 deletions pos_disable_payment/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
from . import models
18 changes: 18 additions & 0 deletions pos_disable_payment/__manifest__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
{
"name": "Disable payments in POS",
"summary": "Control access to the POS payments",
"version": "12.0.1.0.0",
"author": "IT-Projects LLC, Ivan Yelizariev",
"license": "Other OSI approved licence", # MIT
"category": "Point Of Sale",
"live_test_url": "http://apps.it-projects.info/shop/product/pos-multi-session?version=11.0",
"support": "[email protected]",
"website": "https://yelizariev.github.io",
"depends": ["point_of_sale"],
"images": ["images/pos_payment_access.png"],
"price": 40.00,
"currency": "EUR",
"data": ["views.xml"],
"demo": ["views/assets_demo.xml"],
"installable": True,
}
74 changes: 74 additions & 0 deletions pos_disable_payment/doc/changelog.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,74 @@
.. _changelog:

Updates
=======

`3.7.0`
-------

**Improvement:** New option "Disable customer selection"
**Improvement:** Move the "Allow change Qty for kitchen orders" option to pos_disable_payment_restaurant module

`3.6.1`
-------
- IMP: Compatibility with pos_restaurant_base module

`2.6.1`
-------
- FIX: Option "Allow remove order line" didn't work correctly after the previous updates

`2.6.0`
-------
- NEW: New option "Allow change Qty for kitchen orders"

`2.5.0`
-------
- NEW: New option "Allow manual customer selecting" on user access rights

`2.4.1`
-------
- FIX: Compatibility with pos_discount
- IMP: When unchecked "Allow remove order line", the delete button is disabled if qty of the line < = 0

`2.4.0`
-------
- NEW: Set disabled button as non-clickable instead of hiding

`2.3.0`
-------
- NEW: New option "Allow refunds" on user access rights

`2.2.4`
-------
- FIX: module didn't work with older odoo version in some context

`2.2.3`
-------

- IMP: Compatibility with the latest odoo version, tested on Odoo 10 e14ab697727d87773dbefba11453b9edca79fc68

`2.2.2`
-------

- NEW: New option "Allow to create order line" for POS added to user access rights

`2.1.2`
-------

- FIX: "allow payments" checkbox was ignored after clicking "Set Customer" button

`2.1.1`
-------

- User POS settings now got two parameters (allow_decrease_amount and allow_delete_order_line) instead of only one
(allow_delete_order_line). If first parameter is FALSE than you cant set second one..

`2.0.0`
-------

- Restrictions sets in User.

`1.0.0`
-------

- Restriction sets in POS.
8 changes: 8 additions & 0 deletions pos_disable_payment/doc/index.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
=========================
Disable payments in POS
=========================

Installation
============

* `Install <https://odoo-development.readthedocs.io/en/latest/odoo/usage/install-module.html>`__ this module in a usual way
87 changes: 87 additions & 0 deletions pos_disable_payment/i18n/de.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,87 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * pos_disable_payment
#
# Translators:
# Translation Bot <[email protected]>, 2017
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 11.0\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2018-04-27 23:55+0000\n"
"PO-Revision-Date: 2017-11-23 10:29+0000\n"
"Last-Translator: Translation Bot <[email protected]>, 2017\n"
"Language-Team: German (https://www.transifex.com/it-projects-llc/teams/76080/"
"de/)\n"
"Language: de\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_disable_payment
#: model:ir.ui.view,arch_db:pos_disable_payment.res_users_form_view
msgid "Access"
msgstr "Zugang"

#. module: pos_disable_payment
#: model:ir.model.fields,field_description:pos_disable_payment.field_res_users_allow_decrease_kitchen_only
msgid "Allow change Qty for kitchen orders"
msgstr ""

#. module: pos_disable_payment
#: model:ir.model.fields,field_description:pos_disable_payment.field_res_users_allow_create_order_line
msgid "Allow create order line"
msgstr "Die Erzeugung von Bestellzeilen erlauben"

#. module: pos_disable_payment
#: model:ir.model.fields,field_description:pos_disable_payment.field_res_users_allow_decrease_amount
#, fuzzy
msgid "Allow decrease quantity on order line"
msgstr "Die Erzeugung von Bestellzeilen erlauben"

#. module: pos_disable_payment
#: model:ir.model.fields,field_description:pos_disable_payment.field_res_users_allow_discount
msgid "Allow discount"
msgstr "Rabatt erlauben"

#. module: pos_disable_payment
#: model:ir.model.fields,field_description:pos_disable_payment.field_res_users_allow_edit_price
msgid "Allow edit price"
msgstr "Preisänderungen erlauben"

#. module: pos_disable_payment
#: model:ir.model.fields,field_description:pos_disable_payment.field_res_users_allow_manual_customer_selecting
msgid "Allow manual customer selecting"
msgstr ""

#. module: pos_disable_payment
#: model:ir.model.fields,field_description:pos_disable_payment.field_res_users_allow_payments
msgid "Allow payments"
msgstr "Zahlungen erlauben"

#. module: pos_disable_payment
#: model:ir.model.fields,field_description:pos_disable_payment.field_res_users_allow_refund
msgid "Allow refunds"
msgstr ""

#. module: pos_disable_payment
#: model:ir.model.fields,field_description:pos_disable_payment.field_res_users_allow_delete_order
msgid "Allow remove non-empty order"
msgstr "Löschen von nicht-leeren Bestellungen erlauben"

#. module: pos_disable_payment
#: model:ir.model.fields,field_description:pos_disable_payment.field_res_users_allow_delete_order_line
msgid "Allow remove order line"
msgstr "Das Entfernen von Bestellzeilen erlauben"

#. module: pos_disable_payment
#: model:ir.model.fields,field_description:pos_disable_payment.field_res_users_is_restaurant_installed
msgid "Is Restaurant Installed"
msgstr ""

#. module: pos_disable_payment
#: model:ir.model,name:pos_disable_payment.model_res_users
msgid "Users"
msgstr "Benutzer"
85 changes: 85 additions & 0 deletions pos_disable_payment/i18n/es.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,85 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * pos_disable_payment
#
# Translators:
# Translation Bot <[email protected]>, 2017
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 11.0\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2018-04-27 23:55+0000\n"
"PO-Revision-Date: 2017-11-23 10:29+0000\n"
"Last-Translator: Translation Bot <[email protected]>, 2017\n"
"Language-Team: Spanish (https://www.transifex.com/it-projects-llc/teams/76080/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: pos_disable_payment
#: model:ir.ui.view,arch_db:pos_disable_payment.res_users_form_view
msgid "Access"
msgstr "Permisos"

#. module: pos_disable_payment
#: model:ir.model.fields,field_description:pos_disable_payment.field_res_users_allow_decrease_kitchen_only
msgid "Allow change Qty for kitchen orders"
msgstr ""

#. module: pos_disable_payment
#: model:ir.model.fields,field_description:pos_disable_payment.field_res_users_allow_create_order_line
msgid "Allow create order line"
msgstr "Permitir crear líneas de orden"

#. module: pos_disable_payment
#: model:ir.model.fields,field_description:pos_disable_payment.field_res_users_allow_decrease_amount
msgid "Allow decrease order line"
msgstr "Permitir eliminar líneas de orden"

#. module: pos_disable_payment
#: model:ir.model.fields,field_description:pos_disable_payment.field_res_users_allow_discount
msgid "Allow discount"
msgstr "Pemitir descuentos"

#. module: pos_disable_payment
#: model:ir.model.fields,field_description:pos_disable_payment.field_res_users_allow_edit_price
msgid "Allow edit price"
msgstr "Permitir editar precio"

#. module: pos_disable_payment
#: model:ir.model.fields,field_description:pos_disable_payment.field_res_users_allow_manual_customer_selecting
msgid "Allow manual customer selecting"
msgstr ""

#. module: pos_disable_payment
#: model:ir.model.fields,field_description:pos_disable_payment.field_res_users_allow_payments
msgid "Allow payments"
msgstr "Permitir pagar"

#. module: pos_disable_payment
#: model:ir.model.fields,field_description:pos_disable_payment.field_res_users_allow_refund
msgid "Allow refunds"
msgstr ""

#. module: pos_disable_payment
#: model:ir.model.fields,field_description:pos_disable_payment.field_res_users_allow_delete_order
msgid "Allow remove non-empty order"
msgstr "Permitir eliminar órdenes no-vacías"

#. module: pos_disable_payment
#: model:ir.model.fields,field_description:pos_disable_payment.field_res_users_allow_delete_order_line
msgid "Allow remove order line"
msgstr "Permitir eliminar líneas de la orden"

#. module: pos_disable_payment
#: model:ir.model.fields,field_description:pos_disable_payment.field_res_users_is_restaurant_installed
msgid "Is Restaurant Installed"
msgstr ""

#. module: pos_disable_payment
#: model:ir.model,name:pos_disable_payment.model_res_users
msgid "Users"
msgstr "Usuarios"
Loading