diff --git a/pos_receipt_usability/README.rst b/pos_receipt_usability/README.rst new file mode 100644 index 0000000000..2b1a67b9e6 --- /dev/null +++ b/pos_receipt_usability/README.rst @@ -0,0 +1,93 @@ +================================= +Point of Sale - Receipt Usability +================================= + +.. + !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + !! This file is generated by oca-gen-addon-readme !! + !! changes will be overwritten. !! + !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + !! source digest: sha256:1a11d1abc026f34c88ab54049fb5040af0a34796a2e9c332ed124822ab19c20d + !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + +.. |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_receipt_usability + :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_receipt_usability + :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 extends the functionality of point of sale module, +improving the display of the receipt screen. + +**Without the module** + +.. figure:: https://raw.githubusercontent.com/OCA/pos/16.0/pos_receipt_usability/static/description/without_module.png + +**With the module** + +.. figure:: https://raw.githubusercontent.com/OCA/pos/16.0/pos_receipt_usability/static/description/with_module.png + +**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 +~~~~~~~ + +* GRAP + +Contributors +~~~~~~~~~~~~ + +* Sylvain LE GAL (https://twitter.com/legalsylvain) + +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-legalsylvain| image:: https://github.com/legalsylvain.png?size=40px + :target: https://github.com/legalsylvain + :alt: legalsylvain + +Current `maintainer `__: + +|maintainer-legalsylvain| + +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_receipt_usability/__init__.py b/pos_receipt_usability/__init__.py new file mode 100644 index 0000000000..e69de29bb2 diff --git a/pos_receipt_usability/__manifest__.py b/pos_receipt_usability/__manifest__.py new file mode 100644 index 0000000000..9c7543b0da --- /dev/null +++ b/pos_receipt_usability/__manifest__.py @@ -0,0 +1,22 @@ +# Copyright (C) 2022-Today GRAP (http://www.grap.coop) +# @author Sylvain LE GAL (https://twitter.com/legalsylvain) +# License AGPL-3 - See http://www.gnu.org/licenses/agpl-3.0.html + +{ + "name": "Point of Sale - Receipt Usability", + "summary": "Improve receipt screen in the PoS front office", + "version": "16.0.1.0.0", + "category": "Point of Sale", + "maintainers": ["legalsylvain"], + "author": "GRAP,Odoo Community Association (OCA)", + "website": "https://github.com/OCA/pos", + "license": "AGPL-3", + "depends": ["point_of_sale"], + "assets": { + "point_of_sale.assets": [ + "pos_receipt_usability/static/src/css/pos_receipt_usability.scss", + "pos_receipt_usability/static/src/xml/PaymentScreen.xml", + ], + }, + "installable": True, +} diff --git a/pos_receipt_usability/i18n/fr.po b/pos_receipt_usability/i18n/fr.po new file mode 100644 index 0000000000..5648cea02f --- /dev/null +++ b/pos_receipt_usability/i18n/fr.po @@ -0,0 +1,15 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 16.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2024-07-01 20:29+0000\n" +"PO-Revision-Date: 2024-07-01 20:29+0000\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" diff --git a/pos_receipt_usability/readme/CONTRIBUTORS.rst b/pos_receipt_usability/readme/CONTRIBUTORS.rst new file mode 100644 index 0000000000..ae6f43a86d --- /dev/null +++ b/pos_receipt_usability/readme/CONTRIBUTORS.rst @@ -0,0 +1 @@ +* Sylvain LE GAL (https://twitter.com/legalsylvain) diff --git a/pos_receipt_usability/readme/DESCRIPTION.rst b/pos_receipt_usability/readme/DESCRIPTION.rst new file mode 100644 index 0000000000..4ff1abf6a9 --- /dev/null +++ b/pos_receipt_usability/readme/DESCRIPTION.rst @@ -0,0 +1,10 @@ +This module extends the functionality of point of sale module, +improving the display of the receipt screen. + +**Without the module** + +.. figure:: ../static/description/without_module.png + +**With the module** + +.. figure:: ../static/description/with_module.png diff --git a/pos_receipt_usability/static/description/index.html b/pos_receipt_usability/static/description/index.html new file mode 100644 index 0000000000..84b7229eee --- /dev/null +++ b/pos_receipt_usability/static/description/index.html @@ -0,0 +1,434 @@ + + + + + +Point of Sale - Receipt Usability + + + +
+

Point of Sale - Receipt Usability

+ + +

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

+

This module extends the functionality of point of sale module, +improving the display of the receipt screen.

+

Without the module

+
+https://raw.githubusercontent.com/OCA/pos/16.0/pos_receipt_usability/static/description/without_module.png +
+

With the module

+
+https://raw.githubusercontent.com/OCA/pos/16.0/pos_receipt_usability/static/description/with_module.png +
+

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

+
    +
  • GRAP
  • +
+
+ +
+

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.

+

Current maintainer:

+

legalsylvain

+

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_receipt_usability/static/description/with_module.png b/pos_receipt_usability/static/description/with_module.png new file mode 100644 index 0000000000..662d1fe189 Binary files /dev/null and b/pos_receipt_usability/static/description/with_module.png differ diff --git a/pos_receipt_usability/static/description/without_module.png b/pos_receipt_usability/static/description/without_module.png new file mode 100644 index 0000000000..da46910fe0 Binary files /dev/null and b/pos_receipt_usability/static/description/without_module.png differ diff --git a/pos_receipt_usability/static/src/css/pos_receipt_usability.scss b/pos_receipt_usability/static/src/css/pos_receipt_usability.scss new file mode 100644 index 0000000000..b768c93ba1 --- /dev/null +++ b/pos_receipt_usability/static/src/css/pos_receipt_usability.scss @@ -0,0 +1,9 @@ +/* + Copyright (C) 2023-Today GRAP (http://www.grap.coop) + @author Sylvain LE GAL (https://twitter.com/legalsylvain) + License AGPL-3 - See http://www.gnu.org/licenses/agpl-3.0.html +*/ + +.pos .receipt-screen .fa-chevron-right { + font-size: inherit; +} diff --git a/pos_receipt_usability/static/src/xml/PaymentScreen.xml b/pos_receipt_usability/static/src/xml/PaymentScreen.xml new file mode 100644 index 0000000000..6155835c63 --- /dev/null +++ b/pos_receipt_usability/static/src/xml/PaymentScreen.xml @@ -0,0 +1,18 @@ + + + + + + + + + + + diff --git a/setup/pos_receipt_usability/odoo/addons/pos_receipt_usability b/setup/pos_receipt_usability/odoo/addons/pos_receipt_usability new file mode 120000 index 0000000000..74241d1a14 --- /dev/null +++ b/setup/pos_receipt_usability/odoo/addons/pos_receipt_usability @@ -0,0 +1 @@ +../../../../pos_receipt_usability \ No newline at end of file diff --git a/setup/pos_receipt_usability/setup.py b/setup/pos_receipt_usability/setup.py new file mode 100644 index 0000000000..28c57bb640 --- /dev/null +++ b/setup/pos_receipt_usability/setup.py @@ -0,0 +1,6 @@ +import setuptools + +setuptools.setup( + setup_requires=['setuptools-odoo'], + odoo_addon=True, +)