diff --git a/pos_numpad_show_hide/README.rst b/pos_numpad_show_hide/README.rst new file mode 100644 index 000000000..a7f9ce01b --- /dev/null +++ b/pos_numpad_show_hide/README.rst @@ -0,0 +1,41 @@ +POS Numpad Show/Hide +==================== +* POS Numpad Show/Hide module for Odoo 16. + +Installation +============ + - www.odoo.com/documentation/16.0/setup/install.html + - Install our custom addon + +License +------- +General Public License, Version 3 (LGPL v3). +(https://www.odoo.com/documentation/user/16.0/legal/licenses/licenses.html) + +Company +------- +* 'Cybrosys Techno Solutions '__ + +Credits +------- +* 'Cybrosys Techno Solutions '__ + Author : Neethu UM + +Contacts +-------- +* Mail Contact : odoo@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 +========== +This module is maintained by Cybrosys Technologies. + +For support and more information, please visit https://www.cybrosys.com + +Further information +=================== +HTML Description: ``__ + diff --git a/pos_numpad_show_hide/__init__.py b/pos_numpad_show_hide/__init__.py new file mode 100644 index 000000000..e3cd5ea36 --- /dev/null +++ b/pos_numpad_show_hide/__init__.py @@ -0,0 +1,21 @@ +# -*- coding: utf-8 -*- +############################################################################# +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2022-TODAY Cybrosys Technologies() +# Author: Cybrosys Techno Solutions() +# +# You can modify it under the terms of the GNU LESSER +# GENERAL PUBLIC LICENSE (LGPL 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 LESSER GENERAL PUBLIC LICENSE (LGPL v3) for more details. +# +# You should have received a copy of the GNU LESSER GENERAL PUBLIC LICENSE +# (LGPL v3) along with this program. +# If not, see . +# +############################################################################# diff --git a/pos_numpad_show_hide/__manifest__.py b/pos_numpad_show_hide/__manifest__.py new file mode 100644 index 000000000..fe8aa3139 --- /dev/null +++ b/pos_numpad_show_hide/__manifest__.py @@ -0,0 +1,50 @@ +# -*- coding: utf-8 -*- +############################################################################# +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2023-TODAY Cybrosys Technologies() +# Author: Cybrosys Techno Solutions() +# +# You can modify it under the terms of the GNU LESSER +# GENERAL PUBLIC LICENSE (LGPL 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 LESSER GENERAL PUBLIC LICENSE (LGPL v3) for more details. +# +# You should have received a copy of the GNU LESSER GENERAL PUBLIC LICENSE +# (LGPL v3) along with this program. +# If not, see . +# +############################################################################# +{ + 'name': 'POS Numpad Show/Hide', + 'version': '15.0.1.0.0', + 'summary': 'Show/Hide NumPad in POS', + 'description': 'This module help to hide/ show the numpad in POS module', + 'category': 'Point of Sale', + 'author': 'Cybrosys Techno Solutions', + 'company': 'Cybrosys Techno Solutions', + 'maintainer': 'Cybrosys Techno Solutions', + 'website': "https://www.cybrosys.com", + 'license': 'LGPL-3', + 'depends': ['base', 'point_of_sale'], + 'data': [ + ], + 'assets': { + 'web.assets_backend': [ + 'pos_numpad_show_hide/static/src/js/pos_numpad.js', + ], + 'web.assets_qweb': [ + 'pos_numpad_show_hide/static/src/xml/pos.xml', + ], + }, + 'images': [ + 'static/description/banner.png', + ], + 'installable': True, + 'auto_install': False, + 'application': False +} diff --git a/pos_numpad_show_hide/doc/RELEASE_NOTES.md b/pos_numpad_show_hide/doc/RELEASE_NOTES.md new file mode 100644 index 000000000..549702023 --- /dev/null +++ b/pos_numpad_show_hide/doc/RELEASE_NOTES.md @@ -0,0 +1,6 @@ +## Module + +#### 17.01.2023 +#### Version 15.0.1.0.0 +#### ADD +- Initial commit for POS Numpad Show/Hide Module diff --git a/pos_numpad_show_hide/static/description/assets/icons/check.png b/pos_numpad_show_hide/static/description/assets/icons/check.png new file mode 100644 index 000000000..c8e85f51d Binary files /dev/null and b/pos_numpad_show_hide/static/description/assets/icons/check.png differ diff --git a/pos_numpad_show_hide/static/description/assets/icons/chevron.png b/pos_numpad_show_hide/static/description/assets/icons/chevron.png new file mode 100644 index 000000000..2089293d6 Binary files /dev/null and b/pos_numpad_show_hide/static/description/assets/icons/chevron.png differ diff --git a/pos_numpad_show_hide/static/description/assets/icons/cogs.png b/pos_numpad_show_hide/static/description/assets/icons/cogs.png new file mode 100644 index 000000000..95d0bad62 Binary files /dev/null and b/pos_numpad_show_hide/static/description/assets/icons/cogs.png differ diff --git a/pos_numpad_show_hide/static/description/assets/icons/consultation.png b/pos_numpad_show_hide/static/description/assets/icons/consultation.png new file mode 100644 index 000000000..8319d4baa Binary files /dev/null and b/pos_numpad_show_hide/static/description/assets/icons/consultation.png differ diff --git a/pos_numpad_show_hide/static/description/assets/icons/ecom-black.png b/pos_numpad_show_hide/static/description/assets/icons/ecom-black.png new file mode 100644 index 000000000..a9385ff13 Binary files /dev/null and b/pos_numpad_show_hide/static/description/assets/icons/ecom-black.png differ diff --git a/pos_numpad_show_hide/static/description/assets/icons/education-black.png b/pos_numpad_show_hide/static/description/assets/icons/education-black.png new file mode 100644 index 000000000..3eb09b27b Binary files /dev/null and b/pos_numpad_show_hide/static/description/assets/icons/education-black.png differ diff --git a/pos_numpad_show_hide/static/description/assets/icons/hotel-black.png b/pos_numpad_show_hide/static/description/assets/icons/hotel-black.png new file mode 100644 index 000000000..130f613be Binary files /dev/null and b/pos_numpad_show_hide/static/description/assets/icons/hotel-black.png differ diff --git a/pos_numpad_show_hide/static/description/assets/icons/license.png b/pos_numpad_show_hide/static/description/assets/icons/license.png new file mode 100644 index 000000000..a5869797e Binary files /dev/null and b/pos_numpad_show_hide/static/description/assets/icons/license.png differ diff --git a/pos_numpad_show_hide/static/description/assets/icons/lifebuoy.png b/pos_numpad_show_hide/static/description/assets/icons/lifebuoy.png new file mode 100644 index 000000000..658d56ccc Binary files /dev/null and b/pos_numpad_show_hide/static/description/assets/icons/lifebuoy.png differ diff --git a/pos_numpad_show_hide/static/description/assets/icons/logo.png b/pos_numpad_show_hide/static/description/assets/icons/logo.png new file mode 100644 index 000000000..478462d3e Binary files /dev/null and b/pos_numpad_show_hide/static/description/assets/icons/logo.png differ diff --git a/pos_numpad_show_hide/static/description/assets/icons/manufacturing-black.png b/pos_numpad_show_hide/static/description/assets/icons/manufacturing-black.png new file mode 100644 index 000000000..697eb0e9f Binary files /dev/null and b/pos_numpad_show_hide/static/description/assets/icons/manufacturing-black.png differ diff --git a/pos_numpad_show_hide/static/description/assets/icons/pos-black.png b/pos_numpad_show_hide/static/description/assets/icons/pos-black.png new file mode 100644 index 000000000..97c0f90c1 Binary files /dev/null and b/pos_numpad_show_hide/static/description/assets/icons/pos-black.png differ diff --git a/pos_numpad_show_hide/static/description/assets/icons/puzzle.png b/pos_numpad_show_hide/static/description/assets/icons/puzzle.png new file mode 100644 index 000000000..65cf854e7 Binary files /dev/null and b/pos_numpad_show_hide/static/description/assets/icons/puzzle.png differ diff --git a/pos_numpad_show_hide/static/description/assets/icons/restaurant-black.png b/pos_numpad_show_hide/static/description/assets/icons/restaurant-black.png new file mode 100644 index 000000000..4a35eb939 Binary files /dev/null and b/pos_numpad_show_hide/static/description/assets/icons/restaurant-black.png differ diff --git a/pos_numpad_show_hide/static/description/assets/icons/service-black.png b/pos_numpad_show_hide/static/description/assets/icons/service-black.png new file mode 100644 index 000000000..301ab51cb Binary files /dev/null and b/pos_numpad_show_hide/static/description/assets/icons/service-black.png differ diff --git a/pos_numpad_show_hide/static/description/assets/icons/trading-black.png b/pos_numpad_show_hide/static/description/assets/icons/trading-black.png new file mode 100644 index 000000000..9398ba2f1 Binary files /dev/null and b/pos_numpad_show_hide/static/description/assets/icons/trading-black.png differ diff --git a/pos_numpad_show_hide/static/description/assets/icons/training.png b/pos_numpad_show_hide/static/description/assets/icons/training.png new file mode 100644 index 000000000..884ca024d Binary files /dev/null and b/pos_numpad_show_hide/static/description/assets/icons/training.png differ diff --git a/pos_numpad_show_hide/static/description/assets/icons/update.png b/pos_numpad_show_hide/static/description/assets/icons/update.png new file mode 100644 index 000000000..ecbc5a01a Binary files /dev/null and b/pos_numpad_show_hide/static/description/assets/icons/update.png differ diff --git a/pos_numpad_show_hide/static/description/assets/icons/user.png b/pos_numpad_show_hide/static/description/assets/icons/user.png new file mode 100644 index 000000000..6ffb23d9f Binary files /dev/null and b/pos_numpad_show_hide/static/description/assets/icons/user.png differ diff --git a/pos_numpad_show_hide/static/description/assets/icons/wrench.png b/pos_numpad_show_hide/static/description/assets/icons/wrench.png new file mode 100644 index 000000000..6c04dea0f Binary files /dev/null and b/pos_numpad_show_hide/static/description/assets/icons/wrench.png differ diff --git a/pos_numpad_show_hide/static/description/banner.png b/pos_numpad_show_hide/static/description/banner.png new file mode 100644 index 000000000..6d589b993 Binary files /dev/null and b/pos_numpad_show_hide/static/description/banner.png differ diff --git a/pos_numpad_show_hide/static/description/icon.png b/pos_numpad_show_hide/static/description/icon.png new file mode 100644 index 000000000..06c1bb167 Binary files /dev/null and b/pos_numpad_show_hide/static/description/icon.png differ diff --git a/pos_numpad_show_hide/static/description/icon.png~ b/pos_numpad_show_hide/static/description/icon.png~ new file mode 100644 index 000000000..5c1d3b967 Binary files /dev/null and b/pos_numpad_show_hide/static/description/icon.png~ differ diff --git a/pos_numpad_show_hide/static/description/images/checked.png b/pos_numpad_show_hide/static/description/images/checked.png new file mode 100644 index 000000000..e6c63d582 Binary files /dev/null and b/pos_numpad_show_hide/static/description/images/checked.png differ diff --git a/pos_numpad_show_hide/static/description/images/hero.gif b/pos_numpad_show_hide/static/description/images/hero.gif new file mode 100644 index 000000000..d957303ca Binary files /dev/null and b/pos_numpad_show_hide/static/description/images/hero.gif differ diff --git a/pos_numpad_show_hide/static/description/images/logo.png b/pos_numpad_show_hide/static/description/images/logo.png new file mode 100644 index 000000000..478462d3e Binary files /dev/null and b/pos_numpad_show_hide/static/description/images/logo.png differ diff --git a/pos_numpad_show_hide/static/description/images/modules/1.png b/pos_numpad_show_hide/static/description/images/modules/1.png new file mode 100644 index 000000000..b50130c7d Binary files /dev/null and b/pos_numpad_show_hide/static/description/images/modules/1.png differ diff --git a/pos_numpad_show_hide/static/description/images/modules/2.png b/pos_numpad_show_hide/static/description/images/modules/2.png new file mode 100644 index 000000000..3ad04ecfd Binary files /dev/null and b/pos_numpad_show_hide/static/description/images/modules/2.png differ diff --git a/pos_numpad_show_hide/static/description/images/modules/3.png b/pos_numpad_show_hide/static/description/images/modules/3.png new file mode 100644 index 000000000..30ad58232 Binary files /dev/null and b/pos_numpad_show_hide/static/description/images/modules/3.png differ diff --git a/pos_numpad_show_hide/static/description/images/modules/4.png b/pos_numpad_show_hide/static/description/images/modules/4.png new file mode 100644 index 000000000..492980ad0 Binary files /dev/null and b/pos_numpad_show_hide/static/description/images/modules/4.png differ diff --git a/pos_numpad_show_hide/static/description/images/modules/5.png b/pos_numpad_show_hide/static/description/images/modules/5.png new file mode 100644 index 000000000..1ae7cfe3b Binary files /dev/null and b/pos_numpad_show_hide/static/description/images/modules/5.png differ diff --git a/pos_numpad_show_hide/static/description/images/modules/6.png b/pos_numpad_show_hide/static/description/images/modules/6.png new file mode 100644 index 000000000..499b1a72f Binary files /dev/null and b/pos_numpad_show_hide/static/description/images/modules/6.png differ diff --git a/pos_numpad_show_hide/static/description/images/pos_numpad_hide.png b/pos_numpad_show_hide/static/description/images/pos_numpad_hide.png new file mode 100644 index 000000000..f34b695cb Binary files /dev/null and b/pos_numpad_show_hide/static/description/images/pos_numpad_hide.png differ diff --git a/pos_numpad_show_hide/static/description/images/pos_numpad_show.png b/pos_numpad_show_hide/static/description/images/pos_numpad_show.png new file mode 100644 index 000000000..40d61b8fe Binary files /dev/null and b/pos_numpad_show_hide/static/description/images/pos_numpad_show.png differ diff --git a/pos_numpad_show_hide/static/description/index.html b/pos_numpad_show_hide/static/description/index.html new file mode 100644 index 000000000..3a912fd8b --- /dev/null +++ b/pos_numpad_show_hide/static/description/index.html @@ -0,0 +1,536 @@ +
+
+
+
+ +
+
+
+ Community +
+ +
+
+
+
+ +
+
+ +
+
+

POS Numpad Show/Hide

+

+ Show/Hide NumPad in POS +

+ +
+
+ + + +
+
+

Overview

+
+

+ The module helps to hide/ show the numpad in POS module +

+
+
+ + + + +
+
+

Key Features

+
+
+ + +
+ +
+ +

+ Show/Hide Numpad in PoS +

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

Screenshots

+
+ + +
+
+

+ 01

+
+
+

+ Show/Hide option in POS +

+

+ Go to PoS Screen, there you will see a button in the numpad to show or hide the numpad +

+ +
+
+ + + + + +
+
+

+ 02

+
+
+

+ Show/Hide option in POS + +

+

+ Clicking on the button with the eye-icon will hide the numpad, clicking it again will show the numpad again. + +

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

Our Services

+
+
+ +
+
+ +
+
Odoo + Customization
+
+ +
+
+ +
+
Odoo + Implementation
+
+ +
+
+ +
+
Odoo + Support
+
+ + +
+
+ +
+
Hire + Odoo + Developer
+
+ +
+
+ +
+
Odoo + Integration
+
+ +
+
+ +
+
Odoo + Migration
+
+ + +
+
+ +
+
Odoo + Consultancy
+
+ +
+
+ +
+
Odoo + Implementation
+
+ +
+
+ +
+
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

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

Need Help?

+
+
+
+ + +
+ +
+ +
+ +
+ WhatsApp +
+
+
+ +
+ +
+ +
+
+ +
+ +
+ +
+
+ +
+
+
+ + + +
+ \ No newline at end of file diff --git a/pos_numpad_show_hide/static/src/js/pos_numpad.js b/pos_numpad_show_hide/static/src/js/pos_numpad.js new file mode 100644 index 000000000..e18f120bc --- /dev/null +++ b/pos_numpad_show_hide/static/src/js/pos_numpad.js @@ -0,0 +1,14 @@ +odoo.define('pos_numpad_show_hide.show_hide_numpad', function (require) { + "use strict"; + const ProductScreen = require('point_of_sale.ProductScreen'); + const { patch } = require('web.utils'); + + patch(ProductScreen.prototype, 'hide_show_numpad', { + NumpadVisibility() { + $('.pads').slideToggle('slow', function() { + $('.numpad-toggle').toggleClass('fa-eye fa-eye-slash'); + }); + } + }) + +}); diff --git a/pos_numpad_show_hide/static/src/xml/pos.xml b/pos_numpad_show_hide/static/src/xml/pos.xml new file mode 100644 index 000000000..828c78975 --- /dev/null +++ b/pos_numpad_show_hide/static/src/xml/pos.xml @@ -0,0 +1,12 @@ + + + + + +
+ + +
+
+
+
\ No newline at end of file