diff --git a/simplified_pos/README.rst b/simplified_pos/README.rst new file mode 100755 index 000000000..c6380551f --- /dev/null +++ b/simplified_pos/README.rst @@ -0,0 +1,46 @@ +.. image:: https://img.shields.io/badge/licence-AGPL--3-blue.svg + :target: https://www.gnu.org/licenses/agpl-3.0-standalone.html + :alt: License: AGPL-3 + +Simplified POS +=============== +This module provides all aspects of pos on a single page in Odoo. + +Configuration +============= +* No Additional configuration is needed. + +License +------- +Affero General Public License, Version 3 (AGPL-3). +(https://www.gnu.org/licenses/agpl-3.0-standalone.html) + +Company +------- +* `Cybrosys Techno Solutions `__ + +Credits +------- +Developer: (V17) Subina P, Contact: odoo@cybrosys.com + +Contacts +-------- +* Mail Contact : odoo@cybrosys.com +* Website : https://cybrosys.com + +Bug Tracker +----------- +Bugs are tracked on GitHub Issues. In case of trouble, please check there if your issue has already been reported. + +Maintainer +========== +.. image:: https://cybrosys.com/images/logo.png + :target: https://cybrosys.com + +This module is maintained by Cybrosys Technologies. + +For support and more information, please visit `Our Website `__ + +Further information +=================== +HTML Description: ``__ diff --git a/simplified_pos/__init__.py b/simplified_pos/__init__.py new file mode 100644 index 000000000..ddebe05bf --- /dev/null +++ b/simplified_pos/__init__.py @@ -0,0 +1,21 @@ +# -*- coding: utf-8 -*- +############################################################################### +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2023-TODAY Cybrosys Technologies() +# Author: Subina (odoo@cybrosys.com) +# +# You can modify it under the terms of the GNU AFFERO +# GENERAL PUBLIC LICENSE (AGPL v3), Version 3. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU AFFERO GENERAL PUBLIC LICENSE (AGPL v3) for more details. +# +# You should have received a copy of the GNU AFFERO GENERAL PUBLIC LICENSE +# (AGPL v3) along with this program. +# If not, see . +# +############################################################################### diff --git a/simplified_pos/__manifest__.py b/simplified_pos/__manifest__.py new file mode 100644 index 000000000..a10f9f060 --- /dev/null +++ b/simplified_pos/__manifest__.py @@ -0,0 +1,51 @@ +# -*- coding: utf-8 -*- +############################################################################### +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2023-TODAY Cybrosys Technologies() +# Author: Subina (odoo@cybrosys.com) +# +# You can modify it under the terms of the GNU AFFERO +# GENERAL PUBLIC LICENSE (AGPL v3), Version 3. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU AFFERO GENERAL PUBLIC LICENSE (AGPL v3) for more details. +# +# You should have received a copy of the GNU AFFERO GENERAL PUBLIC LICENSE +# (AGPL v3) along with this program. +# If not, see . +# +############################################################################### +{ + 'name': 'Simplified POS', + 'version': '17.0.1.0.0', + 'category': 'Point of Sale', + 'summary': 'All aspects of POS on a single page.', + 'description': 'A straightforward point-of-sale system that enables ' + 'payment,order confirmation, and product selection all on ' + 'the same page.', + 'author': 'Cybrosys Techno Solutions', + 'company': 'Cybrosys Techno Solutions', + 'maintainer': 'Cybrosys Techno Solutions', + 'website': 'https://www.cybrosys.com', + 'depends': ['point_of_sale'], + 'assets': { + 'point_of_sale._assets_pos': [ + 'simplified_pos/static/src/js/ProductScreen.js', + 'simplified_pos/static/src/js/ConfirmationPopup.js', + 'simplified_pos/static/src/js/PrintPopup.js', + 'simplified_pos/static/src/scss/pos.scss', + 'simplified_pos/static/src/xml/ProductScreen.xml', + 'simplified_pos/static/src/xml/ConfirmationPopup.xml', + 'simplified_pos/static/src/xml/PrintPopup.xml', + ] + }, + 'images': ['static/description/banner.jpg'], + 'license': 'AGPL-3', + 'installable': True, + 'auto_install': False, + 'application': False, +} diff --git a/simplified_pos/doc/RELEASE_NOTES.md b/simplified_pos/doc/RELEASE_NOTES.md new file mode 100644 index 000000000..f6ac0a61f --- /dev/null +++ b/simplified_pos/doc/RELEASE_NOTES.md @@ -0,0 +1,6 @@ +## Module +#### 19.12.2023 +#### Version 17.0.1.0.0 +#### ADD + +- Initial commit for Simplified POS diff --git a/simplified_pos/static/description/assets/icons/capture (1).png b/simplified_pos/static/description/assets/icons/capture (1).png new file mode 100644 index 000000000..8824deafc Binary files /dev/null and b/simplified_pos/static/description/assets/icons/capture (1).png differ diff --git a/simplified_pos/static/description/assets/icons/check.png b/simplified_pos/static/description/assets/icons/check.png new file mode 100644 index 000000000..c8e85f51d Binary files /dev/null and b/simplified_pos/static/description/assets/icons/check.png differ diff --git a/simplified_pos/static/description/assets/icons/chevron.png b/simplified_pos/static/description/assets/icons/chevron.png new file mode 100644 index 000000000..2089293d6 Binary files /dev/null and b/simplified_pos/static/description/assets/icons/chevron.png differ diff --git a/simplified_pos/static/description/assets/icons/cogs.png b/simplified_pos/static/description/assets/icons/cogs.png new file mode 100644 index 000000000..95d0bad62 Binary files /dev/null and b/simplified_pos/static/description/assets/icons/cogs.png differ diff --git a/simplified_pos/static/description/assets/icons/consultation.png b/simplified_pos/static/description/assets/icons/consultation.png new file mode 100644 index 000000000..8319d4baa Binary files /dev/null and b/simplified_pos/static/description/assets/icons/consultation.png differ diff --git a/simplified_pos/static/description/assets/icons/ecom-black.png b/simplified_pos/static/description/assets/icons/ecom-black.png new file mode 100644 index 000000000..a9385ff13 Binary files /dev/null and b/simplified_pos/static/description/assets/icons/ecom-black.png differ diff --git a/simplified_pos/static/description/assets/icons/education-black.png b/simplified_pos/static/description/assets/icons/education-black.png new file mode 100644 index 000000000..3eb09b27b Binary files /dev/null and b/simplified_pos/static/description/assets/icons/education-black.png differ diff --git a/simplified_pos/static/description/assets/icons/hotel-black.png b/simplified_pos/static/description/assets/icons/hotel-black.png new file mode 100644 index 000000000..130f613be Binary files /dev/null and b/simplified_pos/static/description/assets/icons/hotel-black.png differ diff --git a/simplified_pos/static/description/assets/icons/img.png b/simplified_pos/static/description/assets/icons/img.png new file mode 100644 index 000000000..70197f477 Binary files /dev/null and b/simplified_pos/static/description/assets/icons/img.png differ diff --git a/simplified_pos/static/description/assets/icons/license.png b/simplified_pos/static/description/assets/icons/license.png new file mode 100644 index 000000000..a5869797e Binary files /dev/null and b/simplified_pos/static/description/assets/icons/license.png differ diff --git a/simplified_pos/static/description/assets/icons/lifebuoy.png b/simplified_pos/static/description/assets/icons/lifebuoy.png new file mode 100644 index 000000000..658d56ccc Binary files /dev/null and b/simplified_pos/static/description/assets/icons/lifebuoy.png differ diff --git a/simplified_pos/static/description/assets/icons/manufacturing-black.png b/simplified_pos/static/description/assets/icons/manufacturing-black.png new file mode 100644 index 000000000..697eb0e9f Binary files /dev/null and b/simplified_pos/static/description/assets/icons/manufacturing-black.png differ diff --git a/simplified_pos/static/description/assets/icons/photo-capture.png b/simplified_pos/static/description/assets/icons/photo-capture.png new file mode 100644 index 000000000..06c111758 Binary files /dev/null and b/simplified_pos/static/description/assets/icons/photo-capture.png differ diff --git a/simplified_pos/static/description/assets/icons/pos-black.png b/simplified_pos/static/description/assets/icons/pos-black.png new file mode 100644 index 000000000..97c0f90c1 Binary files /dev/null and b/simplified_pos/static/description/assets/icons/pos-black.png differ diff --git a/simplified_pos/static/description/assets/icons/puzzle.png b/simplified_pos/static/description/assets/icons/puzzle.png new file mode 100644 index 000000000..65cf854e7 Binary files /dev/null and b/simplified_pos/static/description/assets/icons/puzzle.png differ diff --git a/simplified_pos/static/description/assets/icons/restaurant-black.png b/simplified_pos/static/description/assets/icons/restaurant-black.png new file mode 100644 index 000000000..4a35eb939 Binary files /dev/null and b/simplified_pos/static/description/assets/icons/restaurant-black.png differ diff --git a/simplified_pos/static/description/assets/icons/service-black.png b/simplified_pos/static/description/assets/icons/service-black.png new file mode 100644 index 000000000..301ab51cb Binary files /dev/null and b/simplified_pos/static/description/assets/icons/service-black.png differ diff --git a/simplified_pos/static/description/assets/icons/trading-black.png b/simplified_pos/static/description/assets/icons/trading-black.png new file mode 100644 index 000000000..9398ba2f1 Binary files /dev/null and b/simplified_pos/static/description/assets/icons/trading-black.png differ diff --git a/simplified_pos/static/description/assets/icons/training.png b/simplified_pos/static/description/assets/icons/training.png new file mode 100644 index 000000000..884ca024d Binary files /dev/null and b/simplified_pos/static/description/assets/icons/training.png differ diff --git a/simplified_pos/static/description/assets/icons/update.png b/simplified_pos/static/description/assets/icons/update.png new file mode 100644 index 000000000..ecbc5a01a Binary files /dev/null and b/simplified_pos/static/description/assets/icons/update.png differ diff --git a/simplified_pos/static/description/assets/icons/user.png b/simplified_pos/static/description/assets/icons/user.png new file mode 100644 index 000000000..6ffb23d9f Binary files /dev/null and b/simplified_pos/static/description/assets/icons/user.png differ diff --git a/simplified_pos/static/description/assets/icons/wrench.png b/simplified_pos/static/description/assets/icons/wrench.png new file mode 100644 index 000000000..6c04dea0f Binary files /dev/null and b/simplified_pos/static/description/assets/icons/wrench.png differ diff --git a/simplified_pos/static/description/assets/misc/Cybrosys R.png b/simplified_pos/static/description/assets/misc/Cybrosys R.png new file mode 100644 index 000000000..da4058087 Binary files /dev/null and b/simplified_pos/static/description/assets/misc/Cybrosys R.png differ diff --git a/simplified_pos/static/description/assets/misc/categories.png b/simplified_pos/static/description/assets/misc/categories.png new file mode 100644 index 000000000..bedf1e0b1 Binary files /dev/null and b/simplified_pos/static/description/assets/misc/categories.png differ diff --git a/simplified_pos/static/description/assets/misc/check-box.png b/simplified_pos/static/description/assets/misc/check-box.png new file mode 100644 index 000000000..42caf24b9 Binary files /dev/null and b/simplified_pos/static/description/assets/misc/check-box.png differ diff --git a/simplified_pos/static/description/assets/misc/compass.png b/simplified_pos/static/description/assets/misc/compass.png new file mode 100644 index 000000000..d5fed8faa Binary files /dev/null and b/simplified_pos/static/description/assets/misc/compass.png differ diff --git a/simplified_pos/static/description/assets/misc/corporate.png b/simplified_pos/static/description/assets/misc/corporate.png new file mode 100644 index 000000000..2eb13edbf Binary files /dev/null and b/simplified_pos/static/description/assets/misc/corporate.png differ diff --git a/simplified_pos/static/description/assets/misc/customer-support.png b/simplified_pos/static/description/assets/misc/customer-support.png new file mode 100644 index 000000000..79efc72ed Binary files /dev/null and b/simplified_pos/static/description/assets/misc/customer-support.png differ diff --git a/simplified_pos/static/description/assets/misc/cybrosys-logo.png b/simplified_pos/static/description/assets/misc/cybrosys-logo.png new file mode 100644 index 000000000..cc3cc0ccf Binary files /dev/null and b/simplified_pos/static/description/assets/misc/cybrosys-logo.png differ diff --git a/simplified_pos/static/description/assets/misc/email.svg b/simplified_pos/static/description/assets/misc/email.svg new file mode 100644 index 000000000..15291cdc3 --- /dev/null +++ b/simplified_pos/static/description/assets/misc/email.svg @@ -0,0 +1,33 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/simplified_pos/static/description/assets/misc/features.png b/simplified_pos/static/description/assets/misc/features.png new file mode 100644 index 000000000..b41769f77 Binary files /dev/null and b/simplified_pos/static/description/assets/misc/features.png differ diff --git a/simplified_pos/static/description/assets/misc/logo.png b/simplified_pos/static/description/assets/misc/logo.png new file mode 100644 index 000000000..478462d3e Binary files /dev/null and b/simplified_pos/static/description/assets/misc/logo.png differ diff --git a/simplified_pos/static/description/assets/misc/phone.svg b/simplified_pos/static/description/assets/misc/phone.svg new file mode 100644 index 000000000..b7bd7f251 --- /dev/null +++ b/simplified_pos/static/description/assets/misc/phone.svg @@ -0,0 +1,3 @@ + + + diff --git a/simplified_pos/static/description/assets/misc/pictures.png b/simplified_pos/static/description/assets/misc/pictures.png new file mode 100644 index 000000000..56d255fe9 Binary files /dev/null and b/simplified_pos/static/description/assets/misc/pictures.png differ diff --git a/simplified_pos/static/description/assets/misc/pie-chart.png b/simplified_pos/static/description/assets/misc/pie-chart.png new file mode 100644 index 000000000..426e05244 Binary files /dev/null and b/simplified_pos/static/description/assets/misc/pie-chart.png differ diff --git a/simplified_pos/static/description/assets/misc/right-arrow.png b/simplified_pos/static/description/assets/misc/right-arrow.png new file mode 100644 index 000000000..730984a06 Binary files /dev/null and b/simplified_pos/static/description/assets/misc/right-arrow.png differ diff --git a/simplified_pos/static/description/assets/misc/star (1) 2.svg b/simplified_pos/static/description/assets/misc/star (1) 2.svg new file mode 100644 index 000000000..5ae9f507a --- /dev/null +++ b/simplified_pos/static/description/assets/misc/star (1) 2.svg @@ -0,0 +1,9 @@ + + + + + + + + + diff --git a/simplified_pos/static/description/assets/misc/star.png b/simplified_pos/static/description/assets/misc/star.png new file mode 100644 index 000000000..2eb9ab29f Binary files /dev/null and b/simplified_pos/static/description/assets/misc/star.png differ diff --git a/simplified_pos/static/description/assets/misc/support (1) 1.svg b/simplified_pos/static/description/assets/misc/support (1) 1.svg new file mode 100644 index 000000000..7d37a8f30 --- /dev/null +++ b/simplified_pos/static/description/assets/misc/support (1) 1.svg @@ -0,0 +1,9 @@ + + + + + + + + + diff --git a/simplified_pos/static/description/assets/misc/support-email.svg b/simplified_pos/static/description/assets/misc/support-email.svg new file mode 100644 index 000000000..eb70370d6 --- /dev/null +++ b/simplified_pos/static/description/assets/misc/support-email.svg @@ -0,0 +1,6 @@ + + + + + + diff --git a/simplified_pos/static/description/assets/misc/support.png b/simplified_pos/static/description/assets/misc/support.png new file mode 100644 index 000000000..4f18b8b82 Binary files /dev/null and b/simplified_pos/static/description/assets/misc/support.png differ diff --git a/simplified_pos/static/description/assets/misc/tick-mark.svg b/simplified_pos/static/description/assets/misc/tick-mark.svg new file mode 100644 index 000000000..2dbb40187 --- /dev/null +++ b/simplified_pos/static/description/assets/misc/tick-mark.svg @@ -0,0 +1,17 @@ + + + + + + + + + + + + + + + + + diff --git a/simplified_pos/static/description/assets/misc/whatsapp 1.svg b/simplified_pos/static/description/assets/misc/whatsapp 1.svg new file mode 100644 index 000000000..0bfaf8fc6 --- /dev/null +++ b/simplified_pos/static/description/assets/misc/whatsapp 1.svg @@ -0,0 +1,9 @@ + + + + + + + + + diff --git a/simplified_pos/static/description/assets/misc/whatsapp.png b/simplified_pos/static/description/assets/misc/whatsapp.png new file mode 100644 index 000000000..d513a5356 Binary files /dev/null and b/simplified_pos/static/description/assets/misc/whatsapp.png differ diff --git a/simplified_pos/static/description/assets/misc/whatsapp.svg b/simplified_pos/static/description/assets/misc/whatsapp.svg new file mode 100644 index 000000000..b618aea1d --- /dev/null +++ b/simplified_pos/static/description/assets/misc/whatsapp.svg @@ -0,0 +1,33 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/simplified_pos/static/description/assets/modules/1.gif b/simplified_pos/static/description/assets/modules/1.gif new file mode 100644 index 000000000..db040e0de Binary files /dev/null and b/simplified_pos/static/description/assets/modules/1.gif differ diff --git a/simplified_pos/static/description/assets/modules/1.jpg b/simplified_pos/static/description/assets/modules/1.jpg new file mode 100644 index 000000000..61463af06 Binary files /dev/null and b/simplified_pos/static/description/assets/modules/1.jpg differ diff --git a/simplified_pos/static/description/assets/modules/2.jpg b/simplified_pos/static/description/assets/modules/2.jpg new file mode 100644 index 000000000..6a102f103 Binary files /dev/null and b/simplified_pos/static/description/assets/modules/2.jpg differ diff --git a/simplified_pos/static/description/assets/modules/2.png b/simplified_pos/static/description/assets/modules/2.png new file mode 100644 index 000000000..3415917c2 Binary files /dev/null and b/simplified_pos/static/description/assets/modules/2.png differ diff --git a/simplified_pos/static/description/assets/modules/3.jpg b/simplified_pos/static/description/assets/modules/3.jpg new file mode 100644 index 000000000..d704eb313 Binary files /dev/null and b/simplified_pos/static/description/assets/modules/3.jpg differ diff --git a/simplified_pos/static/description/assets/modules/3.png b/simplified_pos/static/description/assets/modules/3.png new file mode 100644 index 000000000..a29119785 Binary files /dev/null and b/simplified_pos/static/description/assets/modules/3.png differ diff --git a/simplified_pos/static/description/assets/modules/4.jpg b/simplified_pos/static/description/assets/modules/4.jpg new file mode 100644 index 000000000..7fd505032 Binary files /dev/null and b/simplified_pos/static/description/assets/modules/4.jpg differ diff --git a/simplified_pos/static/description/assets/modules/4.png b/simplified_pos/static/description/assets/modules/4.png new file mode 100644 index 000000000..b55ddc812 Binary files /dev/null and b/simplified_pos/static/description/assets/modules/4.png differ diff --git a/simplified_pos/static/description/assets/modules/5.jpg b/simplified_pos/static/description/assets/modules/5.jpg new file mode 100644 index 000000000..a5299d338 Binary files /dev/null and b/simplified_pos/static/description/assets/modules/5.jpg differ diff --git a/simplified_pos/static/description/assets/modules/5.png b/simplified_pos/static/description/assets/modules/5.png new file mode 100644 index 000000000..25ed3e0b6 Binary files /dev/null and b/simplified_pos/static/description/assets/modules/5.png differ diff --git a/simplified_pos/static/description/assets/modules/6.jpg b/simplified_pos/static/description/assets/modules/6.jpg new file mode 100644 index 000000000..a85a85a4e Binary files /dev/null and b/simplified_pos/static/description/assets/modules/6.jpg differ diff --git a/simplified_pos/static/description/assets/modules/6.png b/simplified_pos/static/description/assets/modules/6.png new file mode 100644 index 000000000..15b141248 Binary files /dev/null and b/simplified_pos/static/description/assets/modules/6.png differ diff --git a/simplified_pos/static/description/assets/screenshots/hero.gif b/simplified_pos/static/description/assets/screenshots/hero.gif new file mode 100644 index 000000000..3c6a48cb8 Binary files /dev/null and b/simplified_pos/static/description/assets/screenshots/hero.gif differ diff --git a/simplified_pos/static/description/assets/screenshots/simp1.png b/simplified_pos/static/description/assets/screenshots/simp1.png new file mode 100644 index 000000000..1657479b8 Binary files /dev/null and b/simplified_pos/static/description/assets/screenshots/simp1.png differ diff --git a/simplified_pos/static/description/assets/screenshots/simp2.png b/simplified_pos/static/description/assets/screenshots/simp2.png new file mode 100644 index 000000000..3380e3b20 Binary files /dev/null and b/simplified_pos/static/description/assets/screenshots/simp2.png differ diff --git a/simplified_pos/static/description/assets/screenshots/simp3.png b/simplified_pos/static/description/assets/screenshots/simp3.png new file mode 100644 index 000000000..46397a518 Binary files /dev/null and b/simplified_pos/static/description/assets/screenshots/simp3.png differ diff --git a/simplified_pos/static/description/assets/screenshots/simp4.png b/simplified_pos/static/description/assets/screenshots/simp4.png new file mode 100644 index 000000000..073a6b445 Binary files /dev/null and b/simplified_pos/static/description/assets/screenshots/simp4.png differ diff --git a/simplified_pos/static/description/assets/screenshots/simp5.5.png b/simplified_pos/static/description/assets/screenshots/simp5.5.png new file mode 100644 index 000000000..5d861c95e Binary files /dev/null and b/simplified_pos/static/description/assets/screenshots/simp5.5.png differ diff --git a/simplified_pos/static/description/assets/screenshots/simp5.png b/simplified_pos/static/description/assets/screenshots/simp5.png new file mode 100644 index 000000000..a9edde888 Binary files /dev/null and b/simplified_pos/static/description/assets/screenshots/simp5.png differ diff --git a/simplified_pos/static/description/assets/screenshots/simp6.png b/simplified_pos/static/description/assets/screenshots/simp6.png new file mode 100644 index 000000000..f91728baf Binary files /dev/null and b/simplified_pos/static/description/assets/screenshots/simp6.png differ diff --git a/simplified_pos/static/description/assets/screenshots/simp7.png b/simplified_pos/static/description/assets/screenshots/simp7.png new file mode 100644 index 000000000..027b50ad2 Binary files /dev/null and b/simplified_pos/static/description/assets/screenshots/simp7.png differ diff --git a/simplified_pos/static/description/banner.jpg b/simplified_pos/static/description/banner.jpg new file mode 100644 index 000000000..3f45a924a Binary files /dev/null and b/simplified_pos/static/description/banner.jpg differ diff --git a/simplified_pos/static/description/icon.png b/simplified_pos/static/description/icon.png new file mode 100644 index 000000000..51fa23201 Binary files /dev/null and b/simplified_pos/static/description/icon.png differ diff --git a/simplified_pos/static/description/index.html b/simplified_pos/static/description/index.html new file mode 100644 index 000000000..092d4379e --- /dev/null +++ b/simplified_pos/static/description/index.html @@ -0,0 +1,716 @@ + + + + + + + Odoo App 3 Index + + + + + + + + +
+
+
+
+
+ +
+
+
+ Community +
+
+ Enterprise +
+
+ Odoo.sh +
+
+
+
+
+
+

+ Simplified Pos

+

+ All aspects of pos on + a single page. +

+
+ +
+
+
+
+
+

+ Key Highlights +

+
+
+
+
+
+ +
+
+

+ Choosing a product, confirming an order, and + making a payment all on the same page.

+
+
+
+
+
+
+ +
+
+
+
+
+ +
+
+

+ This is the new point of sale frame.

+

+ +

+
+
+
+
+
+
+ +
+
+

+ We can search for products here.

+

+

+
+
+
+
+
+
+ +
+
+

+ Add Products to Order line

+

+

+
+
+
+
+
+
+ +
+
+

+ Add Payment Methods

+

+

+
+
+
+
+
+
+ +
+
+

+ Choose Customer

+
+
+
+
+
+
+ +
+
+

+ Validate Order

+
+
+
+
+
+
+ +
+
+

+ Click confirm to confirm order

+
+
+
+
+
+
+ +
+
+

+ Click print to print the order. +

+
+
+
+
+
+
+
    +
  • + + Choosing a product, confirming an order, + and making a payment all on the same page. +
  • +
+
+
+
+
+
+
Version + 17.0.1.0.0|Released on:16th December 2023 +
+

+ + Initial Commit for Simplified Pos

+
+
+
+
+
+
+
+

+ Related Products

+
+
+ +
+
+

+ Our Services

+ +
+
+
+
+
+
+
+
+ service-icon +
+
+

Odoo + Customization

+
+
+
+
+
+
+ service-icon +
+
+

Odoo + Implementation

+
+
+
+
+
+
+ service-icon +
+
+

Odoo + Support

+
+
+
+
+
+
+ service-icon +
+
+

Hire + Odoo Developer

+
+
+
+
+ +
+
+ service-icon +
+
+

Odoo + Integration

+
+
+
+
+
+
+ service-icon +
+
+

Odoo + Migration

+
+
+
+
+
+
+ service-icon +
+
+

Odoo + Consultancy

+
+
+
+
+
+
+ service-icon +
+
+

Odoo + Implementation

+
+
+
+
+
+
+ service-icon +
+
+

Odoo + Licensing Consultancy

+
+
+
+
+
+
+

+ Our Industries

+ +
+
+
+
+
+
+ +

Trading

+

Easily procure and sell your products

+
+
+
+
+ +

POS

+

Easy configuration and convivial experience

+
+
+
+
+ +

+ Education

+

A platform for educational management

+
+
+
+
+ +

+ Manufacturing

+

Plan, track and schedule your operations

+
+
+
+
+ +

E-commerce & + Website

+

Mobile friendly, awe-inspiring product pages

+
+
+
+
+ +

Service + Management

+

Keep track of services and invoice

+
+
+
+
+ +

+ Restaurant

+

Run your bar or restaurant methodically

+
+
+
+
+ +

Hotel + Management

+

An all-inclusive hotel management application

+
+
+
+
+
+
+

+ Support

+
+
+
+
+
+
+
+ +
+ Need + Help? +

Got + questions or need help? Get in touch.

+
odoo@cybrosys.com +
+
+
+
+
+
+
+
+ +
+ WhatsApp +

Say hi to + us on WhatsApp!

+
+91 + 99456767686 +
+
+
+
+
+
+
+
+
+ + + + + + diff --git a/simplified_pos/static/src/js/ConfirmationPopup.js b/simplified_pos/static/src/js/ConfirmationPopup.js new file mode 100644 index 000000000..ada212112 --- /dev/null +++ b/simplified_pos/static/src/js/ConfirmationPopup.js @@ -0,0 +1,36 @@ +/** @odoo-module **/ +import { Component } from "@odoo/owl"; +import { _lt, _t } from "@web/core/l10n/translation"; +import { PaymentScreen } from "@point_of_sale/app/screens/payment_screen/payment_screen"; +import { registry } from "@web/core/registry"; +import { AbstractAwaitablePopup } from "@point_of_sale/app/popup/abstract_awaitable_popup"; +import { PrintPopup } from "@simplified_pos/js/PrintPopup"; +import { useService } from "@web/core/utils/hooks"; + +export class ConfirmationPopup extends AbstractAwaitablePopup { + static template = "ConfirmationPopup"; + setup() { + super.setup(); + this.popup = useService("popup"); + } + async confirm(ev) { + this.popup.add(PrintPopup, { + title: _t('Print order'), + confirmText: _t('Print'), + cancelText: _t('Cancel'), + }); + this.env.bus.trigger('close-popup', { + popupId: this.props.id, + response: { confirmed: true, payload: await this.getPayload() }, + }); + } + async getPayload() { + return null; + } + cancel(ev) { + window.location.reload(); + } + get nextScreen() { + return !this.error ? 'ProductScreen' : 'ProductScreen'; + } +} diff --git a/simplified_pos/static/src/js/PrintPopup.js b/simplified_pos/static/src/js/PrintPopup.js new file mode 100644 index 000000000..485be379f --- /dev/null +++ b/simplified_pos/static/src/js/PrintPopup.js @@ -0,0 +1,49 @@ +/** @odoo-module **/ +import { Component } from "@odoo/owl"; +import { _lt, _t } from "@web/core/l10n/translation"; +import { registry } from "@web/core/registry"; +import { AbstractAwaitablePopup } from "@point_of_sale/app/popup/abstract_awaitable_popup"; +import { usePos } from "@point_of_sale/app/store/pos_hook"; + +export class PrintPopup extends AbstractAwaitablePopup { + static template = "PrintPopup"; + setup() { + super.setup(); + this.pos = usePos(); + } + async printReceipt() { + console.log(this,'this,,,,,,,') + /*create a new window to hold the content to be printed*/ + var printWindow = window.open('', 'PrintWindow', 'height=600,width=400'); + console.log(this.__owl__.bdom.el.innerHTML,'owl..........') + /* get the HTML content of the popup, excluding the buttons*/ + var content = this.__owl__.bdom.el.innerHTML; + printWindow.document.write(content); + /* print the content and close the window*/ + printWindow.print(); + window.location.reload(); + } + async cancel() { + /*Orders are cancelled through the cancel function.*/ + window.location.reload(); + } + get orderlines() { + /*Selected order lines are passed to UI.*/ + var orderlines = this.pos.selectedOrder.orderlines + var orderlinesList = [] + orderlines.forEach(function (orderlines) { + var totalprice = orderlines.price * orderlines.quantity + orderlinesList.push([orderlines.product.display_name, orderlines.quantity, orderlines.price, totalprice]) + }) + return orderlinesList; + } + get total() { + /*Total is calculated and passed*/ + var total = 0 + var totalvalues = this.pos.selectedOrder.paymentlines + totalvalues.forEach(function (totalvalues) { + total = total + totalvalues.amount + }) + return total; + } + } diff --git a/simplified_pos/static/src/js/ProductScreen.js b/simplified_pos/static/src/js/ProductScreen.js new file mode 100644 index 000000000..e2955eea3 --- /dev/null +++ b/simplified_pos/static/src/js/ProductScreen.js @@ -0,0 +1,130 @@ +/** @odoo-module **/ +import { PaymentScreenPaymentLines } from "@point_of_sale/app/screens/payment_screen/payment_lines/payment_lines"; +import { PaymentScreenStatus } from "@point_of_sale/app/screens/payment_screen/payment_status/payment_status"; +import { registry } from "@web/core/registry"; +import { Component } from "@odoo/owl"; +import { ProductScreen } from "@point_of_sale/app/screens/product_screen/product_screen"; +import { ErrorPopup } from "@point_of_sale/app/errors/popups/error_popup"; +import { Numpad } from "@point_of_sale/app/generic_components/numpad/numpad"; +import { ConfirmationPopup } from "@simplified_pos/js/ConfirmationPopup"; +import { ProductsWidget } from "@point_of_sale/app/screens/product_screen/product_list/product_list"; +import { Orderline } from "@point_of_sale/app/generic_components/orderline/orderline"; +import { OrderWidget } from "@point_of_sale/app/generic_components/order_widget/order_widget"; +import { useService } from "@web/core/utils/hooks"; +import { _lt, _t } from "@web/core/l10n/translation"; +import { patch } from "@web/core/utils/patch"; +import { usePos } from "@point_of_sale/app/store/pos_hook"; + +ProductScreen.components = { + ...ProductScreen.components, + Numpad, + PaymentScreenPaymentLines, + PaymentScreenStatus, + ProductsWidget, + Orderline, + OrderWidget, + }; +patch(ProductScreen.prototype, { + setup() { + super.setup(...arguments); + this.payment_methods_from_config = this.pos.payment_methods.filter((method) => + this.pos.config.payment_method_ids.includes(method.id) + ); + this.pos = usePos(); + this.popup = useService("popup"); + }, + customerDetails() { + this.pos.selectPartner(); + }, + confirmOrder() { + /* When performing validation, this function checks the + requirements and displays an error message if any are reduced.*/ + var paymentline = this.currentOrder.paymentlines.length + var partner = this.currentOrder.partner + var orderlines = this.currentOrder.orderlines.length + if (orderlines == 0) { + this.pos.env.services.popup.add(ErrorPopup, { + title: _t('Error'), + body: _t('Cart is empty.'), + }); + } + else if (partner == null) { + this.pos.env.services.popup.add(ErrorPopup, { + title: _t('Error'), + body: _t('Select a Customer.'), + }); + } + else if (paymentline == 0) { + this.pos.env.services.popup.add(ErrorPopup, { + title: _t('Error'), + body: _t('Select a Payment Method'), + }); + } + else { + this.popup.add(ConfirmationPopup, { + title: _t('Confirmation'), + confirmText: _t('Confirm'), + cancelText: _t('Cancel'), + }); + } + }, + orderDone() { + this.pos.removeOrder(this.currentOrder); + this._addNewOrder(); + const { name, props } = this.nextScreen; + this.pos.showScreen(name, props); + }, + _addNewOrder() { + this.pos.add_new_order(); + }, + addNewPaymentLine(paymentMethod) { + const result = this.currentOrder.add_paymentline(paymentMethod); + if (result) { + this.numberBuffer.reset(); + return true; + } else { + this.popup.add(ErrorPopup, { + title: _t("Error"), + body: _t("There is already an electronic payment in progress."), + }); + return false; + } + }, + get paymentLines() { + return this.currentOrder.get_paymentlines(); + }, + get_partner() { + return this.partner; + }, + set_partner(partner) { + this.partner = this.env.pos.selectedPartner[4]; + }, + deletePaymentLine(cid) { + const lineIndex = this.paymentLines.findIndex((line) => line.cid === cid); + if (lineIndex !== -1) { + this.paymentLines.splice(lineIndex, 1); + } + }, + get nextScreen() { + return { name: 'ProductScreen' }; + }, + _selectLine(event) { + this.currentOrder.select_orderline(event.detail.orderline); + }, + async sendForceDone(line) { + line.set_payment_status("done"); + }, + async sendPaymentReverse(line) { + const payment_terminal = line.payment_method.payment_terminal; + line.set_payment_status("reversing"); + + const isReversalSuccessful = await payment_terminal.send_payment_reversal(line.cid); + if (isReversalSuccessful) { + line.set_amount(0); + line.set_payment_status("reversed"); + } else { + line.can_be_reversed = false; + line.set_payment_status("done"); + } + } + }) diff --git a/simplified_pos/static/src/scss/pos.scss b/simplified_pos/static/src/scss/pos.scss new file mode 100644 index 000000000..7f20c9315 --- /dev/null +++ b/simplified_pos/static/src/scss/pos.scss @@ -0,0 +1,242 @@ +.partnerlist-screen{ + position: fixed; + top: 20px; + width: 90%; + transform: translateX(-50%); + left: 50%; + z-index: 1025; +} +.pos .leftpane { + background: $gray-200; + float:left; + height: 100vh !important; + display: block; + flex-direction: column; + flex-grow: 1; + width:30%; + overflow-y: auto; + border: solid 5px teal;; + &::-webkit-scrollbar { + width: 0; + } +} +.pos .subwindow .subwindow-container-fix { + height: 100%; + position: relative; + overflow-y: scroll;; + &::-webkit-scrollbar { + width: 0; + } +} +.pos .products-widget { + display: flex; + flex-direction: column; + flex-grow: 1; + height:auto; + max-height:calc(100vh - 360px); + overflow: hidden;; + &::-webkit-scrollbar { + width: 0; + } +} +.pos .order .orderlines { + &::-webkit-scrollbar { + width: 0; + } +} +.pos-topheader { + background: teal !important; +} +.payment-status-container { + margin-top: 70px !important; +} +.paymentlines-container { + height: 29% !important; +} +.nextorder{ + margin-bottom:8px !important; + width:29% !important; +} +.pos .product-list-container .product-list-empty p { + margin: 10px; + text-align: center; + color: teal; + font-size: 14px; +} +.pos .button.validation .pay-circle { + background: white; + color: teal; +} +.pos .numpad { + display: grid; + grid-template-columns: repeat(4, 1fr); + text-align: center; + flex-grow: 1; + width: 100%; + min-width: 216px; +} +.pos .numpad button { + border-color:teal; + color:teal; + border-top: 1px solid; + width:100%; + border-bottom: 0px; +} +.pos .mode-button.selected-mode { + color: teal; + background: white; + border-color: teal; +} +.pos .actionpad { + padding: 0; + text-align: center; + vertical-align: top; + border: none; + border-right: 1px solid $gray-300; + flex-grow: 1; + width: 50%; +} +.pos .right{ + float:right; + background:white; + width:30%; + height: 95.6vh; + border: solid 5px teal; + box-sizing: border-box; + margin-top: 2px; + margin-bottom: 8px; +} +.pos .customer-button{ + width: 65%; + margin-bottom: 110px; + border: 2px solid teal !important; + color: teal !important; +} +.pos .head{ + color: #017e84; + font-size: 12px; + font-weight: bold; +} +.pos .center{ + background:white; + height: 100%; +} +.pos ._o_customer{ + text-align: justify; + margin-left: 30px; + margin-right: 30px; +} +.pos .paymentlines-container { + padding: 16px; + padding-top: 0; + border: solid 5px teal; + min-height: 154px; + text-align:center; + padding: 50px 30px 0px 18px; + font-size: 30px; + color: #43996E; +} +.pos p.title-category { + margin: 0; + padding: map-get($spacers, 1) map-get($spacers, 3); + background: $gray-300; + color: teal; + text-transform: uppercase; + font-weight: bold; + font-size: 15px; + order: 1; +} +.pos .payment-status-total-due { + font-size: 17px; + padding-top: 12px; + padding-bottom: 12px; + color: $gray-500; + padding-left: 100px; +} +.pos .payment-status-container { + display: flex; + justify-content: center; + font-size: 25px; + padding-top: 15px; +} +.pos .button.validation { + display: flex; + align-items: center; + justify-content: center; + flex-direction: column; + height: calc(var(--btn-height-size) * 2.3); + border: none; + background: $primary; + color: #fff; + font-size: 14px; + font-weight: bold; + transition: all 150ms linear; + margin-bottom:0 !important; + max-height:102px !important; +} +.pos .amount-paymentmethod{ + padding-left: 40%; +} +.pos .delete-button { + padding-left: 30%; +} +.pos .form-container{ + max-width: 450px; + padding: 30px; + background-color: white; +} +.pos .orderlinesactionpad-receipt{ + font-size : 15px; + text-align:left; + margin-left:35px; +} +.pos .button.validation{ + background:#39B8B8 !important; + margin-bottom: 13px !important; +} +.highlight { + width: 29.45% !important; +} +.next { + border-bottom: solid 5px teal !important; +} +.paymentmethods-container { + overflow: scroll; + height:calc(100vh - 338px) !important; + &::-webkit-scrollbar { + width: 0; + } +} +.pos .nextorder { + position: absolute; + width: 28.3%; + bottom: 0; +} +.pos .search-bar-container.sb-product { + max-width: 100%; + width:100%; + -webkit-box-pack: start; + justify-content: flex-start; + height: 100%; + min-height: 48px; +} +.pos-content{ + height: 100vh; + overflow: hidden !important; +} +.leftpane.pane-border > .h-100 { +height:auto !important; +min-height: 200px; +} +.button.next.validation{ + max-width: 40.5vw; +} +.paymentmethods .button{ + font-size: 20px; + cursor: pointer; + border:1px solid #ddd;; + +} +.title .drag-handle{ +font-size:27px; +} \ No newline at end of file diff --git a/simplified_pos/static/src/xml/ConfirmationPopup.xml b/simplified_pos/static/src/xml/ConfirmationPopup.xml new file mode 100644 index 000000000..f210643cb --- /dev/null +++ b/simplified_pos/static/src/xml/ConfirmationPopup.xml @@ -0,0 +1,18 @@ + + + + + + + diff --git a/simplified_pos/static/src/xml/PrintPopup.xml b/simplified_pos/static/src/xml/PrintPopup.xml new file mode 100644 index 000000000..40e1baa33 --- /dev/null +++ b/simplified_pos/static/src/xml/PrintPopup.xml @@ -0,0 +1,95 @@ + + + + + + + diff --git a/simplified_pos/static/src/xml/ProductScreen.xml b/simplified_pos/static/src/xml/ProductScreen.xml new file mode 100644 index 000000000..c1a7385d8 --- /dev/null +++ b/simplified_pos/static/src/xml/ProductScreen.xml @@ -0,0 +1,112 @@ + + + + + +
+
+ + + + + + +
    +
  • + SN +
  • +
+
+ +
+ +
+ +
+
+






+

CUSTOMER

+

+ +

+
+ +
+
+
+ +
+ New Order +
+
+
+ +
+
+

Payment method

+ +
+
+ +
+
+
+ +
+
+ +
+
+
+
+ +
+ +

Name:

+ +

Address:

+ +

Email:

+ +

Phone:

+ + +
+
+
\ No newline at end of file