diff --git a/inventory_barcode_scanning/README.rst b/inventory_barcode_scanning/README.rst new file mode 100644 index 000000000..2fb370336 --- /dev/null +++ b/inventory_barcode_scanning/README.rst @@ -0,0 +1,49 @@ +.. image:: https://img.shields.io/badge/licence-AGPL--3-blue.svg + :target: http://www.gnu.org/licenses/agpl-3.0-standalone.html + :alt: License: AGPL-3 + +Barcode scanning in inventory +============================= +This module will used for barcode scanning in inventory. + +Depends +======= +[stock] addon Odoo + +Configuration +============= +* No additional configurations needed + +Company +------- +* `Cybrosys Techno Solutions `__ + +Credits +------- +* Developer: Niyas Raphy@cybrosys + Sreejith P @cybrosys + Version 13: Nimisha Murali@cybrosys + +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/inventory_barcode_scanning/__init__.py b/inventory_barcode_scanning/__init__.py new file mode 100644 index 000000000..4cec6ef76 --- /dev/null +++ b/inventory_barcode_scanning/__init__.py @@ -0,0 +1,23 @@ +# -*- coding: utf-8 -*- +############################################################################# +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2019-TODAY Cybrosys Technologies(). +# Author: Niyas Raphy and Sreejith P (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 . +# +############################################################################# + +from . import models diff --git a/inventory_barcode_scanning/__manifest__.py b/inventory_barcode_scanning/__manifest__.py new file mode 100644 index 000000000..cf1144636 --- /dev/null +++ b/inventory_barcode_scanning/__manifest__.py @@ -0,0 +1,38 @@ +# -*- coding: utf-8 -*- +############################################################################# +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2020-TODAY Cybrosys Technologies(). +# +# 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': 'Barcode scanning in Inventory', + 'version': '14.0.1.0.0', + 'summary': 'Barcode Support in Stock Picking.', + 'author': 'Cybrosys Techno solutions', + 'maintainer': 'Cybrosys Techno Solutions', + 'company': 'Cybrosys Techno Solutions', + 'website': 'https://www.cybrosys.com', + 'depends': ['stock'], + 'category': 'Inventory', + 'data': ['views/stock_picking.xml'], + 'installable': True, + 'application': False, + 'auto_install': False, + 'images': ['static/description/banner.png'], + 'license': 'AGPL-3', +} diff --git a/inventory_barcode_scanning/doc/RELEASE_NOTES.md b/inventory_barcode_scanning/doc/RELEASE_NOTES.md new file mode 100644 index 000000000..fc7b85322 --- /dev/null +++ b/inventory_barcode_scanning/doc/RELEASE_NOTES.md @@ -0,0 +1,8 @@ +## Module + +#### 13.10.2020 +#### Version 13.0.1.0.0 +#### ADD +Initial commit for Barcode scanning in Inventory + + diff --git a/inventory_barcode_scanning/models/__init__.py b/inventory_barcode_scanning/models/__init__.py new file mode 100644 index 000000000..b2cefca09 --- /dev/null +++ b/inventory_barcode_scanning/models/__init__.py @@ -0,0 +1,22 @@ +# -*- coding: utf-8 -*- +############################################################################# +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2019-TODAY Cybrosys Technologies(). +# Author: Niyas Raphy and Sreejith p (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 . +# +############################################################################# +from . import stock_picking diff --git a/inventory_barcode_scanning/models/stock_picking.py b/inventory_barcode_scanning/models/stock_picking.py new file mode 100644 index 000000000..bc2b272b0 --- /dev/null +++ b/inventory_barcode_scanning/models/stock_picking.py @@ -0,0 +1,77 @@ +# -*- coding: utf-8 -*- +############################################################################# +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2019-TODAY Cybrosys Technologies(). +# Author: Niyas Raphy and Sreejith p (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 . +# +############################################################################# + +from odoo import fields, models, api, _ +from odoo.exceptions import Warning + + +class StockPicking(models.Model): + _inherit = 'stock.picking' + + barcode = fields.Char(string='Barcode') + + @api.onchange('barcode') + def barcode_scanning(self): + match = False + product_obj = self.env['product.product'] + product_id = product_obj.search([('barcode', '=', self.barcode)]) + if self.barcode and not product_id: + warning_mess = { + 'title': _('Warning !'), + 'message': _('No product is available for this barcode') + } + return {'warning': warning_mess} + if self.barcode and self.move_ids_without_package: + for line in self.move_ids_without_package: + if line.product_id.barcode == self.barcode: + line.quantity_done += 1 + match = True + if self.barcode and not match: + if product_id: + warning_mess = { + 'title': _('Warning !'), + 'message': _('This product is not available in the order.' + 'You can add this product by clicking the "Add an item" and scan') + } + return {'warning': warning_mess} + + def write(self, vals): + res = super(StockPicking, self).write(vals) + if vals.get('barcode') and self.move_ids_without_package: + for line in self.move_ids_without_package: + if line.product_id.barcode == vals['barcode']: + line.quantity_done += 1 + self.barcode = None + return res + + +class StockPickingOperation(models.Model): + _inherit = 'stock.move' + + barcode = fields.Char(string='Barcode') + + @api.onchange('barcode') + def _onchange_barcode_scan(self): + product_rec = self.env['product.product'] + if self.barcode: + product = product_rec.search([('barcode', '=', self.barcode)]) + self.product_id = product.id diff --git a/inventory_barcode_scanning/static/description/banner.png b/inventory_barcode_scanning/static/description/banner.png new file mode 100644 index 000000000..c7ca3482a Binary files /dev/null and b/inventory_barcode_scanning/static/description/banner.png differ diff --git a/inventory_barcode_scanning/static/description/icon.png b/inventory_barcode_scanning/static/description/icon.png new file mode 100644 index 000000000..ffd34a440 Binary files /dev/null and b/inventory_barcode_scanning/static/description/icon.png differ diff --git a/inventory_barcode_scanning/static/description/images/advanced_stock.png b/inventory_barcode_scanning/static/description/images/advanced_stock.png new file mode 100644 index 000000000..6156b14bf Binary files /dev/null and b/inventory_barcode_scanning/static/description/images/advanced_stock.png differ diff --git a/inventory_barcode_scanning/static/description/images/banner.png b/inventory_barcode_scanning/static/description/images/banner.png new file mode 100644 index 000000000..0950f6f7e Binary files /dev/null and b/inventory_barcode_scanning/static/description/images/banner.png differ diff --git a/inventory_barcode_scanning/static/description/images/barcode.gif b/inventory_barcode_scanning/static/description/images/barcode.gif new file mode 100644 index 000000000..0899d3b9f Binary files /dev/null and b/inventory_barcode_scanning/static/description/images/barcode.gif differ diff --git a/inventory_barcode_scanning/static/description/images/barcode.png b/inventory_barcode_scanning/static/description/images/barcode.png new file mode 100644 index 000000000..f8de1abd9 Binary files /dev/null and b/inventory_barcode_scanning/static/description/images/barcode.png differ diff --git a/inventory_barcode_scanning/static/description/images/barcode_scanning.jpeg b/inventory_barcode_scanning/static/description/images/barcode_scanning.jpeg new file mode 100644 index 000000000..529143e4e Binary files /dev/null and b/inventory_barcode_scanning/static/description/images/barcode_scanning.jpeg differ diff --git a/inventory_barcode_scanning/static/description/images/checked.png b/inventory_barcode_scanning/static/description/images/checked.png new file mode 100644 index 000000000..578cedb80 Binary files /dev/null and b/inventory_barcode_scanning/static/description/images/checked.png differ diff --git a/inventory_barcode_scanning/static/description/images/cybrosys.png b/inventory_barcode_scanning/static/description/images/cybrosys.png new file mode 100644 index 000000000..d76b5bafb Binary files /dev/null and b/inventory_barcode_scanning/static/description/images/cybrosys.png differ diff --git a/inventory_barcode_scanning/static/description/images/export.jpeg b/inventory_barcode_scanning/static/description/images/export.jpeg new file mode 100644 index 000000000..5dfdf2c2b Binary files /dev/null and b/inventory_barcode_scanning/static/description/images/export.jpeg differ diff --git a/inventory_barcode_scanning/static/description/images/inventory_valuation.png b/inventory_barcode_scanning/static/description/images/inventory_valuation.png new file mode 100644 index 000000000..02df9a68b Binary files /dev/null and b/inventory_barcode_scanning/static/description/images/inventory_valuation.png differ diff --git a/inventory_barcode_scanning/static/description/images/product_barcode.png b/inventory_barcode_scanning/static/description/images/product_barcode.png new file mode 100644 index 000000000..683ba5b0d Binary files /dev/null and b/inventory_barcode_scanning/static/description/images/product_barcode.png differ diff --git a/inventory_barcode_scanning/static/description/images/stock_ageing.jpeg b/inventory_barcode_scanning/static/description/images/stock_ageing.jpeg new file mode 100644 index 000000000..92effb57b Binary files /dev/null and b/inventory_barcode_scanning/static/description/images/stock_ageing.jpeg differ diff --git a/inventory_barcode_scanning/static/description/images/task_timer_youtube.png b/inventory_barcode_scanning/static/description/images/task_timer_youtube.png new file mode 100644 index 000000000..fb6579727 Binary files /dev/null and b/inventory_barcode_scanning/static/description/images/task_timer_youtube.png differ diff --git a/inventory_barcode_scanning/static/description/index.html b/inventory_barcode_scanning/static/description/index.html new file mode 100644 index 000000000..2131c8e86 --- /dev/null +++ b/inventory_barcode_scanning/static/description/index.html @@ -0,0 +1,303 @@ +
cybrosys-logo
+
+
+
+

Barcode scanning support for Inventory

+

Use Barcode scanner to add entry in Stock Picking

+
+

Key Highlights

+
    +
  • Avoid manual entry of item count in Stock Picking.
  • +
  • Use barcode to add product.
  • +
+
+
+
+
+
+
+
+ +
+
+ +

Overview

+
+

+ With this module you can avoid manual entry of product quantity in Stock Picking form. Presently you have to enter the quantity of each product individually. By installing this module you will get an extra field in stock picking form to Scan Barcode and update the quantity of product automatically. +

+
+
+ +

Features

+
+
    +
  • + Avoid manual entry of item count in Stock Picking. +
  • +
  • + Use barcode to add product. +
  • +
+
+ +
+
+

Screenshots

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

Suggested Products

+
+ +
+
+

Our Service

+
+ +
+
+
+

Our Industries

+
+ +
+
+
+ +
+
+

Trading

+

Easily procure and sell your products.

+
+
+
+
+ +
+
+

Manufacturing

+

Plan, track and schedule your operations.

+
+
+
+
+ +
+
+

Restaurant

+

Run your bar or restaurant methodical.

+
+
+
+
+ +
+
+

POS

+

Easy configuring and convivial selling.

+
+
+
+
+ +
+
+

E-commerce & Website

+

Mobile friendly, awe-inspiring product pages.

+
+
+
+
+ +
+
+

Hotel Management

+

An all-inclusive hotel management application.

+
+
+
+
+ +
+
+

Education

+

A Collaborative platform for educational management.

+
+
+
+
+ +
+
+

Service Management

+

Keep track of services and invoice accordingly.

+
+
+
+
+
+ +
+
+
+

Need Any Help?

+
+

If you have anything to share with us based on your use of this module, please let us know. We are ready to offer our support.

+
+

Email us

+

odoo@cybrosys.com / info@cybrosys.com

+
+
+

Contact Us

+ www.cybrosys.com +
+
+
+
+
+
+
+
+
+ +
+ + + + + + + +
+
+
+ \ No newline at end of file diff --git a/inventory_barcode_scanning/views/stock_picking.xml b/inventory_barcode_scanning/views/stock_picking.xml new file mode 100644 index 000000000..daaddde1d --- /dev/null +++ b/inventory_barcode_scanning/views/stock_picking.xml @@ -0,0 +1,20 @@ + + + + + + Barcode Scanning Inventory + stock.picking + + + + + + + + + + + + +