diff --git a/product_detail_search/README.rst b/product_detail_search/README.rst new file mode 100755 index 000000000..54435acaa --- /dev/null +++ b/product_detail_search/README.rst @@ -0,0 +1,48 @@ +.. image:: https://img.shields.io/badge/license-LGPL--3-green.svg + :target: https://www.gnu.org/licenses/lgpl-3.0-standalone.html + :alt: License: LGPL-3 + +Find Products in Pos and Stock using Barcode +============================================ +Find the product using barcode in the pos and inventory + +Configuration +============= +No additional configuration required + +Company +------- +* `Cybrosys Techno Solutions `__ + +License +------- +Lesser General Public License, Version 3 (LGPL v3). +(https://www.gnu.org/licenses/lgpl-3.0-standalone.html) + +Credits +------- +Developer: (V17) Gokul P I , + +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/product_detail_search/__init__.py b/product_detail_search/__init__.py new file mode 100755 index 000000000..02f6d3ff6 --- /dev/null +++ b/product_detail_search/__init__.py @@ -0,0 +1,22 @@ +# -*- coding: utf-8 -*- +############################################################################# +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2024-TODAY Cybrosys Technologies() +# Author: Gokul P I (odoo@cybrosys.com) +# +# 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 . +# +############################################################################# +from . import models diff --git a/product_detail_search/__manifest__.py b/product_detail_search/__manifest__.py new file mode 100755 index 000000000..5859309ef --- /dev/null +++ b/product_detail_search/__manifest__.py @@ -0,0 +1,66 @@ +# -*- coding: utf-8 -*- +############################################################################# +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2024-TODAY Cybrosys Technologies() +# Author: Gokul P I (odoo@cybrosys.com) +# +# 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': 'Find Products in Pos and Stock using Barcode', + 'version': '17.0.1.0.0', + 'category': 'Point of Sale', + 'summary': 'Find Products in Pos and Stock using Barcode utilizes barcode' + ' scanning to quickly identify and track items. Each product' + ' is assigned a unique barcode,', + 'description': 'Find Products in Pos and Stock using Barcode in the POS' + ' and inventory modules brings numerous benefits to ' + 'retailers.It enhances operational efficiency, reduces ' + 'manual errors, improves customer service, and provides ' + 'valuable insights for better inventory management and ' + 'business decision-making.', + 'author': 'Cybrosys Techno Solutions', + 'company': 'Cybrosys Techno Solutions', + 'maintainer': 'Cybrosys Techno Solutions', + 'website': "https://www.cybrosys.com", + 'depends': ['point_of_sale', 'stock'], + 'data': [ + 'views/stock_views.xml' + ], + 'images': [ + 'static/description/banner.jpg', + ], + 'assets': { + 'point_of_sale._assets_pos': [ + 'product_detail_search/static/src/css/pos.css', + 'product_detail_search/static/src/js/find_product_button.js', + 'product_detail_search/static/src/js/find_product.js', + 'product_detail_search/static/src/js/product_details.js', + 'product_detail_search/static/src/xml/find_product_screen_templates.xml', + 'product_detail_search/static/src/xml/product_details_templates.xml', + 'product_detail_search/static/src/xml/chrome_templates.xml', + ], + 'web.assets_backend': [ + 'product_detail_search/static/src/css/barcode.css', + 'product_detail_search/static/src/js/dashboard.js', + 'product_detail_search/static/src/xml/dashboard_templates.xml', + ], + }, + 'license': 'LGPL-3', + 'installable': True, + 'application': True, + 'auto_install': False, +} diff --git a/product_detail_search/doc/RELEASE_NOTES.md b/product_detail_search/doc/RELEASE_NOTES.md new file mode 100755 index 000000000..4f4f20432 --- /dev/null +++ b/product_detail_search/doc/RELEASE_NOTES.md @@ -0,0 +1,7 @@ +## Module + +#### 08.01.2024 +#### Version 17.0.1.0.0 +#### ADD + +- Initial commit for Find Products in Pos and Stock using Barcode diff --git a/product_detail_search/models/__init__.py b/product_detail_search/models/__init__.py new file mode 100755 index 000000000..1523d163c --- /dev/null +++ b/product_detail_search/models/__init__.py @@ -0,0 +1,22 @@ +# -*- coding: utf-8 -*- +############################################################################# +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2024-TODAY Cybrosys Technologies() +# Author: Gokul P I (odoo@cybrosys.com) +# +# 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 . +# +############################################################################# +from . import product_template diff --git a/product_detail_search/models/product_template.py b/product_detail_search/models/product_template.py new file mode 100755 index 000000000..bad198f63 --- /dev/null +++ b/product_detail_search/models/product_template.py @@ -0,0 +1,63 @@ +# -*- coding: utf-8 -*- +############################################################################# +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2024-TODAY Cybrosys Technologies() +# Author: Gokul P I (odoo@cybrosys.com) +# +# 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 . +# +############################################################################# +from odoo import models + + +class ProductTemplate(models.Model): + """Inheriting The product template for adding the product_detail_search + method""" + _inherit = 'product.template' + + def product_detail_search(self, barcode): + """Find the details for the product When the barcode Scan is + Detected""" + product = self.env['product.product'].search( + [('barcode', '=', barcode)]) + if product: + product_details = [ + {'id': product.id, + 'display_name': product.display_name, 'name': product.name, + 'detailed_type': product.detailed_type, + 'tax_amount': product.taxes_id, + 'barcode': product.barcode, + 'default_code': product.default_code, + 'qty_available': product.qty_available, + 'list_price': product.list_price, + 'company_id': product.company_id if product.company_id else False, + 'category': product.categ_id.name + }] + specification = [color.strip() for color in + product.display_name.split("(")[ + -1].split(")")[0].split(",")] + symbol = self.env['res.currency'].browse(product.currency_id.id) + extra_details = {'symbol': str(symbol.symbol)} + if product.taxes_id: + extra_details.update({'tax_amount': str( + self.env['account.tax'].browse(product.taxes_id.id).name), + 'specification': specification}) + else: + extra_details.update({'tax_amount': 'No tax', + 'specification': specification}) + product_details[0].update(extra_details) + else: + product_details = False + return product_details diff --git a/product_detail_search/static/description/assets/icons/capture (1).png b/product_detail_search/static/description/assets/icons/capture (1).png new file mode 100644 index 000000000..8824deafc Binary files /dev/null and b/product_detail_search/static/description/assets/icons/capture (1).png differ diff --git a/product_detail_search/static/description/assets/icons/check.png b/product_detail_search/static/description/assets/icons/check.png new file mode 100644 index 000000000..c8e85f51d Binary files /dev/null and b/product_detail_search/static/description/assets/icons/check.png differ diff --git a/product_detail_search/static/description/assets/icons/chevron.png b/product_detail_search/static/description/assets/icons/chevron.png new file mode 100644 index 000000000..2089293d6 Binary files /dev/null and b/product_detail_search/static/description/assets/icons/chevron.png differ diff --git a/product_detail_search/static/description/assets/icons/cogs.png b/product_detail_search/static/description/assets/icons/cogs.png new file mode 100644 index 000000000..95d0bad62 Binary files /dev/null and b/product_detail_search/static/description/assets/icons/cogs.png differ diff --git a/product_detail_search/static/description/assets/icons/consultation.png b/product_detail_search/static/description/assets/icons/consultation.png new file mode 100644 index 000000000..8319d4baa Binary files /dev/null and b/product_detail_search/static/description/assets/icons/consultation.png differ diff --git a/product_detail_search/static/description/assets/icons/ecom-black.png b/product_detail_search/static/description/assets/icons/ecom-black.png new file mode 100644 index 000000000..a9385ff13 Binary files /dev/null and b/product_detail_search/static/description/assets/icons/ecom-black.png differ diff --git a/product_detail_search/static/description/assets/icons/education-black.png b/product_detail_search/static/description/assets/icons/education-black.png new file mode 100644 index 000000000..3eb09b27b Binary files /dev/null and b/product_detail_search/static/description/assets/icons/education-black.png differ diff --git a/product_detail_search/static/description/assets/icons/hotel-black.png b/product_detail_search/static/description/assets/icons/hotel-black.png new file mode 100644 index 000000000..130f613be Binary files /dev/null and b/product_detail_search/static/description/assets/icons/hotel-black.png differ diff --git a/product_detail_search/static/description/assets/icons/img.png b/product_detail_search/static/description/assets/icons/img.png new file mode 100644 index 000000000..70197f477 Binary files /dev/null and b/product_detail_search/static/description/assets/icons/img.png differ diff --git a/product_detail_search/static/description/assets/icons/license.png b/product_detail_search/static/description/assets/icons/license.png new file mode 100644 index 000000000..a5869797e Binary files /dev/null and b/product_detail_search/static/description/assets/icons/license.png differ diff --git a/product_detail_search/static/description/assets/icons/lifebuoy.png b/product_detail_search/static/description/assets/icons/lifebuoy.png new file mode 100644 index 000000000..658d56ccc Binary files /dev/null and b/product_detail_search/static/description/assets/icons/lifebuoy.png differ diff --git a/product_detail_search/static/description/assets/icons/logo.png b/product_detail_search/static/description/assets/icons/logo.png new file mode 100644 index 000000000..478462d3e Binary files /dev/null and b/product_detail_search/static/description/assets/icons/logo.png differ diff --git a/product_detail_search/static/description/assets/icons/manufacturing-black.png b/product_detail_search/static/description/assets/icons/manufacturing-black.png new file mode 100644 index 000000000..697eb0e9f Binary files /dev/null and b/product_detail_search/static/description/assets/icons/manufacturing-black.png differ diff --git a/product_detail_search/static/description/assets/icons/photo-capture.png b/product_detail_search/static/description/assets/icons/photo-capture.png new file mode 100644 index 000000000..06c111758 Binary files /dev/null and b/product_detail_search/static/description/assets/icons/photo-capture.png differ diff --git a/product_detail_search/static/description/assets/icons/pos-black.png b/product_detail_search/static/description/assets/icons/pos-black.png new file mode 100644 index 000000000..97c0f90c1 Binary files /dev/null and b/product_detail_search/static/description/assets/icons/pos-black.png differ diff --git a/product_detail_search/static/description/assets/icons/puzzle.png b/product_detail_search/static/description/assets/icons/puzzle.png new file mode 100644 index 000000000..65cf854e7 Binary files /dev/null and b/product_detail_search/static/description/assets/icons/puzzle.png differ diff --git a/product_detail_search/static/description/assets/icons/restaurant-black.png b/product_detail_search/static/description/assets/icons/restaurant-black.png new file mode 100644 index 000000000..4a35eb939 Binary files /dev/null and b/product_detail_search/static/description/assets/icons/restaurant-black.png differ diff --git a/product_detail_search/static/description/assets/icons/service-black.png b/product_detail_search/static/description/assets/icons/service-black.png new file mode 100644 index 000000000..301ab51cb Binary files /dev/null and b/product_detail_search/static/description/assets/icons/service-black.png differ diff --git a/product_detail_search/static/description/assets/icons/trading-black.png b/product_detail_search/static/description/assets/icons/trading-black.png new file mode 100644 index 000000000..9398ba2f1 Binary files /dev/null and b/product_detail_search/static/description/assets/icons/trading-black.png differ diff --git a/product_detail_search/static/description/assets/icons/training.png b/product_detail_search/static/description/assets/icons/training.png new file mode 100644 index 000000000..884ca024d Binary files /dev/null and b/product_detail_search/static/description/assets/icons/training.png differ diff --git a/product_detail_search/static/description/assets/icons/update.png b/product_detail_search/static/description/assets/icons/update.png new file mode 100644 index 000000000..ecbc5a01a Binary files /dev/null and b/product_detail_search/static/description/assets/icons/update.png differ diff --git a/product_detail_search/static/description/assets/icons/user.png b/product_detail_search/static/description/assets/icons/user.png new file mode 100644 index 000000000..6ffb23d9f Binary files /dev/null and b/product_detail_search/static/description/assets/icons/user.png differ diff --git a/product_detail_search/static/description/assets/icons/wrench.png b/product_detail_search/static/description/assets/icons/wrench.png new file mode 100644 index 000000000..6c04dea0f Binary files /dev/null and b/product_detail_search/static/description/assets/icons/wrench.png differ diff --git a/product_detail_search/static/description/assets/misc/Cybrosys R.png b/product_detail_search/static/description/assets/misc/Cybrosys R.png new file mode 100644 index 000000000..da4058087 Binary files /dev/null and b/product_detail_search/static/description/assets/misc/Cybrosys R.png differ diff --git a/product_detail_search/static/description/assets/misc/categories.png b/product_detail_search/static/description/assets/misc/categories.png new file mode 100644 index 000000000..bedf1e0b1 Binary files /dev/null and b/product_detail_search/static/description/assets/misc/categories.png differ diff --git a/product_detail_search/static/description/assets/misc/check-box.png b/product_detail_search/static/description/assets/misc/check-box.png new file mode 100644 index 000000000..42caf24b9 Binary files /dev/null and b/product_detail_search/static/description/assets/misc/check-box.png differ diff --git a/product_detail_search/static/description/assets/misc/compass.png b/product_detail_search/static/description/assets/misc/compass.png new file mode 100644 index 000000000..d5fed8faa Binary files /dev/null and b/product_detail_search/static/description/assets/misc/compass.png differ diff --git a/product_detail_search/static/description/assets/misc/corporate.png b/product_detail_search/static/description/assets/misc/corporate.png new file mode 100644 index 000000000..2eb13edbf Binary files /dev/null and b/product_detail_search/static/description/assets/misc/corporate.png differ diff --git a/product_detail_search/static/description/assets/misc/customer-support.png b/product_detail_search/static/description/assets/misc/customer-support.png new file mode 100644 index 000000000..79efc72ed Binary files /dev/null and b/product_detail_search/static/description/assets/misc/customer-support.png differ diff --git a/product_detail_search/static/description/assets/misc/cybrosys-logo.png b/product_detail_search/static/description/assets/misc/cybrosys-logo.png new file mode 100644 index 000000000..cc3cc0ccf Binary files /dev/null and b/product_detail_search/static/description/assets/misc/cybrosys-logo.png differ diff --git a/product_detail_search/static/description/assets/misc/email.svg b/product_detail_search/static/description/assets/misc/email.svg new file mode 100644 index 000000000..15291cdc3 --- /dev/null +++ b/product_detail_search/static/description/assets/misc/email.svg @@ -0,0 +1,33 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/product_detail_search/static/description/assets/misc/features.png b/product_detail_search/static/description/assets/misc/features.png new file mode 100644 index 000000000..b41769f77 Binary files /dev/null and b/product_detail_search/static/description/assets/misc/features.png differ diff --git a/product_detail_search/static/description/assets/misc/logo.png b/product_detail_search/static/description/assets/misc/logo.png new file mode 100644 index 000000000..478462d3e Binary files /dev/null and b/product_detail_search/static/description/assets/misc/logo.png differ diff --git a/product_detail_search/static/description/assets/misc/phone.svg b/product_detail_search/static/description/assets/misc/phone.svg new file mode 100644 index 000000000..b7bd7f251 --- /dev/null +++ b/product_detail_search/static/description/assets/misc/phone.svg @@ -0,0 +1,3 @@ + + + diff --git a/product_detail_search/static/description/assets/misc/pictures.png b/product_detail_search/static/description/assets/misc/pictures.png new file mode 100644 index 000000000..56d255fe9 Binary files /dev/null and b/product_detail_search/static/description/assets/misc/pictures.png differ diff --git a/product_detail_search/static/description/assets/misc/pie-chart.png b/product_detail_search/static/description/assets/misc/pie-chart.png new file mode 100644 index 000000000..426e05244 Binary files /dev/null and b/product_detail_search/static/description/assets/misc/pie-chart.png differ diff --git a/product_detail_search/static/description/assets/misc/right-arrow.png b/product_detail_search/static/description/assets/misc/right-arrow.png new file mode 100644 index 000000000..730984a06 Binary files /dev/null and b/product_detail_search/static/description/assets/misc/right-arrow.png differ diff --git a/product_detail_search/static/description/assets/misc/star (1) 2.svg b/product_detail_search/static/description/assets/misc/star (1) 2.svg new file mode 100644 index 000000000..5ae9f507a --- /dev/null +++ b/product_detail_search/static/description/assets/misc/star (1) 2.svg @@ -0,0 +1,9 @@ + + + + + + + + + diff --git a/product_detail_search/static/description/assets/misc/star.png b/product_detail_search/static/description/assets/misc/star.png new file mode 100644 index 000000000..2eb9ab29f Binary files /dev/null and b/product_detail_search/static/description/assets/misc/star.png differ diff --git a/product_detail_search/static/description/assets/misc/support (1) 1.svg b/product_detail_search/static/description/assets/misc/support (1) 1.svg new file mode 100644 index 000000000..7d37a8f30 --- /dev/null +++ b/product_detail_search/static/description/assets/misc/support (1) 1.svg @@ -0,0 +1,9 @@ + + + + + + + + + diff --git a/product_detail_search/static/description/assets/misc/support-email.svg b/product_detail_search/static/description/assets/misc/support-email.svg new file mode 100644 index 000000000..eb70370d6 --- /dev/null +++ b/product_detail_search/static/description/assets/misc/support-email.svg @@ -0,0 +1,6 @@ + + + + + + diff --git a/product_detail_search/static/description/assets/misc/support.png b/product_detail_search/static/description/assets/misc/support.png new file mode 100644 index 000000000..4f18b8b82 Binary files /dev/null and b/product_detail_search/static/description/assets/misc/support.png differ diff --git a/product_detail_search/static/description/assets/misc/tick-mark.svg b/product_detail_search/static/description/assets/misc/tick-mark.svg new file mode 100644 index 000000000..2dbb40187 --- /dev/null +++ b/product_detail_search/static/description/assets/misc/tick-mark.svg @@ -0,0 +1,17 @@ + + + + + + + + + + + + + + + + + diff --git a/product_detail_search/static/description/assets/misc/whatsapp 1.svg b/product_detail_search/static/description/assets/misc/whatsapp 1.svg new file mode 100644 index 000000000..0bfaf8fc6 --- /dev/null +++ b/product_detail_search/static/description/assets/misc/whatsapp 1.svg @@ -0,0 +1,9 @@ + + + + + + + + + diff --git a/product_detail_search/static/description/assets/misc/whatsapp.png b/product_detail_search/static/description/assets/misc/whatsapp.png new file mode 100644 index 000000000..d513a5356 Binary files /dev/null and b/product_detail_search/static/description/assets/misc/whatsapp.png differ diff --git a/product_detail_search/static/description/assets/misc/whatsapp.svg b/product_detail_search/static/description/assets/misc/whatsapp.svg new file mode 100644 index 000000000..b618aea1d --- /dev/null +++ b/product_detail_search/static/description/assets/misc/whatsapp.svg @@ -0,0 +1,33 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/product_detail_search/static/description/assets/modules/1.jpg b/product_detail_search/static/description/assets/modules/1.jpg new file mode 100644 index 000000000..1e087eed6 Binary files /dev/null and b/product_detail_search/static/description/assets/modules/1.jpg differ diff --git a/product_detail_search/static/description/assets/modules/2.png b/product_detail_search/static/description/assets/modules/2.png new file mode 100644 index 000000000..cb17cf612 Binary files /dev/null and b/product_detail_search/static/description/assets/modules/2.png differ diff --git a/product_detail_search/static/description/assets/modules/3.png b/product_detail_search/static/description/assets/modules/3.png new file mode 100644 index 000000000..0e311ca87 Binary files /dev/null and b/product_detail_search/static/description/assets/modules/3.png differ diff --git a/product_detail_search/static/description/assets/modules/4.jpg b/product_detail_search/static/description/assets/modules/4.jpg new file mode 100644 index 000000000..693671ccf Binary files /dev/null and b/product_detail_search/static/description/assets/modules/4.jpg differ diff --git a/product_detail_search/static/description/assets/modules/5.jpg b/product_detail_search/static/description/assets/modules/5.jpg new file mode 100644 index 000000000..0edf328e5 Binary files /dev/null and b/product_detail_search/static/description/assets/modules/5.jpg differ diff --git a/product_detail_search/static/description/assets/modules/6.png b/product_detail_search/static/description/assets/modules/6.png new file mode 100644 index 000000000..a5299d338 Binary files /dev/null and b/product_detail_search/static/description/assets/modules/6.png differ diff --git a/product_detail_search/static/description/assets/screenshots/1.png b/product_detail_search/static/description/assets/screenshots/1.png new file mode 100644 index 000000000..d43b48c11 Binary files /dev/null and b/product_detail_search/static/description/assets/screenshots/1.png differ diff --git a/product_detail_search/static/description/assets/screenshots/2.png b/product_detail_search/static/description/assets/screenshots/2.png new file mode 100644 index 000000000..81729e682 Binary files /dev/null and b/product_detail_search/static/description/assets/screenshots/2.png differ diff --git a/product_detail_search/static/description/assets/screenshots/3.png b/product_detail_search/static/description/assets/screenshots/3.png new file mode 100644 index 000000000..b3468052a Binary files /dev/null and b/product_detail_search/static/description/assets/screenshots/3.png differ diff --git a/product_detail_search/static/description/assets/screenshots/4.png b/product_detail_search/static/description/assets/screenshots/4.png new file mode 100644 index 000000000..1d320f017 Binary files /dev/null and b/product_detail_search/static/description/assets/screenshots/4.png differ diff --git a/product_detail_search/static/description/assets/screenshots/5.png b/product_detail_search/static/description/assets/screenshots/5.png new file mode 100644 index 000000000..f87ac7598 Binary files /dev/null and b/product_detail_search/static/description/assets/screenshots/5.png differ diff --git a/product_detail_search/static/description/assets/screenshots/cybrosys-logo.png b/product_detail_search/static/description/assets/screenshots/cybrosys-logo.png new file mode 100755 index 000000000..cc3cc0ccf Binary files /dev/null and b/product_detail_search/static/description/assets/screenshots/cybrosys-logo.png differ diff --git a/product_detail_search/static/description/assets/screenshots/hero.gif b/product_detail_search/static/description/assets/screenshots/hero.gif new file mode 100644 index 000000000..43c3ca164 Binary files /dev/null and b/product_detail_search/static/description/assets/screenshots/hero.gif differ diff --git a/product_detail_search/static/description/banner.jpg b/product_detail_search/static/description/banner.jpg new file mode 100644 index 000000000..1ae0e288a Binary files /dev/null and b/product_detail_search/static/description/banner.jpg differ diff --git a/product_detail_search/static/description/icon.png b/product_detail_search/static/description/icon.png new file mode 100644 index 000000000..6f80712fe Binary files /dev/null and b/product_detail_search/static/description/icon.png differ diff --git a/product_detail_search/static/description/index.html b/product_detail_search/static/description/index.html new file mode 100755 index 000000000..f8d5f46bc --- /dev/null +++ b/product_detail_search/static/description/index.html @@ -0,0 +1,775 @@ + + + + + + Odoo App 3 Index + + + + + + + + +
+
+
+
+
+ +
+
+
+ Community +
+
+ Enterprise +
+
+ Odoo.sh +
+
+
+
+
+
+

+ Find Products in Pos and Stock using Barcode

+

+ Find the product using barcode in the pos and inventory +

+
+ +
+
+
+
+
+

+ Key Highlights +

+
+
+
+
+
+ +
+
+

+ Efficient Product Identification: +

+

A + barcode-based Find Products in Pos and Stock + using Barcode in the Point of Sale (POS) and + inventory module offers a quick and accurate + way to identify products. By scanning the + barcode, the system instantly retrieves the + product information, eliminating the need for + manual searching or data entry. +

+
+
+
+
+
+
+ +
+
+

+ Enhanced Product Traceability:

+

With a + barcode-based system, each product can be + uniquely identified and tracked throughout its + lifecycle. This enables businesses to monitor + product movement, trace batches or lots, and + facilitate recalls or warranty processes if + necessary. It enhances transparency, quality + control, and customer safety. +

+
+
+
+
+
+
+ +
+
+

+ Reduced Training Time:

+

Barcode-based + Find Products in Pos and Stock using Barcode + simplify the training process for new + employees. Instead of memorizing product codes + or searching through a complex inventory + system, they can quickly learn to use the + barcode scanner.

+
+
+
+
+
+
+ +
+
+

+ Increased Operational Efficiency: +

+

By leveraging + barcode scanning technology in the POS and + inventory module, businesses can achieve higher + operational efficiency. Employees spend less + time manually searching for products, + reconciling inventory, or correcting errors. + This frees up time for more critical tasks, + improves productivity, and contributes to a + smoother overall workflow. +

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

+ Goto the inventory and there we can see the + Find Product menu. click the menu and scan + the barcode into that text field.

+
+
+
+
+
+
+ +
+
+

+ When you scan the product then you can see + the corresponding product details below +

+
+
+
+
+
+
+ +
+
+

+ In Pos We can see a Find product button in + the top

+
+
+
+
+
+
+ +
+
+

+ After you can see a window to scan your + product +

+
+
+
+
+
+
+ +
+
+

+ After you can see a corresponding product + details there +

+
+
+
+ +
+
+
+
    +
  • + Barcode-based + systems can assist businesses in meeting + compliance and regulatory requirements. +
  • +
  • + In industries + such as healthcare or pharmaceuticals, barcodes + can be used to comply with track-and-trace + regulations, ensuring the proper identification + and tracing of products throughout the supply + chain +
  • +
+
+
+
+
+
+
Version + 17.0.1.0.0|Released on:8th Jan 2024 +
+

+ Initial Commit for Find Products in Pos and Stock using Barcode

+
+
+
+
+
+
+
+

+ 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/product_detail_search/static/src/css/barcode.css b/product_detail_search/static/src/css/barcode.css new file mode 100755 index 000000000..65fb42cc2 --- /dev/null +++ b/product_detail_search/static/src/css/barcode.css @@ -0,0 +1,90 @@ +.barcode_inventory{ +justify-content:center; +} +.barcode_inventory header h2{ +width: 50%; +text-align:right; +padding-right:27px; + float: left; + } +.barcode_inventory header #barcode{ + float: left; + width: 40%; +} +.barcode_screen{ +margin-top: 80px; +} +.barcode_screen h1{ +margin: 29px 0px; +text-align: center; +} +.barcode_scan{ +display: flex; + justify-content: left; + margin-top: 31px; + +} +.container_product_info{ +align-items: center; + display: flex; + width: 100%; + justify-content: center; +} +.category-img{ +margin-right:21px; +background-color: #f7f7f7; + height: 377px; + display: flex; +} +.category-img img{ +width:300px; +height:300px; +object-fit: cover; +} +. +.clientlist-screen h1 { + text-align: center; + } + + .clientlist-screen img { + display: block; + margin: 0 auto; + max-width: 300px; + height: auto; + margin-bottom: 20px; + } + + .clientlist-screen table { + width: 100%; + border-collapse: collapse; + } + + .clientlist-screen td.label { + font-weight: bold; + width: 200px; + padding: 10px; + vertical-align: top; + } + + .clientlist-screen td.value { + padding: 10px; + vertical-align: top; + max-width: 300px; + } + + @media (max-width: 600px) { + /* Responsive styles */ + .clientlist-screen td.label { + width: 100%; + text-align: left; + } +.container_product_info{ + max-width: 90%; + flex-direction: column; + } + + .clientlist-screen td.value { + width: 100%; + text-align: left; + } + } diff --git a/product_detail_search/static/src/css/pos.css b/product_detail_search/static/src/css/pos.css new file mode 100755 index 000000000..3b417975c --- /dev/null +++ b/product_detail_search/static/src/css/pos.css @@ -0,0 +1,63 @@ +.form_scan_product{ + text-align: center !important; + margin-top:80px !important; +} +.form_scan_product h2 +{ +font-size: 28px !important; +} +.form_scan_product h4{ +font-size: 18px !important; +} +.container_product_info{ +align-items: center !important; + display: flex !important; + width: 100% !important; + justify-content: center !important; + margin: 0 auto; + max-width: 1200px; + gap:2rem ; +} +.category-img{ +width: 500px; + display: flex !important; +} +.category-img img{ +object-fit: cover !important; +} +. +.clientlist-screen h1 { + text-align: center !important; + } + .clientlist-screen img { + display: block !important; + width: 100%; + height: 100%; + } + .clientlist-screen table { + border-collapse: collapse !important; + } + .clientlist-screen td.label { + font-weight: bold !important; + width: 200px !important; + padding: 10px !important; + vertical-align: top !important; + } + .clientlist-screen td.value { + padding: 10px !important; + vertical-align: top !important; + } + @media (max-width: 600px) { + /* Responsive styles */ + .clientlist-screen td.label { + text-align: left !important; + } + .clientlist-screen td.value { + text-align: left !important; + } + .container_product_info{ + max-width: 90%; + flex-direction: column; + } + + } diff --git a/product_detail_search/static/src/js/dashboard.js b/product_detail_search/static/src/js/dashboard.js new file mode 100755 index 000000000..16aabd79d --- /dev/null +++ b/product_detail_search/static/src/js/dashboard.js @@ -0,0 +1,40 @@ +/** @odoo-module */ + +import { registry } from '@web/core/registry'; +const { Component, useState } = owl; +import { useService } from "@web/core/utils/hooks"; + +class product_detail_search_barcode_dashboard extends Component { + setup() { + this.action = useService("action"); + this.rpc = this.env.services.rpc; + this.action = useService("action"); + this.orm = useService("orm"); + this.state = useState({ + product_details: [], + barcode_value: [], + }); + } + + onProductKeypress(e) { + this.typed_into = true; + } + + change_product_barcode(e) { + var self = this; + self.state.barcode_value = $("#" + e.target.id).val(); + if (this.typed_into) { + this.orm.call("product.template", "product_detail_search", ["", self.state.barcode_value]).then(function(result) { + if (result != false) { + self.state.product_details = result; + } else { + self.state.product_details = []; + } + }); + this.typed_into = false; + } + } +} + +product_detail_search_barcode_dashboard.template = 'CustomDashBoardFindProduct'; +registry.category("actions").add("product_detail_search_barcode_main_menu", product_detail_search_barcode_dashboard); diff --git a/product_detail_search/static/src/js/find_product.js b/product_detail_search/static/src/js/find_product.js new file mode 100755 index 000000000..a7c6d73ce --- /dev/null +++ b/product_detail_search/static/src/js/find_product.js @@ -0,0 +1,43 @@ +/** @odoo-module **/ + +import { Component } from "@odoo/owl"; +import { registry } from "@web/core/registry"; +import { useService } from "@web/core/utils/hooks"; +import { usePos } from "@point_of_sale/app/store/pos_hook"; +import { useBarcodeReader } from "@point_of_sale/app/barcode/barcode_reader_hook"; + +export class FindProductScreen extends Component { + static template = "product_detail_search.FindProductScreen"; + + setup() { + super.setup(...arguments); + this.pos = usePos(); + this.orm = useService("orm"); + useBarcodeReader({ + product: this._barcodeProductAction, + }); + } + + async _barcodeProductAction(code) { + var self = this; + await this.orm.call("product.template", "product_detail_search", ["", code.base_code]).then(function(result) { + if (result == false) { + self.pos.showScreen('ProductDetails', { + 'product_details': false, + }); + } else { + self.product_details = result; + self.pos.showScreen('ProductDetails', { + 'product_details': self.product_details, + }); + } + }); + } + + // Returning the Product Screen + back() { + this.pos.showScreen("ProductScreen"); + } +} + +registry.category("pos_screens").add("FindProductScreen", FindProductScreen); diff --git a/product_detail_search/static/src/js/find_product_button.js b/product_detail_search/static/src/js/find_product_button.js new file mode 100755 index 000000000..7aba0122f --- /dev/null +++ b/product_detail_search/static/src/js/find_product_button.js @@ -0,0 +1,10 @@ +/** @odoo-module */ + +import { Navbar } from "@point_of_sale/app/navbar/navbar"; +import { patch } from "@web/core/utils/patch"; + +patch(Navbar.prototype, { + async find_product() { + this.pos.showScreen("FindProductScreen"); + }, +}); diff --git a/product_detail_search/static/src/js/product_details.js b/product_detail_search/static/src/js/product_details.js new file mode 100755 index 000000000..d5eba6adc --- /dev/null +++ b/product_detail_search/static/src/js/product_details.js @@ -0,0 +1,49 @@ +/** @odoo-module **/ + +import { Component } from "@odoo/owl"; +import { registry } from "@web/core/registry"; +import { usePos } from "@point_of_sale/app/store/pos_hook"; +import { useBarcodeReader } from "@point_of_sale/app/barcode/barcode_reader_hook"; +import { useService } from "@web/core/utils/hooks"; + +export class ProductDetails extends Component { + static template = "product_detail_search.ProductDetails"; + + setup() { + super.setup(); + this.pos = usePos(); + this.orm = useService("orm"); + + useBarcodeReader({ + product: this._barcodeProductAction, + }); + + if (this.props.product_details == false) { + this.product_details = false; + } else { + this.product_details = this.props.product_details; + } + } + + _barcodeProductAction(code) { + var self = this; + this.orm.call("product.template", "product_detail_search", ["", code.base_code]).then(function(result) { + if (result == false) { + self.pos.showScreen('ProductDetails', { + 'product_details': false, + }); + } else { + self.product_details = result; + self.pos.showScreen('ProductDetails', { + 'product_details': self.product_details, + }); + } + }); + } + + back() { + this.pos.showScreen('FindProductScreen'); + } +} + +registry.category("pos_screens").add("ProductDetails", ProductDetails); diff --git a/product_detail_search/static/src/xml/chrome_templates.xml b/product_detail_search/static/src/xml/chrome_templates.xml new file mode 100755 index 000000000..a4f37064f --- /dev/null +++ b/product_detail_search/static/src/xml/chrome_templates.xml @@ -0,0 +1,16 @@ + + + + + +
+ + Find Product +
+
+
+
diff --git a/product_detail_search/static/src/xml/dashboard_templates.xml b/product_detail_search/static/src/xml/dashboard_templates.xml new file mode 100755 index 000000000..0271730cd --- /dev/null +++ b/product_detail_search/static/src/xml/dashboard_templates.xml @@ -0,0 +1,135 @@ + + diff --git a/product_detail_search/static/src/xml/find_product_screen_templates.xml b/product_detail_search/static/src/xml/find_product_screen_templates.xml new file mode 100755 index 000000000..981aef0c5 --- /dev/null +++ b/product_detail_search/static/src/xml/find_product_screen_templates.xml @@ -0,0 +1,22 @@ + + + + +
+
+
+
+ + Back +
+
+
+

Scan Your Product

+

Please Scan a Product To get the details

+
+
+
+
+
diff --git a/product_detail_search/static/src/xml/product_details_templates.xml b/product_detail_search/static/src/xml/product_details_templates.xml new file mode 100755 index 000000000..91c095fdd --- /dev/null +++ b/product_detail_search/static/src/xml/product_details_templates.xml @@ -0,0 +1,115 @@ + + + + +
+
+
+
+ + Back +
+
+

Product Information

+ +

No products Found

+
+ +
+
+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Product Name: +
Product Specification: + +
Product Type: + +
Product Tax: + +
Barcode: +
Code: + + + No code
Product Category: +
Available Stock: +
Sales Price: + + + + +
+ +
+
Company:No company + +
+
+
+
+
+
+
+
diff --git a/product_detail_search/views/stock_views.xml b/product_detail_search/views/stock_views.xml new file mode 100755 index 000000000..77e682961 --- /dev/null +++ b/product_detail_search/views/stock_views.xml @@ -0,0 +1,15 @@ + + + + + Find Product Barcode + product_detail_search_barcode_main_menu + + + +