diff --git a/pos_hide_partner_info/README.rst b/pos_hide_partner_info/README.rst deleted file mode 100644 index 6e635b7..0000000 --- a/pos_hide_partner_info/README.rst +++ /dev/null @@ -1,78 +0,0 @@ -======================= -POS - Hide Partner Info -======================= - -.. - !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! - !! This file is generated by oca-gen-addon-readme !! - !! changes will be overwritten. !! - !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! - !! source digest: sha256:f9665df958eb28056a581851f1734aee1e9d0d935dc56e0f19e99cd0caf57a66 - !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! - -.. |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/16.0/pos_hide_partner_info - :alt: OCA/pos -.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png - :target: https://translation.odoo-community.org/projects/pos-16-0/pos-16-0-pos_hide_partner_info - :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=16.0 - :alt: Try me on Runboat - -|badge1| |badge2| |badge3| |badge4| |badge5| - -This module hides the phone and address fields in PoS customer list. - -**Table of contents** - -.. contents:: - :local: - -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 to smash it by providing a detailed and welcomed -`feedback `_. - -Do not contact contributors directly about support or help with technical issues. - -Credits -======= - -Authors -~~~~~~~ - -* BEES coop - Cellule IT -* Coop IT Easy SC - -Contributors -~~~~~~~~~~~~ - -* BEES coop - Cellule IT -* Coop IT Easy SC - -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 `_ project on GitHub. - -You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute. diff --git a/pos_hide_partner_info/__init__.py b/pos_hide_partner_info/__init__.py deleted file mode 100644 index e69de29..0000000 diff --git a/pos_hide_partner_info/__manifest__.py b/pos_hide_partner_info/__manifest__.py deleted file mode 100644 index 67dd640..0000000 --- a/pos_hide_partner_info/__manifest__.py +++ /dev/null @@ -1,28 +0,0 @@ -# SPDX-FileCopyrightText: 2017 - 2020 BEES coop SCRLfs -# SPDX-FileContributor: Elouan Lebars -# SPDX-FileContributor: Rémy Taymans -# SPDX-FileContributor: Vincent Van Rossem -# SPDX-FileContributor: Elise Dupont -# SPDX-FileContributor: Thibault François -# SPDX-FileContributor: Grégoire Leeuwerck -# SPDX-FileContributor: Houssine Bakkali -# -# SPDX-License-Identifier: AGPL-3.0-or-later - -{ - "name": "POS - Hide Partner Info", - "summary": "Hide phone and address fields in PoS customer list", - "version": "16.0.1.0.0", - "category": "Point Of Sale", - "website": "https://github.com/OCA/pos", - "author": "BEES coop - Cellule IT, Coop IT Easy SC, Odoo Community Association (OCA)", - "license": "AGPL-3", - "depends": [ - "point_of_sale", - ], - "assets": { - "point_of_sale.assets": [ - "pos_hide_partner_info/static/src/xml/**/*.xml", - ], - }, -} diff --git a/pos_hide_partner_info/i18n/it.po b/pos_hide_partner_info/i18n/it.po deleted file mode 100644 index a6da3f5..0000000 --- a/pos_hide_partner_info/i18n/it.po +++ /dev/null @@ -1,36 +0,0 @@ -# Translation of Odoo Server. -# This file contains the translation of the following modules: -# * pos_hide_partner_info -# -msgid "" -msgstr "" -"Project-Id-Version: Odoo Server 12.0\n" -"Report-Msgid-Bugs-To: \n" -"PO-Revision-Date: 2023-03-23 12:22+0000\n" -"Last-Translator: mymage \n" -"Language-Team: none\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.14.1\n" - -#. module: pos_hide_partner_info -#. openerp-web -#: code:addons/pos_hide_partner_info/static/src/xml/templates.xml:6 -#: code:addons/pos_hide_partner_info/static/src/xml/templates.xml:9 -#: code:addons/pos_hide_partner_info/static/src/xml/templates.xml:15 -#: code:addons/pos_hide_partner_info/static/src/xml/templates.xml:18 -#: code:addons/pos_hide_partner_info/static/src/xml/templates.xml:24 -#: code:addons/pos_hide_partner_info/static/src/xml/templates.xml:27 -#: code:addons/pos_hide_partner_info/static/src/xml/templates.xml:30 -#: code:addons/pos_hide_partner_info/static/src/xml/templates.xml:35 -#: code:addons/pos_hide_partner_info/static/src/xml/templates.xml:38 -#: code:addons/pos_hide_partner_info/static/src/xml/templates.xml:41 -#: code:addons/pos_hide_partner_info/static/src/xml/templates.xml:44 -#: code:addons/pos_hide_partner_info/static/src/xml/templates.xml:47 -#: code:addons/pos_hide_partner_info/static/src/xml/templates.xml:50 -#, python-format -msgid "oe_hidden" -msgstr "oe_hidden" diff --git a/pos_hide_partner_info/i18n/pos_hide_partner_info.pot b/pos_hide_partner_info/i18n/pos_hide_partner_info.pot deleted file mode 100644 index 665de0d..0000000 --- a/pos_hide_partner_info/i18n/pos_hide_partner_info.pot +++ /dev/null @@ -1,34 +0,0 @@ -# Translation of Odoo Server. -# This file contains the translation of the following modules: -# * pos_hide_partner_info -# -msgid "" -msgstr "" -"Project-Id-Version: Odoo Server 12.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: pos_hide_partner_info -#. openerp-web -#: code:addons/pos_hide_partner_info/static/src/xml/templates.xml:6 -#: code:addons/pos_hide_partner_info/static/src/xml/templates.xml:9 -#: code:addons/pos_hide_partner_info/static/src/xml/templates.xml:15 -#: code:addons/pos_hide_partner_info/static/src/xml/templates.xml:18 -#: code:addons/pos_hide_partner_info/static/src/xml/templates.xml:24 -#: code:addons/pos_hide_partner_info/static/src/xml/templates.xml:27 -#: code:addons/pos_hide_partner_info/static/src/xml/templates.xml:30 -#: code:addons/pos_hide_partner_info/static/src/xml/templates.xml:35 -#: code:addons/pos_hide_partner_info/static/src/xml/templates.xml:38 -#: code:addons/pos_hide_partner_info/static/src/xml/templates.xml:41 -#: code:addons/pos_hide_partner_info/static/src/xml/templates.xml:44 -#: code:addons/pos_hide_partner_info/static/src/xml/templates.xml:47 -#: code:addons/pos_hide_partner_info/static/src/xml/templates.xml:50 -#, python-format -msgid "oe_hidden" -msgstr "" - diff --git a/pos_hide_partner_info/readme/CONTRIBUTORS.rst b/pos_hide_partner_info/readme/CONTRIBUTORS.rst deleted file mode 100644 index 5cf09c2..0000000 --- a/pos_hide_partner_info/readme/CONTRIBUTORS.rst +++ /dev/null @@ -1,2 +0,0 @@ -* BEES coop - Cellule IT -* Coop IT Easy SC diff --git a/pos_hide_partner_info/readme/DESCRIPTION.rst b/pos_hide_partner_info/readme/DESCRIPTION.rst deleted file mode 100644 index 0b1ea0d..0000000 --- a/pos_hide_partner_info/readme/DESCRIPTION.rst +++ /dev/null @@ -1 +0,0 @@ -This module hides the phone and address fields in PoS customer list. diff --git a/pos_hide_partner_info/static/description/icon.png b/pos_hide_partner_info/static/description/icon.png deleted file mode 100644 index 3a0328b..0000000 Binary files a/pos_hide_partner_info/static/description/icon.png and /dev/null differ diff --git a/pos_hide_partner_info/static/description/index.html b/pos_hide_partner_info/static/description/index.html deleted file mode 100644 index 3ead684..0000000 --- a/pos_hide_partner_info/static/description/index.html +++ /dev/null @@ -1,422 +0,0 @@ - - - - - -POS - Hide Partner Info - - - -
-

POS - Hide Partner Info

- - -

Beta License: AGPL-3 OCA/pos Translate me on Weblate Try me on Runboat

-

This module hides the phone and address fields in PoS customer list.

-

Table of contents

- -
-

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 to smash it by providing a detailed and welcomed -feedback.

-

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

-
-
-

Credits

-
-

Authors

-
    -
  • BEES coop - Cellule IT
  • -
  • Coop IT Easy SC
  • -
-
-
-

Contributors

-
    -
  • BEES coop - Cellule IT
  • -
  • Coop IT Easy SC
  • -
-
-
-

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

-

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

-
-
-
- - diff --git a/pos_hide_partner_info/static/src/xml/Screens/PartnerListScreen/PartnerDetailsEdit.xml b/pos_hide_partner_info/static/src/xml/Screens/PartnerListScreen/PartnerDetailsEdit.xml deleted file mode 100644 index 7250376..0000000 --- a/pos_hide_partner_info/static/src/xml/Screens/PartnerListScreen/PartnerDetailsEdit.xml +++ /dev/null @@ -1,55 +0,0 @@ - - - - - - false - - - false - - - false - - - false - - - false - - - false - - - false - - - false - - - - diff --git a/pos_hide_partner_info/static/src/xml/Screens/PartnerListScreen/PartnerLine.xml b/pos_hide_partner_info/static/src/xml/Screens/PartnerListScreen/PartnerLine.xml deleted file mode 100644 index 7197871..0000000 --- a/pos_hide_partner_info/static/src/xml/Screens/PartnerListScreen/PartnerLine.xml +++ /dev/null @@ -1,19 +0,0 @@ - - - - - - false - - - false - - - false - - - - diff --git a/pos_hide_partner_info/static/src/xml/Screens/PartnerListScreen/PartnerListScreen.xml b/pos_hide_partner_info/static/src/xml/Screens/PartnerListScreen/PartnerListScreen.xml deleted file mode 100644 index 1a6b679..0000000 --- a/pos_hide_partner_info/static/src/xml/Screens/PartnerListScreen/PartnerListScreen.xml +++ /dev/null @@ -1,16 +0,0 @@ - - - - - - false - - - false - - - false - - - - diff --git a/pos_hide_partnerlist/__manifest__.py b/pos_hide_partnerlist/__manifest__.py index 563d576..e359ba1 100644 --- a/pos_hide_partnerlist/__manifest__.py +++ b/pos_hide_partnerlist/__manifest__.py @@ -9,6 +9,7 @@ "assets": { "point_of_sale.assets": [ "pos_hide_partnerlist/static/src/js/HideCustomerList.js", + "pos_hide_partnerlist/static/src/xml/Screens/PartnerListScreen/PartnerLine.xml", ], }, "installable": True, diff --git a/pos_hide_partnerlist/static/src/xml/Screens/PartnerListScreen/PartnerLine.xml b/pos_hide_partnerlist/static/src/xml/Screens/PartnerListScreen/PartnerLine.xml new file mode 100644 index 0000000..bc8fa0f --- /dev/null +++ b/pos_hide_partnerlist/static/src/xml/Screens/PartnerListScreen/PartnerLine.xml @@ -0,0 +1,10 @@ + + + + + + false + + + + diff --git a/pos_require_product_quantity/README.rst b/pos_require_product_quantity/README.rst deleted file mode 100644 index fa56a67..0000000 --- a/pos_require_product_quantity/README.rst +++ /dev/null @@ -1,79 +0,0 @@ -=============================== -Require Product Quantity in POS -=============================== - -.. !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! - !! 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%2Fpos-lightgray.png?logo=github - :target: https://github.com/OCA/pos/tree/14.0/pos_require_product_quantity - :alt: OCA/pos -.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png - :target: https://translation.odoo-community.org/projects/pos-14-0/pos-14-0-pos_require_product_quantity - :alt: Translate me on Weblate -.. |badge5| image:: https://img.shields.io/badge/runbot-Try%20me-875A7B.png - :target: https://runbot.odoo-community.org/runbot/184/14.0 - :alt: Try me on Runbot - -|badge1| |badge2| |badge3| |badge4| |badge5| - -This module forbids adding empty order lines on POS orders. - -When clicking on the "Payment" button in the Point of Sale, -a popup is shown if product quantity for one or more order -lines is set to 0. - -**Table of contents** - -.. contents:: - :local: - -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 -~~~~~~~ - -* Coop IT Easy SCRLfs - -Contributors -~~~~~~~~~~~~ - -* Robin Keunen -* Iván Todorovich -* Foram Shah - -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 `_ project on GitHub. - -You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute. diff --git a/pos_require_product_quantity/__init__.py b/pos_require_product_quantity/__init__.py deleted file mode 100644 index 0650744..0000000 --- a/pos_require_product_quantity/__init__.py +++ /dev/null @@ -1 +0,0 @@ -from . import models diff --git a/pos_require_product_quantity/__manifest__.py b/pos_require_product_quantity/__manifest__.py deleted file mode 100644 index e59b799..0000000 --- a/pos_require_product_quantity/__manifest__.py +++ /dev/null @@ -1,28 +0,0 @@ -# Copyright 2019-2020 Coop IT Easy SCRLfs -# @author Robin Keunen -# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). -{ - "name": "Require Product Quantity in POS", - "version": "16.0.1.0.0", - "author": "Coop IT Easy SCRLfs, Odoo Community Association (OCA)", - "website": "https://github.com/OCA/pos", - "license": "AGPL-3", - "category": "Point of Sale", - "summary": """ - A popup is shown if product quantity is set to 0 for one or more order - lines when clicking on "Payment" button. - """, - "depends": [ - "point_of_sale", - ], - "data": [ - "views/pos_config.xml", - "views/assets.xml", - ], - "assets": { - "point_of_sale.assets": [ - "pos_require_product_quantity/static/src/js/screens.js" - ], - }, - "installable": True, -} diff --git a/pos_require_product_quantity/i18n/es.po b/pos_require_product_quantity/i18n/es.po deleted file mode 100644 index a1a694f..0000000 --- a/pos_require_product_quantity/i18n/es.po +++ /dev/null @@ -1,50 +0,0 @@ -# Translation of Odoo Server. -# This file contains the translation of the following modules: -# * pos_require_product_quantity -# -msgid "" -msgstr "" -"Project-Id-Version: Odoo Server 12.0\n" -"Report-Msgid-Bugs-To: \n" -"PO-Revision-Date: 2020-07-27 11:19+0000\n" -"Last-Translator: Daniel Martinez Vila \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.10\n" - -#. module: pos_require_product_quantity -#. openerp-web -#: code:addons/pos_require_product_quantity/static/src/js/screens.js:30 -#, python-format -msgid "Missing quantities" -msgstr "Cantidades faltantes" - -#. module: pos_require_product_quantity -#. openerp-web -#: code:addons/pos_require_product_quantity/static/src/js/screens.js:32 -#, python-format -msgid "No quantity set for products:" -msgstr "No hay cantidad establecida para productos:" - -#. module: pos_require_product_quantity -#: model:ir.model,name:pos_require_product_quantity.model_pos_config -msgid "Point of Sale Configuration" -msgstr "Configuración del punto de venta" - -#. module: pos_require_product_quantity -#: model:ir.model.fields,field_description:pos_require_product_quantity.field_pos_config__require_product_quantity -msgid "Require product quantity in POS" -msgstr "Requerir cantidad de producto en PdV" - -#. module: pos_require_product_quantity -#: model_terms:ir.ui.view,arch_db:pos_require_product_quantity.view_pos_config_form -msgid "" -"Show pop-up when product quantity is set to 0 for one or more order lines " -"when clicking on \"Payment\" button." -msgstr "" -"Mostrar ventana emergente cuando la cantidad del producto se establece en 0 " -"para una o más líneas de pedido al hacer clic en el botón \"Pago\"." diff --git a/pos_require_product_quantity/i18n/pos_require_product_quantity.pot b/pos_require_product_quantity/i18n/pos_require_product_quantity.pot deleted file mode 100644 index 64a983f..0000000 --- a/pos_require_product_quantity/i18n/pos_require_product_quantity.pot +++ /dev/null @@ -1,60 +0,0 @@ -# Translation of Odoo Server. -# This file contains the translation of the following modules: -# * pos_require_product_quantity -# -msgid "" -msgstr "" -"Project-Id-Version: Odoo Server 14.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: pos_require_product_quantity -#: model:ir.model.fields,field_description:pos_require_product_quantity.field_pos_config__display_name -msgid "Display Name" -msgstr "" - -#. module: pos_require_product_quantity -#: model:ir.model.fields,field_description:pos_require_product_quantity.field_pos_config__id -msgid "ID" -msgstr "" - -#. module: pos_require_product_quantity -#: model:ir.model.fields,field_description:pos_require_product_quantity.field_pos_config____last_update -msgid "Last Modified on" -msgstr "" - -#. module: pos_require_product_quantity -#. openerp-web -#: code:addons/pos_require_product_quantity/static/src/js/screens.js:0 -#, python-format -msgid "Missing quantities" -msgstr "" - -#. module: pos_require_product_quantity -#. openerp-web -#: code:addons/pos_require_product_quantity/static/src/js/screens.js:0 -#, python-format -msgid "No quantity set for products:" -msgstr "" - -#. module: pos_require_product_quantity -#: model:ir.model,name:pos_require_product_quantity.model_pos_config -msgid "Point of Sale Configuration" -msgstr "" - -#. module: pos_require_product_quantity -#: model:ir.model.fields,field_description:pos_require_product_quantity.field_pos_config__require_product_quantity -msgid "Require product quantity in POS" -msgstr "" - -#. module: pos_require_product_quantity -#: model_terms:ir.ui.view,arch_db:pos_require_product_quantity.pos_config_view_form -msgid "" -"Show pop-up when product quantity is set to 0 for one or more order lines " -"when clicking on \"Payment\" button." -msgstr "" diff --git a/pos_require_product_quantity/i18n/pt.po b/pos_require_product_quantity/i18n/pt.po deleted file mode 100644 index 1a80372..0000000 --- a/pos_require_product_quantity/i18n/pt.po +++ /dev/null @@ -1,65 +0,0 @@ -# Translation of Odoo Server. -# This file contains the translation of the following modules: -# * pos_require_product_quantity -# -msgid "" -msgstr "" -"Project-Id-Version: Odoo Server 14.0\n" -"Report-Msgid-Bugs-To: \n" -"PO-Revision-Date: 2022-02-01 12:33+0000\n" -"Last-Translator: Pedro Castro Silva \n" -"Language-Team: none\n" -"Language: pt\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_require_product_quantity -#: model:ir.model.fields,field_description:pos_require_product_quantity.field_pos_config__display_name -msgid "Display Name" -msgstr "Nome a Exibir" - -#. module: pos_require_product_quantity -#: model:ir.model.fields,field_description:pos_require_product_quantity.field_pos_config__id -msgid "ID" -msgstr "ID" - -#. module: pos_require_product_quantity -#: model:ir.model.fields,field_description:pos_require_product_quantity.field_pos_config____last_update -msgid "Last Modified on" -msgstr "Última Modificação em" - -#. module: pos_require_product_quantity -#. openerp-web -#: code:addons/pos_require_product_quantity/static/src/js/screens.js:0 -#, python-format -msgid "Missing quantities" -msgstr "Quantidades em falta" - -#. module: pos_require_product_quantity -#. openerp-web -#: code:addons/pos_require_product_quantity/static/src/js/screens.js:0 -#, python-format -msgid "No quantity set for products:" -msgstr "Não foi definida quantidade para os produtos:" - -#. module: pos_require_product_quantity -#: model:ir.model,name:pos_require_product_quantity.model_pos_config -msgid "Point of Sale Configuration" -msgstr "Configuração do Ponto de Venda" - -#. module: pos_require_product_quantity -#: model:ir.model.fields,field_description:pos_require_product_quantity.field_pos_config__require_product_quantity -msgid "Require product quantity in POS" -msgstr "Requerer quantidade no POS" - -#. module: pos_require_product_quantity -#: model_terms:ir.ui.view,arch_db:pos_require_product_quantity.pos_config_view_form -msgid "" -"Show pop-up when product quantity is set to 0 for one or more order lines " -"when clicking on \"Payment\" button." -msgstr "" -"Exibir pop-up quando a quantidade do produto for 0 em pelo menos uma linha " -"ao clicar no botão \"Pagamento\"." diff --git a/pos_require_product_quantity/models/__init__.py b/pos_require_product_quantity/models/__init__.py deleted file mode 100644 index 53fc156..0000000 --- a/pos_require_product_quantity/models/__init__.py +++ /dev/null @@ -1,2 +0,0 @@ -from . import pos_config -from . import res_config_setting diff --git a/pos_require_product_quantity/models/pos_config.py b/pos_require_product_quantity/models/pos_config.py deleted file mode 100644 index 0e5c4cc..0000000 --- a/pos_require_product_quantity/models/pos_config.py +++ /dev/null @@ -1,14 +0,0 @@ -# Copyright 2019-2020 Coop IT Easy SCRLfs -# @author Robin Keunen -# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). - -from odoo import fields, models - - -class PosConfig(models.Model): - _inherit = "pos.config" - - require_product_quantity = fields.Boolean( - string="Require product quantity in POS", - default=False, - ) diff --git a/pos_require_product_quantity/models/res_config_setting.py b/pos_require_product_quantity/models/res_config_setting.py deleted file mode 100644 index 83d4e2e..0000000 --- a/pos_require_product_quantity/models/res_config_setting.py +++ /dev/null @@ -1,11 +0,0 @@ -from odoo import api, fields, models - - -class ResConfigSettings(models.TransientModel): - _inherit = "res.config.settings" - - require_product_quantity = fields.Boolean( - related="pos_config_id.require_product_quantity", - readonly=False, - help="Require product quantity in POS", - ) diff --git a/pos_require_product_quantity/readme/CONTRIBUTORS.rst b/pos_require_product_quantity/readme/CONTRIBUTORS.rst deleted file mode 100644 index b0ec353..0000000 --- a/pos_require_product_quantity/readme/CONTRIBUTORS.rst +++ /dev/null @@ -1,3 +0,0 @@ -* Robin Keunen -* Iván Todorovich -* Foram Shah diff --git a/pos_require_product_quantity/readme/DESCRIPTION.rst b/pos_require_product_quantity/readme/DESCRIPTION.rst deleted file mode 100644 index cc4c84a..0000000 --- a/pos_require_product_quantity/readme/DESCRIPTION.rst +++ /dev/null @@ -1,5 +0,0 @@ -This module forbids adding empty order lines on POS orders. - -When clicking on the "Payment" button in the Point of Sale, -a popup is shown if product quantity for one or more order -lines is set to 0. diff --git a/pos_require_product_quantity/static/description/icon.png b/pos_require_product_quantity/static/description/icon.png deleted file mode 100644 index 3a0328b..0000000 Binary files a/pos_require_product_quantity/static/description/icon.png and /dev/null differ diff --git a/pos_require_product_quantity/static/description/index.html b/pos_require_product_quantity/static/description/index.html deleted file mode 100644 index cc781a1..0000000 --- a/pos_require_product_quantity/static/description/index.html +++ /dev/null @@ -1,424 +0,0 @@ - - - - - - -Require Product Quantity in POS - - - -
-

Require Product Quantity in POS

- - -

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

-

This module forbids adding empty order lines on POS orders.

-

When clicking on the “Payment” button in the Point of Sale, -a popup is shown if product quantity for one or more order -lines is set to 0.

-

Table of contents

- -
-

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

-
    -
  • Coop IT Easy SCRLfs
  • -
-
-
-

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

-

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

-
-
-
- - diff --git a/pos_require_product_quantity/static/src/js/screens.js b/pos_require_product_quantity/static/src/js/screens.js deleted file mode 100644 index a38b898..0000000 --- a/pos_require_product_quantity/static/src/js/screens.js +++ /dev/null @@ -1,44 +0,0 @@ -/* - Copyright 2019 Coop IT Easy SCRLfs - Robin Keunen - License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). -*/ - -odoo.define("pos_require_product_quantity.screens", function (require) { - "use strict"; - - const ProductScreen = require("point_of_sale.ProductScreen"); - const Registries = require("point_of_sale.Registries"); - const {Gui} = require("point_of_sale.Gui"); - var core = require("web.core"); - var _t = core._t; - - const CustomProductScreen = (ProductScreen) => - class extends ProductScreen { - _onClickPay() { - const result = super._onClickPay(...arguments); - var lines_without_qty = _.filter( - this.env.pos.get_order().get_orderlines(), - function (line) { - return line.quantity === 0; - } - ); - if (lines_without_qty.length > 0) { - this.showScreen("ProductScreen"); - Gui.showPopup("ConfirmPopup", { - title: _t("Missing quantities"), - body: - _t("No quantity set for products:") + - "\n" + - _.map(lines_without_qty, function (line) { - return " - " + line.product.display_name; - }).join("\n"), - }); - } - return result; - } - }; - - Registries.Component.extend(ProductScreen, CustomProductScreen); - return ProductScreen; -}); diff --git a/pos_require_product_quantity/views/assets.xml b/pos_require_product_quantity/views/assets.xml deleted file mode 100644 index f802971..0000000 --- a/pos_require_product_quantity/views/assets.xml +++ /dev/null @@ -1,15 +0,0 @@ - - - - - - - - - - - - - - - diff --git a/pos_require_product_quantity/views/pos_config.xml b/pos_require_product_quantity/views/pos_config.xml deleted file mode 100644 index 51ad34a..0000000 --- a/pos_require_product_quantity/views/pos_config.xml +++ /dev/null @@ -1,25 +0,0 @@ - - - - - pos.config.form.view.inherit - res.config.settings - - - -
-
- -
-
-
-
-
-
-
- -