diff --git a/pos_payment_show_order/README.rst b/pos_payment_show_order/README.rst new file mode 100644 index 0000000000..c92b0aba3c --- /dev/null +++ b/pos_payment_show_order/README.rst @@ -0,0 +1,103 @@ +.. image:: https://odoo-community.org/readme-banner-image + :target: https://odoo-community.org/get-involved?utm_source=readme + :alt: Odoo Community Association + +====================== +POS Payment Show Order +====================== + +.. + !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + !! This file is generated by oca-gen-addon-readme !! + !! changes will be overwritten. !! + !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + !! source digest: sha256:6f855ce47904954f609cf6d2330325a15603d859a9aa1b60dc5f79f364d18575 + !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + +.. |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/license-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_payment_show_order + :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_payment_show_order + :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 improves POS Payment Screen by displaying order on the right. +This saves a lot of clicks and, in particular, having to go back to the +order screen during customer checkout + +**Table of contents** + +.. contents:: + :local: + +Known issues / Roadmap +====================== + +* Display discount + +Changelog +========= + +16.0.1.0.0 +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + +* Initial release + +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 +~~~~~~~~~~~~ + +* Quentin DUPONT (quentin.dupont@grap.coop) + +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-quentinDupont| image:: https://github.com/quentinDupont.png?size=40px + :target: https://github.com/quentinDupont + :alt: quentinDupont + +Current `maintainer `__: + +|maintainer-quentinDupont| + +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_payment_show_order/__init__.py b/pos_payment_show_order/__init__.py new file mode 100644 index 0000000000..e69de29bb2 diff --git a/pos_payment_show_order/__manifest__.py b/pos_payment_show_order/__manifest__.py new file mode 100644 index 0000000000..ba401708c4 --- /dev/null +++ b/pos_payment_show_order/__manifest__.py @@ -0,0 +1,22 @@ +# Copyright (C) 2026-Today GRAP (http://www.grap.coop) +# @author Quentin DUPONT +# License AGPL-3 - See http://www.gnu.org/licenses/agpl-3.0.html + +{ + "name": "POS Payment Show Order", + "summary": "Improve POS Payment Screen by displaying order", + "version": "16.0.1.0.0", + "category": "Point of Sale", + "website": "https://github.com/OCA/pos", + "license": "AGPL-3", + "maintainers": ["quentinDupont"], + "author": "GRAP,Odoo Community Association (OCA)", + "depends": ["point_of_sale"], + "assets": { + "point_of_sale.assets": [ + "pos_payment_show_order/static/src/css/*.scss", + "pos_payment_show_order/static/src/xml/**.xml", + ], + }, + "installable": True, +} diff --git a/pos_payment_show_order/i18n/fr.po b/pos_payment_show_order/i18n/fr.po new file mode 100644 index 0000000000..e69de29bb2 diff --git a/pos_payment_show_order/readme/CONTRIBUTORS.rst b/pos_payment_show_order/readme/CONTRIBUTORS.rst new file mode 100644 index 0000000000..7fd44d8137 --- /dev/null +++ b/pos_payment_show_order/readme/CONTRIBUTORS.rst @@ -0,0 +1 @@ +* Quentin DUPONT (quentin.dupont@grap.coop) \ No newline at end of file diff --git a/pos_payment_show_order/readme/DESCRIPTION.rst b/pos_payment_show_order/readme/DESCRIPTION.rst new file mode 100644 index 0000000000..c0c70ed16c --- /dev/null +++ b/pos_payment_show_order/readme/DESCRIPTION.rst @@ -0,0 +1,3 @@ +This module improves POS Payment Screen by displaying order on the right. +This saves a lot of clicks and, in particular, having to go back to the +order screen during customer checkout \ No newline at end of file diff --git a/pos_payment_show_order/readme/HISTORY.rst b/pos_payment_show_order/readme/HISTORY.rst new file mode 100644 index 0000000000..7045d53bf4 --- /dev/null +++ b/pos_payment_show_order/readme/HISTORY.rst @@ -0,0 +1,4 @@ +16.0.1.0.0 +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + +* Initial release diff --git a/pos_payment_show_order/readme/ROADMAP.rst b/pos_payment_show_order/readme/ROADMAP.rst new file mode 100644 index 0000000000..0731c5f9da --- /dev/null +++ b/pos_payment_show_order/readme/ROADMAP.rst @@ -0,0 +1 @@ +* Display discount \ No newline at end of file diff --git a/pos_payment_show_order/static/description/index.html b/pos_payment_show_order/static/description/index.html new file mode 100644 index 0000000000..c8ebf1ab58 --- /dev/null +++ b/pos_payment_show_order/static/description/index.html @@ -0,0 +1,453 @@ + + + + + +README.rst + + + +
+ + + +Odoo Community Association + +
+

POS Payment Show Order

+ +

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

+

This module improves POS Payment Screen by displaying order on the right. +This saves a lot of clicks and, in particular, having to go back to the +order screen during customer checkout

+

Table of contents

+ +
+

Known issues / Roadmap

+
    +
  • Display discount
  • +
+
+
+

Changelog

+
+

16.0.1.0.0

+
    +
  • Initial release
  • +
+
+
+
+

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

+ +
+
+

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:

+

quentinDupont

+

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_payment_show_order/static/description/pos_payment_show_order.png b/pos_payment_show_order/static/description/pos_payment_show_order.png new file mode 100644 index 0000000000..d54c28b4e8 Binary files /dev/null and b/pos_payment_show_order/static/description/pos_payment_show_order.png differ diff --git a/pos_payment_show_order/static/src/css/PaymentScreenShowOrder.scss b/pos_payment_show_order/static/src/css/PaymentScreenShowOrder.scss new file mode 100644 index 0000000000..49bab33b2e --- /dev/null +++ b/pos_payment_show_order/static/src/css/PaymentScreenShowOrder.scss @@ -0,0 +1,16 @@ +.payment-show-order { + cursor: none; + max-height: 200px; + + .order-empty { + display: none; + } + + .header-note { + display: none; + } + + .summary.clearfix { + display: none; + } +} diff --git a/pos_payment_show_order/static/src/xml/PaymentScreenShowOrder.xml b/pos_payment_show_order/static/src/xml/PaymentScreenShowOrder.xml new file mode 100644 index 0000000000..f4a758897e --- /dev/null +++ b/pos_payment_show_order/static/src/xml/PaymentScreenShowOrder.xml @@ -0,0 +1,23 @@ + + + + + + +
+

Order Details

+ +
+
+
+ +
diff --git a/setup/pos_payment_show_order/odoo/addons/pos_payment_show_order b/setup/pos_payment_show_order/odoo/addons/pos_payment_show_order new file mode 120000 index 0000000000..605c4362fa --- /dev/null +++ b/setup/pos_payment_show_order/odoo/addons/pos_payment_show_order @@ -0,0 +1 @@ +../../../../pos_payment_show_order \ No newline at end of file diff --git a/setup/pos_payment_show_order/setup.py b/setup/pos_payment_show_order/setup.py new file mode 100644 index 0000000000..28c57bb640 --- /dev/null +++ b/setup/pos_payment_show_order/setup.py @@ -0,0 +1,6 @@ +import setuptools + +setuptools.setup( + setup_requires=['setuptools-odoo'], + odoo_addon=True, +)