diff --git a/pos_return_barcode/README.rst b/pos_return_barcode/README.rst new file mode 100644 index 000000000..69d81ec6c --- /dev/null +++ b/pos_return_barcode/README.rst @@ -0,0 +1,49 @@ +.. image:: https://img.shields.io/badge/license-AGPL--3-blue.svg + :target: https://www.gnu.org/licenses/agpl-3.0-standalone.html + :alt: License: AGPL-3 + +POS Return Barcode +================== +This module is used to return products by scanning the barcode in pos session. + +Configuration +============= +* Set global refund security from settings + +Company +------- +* `Cybrosys Techno Solutions `__ + +License +------- +General Public License, Version 3 (AGPL v3). +(https://www.gnu.org/licenses/agpl-3.0-standalone.html) + +Credits +------- +* Developer: + (V17) Anjhana A K, + (V18) Busthana Shirin + 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_return_barcode/__init__.py b/pos_return_barcode/__init__.py new file mode 100644 index 000000000..573e9b4cd --- /dev/null +++ b/pos_return_barcode/__init__.py @@ -0,0 +1,22 @@ +# -*- coding: utf-8 -*- +############################################################################### +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2025-TODAY Cybrosys Technologies() +# Author: Cybrosys Techno Solutions() +# +# 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/pos_return_barcode/__manifest__.py b/pos_return_barcode/__manifest__.py new file mode 100644 index 000000000..7ec000f3c --- /dev/null +++ b/pos_return_barcode/__manifest__.py @@ -0,0 +1,57 @@ +# -*- coding: utf-8 -*- +############################################################################### +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2025-TODAY Cybrosys Technologies() +# Author: Cybrosys Techno Solutions() +# +# 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': 'POS Return Barcode', + 'version': '18.0.1.0.0', + 'summary': """This module in Odoo 18 allows to return product effortless + via receipt barcode scanning.""", + 'description': """The POS Return Barcode module in Odoo 18 streamlines the + return process by enabling users to return products through the scanning + of the receipt barcode""", + 'category': 'Point of Sale', + 'author': 'Cybrosys Techno Solutions', + 'company': 'Cybrosys Techno Solutions', + 'maintainer': 'Cybrosys Techno Solutions', + 'website': "https://www.cybrosys.com", + 'depends': ['point_of_sale'], + 'data': [ + 'views/res_config_settings_views.xml', + 'views/pos_order_views.xml', + ], + 'assets': { + 'point_of_sale._assets_pos': [ + 'pos_return_barcode/static/src/js/return_product.js', + 'pos_return_barcode/static/src/js/order.js', + 'pos_return_barcode/static/src/js/barcode_popup.js', + 'pos_return_barcode/static/src/js/ticket_screen.js', + 'pos_return_barcode/static/src/js/receipt_screen.js', + 'pos_return_barcode/static/src/xml/return_product_template.xml', + 'pos_return_barcode/static/src/xml/barcode_popup.xml', + 'pos_return_barcode/static/src/xml/order_receipt.xml', + ], + }, + 'images': ['static/description/banner.jpg'], + 'license': "AGPL-3", + 'installable': True, + 'application': False, + 'auto_install': False, +} diff --git a/pos_return_barcode/doc/RELEASE_NOTES.md b/pos_return_barcode/doc/RELEASE_NOTES.md new file mode 100644 index 000000000..511bd0da1 --- /dev/null +++ b/pos_return_barcode/doc/RELEASE_NOTES.md @@ -0,0 +1,6 @@ +## Module + +#### 28.07.2025 +#### Version 18.0.1.0.0 +#### ADD +- Initial commit for POS Return Barcode diff --git a/pos_return_barcode/models/__init__.py b/pos_return_barcode/models/__init__.py new file mode 100755 index 000000000..3bd71178d --- /dev/null +++ b/pos_return_barcode/models/__init__.py @@ -0,0 +1,23 @@ +# -*- coding: utf-8 -*- +############################################################################### +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2025-TODAY Cybrosys Technologies() +# Author: Cybrosys Techno Solutions() +# +# 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 pos_order +from . import res_config_settings diff --git a/pos_return_barcode/models/pos_order.py b/pos_return_barcode/models/pos_order.py new file mode 100644 index 000000000..cef4963c9 --- /dev/null +++ b/pos_return_barcode/models/pos_order.py @@ -0,0 +1,59 @@ +# -*- coding: utf-8 -*- +############################################################################### +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2025-TODAY Cybrosys Technologies() +# Author: Cybrosys Techno Solutions() +# +# 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 api, fields, models + + +class PosOrder(models.Model): + """Inherited pos order to add some fields""" + _inherit = "pos.order" + + barcode = fields.Char(string="Barcode", readonly=True, + help='to get barcode number of this particular order') + is_return = fields.Boolean(string='Return orders', default=False, + helps='differentiate the pos order and return/ ' + 'refund order') + + @api.model + def create(self, vals): + """override the create function to add barcode number in order""" + res = super().create(vals) + reference = res.pos_reference.replace("Order", "").replace( + " ", "").replace("-", "") + res.barcode = reference + return res + + def action_barcode_return(self, barcode): + """This fn is to search the pos order based on the barcode passed + from the js and returns true or false""" + order = self.env['pos.order'].search([('barcode', '=', barcode), + ('refund_orders_count', '=', + 0)]) + if order and order.refund_orders_count == 0: + return order.id + + def _prepare_refund_values(self, current_session): + """override this function to pass that the order is return """ + res = super()._prepare_refund_values(current_session) + res.update({ + 'is_return': True + }) + return res diff --git a/pos_return_barcode/models/res_config_settings.py b/pos_return_barcode/models/res_config_settings.py new file mode 100644 index 000000000..49132580d --- /dev/null +++ b/pos_return_barcode/models/res_config_settings.py @@ -0,0 +1,33 @@ +# -*- coding: utf-8 -*- +############################################################################### +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2025-TODAY Cybrosys Technologies() +# Author: Cybrosys Techno Solutions() +# +# 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 + + +class ResConfigSettings(models.TransientModel): + """Adding a new field to res_config_settings model.""" + _inherit = 'res.config.settings' + + point_of_sale_barcode = fields.Boolean( + string='Use Barcode on ticket', + config_parameter='pos_return_barcode.receipt_barcode', + help="Add a Barcode on the ticket, which the user can scan to request " + "the invoice linked to its order.") diff --git a/pos_return_barcode/static/description/assets/cybro-icon.png b/pos_return_barcode/static/description/assets/cybro-icon.png new file mode 100755 index 000000000..06e73e11d Binary files /dev/null and b/pos_return_barcode/static/description/assets/cybro-icon.png differ diff --git a/pos_return_barcode/static/description/assets/cybro-odoo.png b/pos_return_barcode/static/description/assets/cybro-odoo.png new file mode 100755 index 000000000..ed02e07a4 Binary files /dev/null and b/pos_return_barcode/static/description/assets/cybro-odoo.png differ diff --git a/pos_return_barcode/static/description/assets/h2.png b/pos_return_barcode/static/description/assets/h2.png new file mode 100755 index 000000000..0bfc4707d Binary files /dev/null and b/pos_return_barcode/static/description/assets/h2.png differ diff --git a/pos_return_barcode/static/description/assets/icons/arrows-repeat.svg b/pos_return_barcode/static/description/assets/icons/arrows-repeat.svg new file mode 100755 index 000000000..1d7efabc5 --- /dev/null +++ b/pos_return_barcode/static/description/assets/icons/arrows-repeat.svg @@ -0,0 +1,10 @@ + + + + + + + + + + diff --git a/pos_return_barcode/static/description/assets/icons/banner-1.png b/pos_return_barcode/static/description/assets/icons/banner-1.png new file mode 100755 index 000000000..c180db172 Binary files /dev/null and b/pos_return_barcode/static/description/assets/icons/banner-1.png differ diff --git a/pos_return_barcode/static/description/assets/icons/banner-2.svg b/pos_return_barcode/static/description/assets/icons/banner-2.svg new file mode 100755 index 000000000..e606d97d9 --- /dev/null +++ b/pos_return_barcode/static/description/assets/icons/banner-2.svg @@ -0,0 +1,73 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/pos_return_barcode/static/description/assets/icons/banner-bg.png b/pos_return_barcode/static/description/assets/icons/banner-bg.png new file mode 100755 index 000000000..a8238d3c0 Binary files /dev/null and b/pos_return_barcode/static/description/assets/icons/banner-bg.png differ diff --git a/pos_return_barcode/static/description/assets/icons/banner-bg.svg b/pos_return_barcode/static/description/assets/icons/banner-bg.svg new file mode 100755 index 000000000..b1378103e --- /dev/null +++ b/pos_return_barcode/static/description/assets/icons/banner-bg.svg @@ -0,0 +1,9 @@ + + + + + + + + + diff --git a/pos_return_barcode/static/description/assets/icons/banner-call.svg b/pos_return_barcode/static/description/assets/icons/banner-call.svg new file mode 100755 index 000000000..96c687e81 --- /dev/null +++ b/pos_return_barcode/static/description/assets/icons/banner-call.svg @@ -0,0 +1,5 @@ + + + + + diff --git a/pos_return_barcode/static/description/assets/icons/banner-mail.svg b/pos_return_barcode/static/description/assets/icons/banner-mail.svg new file mode 100755 index 000000000..cbf0d158d --- /dev/null +++ b/pos_return_barcode/static/description/assets/icons/banner-mail.svg @@ -0,0 +1,5 @@ + + + + + diff --git a/pos_return_barcode/static/description/assets/icons/banner-pattern.svg b/pos_return_barcode/static/description/assets/icons/banner-pattern.svg new file mode 100755 index 000000000..9c1c7e101 --- /dev/null +++ b/pos_return_barcode/static/description/assets/icons/banner-pattern.svg @@ -0,0 +1,343 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/pos_return_barcode/static/description/assets/icons/banner-promo.svg b/pos_return_barcode/static/description/assets/icons/banner-promo.svg new file mode 100755 index 000000000..d52791b11 --- /dev/null +++ b/pos_return_barcode/static/description/assets/icons/banner-promo.svg @@ -0,0 +1,147 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/pos_return_barcode/static/description/assets/icons/brand-pair.svg b/pos_return_barcode/static/description/assets/icons/brand-pair.svg new file mode 100755 index 000000000..d8db7fc1e --- /dev/null +++ b/pos_return_barcode/static/description/assets/icons/brand-pair.svg @@ -0,0 +1,41 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/pos_return_barcode/static/description/assets/icons/check.png b/pos_return_barcode/static/description/assets/icons/check.png new file mode 100755 index 000000000..c8e85f51d Binary files /dev/null and b/pos_return_barcode/static/description/assets/icons/check.png differ diff --git a/pos_return_barcode/static/description/assets/icons/chevron.png b/pos_return_barcode/static/description/assets/icons/chevron.png new file mode 100755 index 000000000..2089293d6 Binary files /dev/null and b/pos_return_barcode/static/description/assets/icons/chevron.png differ diff --git a/pos_return_barcode/static/description/assets/icons/close-icon.svg b/pos_return_barcode/static/description/assets/icons/close-icon.svg new file mode 100755 index 000000000..df8cce37a --- /dev/null +++ b/pos_return_barcode/static/description/assets/icons/close-icon.svg @@ -0,0 +1,5 @@ + + + + + diff --git a/pos_return_barcode/static/description/assets/icons/cogs.png b/pos_return_barcode/static/description/assets/icons/cogs.png new file mode 100755 index 000000000..95d0bad62 Binary files /dev/null and b/pos_return_barcode/static/description/assets/icons/cogs.png differ diff --git a/pos_return_barcode/static/description/assets/icons/collabarate-icon.svg b/pos_return_barcode/static/description/assets/icons/collabarate-icon.svg new file mode 100755 index 000000000..dd4e10518 --- /dev/null +++ b/pos_return_barcode/static/description/assets/icons/collabarate-icon.svg @@ -0,0 +1,3 @@ + + + diff --git a/pos_return_barcode/static/description/assets/icons/consultation.png b/pos_return_barcode/static/description/assets/icons/consultation.png new file mode 100755 index 000000000..8319d4baa Binary files /dev/null and b/pos_return_barcode/static/description/assets/icons/consultation.png differ diff --git a/pos_return_barcode/static/description/assets/icons/cybro-logo.png b/pos_return_barcode/static/description/assets/icons/cybro-logo.png new file mode 100755 index 000000000..ff4b78220 Binary files /dev/null and b/pos_return_barcode/static/description/assets/icons/cybro-logo.png differ diff --git a/pos_return_barcode/static/description/assets/icons/down.svg b/pos_return_barcode/static/description/assets/icons/down.svg new file mode 100755 index 000000000..f21c36271 --- /dev/null +++ b/pos_return_barcode/static/description/assets/icons/down.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/pos_return_barcode/static/description/assets/icons/ecom-black.png b/pos_return_barcode/static/description/assets/icons/ecom-black.png new file mode 100755 index 000000000..a9385ff13 Binary files /dev/null and b/pos_return_barcode/static/description/assets/icons/ecom-black.png differ diff --git a/pos_return_barcode/static/description/assets/icons/education-black.png b/pos_return_barcode/static/description/assets/icons/education-black.png new file mode 100755 index 000000000..3eb09b27b Binary files /dev/null and b/pos_return_barcode/static/description/assets/icons/education-black.png differ diff --git a/pos_return_barcode/static/description/assets/icons/faq.png b/pos_return_barcode/static/description/assets/icons/faq.png new file mode 100755 index 000000000..4250b5b81 Binary files /dev/null and b/pos_return_barcode/static/description/assets/icons/faq.png differ diff --git a/pos_return_barcode/static/description/assets/icons/feature-icon.svg b/pos_return_barcode/static/description/assets/icons/feature-icon.svg new file mode 100755 index 000000000..fa0ea6850 --- /dev/null +++ b/pos_return_barcode/static/description/assets/icons/feature-icon.svg @@ -0,0 +1,10 @@ + + + + + + + + + + diff --git a/pos_return_barcode/static/description/assets/icons/feature.png b/pos_return_barcode/static/description/assets/icons/feature.png new file mode 100755 index 000000000..ac7a785c0 Binary files /dev/null and b/pos_return_barcode/static/description/assets/icons/feature.png differ diff --git a/pos_return_barcode/static/description/assets/icons/gear.svg b/pos_return_barcode/static/description/assets/icons/gear.svg new file mode 100755 index 000000000..0cc66b6ea --- /dev/null +++ b/pos_return_barcode/static/description/assets/icons/gear.svg @@ -0,0 +1,10 @@ + + + + + + + + + + diff --git a/pos_return_barcode/static/description/assets/icons/hero.gif b/pos_return_barcode/static/description/assets/icons/hero.gif new file mode 100644 index 000000000..ccb79471f Binary files /dev/null and b/pos_return_barcode/static/description/assets/icons/hero.gif differ diff --git a/pos_return_barcode/static/description/assets/icons/hire-odoo.svg b/pos_return_barcode/static/description/assets/icons/hire-odoo.svg new file mode 100755 index 000000000..e1ac089b0 --- /dev/null +++ b/pos_return_barcode/static/description/assets/icons/hire-odoo.svg @@ -0,0 +1,12 @@ + + + + + + + + + + + + diff --git a/pos_return_barcode/static/description/assets/icons/hotel-black.png b/pos_return_barcode/static/description/assets/icons/hotel-black.png new file mode 100755 index 000000000..130f613be Binary files /dev/null and b/pos_return_barcode/static/description/assets/icons/hotel-black.png differ diff --git a/pos_return_barcode/static/description/assets/icons/license.png b/pos_return_barcode/static/description/assets/icons/license.png new file mode 100755 index 000000000..a5869797e Binary files /dev/null and b/pos_return_barcode/static/description/assets/icons/license.png differ diff --git a/pos_return_barcode/static/description/assets/icons/life-ring-icon.svg b/pos_return_barcode/static/description/assets/icons/life-ring-icon.svg new file mode 100755 index 000000000..3ae6e1d89 --- /dev/null +++ b/pos_return_barcode/static/description/assets/icons/life-ring-icon.svg @@ -0,0 +1,13 @@ + + + + + + + + + + + + + diff --git a/pos_return_barcode/static/description/assets/icons/lifebuoy.png b/pos_return_barcode/static/description/assets/icons/lifebuoy.png new file mode 100755 index 000000000..658d56ccc Binary files /dev/null and b/pos_return_barcode/static/description/assets/icons/lifebuoy.png differ diff --git a/pos_return_barcode/static/description/assets/icons/mail.svg b/pos_return_barcode/static/description/assets/icons/mail.svg new file mode 100755 index 000000000..1eedde695 --- /dev/null +++ b/pos_return_barcode/static/description/assets/icons/mail.svg @@ -0,0 +1,3 @@ + + + diff --git a/pos_return_barcode/static/description/assets/icons/manufacturing-black.png b/pos_return_barcode/static/description/assets/icons/manufacturing-black.png new file mode 100755 index 000000000..697eb0e9f Binary files /dev/null and b/pos_return_barcode/static/description/assets/icons/manufacturing-black.png differ diff --git a/pos_return_barcode/static/description/assets/icons/notes.png b/pos_return_barcode/static/description/assets/icons/notes.png new file mode 100755 index 000000000..ee5e95404 Binary files /dev/null and b/pos_return_barcode/static/description/assets/icons/notes.png differ diff --git a/pos_return_barcode/static/description/assets/icons/notification icon.svg b/pos_return_barcode/static/description/assets/icons/notification icon.svg new file mode 100755 index 000000000..053189973 --- /dev/null +++ b/pos_return_barcode/static/description/assets/icons/notification icon.svg @@ -0,0 +1,10 @@ + + + + + + + + + + diff --git a/pos_return_barcode/static/description/assets/icons/odoo-consultancy.svg b/pos_return_barcode/static/description/assets/icons/odoo-consultancy.svg new file mode 100755 index 000000000..e05f65bde --- /dev/null +++ b/pos_return_barcode/static/description/assets/icons/odoo-consultancy.svg @@ -0,0 +1,4 @@ + + + + diff --git a/pos_return_barcode/static/description/assets/icons/odoo-licencing.svg b/pos_return_barcode/static/description/assets/icons/odoo-licencing.svg new file mode 100755 index 000000000..2606c88b0 --- /dev/null +++ b/pos_return_barcode/static/description/assets/icons/odoo-licencing.svg @@ -0,0 +1,3 @@ + + + diff --git a/pos_return_barcode/static/description/assets/icons/odoo-logo.png b/pos_return_barcode/static/description/assets/icons/odoo-logo.png new file mode 100755 index 000000000..0e4d0eb5a Binary files /dev/null and b/pos_return_barcode/static/description/assets/icons/odoo-logo.png differ diff --git a/pos_return_barcode/static/description/assets/icons/patter.svg b/pos_return_barcode/static/description/assets/icons/patter.svg new file mode 100755 index 000000000..25c9c0a8f --- /dev/null +++ b/pos_return_barcode/static/description/assets/icons/patter.svg @@ -0,0 +1,9 @@ + + + + + + + + + diff --git a/pos_return_barcode/static/description/assets/icons/pattern1.png b/pos_return_barcode/static/description/assets/icons/pattern1.png new file mode 100755 index 000000000..09ab0fb2d Binary files /dev/null and b/pos_return_barcode/static/description/assets/icons/pattern1.png differ diff --git a/pos_return_barcode/static/description/assets/icons/pos-black.png b/pos_return_barcode/static/description/assets/icons/pos-black.png new file mode 100755 index 000000000..97c0f90c1 Binary files /dev/null and b/pos_return_barcode/static/description/assets/icons/pos-black.png differ diff --git a/pos_return_barcode/static/description/assets/icons/puzzle-piece-icon.svg b/pos_return_barcode/static/description/assets/icons/puzzle-piece-icon.svg new file mode 100755 index 000000000..3e9ad9373 --- /dev/null +++ b/pos_return_barcode/static/description/assets/icons/puzzle-piece-icon.svg @@ -0,0 +1,10 @@ + + + + + + + + + + diff --git a/pos_return_barcode/static/description/assets/icons/puzzle.png b/pos_return_barcode/static/description/assets/icons/puzzle.png new file mode 100755 index 000000000..65cf854e7 Binary files /dev/null and b/pos_return_barcode/static/description/assets/icons/puzzle.png differ diff --git a/pos_return_barcode/static/description/assets/icons/replace-icon.svg b/pos_return_barcode/static/description/assets/icons/replace-icon.svg new file mode 100755 index 000000000..d0e3a7af1 --- /dev/null +++ b/pos_return_barcode/static/description/assets/icons/replace-icon.svg @@ -0,0 +1,10 @@ + + + + + + + + + + diff --git a/pos_return_barcode/static/description/assets/icons/restaurant-black.png b/pos_return_barcode/static/description/assets/icons/restaurant-black.png new file mode 100755 index 000000000..4a35eb939 Binary files /dev/null and b/pos_return_barcode/static/description/assets/icons/restaurant-black.png differ diff --git a/pos_return_barcode/static/description/assets/icons/screenshot-main.png b/pos_return_barcode/static/description/assets/icons/screenshot-main.png new file mode 100755 index 000000000..575f8e676 Binary files /dev/null and b/pos_return_barcode/static/description/assets/icons/screenshot-main.png differ diff --git a/pos_return_barcode/static/description/assets/icons/screenshot.png b/pos_return_barcode/static/description/assets/icons/screenshot.png new file mode 100755 index 000000000..cef272529 Binary files /dev/null and b/pos_return_barcode/static/description/assets/icons/screenshot.png differ diff --git a/pos_return_barcode/static/description/assets/icons/service-black.png b/pos_return_barcode/static/description/assets/icons/service-black.png new file mode 100755 index 000000000..301ab51cb Binary files /dev/null and b/pos_return_barcode/static/description/assets/icons/service-black.png differ diff --git a/pos_return_barcode/static/description/assets/icons/skype-fill.svg b/pos_return_barcode/static/description/assets/icons/skype-fill.svg new file mode 100755 index 000000000..c17423639 --- /dev/null +++ b/pos_return_barcode/static/description/assets/icons/skype-fill.svg @@ -0,0 +1,10 @@ + + + + + + + + + + diff --git a/pos_return_barcode/static/description/assets/icons/skype.png b/pos_return_barcode/static/description/assets/icons/skype.png new file mode 100755 index 000000000..51b409fb3 Binary files /dev/null and b/pos_return_barcode/static/description/assets/icons/skype.png differ diff --git a/pos_return_barcode/static/description/assets/icons/skype.svg b/pos_return_barcode/static/description/assets/icons/skype.svg new file mode 100755 index 000000000..df3dad39b --- /dev/null +++ b/pos_return_barcode/static/description/assets/icons/skype.svg @@ -0,0 +1,3 @@ + + + diff --git a/pos_return_barcode/static/description/assets/icons/star-1.svg b/pos_return_barcode/static/description/assets/icons/star-1.svg new file mode 100755 index 000000000..7e55ab162 --- /dev/null +++ b/pos_return_barcode/static/description/assets/icons/star-1.svg @@ -0,0 +1,53 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/pos_return_barcode/static/description/assets/icons/star-2.svg b/pos_return_barcode/static/description/assets/icons/star-2.svg new file mode 100755 index 000000000..5ae9f507a --- /dev/null +++ b/pos_return_barcode/static/description/assets/icons/star-2.svg @@ -0,0 +1,9 @@ + + + + + + + + + diff --git a/pos_return_barcode/static/description/assets/icons/support.png b/pos_return_barcode/static/description/assets/icons/support.png new file mode 100755 index 000000000..4f18b8b82 Binary files /dev/null and b/pos_return_barcode/static/description/assets/icons/support.png differ diff --git a/pos_return_barcode/static/description/assets/icons/test-1 - Copy.png b/pos_return_barcode/static/description/assets/icons/test-1 - Copy.png new file mode 100755 index 000000000..f6a902663 Binary files /dev/null and b/pos_return_barcode/static/description/assets/icons/test-1 - Copy.png differ diff --git a/pos_return_barcode/static/description/assets/icons/test-1.png b/pos_return_barcode/static/description/assets/icons/test-1.png new file mode 100755 index 000000000..0908add2b Binary files /dev/null and b/pos_return_barcode/static/description/assets/icons/test-1.png differ diff --git a/pos_return_barcode/static/description/assets/icons/test-2.png b/pos_return_barcode/static/description/assets/icons/test-2.png new file mode 100755 index 000000000..4671fe91e Binary files /dev/null and b/pos_return_barcode/static/description/assets/icons/test-2.png differ diff --git a/pos_return_barcode/static/description/assets/icons/tms.png b/pos_return_barcode/static/description/assets/icons/tms.png new file mode 100644 index 000000000..f87428ec5 Binary files /dev/null and b/pos_return_barcode/static/description/assets/icons/tms.png differ diff --git a/pos_return_barcode/static/description/assets/icons/trading-black.png b/pos_return_barcode/static/description/assets/icons/trading-black.png new file mode 100755 index 000000000..9398ba2f1 Binary files /dev/null and b/pos_return_barcode/static/description/assets/icons/trading-black.png differ diff --git a/pos_return_barcode/static/description/assets/icons/training.png b/pos_return_barcode/static/description/assets/icons/training.png new file mode 100755 index 000000000..884ca024d Binary files /dev/null and b/pos_return_barcode/static/description/assets/icons/training.png differ diff --git a/pos_return_barcode/static/description/assets/icons/translate.svg b/pos_return_barcode/static/description/assets/icons/translate.svg new file mode 100755 index 000000000..af9c8a1aa --- /dev/null +++ b/pos_return_barcode/static/description/assets/icons/translate.svg @@ -0,0 +1,10 @@ + + + + + + + + + + diff --git a/pos_return_barcode/static/description/assets/icons/update.png b/pos_return_barcode/static/description/assets/icons/update.png new file mode 100755 index 000000000..ecbc5a01a Binary files /dev/null and b/pos_return_barcode/static/description/assets/icons/update.png differ diff --git a/pos_return_barcode/static/description/assets/icons/user.png b/pos_return_barcode/static/description/assets/icons/user.png new file mode 100755 index 000000000..6ffb23d9f Binary files /dev/null and b/pos_return_barcode/static/description/assets/icons/user.png differ diff --git a/pos_return_barcode/static/description/assets/icons/video.png b/pos_return_barcode/static/description/assets/icons/video.png new file mode 100755 index 000000000..576705b17 Binary files /dev/null and b/pos_return_barcode/static/description/assets/icons/video.png differ diff --git a/pos_return_barcode/static/description/assets/icons/whatsapp.png b/pos_return_barcode/static/description/assets/icons/whatsapp.png new file mode 100755 index 000000000..d513a5356 Binary files /dev/null and b/pos_return_barcode/static/description/assets/icons/whatsapp.png differ diff --git a/pos_return_barcode/static/description/assets/icons/wrench-icon.svg b/pos_return_barcode/static/description/assets/icons/wrench-icon.svg new file mode 100755 index 000000000..174b5a465 --- /dev/null +++ b/pos_return_barcode/static/description/assets/icons/wrench-icon.svg @@ -0,0 +1,10 @@ + + + + + + + + + + diff --git a/pos_return_barcode/static/description/assets/icons/wrench.png b/pos_return_barcode/static/description/assets/icons/wrench.png new file mode 100755 index 000000000..6c04dea0f Binary files /dev/null and b/pos_return_barcode/static/description/assets/icons/wrench.png differ diff --git a/pos_return_barcode/static/description/assets/modules/1.jpg b/pos_return_barcode/static/description/assets/modules/1.jpg new file mode 100644 index 000000000..3cb15fe01 Binary files /dev/null and b/pos_return_barcode/static/description/assets/modules/1.jpg differ diff --git a/pos_return_barcode/static/description/assets/modules/2.jpg b/pos_return_barcode/static/description/assets/modules/2.jpg new file mode 100644 index 000000000..662cadcc3 Binary files /dev/null and b/pos_return_barcode/static/description/assets/modules/2.jpg differ diff --git a/pos_return_barcode/static/description/assets/modules/3.jpg b/pos_return_barcode/static/description/assets/modules/3.jpg new file mode 100644 index 000000000..717a00443 Binary files /dev/null and b/pos_return_barcode/static/description/assets/modules/3.jpg differ diff --git a/pos_return_barcode/static/description/assets/modules/4.png b/pos_return_barcode/static/description/assets/modules/4.png new file mode 100644 index 000000000..00ebf54ad Binary files /dev/null and b/pos_return_barcode/static/description/assets/modules/4.png differ diff --git a/pos_return_barcode/static/description/assets/modules/5.jpg b/pos_return_barcode/static/description/assets/modules/5.jpg new file mode 100644 index 000000000..7c67e2eec Binary files /dev/null and b/pos_return_barcode/static/description/assets/modules/5.jpg differ diff --git a/pos_return_barcode/static/description/assets/modules/6.gif b/pos_return_barcode/static/description/assets/modules/6.gif new file mode 100644 index 000000000..a35ece8df Binary files /dev/null and b/pos_return_barcode/static/description/assets/modules/6.gif differ diff --git a/pos_return_barcode/static/description/assets/screenshots/barcode1.png b/pos_return_barcode/static/description/assets/screenshots/barcode1.png new file mode 100644 index 000000000..35f62be44 Binary files /dev/null and b/pos_return_barcode/static/description/assets/screenshots/barcode1.png differ diff --git a/pos_return_barcode/static/description/assets/screenshots/barcode2.png b/pos_return_barcode/static/description/assets/screenshots/barcode2.png new file mode 100644 index 000000000..ceaba2cce Binary files /dev/null and b/pos_return_barcode/static/description/assets/screenshots/barcode2.png differ diff --git a/pos_return_barcode/static/description/assets/screenshots/barcode3.png b/pos_return_barcode/static/description/assets/screenshots/barcode3.png new file mode 100644 index 000000000..3e8d4a407 Binary files /dev/null and b/pos_return_barcode/static/description/assets/screenshots/barcode3.png differ diff --git a/pos_return_barcode/static/description/assets/screenshots/barcode4.png b/pos_return_barcode/static/description/assets/screenshots/barcode4.png new file mode 100644 index 000000000..239eb0949 Binary files /dev/null and b/pos_return_barcode/static/description/assets/screenshots/barcode4.png differ diff --git a/pos_return_barcode/static/description/assets/screenshots/barcode5.png b/pos_return_barcode/static/description/assets/screenshots/barcode5.png new file mode 100644 index 000000000..f46aedf0e Binary files /dev/null and b/pos_return_barcode/static/description/assets/screenshots/barcode5.png differ diff --git a/pos_return_barcode/static/description/assets/screenshots/barcode6.png b/pos_return_barcode/static/description/assets/screenshots/barcode6.png new file mode 100644 index 000000000..febb0fd2b Binary files /dev/null and b/pos_return_barcode/static/description/assets/screenshots/barcode6.png differ diff --git a/pos_return_barcode/static/description/assets/screenshots/hero.gif b/pos_return_barcode/static/description/assets/screenshots/hero.gif new file mode 100644 index 000000000..dd1419e29 Binary files /dev/null and b/pos_return_barcode/static/description/assets/screenshots/hero.gif differ diff --git a/pos_return_barcode/static/description/assets/screenshots/screenshot1.png b/pos_return_barcode/static/description/assets/screenshots/screenshot1.png new file mode 100644 index 000000000..dafa1bf1f Binary files /dev/null and b/pos_return_barcode/static/description/assets/screenshots/screenshot1.png differ diff --git a/pos_return_barcode/static/description/assets/screenshots/screenshot2.png b/pos_return_barcode/static/description/assets/screenshots/screenshot2.png new file mode 100644 index 000000000..fb01b5ba9 Binary files /dev/null and b/pos_return_barcode/static/description/assets/screenshots/screenshot2.png differ diff --git a/pos_return_barcode/static/description/assets/screenshots/screenshot3.png b/pos_return_barcode/static/description/assets/screenshots/screenshot3.png new file mode 100644 index 000000000..a56d529ab Binary files /dev/null and b/pos_return_barcode/static/description/assets/screenshots/screenshot3.png differ diff --git a/pos_return_barcode/static/description/assets/screenshots/screenshot4.png b/pos_return_barcode/static/description/assets/screenshots/screenshot4.png new file mode 100644 index 000000000..84a85f1ae Binary files /dev/null and b/pos_return_barcode/static/description/assets/screenshots/screenshot4.png differ diff --git a/pos_return_barcode/static/description/assets/screenshots/screenshot5.png b/pos_return_barcode/static/description/assets/screenshots/screenshot5.png new file mode 100644 index 000000000..f14dbcfed Binary files /dev/null and b/pos_return_barcode/static/description/assets/screenshots/screenshot5.png differ diff --git a/pos_return_barcode/static/description/assets/screenshots/screenshot6.png b/pos_return_barcode/static/description/assets/screenshots/screenshot6.png new file mode 100644 index 000000000..340fa9202 Binary files /dev/null and b/pos_return_barcode/static/description/assets/screenshots/screenshot6.png differ diff --git a/pos_return_barcode/static/description/assets/screenshots/screenshot7.png b/pos_return_barcode/static/description/assets/screenshots/screenshot7.png new file mode 100644 index 000000000..087d57354 Binary files /dev/null and b/pos_return_barcode/static/description/assets/screenshots/screenshot7.png differ diff --git a/pos_return_barcode/static/description/assets/y18.jpg b/pos_return_barcode/static/description/assets/y18.jpg new file mode 100755 index 000000000..eea1714f2 Binary files /dev/null and b/pos_return_barcode/static/description/assets/y18.jpg differ diff --git a/pos_return_barcode/static/description/banner.jpg b/pos_return_barcode/static/description/banner.jpg new file mode 100644 index 000000000..ff9b82902 Binary files /dev/null and b/pos_return_barcode/static/description/banner.jpg differ diff --git a/pos_return_barcode/static/description/icon.png b/pos_return_barcode/static/description/icon.png new file mode 100644 index 000000000..9c1bb4154 Binary files /dev/null and b/pos_return_barcode/static/description/icon.png differ diff --git a/pos_return_barcode/static/description/index.html b/pos_return_barcode/static/description/index.html new file mode 100644 index 000000000..9ec64921b --- /dev/null +++ b/pos_return_barcode/static/description/index.html @@ -0,0 +1,924 @@ + + + + + + POS RETURN BARCODE + + + + + + + + + + +
+
+ + + +
+
+ Community +
+
+ Enterprise +
+
+ Odoo.sh +
+
+
+ +
+
+
+
+

+ POS Return Barcode Odoo 18 +

+

POS RETURN BARCODE +

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

Key + Highlights

+
+
+
+
+ +
+
+ In this module + we can add barcode in pos receipt +
+
+
+
+
+
+ +
+
+ Pos session return product +
+

In this + module + we can return product by scanning the + receipt barcode

+ +
+
+
+
+ +
+
+
+ POS RETURN BARCODE +

+ Are you ready to make your business more + organized? +
Improve now! +

+ +
+
+ +
+
+
+ + + + +
+
+ +
+
+
+
+ acc_bg +
+ +
+
+
+
+

+ Enable 'Use barcode on ticket' from POS settings. +

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

+ When printing the POS receipt for each order, the barcode will be visible and also the barcode number can be seen in pos order +

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

+ Inorder to return products easily from pos session A button 'Return Product' is available +

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

+ On clicking the button, a popup appears where we can scan the receipt barcode +

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

+ On clicking 'Confirm', the order line of that particular order can be seen , set the return quantities and click the 'Payment'button +

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

+ Enable barcode from settings, to print barcode in pos receipt

+
+ +
+
+
+
+
+
+ +
+

+ Return product easily by scanning the pos receipt barcode

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

+ Yes. it works with + Odoosh. +

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

+ Latest Release 18.0.1.0.0 +

+ + 28 th July 2025 + +
+
+
+
+
+ Add +
+
+
+
    +
  • + Initial Commit +
  • + +
+
+
+
+
+
+
+
+
+
+ + + +
+

+ Related Products +

+ +
+ + +
+

+ Our Services

+ +
+ +
+
+ .... +
+
+ +
+ + +
+
+ + + + + + diff --git a/pos_return_barcode/static/src/js/barcode_popup.js b/pos_return_barcode/static/src/js/barcode_popup.js new file mode 100644 index 000000000..30dc7165f --- /dev/null +++ b/pos_return_barcode/static/src/js/barcode_popup.js @@ -0,0 +1,48 @@ +/** @odoo-module **/ +import { Component, useState } from "@odoo/owl"; +import { Dialog } from "@web/core/dialog/dialog"; +import { useService } from "@web/core/utils/hooks"; +import { WarningDialog } from "@web/core/errors/error_dialogs"; +import { _t } from "@web/core/l10n/translation"; +import { usePos } from "@point_of_sale/app/store/pos_hook"; + + +export class BarcodePopup extends Component { + static template = "BarcodePopup"; + static components = { Dialog }; + + setup() { + this.state = useState({ barcodeValue: "" }); + this.orm = useService("orm"); + this.dialog = useService("dialog") + this.pos = usePos(); + } + + async confirm() { + const barcode = this.state.barcodeValue.trim(); + const result = await this.orm.call("pos.order", "action_barcode_return", ["", barcode]); + + if (!result) { + this.dialog.add(WarningDialog, { + title: _t("Order not found"), + message: _t("Invalid Entry, Order Not Found"), + }); + return this.props.close(); + } + + const order = this.pos.get_order(); + const searchDetails = barcode ? { fieldName: "BARCODE", searchTerm: barcode } : {}; + this.pos.showScreen("TicketScreen", { + stateOverride: { + filter: "SYNCED", + search: searchDetails, + destinationOrder: order, + }, + }); + this.props.close(); + } + + cancel() { + this.props.close(); + } +} diff --git a/pos_return_barcode/static/src/js/order.js b/pos_return_barcode/static/src/js/order.js new file mode 100644 index 000000000..eae6899c3 --- /dev/null +++ b/pos_return_barcode/static/src/js/order.js @@ -0,0 +1,34 @@ +/** @odoo-module **/ +//Patched order to fetch barcode number and to search for the order related to barcode +import { patch } from "@web/core/utils/patch"; +import { PosOrder } from "@point_of_sale/app/models/pos_order"; +import { _t } from "@web/core/l10n/translation"; +import { useService } from "@web/core/utils/hooks"; +import { usePos } from "@point_of_sale/app/store/pos_hook"; +import { rpc } from "@web/core/network/rpc"; + + +patch(PosOrder.prototype, { + setup() { + super.setup(...arguments); + this.barcode_reader = this.barcode_reader || null; + this.is_barcode = false + let barcode = _t("%s", this.uid); + this.barcode = barcode.replace(/-/g, "") + }, + set_barcode_reader(barcode_reader) { + this.barcode_reader = barcode_reader.Value; + }, + get_barcode_reader() { + return this.barcode_reader; + }, + export_as_JSON() { + const json = super.export_as_JSON(...arguments); + json.barcode_reader = this.barcode_reader; + return json; + }, + init_from_JSON(json) { + super.init_from_JSON(...arguments); + this.barcode_reader = json.barcode_reader; + }, +}) diff --git a/pos_return_barcode/static/src/js/receipt_screen.js b/pos_return_barcode/static/src/js/receipt_screen.js new file mode 100644 index 000000000..315658e98 --- /dev/null +++ b/pos_return_barcode/static/src/js/receipt_screen.js @@ -0,0 +1,37 @@ +// Part of Odoo. See LICENSE file for full copyright and licensing details. +import { patch } from "@web/core/utils/patch"; +import { useService } from "@web/core/utils/hooks"; +import { useState } from "@odoo/owl"; +import { onWillStart } from "@odoo/owl"; +import { OrderReceipt } from "@point_of_sale/app/screens/receipt_screen/receipt/order_receipt"; +import { usePos } from "@point_of_sale/app/store/pos_hook"; + + +patch(OrderReceipt.prototype, { + setup() { + super.setup(...arguments); + this.orm = useService("orm"); + this.pos = usePos(); + this.order = this.pos.get_order() + this.state = useState({ + barcode :'' + }); + onWillStart(() => { + this.fetch_barcode() + }); + }, + + async fetch_barcode() { + const is_barcode = await this.orm.call("ir.config_parameter", "get_param", ["pos_return_barcode.receipt_barcode"]) + const order = await this.orm.searchRead("pos.order", + [["id", "=", this.order.id]], + ['barcode']); + if(is_barcode){ + order.forEach(element =>{ + this.state.barcode = element.barcode + this.order.barcode = element.barcode + + }) + } + } +}); \ No newline at end of file diff --git a/pos_return_barcode/static/src/js/return_product.js b/pos_return_barcode/static/src/js/return_product.js new file mode 100644 index 000000000..0b4733c4a --- /dev/null +++ b/pos_return_barcode/static/src/js/return_product.js @@ -0,0 +1,20 @@ +/** @odoo-module **/ +//Extended Component to add a button in pos session and for its working to scan barcode and show the products in the orderline +import { _t } from "@web/core/l10n/translation"; +import { patch } from "@web/core/utils/patch"; +import { ControlButtons } from "@point_of_sale/app/screens/product_screen/control_buttons/control_buttons"; +import { BarcodePopup } from "@pos_return_barcode/js/barcode_popup"; +import { useService } from "@web/core/utils/hooks"; + + +patch(ControlButtons.prototype, { + setup() { + super.setup(); + this.dialog = useService("dialog") + this.orm = useService("orm"); + }, + + async onClickReturn() { + const { confirmed, payload } = await this.dialog.add(BarcodePopup); + } +}); diff --git a/pos_return_barcode/static/src/js/ticket_screen.js b/pos_return_barcode/static/src/js/ticket_screen.js new file mode 100644 index 000000000..e0a36d55e --- /dev/null +++ b/pos_return_barcode/static/src/js/ticket_screen.js @@ -0,0 +1,25 @@ +/** @odoo-module **/ +import { TicketScreen } from "@point_of_sale/app/screens/ticket_screen/ticket_screen"; +import { patch } from "@web/core/utils/patch"; +import { _t } from "@web/core/l10n/translation"; +import { usePos } from "@point_of_sale/app/store/pos_hook"; + + +patch(TicketScreen.prototype, { + + setup() { + super.setup(); + this.pos = usePos() + this.searchDetails = this.pos.searchDetails; + }, + + _getSearchFields() { + return Object.assign({}, super._getSearchFields(...arguments), { + BARCODE: { + repr: (order) => order.barcode || "", + displayName: _t("Barcode"), + modelField: "barcode", + }, + }); + } +}) diff --git a/pos_return_barcode/static/src/xml/barcode_popup.xml b/pos_return_barcode/static/src/xml/barcode_popup.xml new file mode 100644 index 000000000..5524ddb80 --- /dev/null +++ b/pos_return_barcode/static/src/xml/barcode_popup.xml @@ -0,0 +1,19 @@ + + + + +
+ + +
+ + + + +
+
+
diff --git a/pos_return_barcode/static/src/xml/order_receipt.xml b/pos_return_barcode/static/src/xml/order_receipt.xml new file mode 100644 index 000000000..91d418927 --- /dev/null +++ b/pos_return_barcode/static/src/xml/order_receipt.xml @@ -0,0 +1,20 @@ + + + + +
+
+
+ + + + +
+
+
+
diff --git a/pos_return_barcode/static/src/xml/return_product_template.xml b/pos_return_barcode/static/src/xml/return_product_template.xml new file mode 100644 index 000000000..d6a974de5 --- /dev/null +++ b/pos_return_barcode/static/src/xml/return_product_template.xml @@ -0,0 +1,14 @@ + + + + + + + + + diff --git a/pos_return_barcode/views/pos_order_views.xml b/pos_return_barcode/views/pos_order_views.xml new file mode 100644 index 000000000..5ac37b1fa --- /dev/null +++ b/pos_return_barcode/views/pos_order_views.xml @@ -0,0 +1,15 @@ + + + + + pos.order.view.form.pos.return.barcode + pos.order + + + + + + + + + diff --git a/pos_return_barcode/views/res_config_settings_views.xml b/pos_return_barcode/views/res_config_settings_views.xml new file mode 100644 index 000000000..469038baa --- /dev/null +++ b/pos_return_barcode/views/res_config_settings_views.xml @@ -0,0 +1,16 @@ + + + + + res.config.settings.view.form.inherited.pos.return.barcode + res.config.settings + + + + + + + + + +