diff --git a/pos_orderline_items_count/README.rst b/pos_orderline_items_count/README.rst deleted file mode 100644 index 2f10e1cf3..000000000 --- a/pos_orderline_items_count/README.rst +++ /dev/null @@ -1,46 +0,0 @@ -.. image:: https://img.shields.io/badge/license-LGPL--3-blue.svg - :target: https://www.gnu.org/licenses/lgpl-3.0-standalone.html - :alt: License: LGPL-3 - -Pos Order Line Items Count -========================== -This module helps you to show the count, quantity of items in the pos screen and pos receipt. - -Configuration -============= -No additional configurations needed. - -Company -------- -* `Cybrosys Techno Solutions `__ - -License -------- -General Public License, Version 3 (LGPL v3). -(https://www.gnu.org/licenses/lgpl-3.0-standalone.html) - -Credits -------- -Developer: (V15) Afra K, 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/pos_orderline_items_count/__manifest__.py b/pos_orderline_items_count/__manifest__.py deleted file mode 100644 index 02a89e17d..000000000 --- a/pos_orderline_items_count/__manifest__.py +++ /dev/null @@ -1,50 +0,0 @@ -# -*- coding: utf-8 -*- -############################################################################# -# -# Cybrosys Technologies Pvt. Ltd. -# -# Copyright (C) 2024-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 Order Line Items Count', - 'version': '15.0.1.0.0', - 'summary': 'Module to show the count, quantity of items in the pos screen' - ' and pos receipt', - 'description': 'This module helps to show the count, quantity of items in' - ' the pos screen and pos receipt', - 'category': 'Point of Sale', - 'author': 'Cybrosys Techno Solutions', - 'company': 'Cybrosys Techno Solutions', - 'maintainer': 'Cybrosys Techno Solutions', - 'website': "https://www.cybrosys.com", - 'depends': ['base', 'point_of_sale'], - 'assets': { - 'point_of_sale.assets': [ - 'pos_orderline_items_count/static/src/js/pos_receipt.js', - 'pos_orderline_items_count/static/src/js/product_screen.js', - ], - 'web.assets_qweb': [ - 'pos_orderline_items_count/static/src/xml/pos_items_count.xml', - 'pos_orderline_items_count/static/src/xml/pos_receipt.xml', - ], - }, - 'license': 'LGPL-3', - 'images': ['static/description/banner.png'], - 'installable': True, - 'auto_install': False, - 'application': False, -} diff --git a/pos_orderline_items_count/doc/RELEASE_NOTES.md b/pos_orderline_items_count/doc/RELEASE_NOTES.md deleted file mode 100644 index 1e1d66d0e..000000000 --- a/pos_orderline_items_count/doc/RELEASE_NOTES.md +++ /dev/null @@ -1,6 +0,0 @@ -## Module - -#### 04.05.2024 -#### Version 15.0.1.0.0 -#### ADD -- Initial commit for Pos Order Line Items Count diff --git a/pos_orderline_items_count/static/description/assets/icons/check.png b/pos_orderline_items_count/static/description/assets/icons/check.png deleted file mode 100644 index c8e85f51d..000000000 Binary files a/pos_orderline_items_count/static/description/assets/icons/check.png and /dev/null differ diff --git a/pos_orderline_items_count/static/description/assets/icons/chevron.png b/pos_orderline_items_count/static/description/assets/icons/chevron.png deleted file mode 100644 index 2089293d6..000000000 Binary files a/pos_orderline_items_count/static/description/assets/icons/chevron.png and /dev/null differ diff --git a/pos_orderline_items_count/static/description/assets/icons/cogs.png b/pos_orderline_items_count/static/description/assets/icons/cogs.png deleted file mode 100644 index 95d0bad62..000000000 Binary files a/pos_orderline_items_count/static/description/assets/icons/cogs.png and /dev/null differ diff --git a/pos_orderline_items_count/static/description/assets/icons/consultation.png b/pos_orderline_items_count/static/description/assets/icons/consultation.png deleted file mode 100644 index 8319d4baa..000000000 Binary files a/pos_orderline_items_count/static/description/assets/icons/consultation.png and /dev/null differ diff --git a/pos_orderline_items_count/static/description/assets/icons/ecom-black.png b/pos_orderline_items_count/static/description/assets/icons/ecom-black.png deleted file mode 100644 index a9385ff13..000000000 Binary files a/pos_orderline_items_count/static/description/assets/icons/ecom-black.png and /dev/null differ diff --git a/pos_orderline_items_count/static/description/assets/icons/education-black.png b/pos_orderline_items_count/static/description/assets/icons/education-black.png deleted file mode 100644 index 3eb09b27b..000000000 Binary files a/pos_orderline_items_count/static/description/assets/icons/education-black.png and /dev/null differ diff --git a/pos_orderline_items_count/static/description/assets/icons/hotel-black.png b/pos_orderline_items_count/static/description/assets/icons/hotel-black.png deleted file mode 100644 index 130f613be..000000000 Binary files a/pos_orderline_items_count/static/description/assets/icons/hotel-black.png and /dev/null differ diff --git a/pos_orderline_items_count/static/description/assets/icons/license.png b/pos_orderline_items_count/static/description/assets/icons/license.png deleted file mode 100644 index a5869797e..000000000 Binary files a/pos_orderline_items_count/static/description/assets/icons/license.png and /dev/null differ diff --git a/pos_orderline_items_count/static/description/assets/icons/lifebuoy.png b/pos_orderline_items_count/static/description/assets/icons/lifebuoy.png deleted file mode 100644 index 658d56ccc..000000000 Binary files a/pos_orderline_items_count/static/description/assets/icons/lifebuoy.png and /dev/null differ diff --git a/pos_orderline_items_count/static/description/assets/icons/manufacturing-black.png b/pos_orderline_items_count/static/description/assets/icons/manufacturing-black.png deleted file mode 100644 index 697eb0e9f..000000000 Binary files a/pos_orderline_items_count/static/description/assets/icons/manufacturing-black.png and /dev/null differ diff --git a/pos_orderline_items_count/static/description/assets/icons/pos-black.png b/pos_orderline_items_count/static/description/assets/icons/pos-black.png deleted file mode 100644 index 97c0f90c1..000000000 Binary files a/pos_orderline_items_count/static/description/assets/icons/pos-black.png and /dev/null differ diff --git a/pos_orderline_items_count/static/description/assets/icons/puzzle.png b/pos_orderline_items_count/static/description/assets/icons/puzzle.png deleted file mode 100644 index 65cf854e7..000000000 Binary files a/pos_orderline_items_count/static/description/assets/icons/puzzle.png and /dev/null differ diff --git a/pos_orderline_items_count/static/description/assets/icons/restaurant-black.png b/pos_orderline_items_count/static/description/assets/icons/restaurant-black.png deleted file mode 100644 index 4a35eb939..000000000 Binary files a/pos_orderline_items_count/static/description/assets/icons/restaurant-black.png and /dev/null differ diff --git a/pos_orderline_items_count/static/description/assets/icons/service-black.png b/pos_orderline_items_count/static/description/assets/icons/service-black.png deleted file mode 100644 index 301ab51cb..000000000 Binary files a/pos_orderline_items_count/static/description/assets/icons/service-black.png and /dev/null differ diff --git a/pos_orderline_items_count/static/description/assets/icons/trading-black.png b/pos_orderline_items_count/static/description/assets/icons/trading-black.png deleted file mode 100644 index 9398ba2f1..000000000 Binary files a/pos_orderline_items_count/static/description/assets/icons/trading-black.png and /dev/null differ diff --git a/pos_orderline_items_count/static/description/assets/icons/training.png b/pos_orderline_items_count/static/description/assets/icons/training.png deleted file mode 100644 index 884ca024d..000000000 Binary files a/pos_orderline_items_count/static/description/assets/icons/training.png and /dev/null differ diff --git a/pos_orderline_items_count/static/description/assets/icons/update.png b/pos_orderline_items_count/static/description/assets/icons/update.png deleted file mode 100644 index ecbc5a01a..000000000 Binary files a/pos_orderline_items_count/static/description/assets/icons/update.png and /dev/null differ diff --git a/pos_orderline_items_count/static/description/assets/icons/user.png b/pos_orderline_items_count/static/description/assets/icons/user.png deleted file mode 100644 index 6ffb23d9f..000000000 Binary files a/pos_orderline_items_count/static/description/assets/icons/user.png and /dev/null differ diff --git a/pos_orderline_items_count/static/description/assets/icons/wrench.png b/pos_orderline_items_count/static/description/assets/icons/wrench.png deleted file mode 100644 index 6c04dea0f..000000000 Binary files a/pos_orderline_items_count/static/description/assets/icons/wrench.png and /dev/null differ diff --git a/pos_orderline_items_count/static/description/assets/misc/categories.png b/pos_orderline_items_count/static/description/assets/misc/categories.png deleted file mode 100644 index bedf1e0b1..000000000 Binary files a/pos_orderline_items_count/static/description/assets/misc/categories.png and /dev/null differ diff --git a/pos_orderline_items_count/static/description/assets/misc/check-box.png b/pos_orderline_items_count/static/description/assets/misc/check-box.png deleted file mode 100644 index 42caf24b9..000000000 Binary files a/pos_orderline_items_count/static/description/assets/misc/check-box.png and /dev/null differ diff --git a/pos_orderline_items_count/static/description/assets/misc/compass.png b/pos_orderline_items_count/static/description/assets/misc/compass.png deleted file mode 100644 index d5fed8faa..000000000 Binary files a/pos_orderline_items_count/static/description/assets/misc/compass.png and /dev/null differ diff --git a/pos_orderline_items_count/static/description/assets/misc/corporate.png b/pos_orderline_items_count/static/description/assets/misc/corporate.png deleted file mode 100644 index 2eb13edbf..000000000 Binary files a/pos_orderline_items_count/static/description/assets/misc/corporate.png and /dev/null differ diff --git a/pos_orderline_items_count/static/description/assets/misc/customer-support.png b/pos_orderline_items_count/static/description/assets/misc/customer-support.png deleted file mode 100644 index 79efc72ed..000000000 Binary files a/pos_orderline_items_count/static/description/assets/misc/customer-support.png and /dev/null differ diff --git a/pos_orderline_items_count/static/description/assets/misc/cybrosys-logo.png b/pos_orderline_items_count/static/description/assets/misc/cybrosys-logo.png deleted file mode 100644 index cc3cc0ccf..000000000 Binary files a/pos_orderline_items_count/static/description/assets/misc/cybrosys-logo.png and /dev/null differ diff --git a/pos_orderline_items_count/static/description/assets/misc/features.png b/pos_orderline_items_count/static/description/assets/misc/features.png deleted file mode 100644 index b41769f77..000000000 Binary files a/pos_orderline_items_count/static/description/assets/misc/features.png and /dev/null differ diff --git a/pos_orderline_items_count/static/description/assets/misc/logo.png b/pos_orderline_items_count/static/description/assets/misc/logo.png deleted file mode 100644 index 478462d3e..000000000 Binary files a/pos_orderline_items_count/static/description/assets/misc/logo.png and /dev/null differ diff --git a/pos_orderline_items_count/static/description/assets/misc/pictures.png b/pos_orderline_items_count/static/description/assets/misc/pictures.png deleted file mode 100644 index 56d255fe9..000000000 Binary files a/pos_orderline_items_count/static/description/assets/misc/pictures.png and /dev/null differ diff --git a/pos_orderline_items_count/static/description/assets/misc/pie-chart.png b/pos_orderline_items_count/static/description/assets/misc/pie-chart.png deleted file mode 100644 index 426e05244..000000000 Binary files a/pos_orderline_items_count/static/description/assets/misc/pie-chart.png and /dev/null differ diff --git a/pos_orderline_items_count/static/description/assets/misc/right-arrow.png b/pos_orderline_items_count/static/description/assets/misc/right-arrow.png deleted file mode 100644 index 730984a06..000000000 Binary files a/pos_orderline_items_count/static/description/assets/misc/right-arrow.png and /dev/null differ diff --git a/pos_orderline_items_count/static/description/assets/misc/star.png b/pos_orderline_items_count/static/description/assets/misc/star.png deleted file mode 100644 index 2eb9ab29f..000000000 Binary files a/pos_orderline_items_count/static/description/assets/misc/star.png and /dev/null differ diff --git a/pos_orderline_items_count/static/description/assets/misc/support.png b/pos_orderline_items_count/static/description/assets/misc/support.png deleted file mode 100644 index 4f18b8b82..000000000 Binary files a/pos_orderline_items_count/static/description/assets/misc/support.png and /dev/null differ diff --git a/pos_orderline_items_count/static/description/assets/misc/whatsapp.png b/pos_orderline_items_count/static/description/assets/misc/whatsapp.png deleted file mode 100644 index d513a5356..000000000 Binary files a/pos_orderline_items_count/static/description/assets/misc/whatsapp.png and /dev/null differ diff --git a/pos_orderline_items_count/static/description/assets/modules/1.png b/pos_orderline_items_count/static/description/assets/modules/1.png deleted file mode 100644 index 5ab0a1c20..000000000 Binary files a/pos_orderline_items_count/static/description/assets/modules/1.png and /dev/null differ diff --git a/pos_orderline_items_count/static/description/assets/modules/2.png b/pos_orderline_items_count/static/description/assets/modules/2.png deleted file mode 100644 index d317a9c63..000000000 Binary files a/pos_orderline_items_count/static/description/assets/modules/2.png and /dev/null differ diff --git a/pos_orderline_items_count/static/description/assets/modules/3.png b/pos_orderline_items_count/static/description/assets/modules/3.png deleted file mode 100644 index d0664959c..000000000 Binary files a/pos_orderline_items_count/static/description/assets/modules/3.png and /dev/null differ diff --git a/pos_orderline_items_count/static/description/assets/modules/4.png b/pos_orderline_items_count/static/description/assets/modules/4.png deleted file mode 100644 index 53e380ca2..000000000 Binary files a/pos_orderline_items_count/static/description/assets/modules/4.png and /dev/null differ diff --git a/pos_orderline_items_count/static/description/assets/modules/5.png b/pos_orderline_items_count/static/description/assets/modules/5.png deleted file mode 100644 index 8cda7e051..000000000 Binary files a/pos_orderline_items_count/static/description/assets/modules/5.png and /dev/null differ diff --git a/pos_orderline_items_count/static/description/assets/modules/6.png b/pos_orderline_items_count/static/description/assets/modules/6.png deleted file mode 100644 index 0070861d0..000000000 Binary files a/pos_orderline_items_count/static/description/assets/modules/6.png and /dev/null differ diff --git a/pos_orderline_items_count/static/description/assets/screenshots/hero.gif b/pos_orderline_items_count/static/description/assets/screenshots/hero.gif deleted file mode 100644 index c54165361..000000000 Binary files a/pos_orderline_items_count/static/description/assets/screenshots/hero.gif and /dev/null differ diff --git a/pos_orderline_items_count/static/description/assets/screenshots/screenshot1.png b/pos_orderline_items_count/static/description/assets/screenshots/screenshot1.png deleted file mode 100644 index 68a4d7ced..000000000 Binary files a/pos_orderline_items_count/static/description/assets/screenshots/screenshot1.png and /dev/null differ diff --git a/pos_orderline_items_count/static/description/assets/screenshots/screenshot2.png b/pos_orderline_items_count/static/description/assets/screenshots/screenshot2.png deleted file mode 100644 index 96812bb88..000000000 Binary files a/pos_orderline_items_count/static/description/assets/screenshots/screenshot2.png and /dev/null differ diff --git a/pos_orderline_items_count/static/description/banner.png b/pos_orderline_items_count/static/description/banner.png deleted file mode 100644 index 56ea33c2e..000000000 Binary files a/pos_orderline_items_count/static/description/banner.png and /dev/null differ diff --git a/pos_orderline_items_count/static/description/icon.png b/pos_orderline_items_count/static/description/icon.png deleted file mode 100644 index 3db63637f..000000000 Binary files a/pos_orderline_items_count/static/description/icon.png and /dev/null differ diff --git a/pos_orderline_items_count/static/description/index.html b/pos_orderline_items_count/static/description/index.html deleted file mode 100644 index 500d969be..000000000 --- a/pos_orderline_items_count/static/description/index.html +++ /dev/null @@ -1,601 +0,0 @@ -
- -
- -
-
- Community -
-
- Enterprise -
-
- Odoo.sh -
-
-
- -
-
-
- -

- Pos Order Line Items Count

-

- Shows the items' count and total quantity of the pos order

- - -
-
-
-
- - -
-
- -
-

- Explore This - Module

-
- - - - -
-
- -
-

- Overview -

-
-
-
- This module helps to show the items count and total quantity of the pos order -
-
- - - -
-
- -
-

- Features -

-
-
-
-
- -
- Shows the items count and total quantity of the pos order in the pos screen and pos recept -
-
-
- -
- - Compatible with Community, Enterprise and Odoo.sh. -
-
-
-
- - - -
-
- -
-

- Screenshots -

-
-
-
- -
-

- items' count and total quantity of the pos order in the pos screen

-

- According to the order lines the count of items and its quantity will show in the numpad of pos screen

- -
- -
-

- items' count and total quantity of the pos order in the pos recept

- - -
-
-
- - - -
-
- -
-

Related - Products -

-
-
-
- -
-
- - - - -
-
- -
-

- 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

-
-
-
-
- - - - -
-
- -
-

- Support -

-
-
-
-
-
-
- -
-
-

Need Help?

-

Got questions or need help? - Get in touch.

- -

- odoo@cybrosys.com

-
-
-
-
-
-
-
- -
-
-

WhatsApp

-

Say hi to us on WhatsApp!

- -

- +91 86068 - 27707

-
-
-
-
-
-
-
- -
-
-
- diff --git a/pos_orderline_items_count/static/src/js/pos_receipt.js b/pos_orderline_items_count/static/src/js/pos_receipt.js deleted file mode 100644 index e2ffb0734..000000000 --- a/pos_orderline_items_count/static/src/js/pos_receipt.js +++ /dev/null @@ -1,24 +0,0 @@ -odoo.define('pos_orderline_items_count.OrderReceipt', function(require) { - 'use strict'; - - const OrderReceipt = require('point_of_sale.OrderReceipt') - const Registries = require('point_of_sale.Registries'); - var { Order } = require('point_of_sale.models'); - const OrderReceiptCount = OrderReceipt => - // extending the pos receipt screen - class extends OrderReceipt { - get receiptEnv() { - let receipt_render_env = super.receiptEnv; - let receipt = receipt_render_env.receipt; - receipt.count = this._receiptEnv.orderlines.length; - var sum = 0; - this._receiptEnv.orderlines.forEach(function(t) { - sum += t.quantity; - }) - receipt.sum = sum - return receipt_render_env; - } - } - Registries.Component.extend(OrderReceipt, OrderReceiptCount); - return OrderReceiptCount - }); diff --git a/pos_orderline_items_count/static/src/js/product_screen.js b/pos_orderline_items_count/static/src/js/product_screen.js deleted file mode 100644 index 66d6eba95..000000000 --- a/pos_orderline_items_count/static/src/js/product_screen.js +++ /dev/null @@ -1,63 +0,0 @@ -odoo.define('pos_orderline_items_count.ItemsCount', function(require) { - 'use strict'; - const { Gui } = require('point_of_sale.Gui'); - const PosComponent = require('point_of_sale.PosComponent'); - const { identifyError } = require('point_of_sale.utils'); - const ProductScreen = require('point_of_sale.ProductScreen'); - const { useListener } = require("@web/core/utils/hooks"); - const Registries = require('point_of_sale.Registries'); - const PaymentScreen = require('point_of_sale.PaymentScreen'); - - class ItemsCount extends PosComponent { - setup() { - super.setup(); - } - get order() { - return this.env.pos.get_order(); - } - mounted() { - this.order.on('change', () => { - this.get_items_count(); - this.get_items_qty(); - this.render(); - }); - this.order.orderlines.on('change', () => { - this.get_items_count(); - this.get_items_qty(); - this.render(); - }); - } - get_items_count() { - /** - * Get the count of order lines in the current order. - * - * @returns {number} The number of order lines in the current order. - */ - var order = this.env.pos.get_order(); - var count = order.orderlines.length; - return count - } - get_items_qty() { - /** - * Get the total quantity of items in the current order. - * - * @returns {number} The total quantity of items in the current order. - */ - var order = this.env.pos.get_order(); - var sum = 0; - order.orderlines.forEach(function(t) { - sum += t.quantity; - }) - return sum - } - } - ItemsCount.template = 'ItemsCount'; - ProductScreen.addControlButton({ - component: ItemsCount, - condition: function() { - return this.env.pos; - }, - }); - Registries.Component.add(ItemsCount); - return ItemsCount; -}); diff --git a/pos_orderline_items_count/static/src/xml/pos_items_count.xml b/pos_orderline_items_count/static/src/xml/pos_items_count.xml deleted file mode 100644 index c2330c8ac..000000000 --- a/pos_orderline_items_count/static/src/xml/pos_items_count.xml +++ /dev/null @@ -1,19 +0,0 @@ - - - - -
-
- - Total Items: - -
-
- - Total Qty: - - -
-
-
-
diff --git a/pos_orderline_items_count/static/src/xml/pos_receipt.xml b/pos_orderline_items_count/static/src/xml/pos_receipt.xml deleted file mode 100644 index 1918233cd..000000000 --- a/pos_orderline_items_count/static/src/xml/pos_receipt.xml +++ /dev/null @@ -1,20 +0,0 @@ - - - - - -
- Total Items: - - - -
-
- Total Count: - - - -
-
-
-