diff --git a/carry_bag_pos/README.rst b/carry_bag_pos/README.rst new file mode 100755 index 000000000..f05e0478c --- /dev/null +++ b/carry_bag_pos/README.rst @@ -0,0 +1,46 @@ +.. 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 + +Bag Charges in POS +================== +This module helps you to add carry bags to point of sale orders. + +Installation +============ +- www.odoo.com/documentation/16.0/setup/install.html +- Install our custom addon + +License +------- +Lesser General Public License, Version 3 (LGPL-3). +(http://www.gnu.org/licenses/lgpl-3.0-standalone.html) + +Company +------- +* `Cybrosys Techno Solutions `__ + +Credits +------- +* Developer: (V17) Mruthul Raj, Contact: odoo@cybrosys.com + +Contacts +-------- +* Mail Contact : odoo@cybrosys.com + +Bug Tracker +----------- +Bugs are tracked on GitHub Issues. In case of trouble, please check there if your issue has already been reported. + +Maintainer +========== +.. 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/carry_bag_pos/__init__.py b/carry_bag_pos/__init__.py new file mode 100755 index 000000000..1fa86d171 --- /dev/null +++ b/carry_bag_pos/__init__.py @@ -0,0 +1,22 @@ +# -*- coding: utf-8 -*- +############################################################################# +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2024-TODAY Cybrosys Technologies() +# Author: Mruthul Raj() +# +# 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/carry_bag_pos/__manifest__.py b/carry_bag_pos/__manifest__.py new file mode 100755 index 000000000..501200489 --- /dev/null +++ b/carry_bag_pos/__manifest__.py @@ -0,0 +1,47 @@ +# -*- coding: utf-8 -*- +############################################################################# +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2024-TODAY Cybrosys Technologies() +# Author: Mruthul Raj() +# +# 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': 'Bag Charges in POS', + 'version': '17.0.1.0.0', + 'category': 'Point of Sale', + 'summary': 'Add carry bags to point of sale orders', + 'description': """This module gives an option to add carry bags to point of + sale orders.User can choose bag category for getting bag to the order.""", + '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', + ], + 'assets': { + 'point_of_sale._assets_pos': [ + 'carry_bag_pos/static/src/**/*', + ] + }, + 'images': ['static/description/banner.png'], + 'license': 'LGPL-3', + 'installable': True, + 'auto_install': False, + 'application': False, +} diff --git a/carry_bag_pos/doc/RELEASE_NOTES.md b/carry_bag_pos/doc/RELEASE_NOTES.md new file mode 100755 index 000000000..48aacb74e --- /dev/null +++ b/carry_bag_pos/doc/RELEASE_NOTES.md @@ -0,0 +1,6 @@ +## Module + +#### 21.06.2024 +#### Version 17.0.1.0.0 +#### ADD +- Initial commit for Bag Charges in POS diff --git a/carry_bag_pos/models/__init__.py b/carry_bag_pos/models/__init__.py new file mode 100755 index 000000000..18fabf555 --- /dev/null +++ b/carry_bag_pos/models/__init__.py @@ -0,0 +1,23 @@ +# -*- coding: utf-8 -*- +############################################################################# +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2024-TODAY Cybrosys Technologies() +# Author: Mruthul Raj() +# +# 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 pos_config +from . import res_config_settings diff --git a/carry_bag_pos/models/pos_config.py b/carry_bag_pos/models/pos_config.py new file mode 100755 index 000000000..8635f3038 --- /dev/null +++ b/carry_bag_pos/models/pos_config.py @@ -0,0 +1,33 @@ +# -*- coding: utf-8 -*- +############################################################################# +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2024-TODAY Cybrosys Technologies() +# Author: Mruthul Raj() +# +# 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 fields, models + + +class PosConfig(models.Model): + """Adding fields to pos config""" + _inherit = 'pos.config' + + bag_charges = fields.Boolean(String="Enable Bag Charges", + help="Checking bag charges active or not") + bag_category_id = fields.Many2one('pos.category', + String="Choose Product Category", + help="User can select Category") diff --git a/carry_bag_pos/models/res_config_settings.py b/carry_bag_pos/models/res_config_settings.py new file mode 100755 index 000000000..fb4ed4051 --- /dev/null +++ b/carry_bag_pos/models/res_config_settings.py @@ -0,0 +1,34 @@ +# -*- coding: utf-8 -*- +############################################################################# +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2024-TODAY Cybrosys Technologies() +# Author: Mruthul Raj() +# +# 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 fields, models + + +class ResConfigSettings(models.TransientModel): + """Adding fields to configuration settings""" + _inherit = "res.config.settings" + + pos_bag_charges = fields.Boolean(related="pos_config_id.bag_charges", + String="Enable Bag Charges", + help="Checking bag charges active or not") + pos_bag_category_id = fields.Many2one( + 'pos.category', related="pos_config_id.bag_category_id", + String="Choose Product Category", help="User can select Category") diff --git a/carry_bag_pos/static/description/assets/icons/check.png b/carry_bag_pos/static/description/assets/icons/check.png new file mode 100755 index 000000000..c8e85f51d Binary files /dev/null and b/carry_bag_pos/static/description/assets/icons/check.png differ diff --git a/carry_bag_pos/static/description/assets/icons/chevron.png b/carry_bag_pos/static/description/assets/icons/chevron.png new file mode 100755 index 000000000..2089293d6 Binary files /dev/null and b/carry_bag_pos/static/description/assets/icons/chevron.png differ diff --git a/carry_bag_pos/static/description/assets/icons/cogs.png b/carry_bag_pos/static/description/assets/icons/cogs.png new file mode 100755 index 000000000..95d0bad62 Binary files /dev/null and b/carry_bag_pos/static/description/assets/icons/cogs.png differ diff --git a/carry_bag_pos/static/description/assets/icons/consultation.png b/carry_bag_pos/static/description/assets/icons/consultation.png new file mode 100755 index 000000000..8319d4baa Binary files /dev/null and b/carry_bag_pos/static/description/assets/icons/consultation.png differ diff --git a/carry_bag_pos/static/description/assets/icons/ecom-black.png b/carry_bag_pos/static/description/assets/icons/ecom-black.png new file mode 100755 index 000000000..a9385ff13 Binary files /dev/null and b/carry_bag_pos/static/description/assets/icons/ecom-black.png differ diff --git a/carry_bag_pos/static/description/assets/icons/education-black.png b/carry_bag_pos/static/description/assets/icons/education-black.png new file mode 100755 index 000000000..3eb09b27b Binary files /dev/null and b/carry_bag_pos/static/description/assets/icons/education-black.png differ diff --git a/carry_bag_pos/static/description/assets/icons/hotel-black.png b/carry_bag_pos/static/description/assets/icons/hotel-black.png new file mode 100755 index 000000000..130f613be Binary files /dev/null and b/carry_bag_pos/static/description/assets/icons/hotel-black.png differ diff --git a/carry_bag_pos/static/description/assets/icons/license.png b/carry_bag_pos/static/description/assets/icons/license.png new file mode 100755 index 000000000..a5869797e Binary files /dev/null and b/carry_bag_pos/static/description/assets/icons/license.png differ diff --git a/carry_bag_pos/static/description/assets/icons/lifebuoy.png b/carry_bag_pos/static/description/assets/icons/lifebuoy.png new file mode 100755 index 000000000..658d56ccc Binary files /dev/null and b/carry_bag_pos/static/description/assets/icons/lifebuoy.png differ diff --git a/carry_bag_pos/static/description/assets/icons/manufacturing-black.png b/carry_bag_pos/static/description/assets/icons/manufacturing-black.png new file mode 100755 index 000000000..697eb0e9f Binary files /dev/null and b/carry_bag_pos/static/description/assets/icons/manufacturing-black.png differ diff --git a/carry_bag_pos/static/description/assets/icons/pos-black.png b/carry_bag_pos/static/description/assets/icons/pos-black.png new file mode 100755 index 000000000..97c0f90c1 Binary files /dev/null and b/carry_bag_pos/static/description/assets/icons/pos-black.png differ diff --git a/carry_bag_pos/static/description/assets/icons/puzzle.png b/carry_bag_pos/static/description/assets/icons/puzzle.png new file mode 100755 index 000000000..65cf854e7 Binary files /dev/null and b/carry_bag_pos/static/description/assets/icons/puzzle.png differ diff --git a/carry_bag_pos/static/description/assets/icons/restaurant-black.png b/carry_bag_pos/static/description/assets/icons/restaurant-black.png new file mode 100755 index 000000000..4a35eb939 Binary files /dev/null and b/carry_bag_pos/static/description/assets/icons/restaurant-black.png differ diff --git a/carry_bag_pos/static/description/assets/icons/service-black.png b/carry_bag_pos/static/description/assets/icons/service-black.png new file mode 100755 index 000000000..301ab51cb Binary files /dev/null and b/carry_bag_pos/static/description/assets/icons/service-black.png differ diff --git a/carry_bag_pos/static/description/assets/icons/trading-black.png b/carry_bag_pos/static/description/assets/icons/trading-black.png new file mode 100755 index 000000000..9398ba2f1 Binary files /dev/null and b/carry_bag_pos/static/description/assets/icons/trading-black.png differ diff --git a/carry_bag_pos/static/description/assets/icons/training.png b/carry_bag_pos/static/description/assets/icons/training.png new file mode 100755 index 000000000..884ca024d Binary files /dev/null and b/carry_bag_pos/static/description/assets/icons/training.png differ diff --git a/carry_bag_pos/static/description/assets/icons/update.png b/carry_bag_pos/static/description/assets/icons/update.png new file mode 100755 index 000000000..ecbc5a01a Binary files /dev/null and b/carry_bag_pos/static/description/assets/icons/update.png differ diff --git a/carry_bag_pos/static/description/assets/icons/user.png b/carry_bag_pos/static/description/assets/icons/user.png new file mode 100755 index 000000000..6ffb23d9f Binary files /dev/null and b/carry_bag_pos/static/description/assets/icons/user.png differ diff --git a/carry_bag_pos/static/description/assets/icons/wrench.png b/carry_bag_pos/static/description/assets/icons/wrench.png new file mode 100755 index 000000000..6c04dea0f Binary files /dev/null and b/carry_bag_pos/static/description/assets/icons/wrench.png differ diff --git a/carry_bag_pos/static/description/assets/misc/categories.png b/carry_bag_pos/static/description/assets/misc/categories.png new file mode 100755 index 000000000..bedf1e0b1 Binary files /dev/null and b/carry_bag_pos/static/description/assets/misc/categories.png differ diff --git a/carry_bag_pos/static/description/assets/misc/check-box.png b/carry_bag_pos/static/description/assets/misc/check-box.png new file mode 100755 index 000000000..42caf24b9 Binary files /dev/null and b/carry_bag_pos/static/description/assets/misc/check-box.png differ diff --git a/carry_bag_pos/static/description/assets/misc/compass.png b/carry_bag_pos/static/description/assets/misc/compass.png new file mode 100755 index 000000000..d5fed8faa Binary files /dev/null and b/carry_bag_pos/static/description/assets/misc/compass.png differ diff --git a/carry_bag_pos/static/description/assets/misc/corporate.png b/carry_bag_pos/static/description/assets/misc/corporate.png new file mode 100755 index 000000000..2eb13edbf Binary files /dev/null and b/carry_bag_pos/static/description/assets/misc/corporate.png differ diff --git a/carry_bag_pos/static/description/assets/misc/customer-support.png b/carry_bag_pos/static/description/assets/misc/customer-support.png new file mode 100755 index 000000000..79efc72ed Binary files /dev/null and b/carry_bag_pos/static/description/assets/misc/customer-support.png differ diff --git a/carry_bag_pos/static/description/assets/misc/cybrosys-logo.png b/carry_bag_pos/static/description/assets/misc/cybrosys-logo.png new file mode 100755 index 000000000..cc3cc0ccf Binary files /dev/null and b/carry_bag_pos/static/description/assets/misc/cybrosys-logo.png differ diff --git a/carry_bag_pos/static/description/assets/misc/features.png b/carry_bag_pos/static/description/assets/misc/features.png new file mode 100755 index 000000000..b41769f77 Binary files /dev/null and b/carry_bag_pos/static/description/assets/misc/features.png differ diff --git a/carry_bag_pos/static/description/assets/misc/logo.png b/carry_bag_pos/static/description/assets/misc/logo.png new file mode 100755 index 000000000..478462d3e Binary files /dev/null and b/carry_bag_pos/static/description/assets/misc/logo.png differ diff --git a/carry_bag_pos/static/description/assets/misc/modules/1.png b/carry_bag_pos/static/description/assets/misc/modules/1.png new file mode 100755 index 000000000..5238bdeab Binary files /dev/null and b/carry_bag_pos/static/description/assets/misc/modules/1.png differ diff --git a/carry_bag_pos/static/description/assets/misc/modules/2.png b/carry_bag_pos/static/description/assets/misc/modules/2.png new file mode 100755 index 000000000..1ae7cfe3b Binary files /dev/null and b/carry_bag_pos/static/description/assets/misc/modules/2.png differ diff --git a/carry_bag_pos/static/description/assets/misc/modules/3.png b/carry_bag_pos/static/description/assets/misc/modules/3.png new file mode 100755 index 000000000..3c3ff1afb Binary files /dev/null and b/carry_bag_pos/static/description/assets/misc/modules/3.png differ diff --git a/carry_bag_pos/static/description/assets/misc/modules/4.png b/carry_bag_pos/static/description/assets/misc/modules/4.png new file mode 100755 index 000000000..3fae4631e Binary files /dev/null and b/carry_bag_pos/static/description/assets/misc/modules/4.png differ diff --git a/carry_bag_pos/static/description/assets/misc/modules/5.gif b/carry_bag_pos/static/description/assets/misc/modules/5.gif new file mode 100755 index 000000000..2a5f8e659 Binary files /dev/null and b/carry_bag_pos/static/description/assets/misc/modules/5.gif differ diff --git a/carry_bag_pos/static/description/assets/misc/modules/6.png b/carry_bag_pos/static/description/assets/misc/modules/6.png new file mode 100755 index 000000000..7f2815273 Binary files /dev/null and b/carry_bag_pos/static/description/assets/misc/modules/6.png differ diff --git a/carry_bag_pos/static/description/assets/misc/modules/approval_image.png b/carry_bag_pos/static/description/assets/misc/modules/approval_image.png new file mode 100755 index 000000000..84fe94e80 Binary files /dev/null and b/carry_bag_pos/static/description/assets/misc/modules/approval_image.png differ diff --git a/carry_bag_pos/static/description/assets/misc/modules/dynamic_image.png b/carry_bag_pos/static/description/assets/misc/modules/dynamic_image.png new file mode 100755 index 000000000..f55c47e0f Binary files /dev/null and b/carry_bag_pos/static/description/assets/misc/modules/dynamic_image.png differ diff --git a/carry_bag_pos/static/description/assets/misc/modules/list_view_image.png b/carry_bag_pos/static/description/assets/misc/modules/list_view_image.png new file mode 100755 index 000000000..510d36ae9 Binary files /dev/null and b/carry_bag_pos/static/description/assets/misc/modules/list_view_image.png differ diff --git a/carry_bag_pos/static/description/assets/misc/modules/multiple_ref_image.png b/carry_bag_pos/static/description/assets/misc/modules/multiple_ref_image.png new file mode 100755 index 000000000..3fe90e552 Binary files /dev/null and b/carry_bag_pos/static/description/assets/misc/modules/multiple_ref_image.png differ diff --git a/carry_bag_pos/static/description/assets/misc/modules/print_image.png b/carry_bag_pos/static/description/assets/misc/modules/print_image.png new file mode 100755 index 000000000..b470725a1 Binary files /dev/null and b/carry_bag_pos/static/description/assets/misc/modules/print_image.png differ diff --git a/carry_bag_pos/static/description/assets/misc/modules/product_return_image.png b/carry_bag_pos/static/description/assets/misc/modules/product_return_image.png new file mode 100755 index 000000000..3afc14722 Binary files /dev/null and b/carry_bag_pos/static/description/assets/misc/modules/product_return_image.png differ diff --git a/carry_bag_pos/static/description/assets/misc/pictures.png b/carry_bag_pos/static/description/assets/misc/pictures.png new file mode 100755 index 000000000..56d255fe9 Binary files /dev/null and b/carry_bag_pos/static/description/assets/misc/pictures.png differ diff --git a/carry_bag_pos/static/description/assets/misc/pie-chart.png b/carry_bag_pos/static/description/assets/misc/pie-chart.png new file mode 100755 index 000000000..426e05244 Binary files /dev/null and b/carry_bag_pos/static/description/assets/misc/pie-chart.png differ diff --git a/carry_bag_pos/static/description/assets/misc/right-arrow.png b/carry_bag_pos/static/description/assets/misc/right-arrow.png new file mode 100755 index 000000000..730984a06 Binary files /dev/null and b/carry_bag_pos/static/description/assets/misc/right-arrow.png differ diff --git a/carry_bag_pos/static/description/assets/misc/star.png b/carry_bag_pos/static/description/assets/misc/star.png new file mode 100755 index 000000000..2eb9ab29f Binary files /dev/null and b/carry_bag_pos/static/description/assets/misc/star.png differ diff --git a/carry_bag_pos/static/description/assets/misc/support.png b/carry_bag_pos/static/description/assets/misc/support.png new file mode 100755 index 000000000..4f18b8b82 Binary files /dev/null and b/carry_bag_pos/static/description/assets/misc/support.png differ diff --git a/carry_bag_pos/static/description/assets/misc/whatsapp.png b/carry_bag_pos/static/description/assets/misc/whatsapp.png new file mode 100755 index 000000000..d513a5356 Binary files /dev/null and b/carry_bag_pos/static/description/assets/misc/whatsapp.png differ diff --git a/carry_bag_pos/static/description/assets/modules/1.jpg b/carry_bag_pos/static/description/assets/modules/1.jpg new file mode 100755 index 000000000..0b59ec131 Binary files /dev/null and b/carry_bag_pos/static/description/assets/modules/1.jpg differ diff --git a/carry_bag_pos/static/description/assets/modules/1.png b/carry_bag_pos/static/description/assets/modules/1.png new file mode 100755 index 000000000..3bedf7981 Binary files /dev/null and b/carry_bag_pos/static/description/assets/modules/1.png differ diff --git a/carry_bag_pos/static/description/assets/modules/2.jpg b/carry_bag_pos/static/description/assets/modules/2.jpg new file mode 100755 index 000000000..a1dc39c89 Binary files /dev/null and b/carry_bag_pos/static/description/assets/modules/2.jpg differ diff --git a/carry_bag_pos/static/description/assets/modules/3.jpg b/carry_bag_pos/static/description/assets/modules/3.jpg new file mode 100755 index 000000000..efebcb605 Binary files /dev/null and b/carry_bag_pos/static/description/assets/modules/3.jpg differ diff --git a/carry_bag_pos/static/description/assets/modules/x.jpg b/carry_bag_pos/static/description/assets/modules/x.jpg new file mode 100755 index 000000000..1e087eed6 Binary files /dev/null and b/carry_bag_pos/static/description/assets/modules/x.jpg differ diff --git a/carry_bag_pos/static/description/assets/modules/y.jpg b/carry_bag_pos/static/description/assets/modules/y.jpg new file mode 100755 index 000000000..5e33e5151 Binary files /dev/null and b/carry_bag_pos/static/description/assets/modules/y.jpg differ diff --git a/carry_bag_pos/static/description/assets/screenshots/carry_bag_01.png b/carry_bag_pos/static/description/assets/screenshots/carry_bag_01.png new file mode 100755 index 000000000..807126379 Binary files /dev/null and b/carry_bag_pos/static/description/assets/screenshots/carry_bag_01.png differ diff --git a/carry_bag_pos/static/description/assets/screenshots/carry_bag_02.png b/carry_bag_pos/static/description/assets/screenshots/carry_bag_02.png new file mode 100755 index 000000000..95763669d Binary files /dev/null and b/carry_bag_pos/static/description/assets/screenshots/carry_bag_02.png differ diff --git a/carry_bag_pos/static/description/assets/screenshots/carry_bag_03.png b/carry_bag_pos/static/description/assets/screenshots/carry_bag_03.png new file mode 100755 index 000000000..54ccca9a3 Binary files /dev/null and b/carry_bag_pos/static/description/assets/screenshots/carry_bag_03.png differ diff --git a/carry_bag_pos/static/description/assets/screenshots/carry_bag_04.png b/carry_bag_pos/static/description/assets/screenshots/carry_bag_04.png new file mode 100755 index 000000000..286b237da Binary files /dev/null and b/carry_bag_pos/static/description/assets/screenshots/carry_bag_04.png differ diff --git a/carry_bag_pos/static/description/assets/screenshots/carry_bag_05.png b/carry_bag_pos/static/description/assets/screenshots/carry_bag_05.png new file mode 100755 index 000000000..71cf96642 Binary files /dev/null and b/carry_bag_pos/static/description/assets/screenshots/carry_bag_05.png differ diff --git a/carry_bag_pos/static/description/assets/screenshots/carry_bag_06.png b/carry_bag_pos/static/description/assets/screenshots/carry_bag_06.png new file mode 100755 index 000000000..a4a442aae Binary files /dev/null and b/carry_bag_pos/static/description/assets/screenshots/carry_bag_06.png differ diff --git a/carry_bag_pos/static/description/assets/screenshots/carry_bag_07.png b/carry_bag_pos/static/description/assets/screenshots/carry_bag_07.png new file mode 100755 index 000000000..2dad9e805 Binary files /dev/null and b/carry_bag_pos/static/description/assets/screenshots/carry_bag_07.png differ diff --git a/carry_bag_pos/static/description/assets/screenshots/hero.gif b/carry_bag_pos/static/description/assets/screenshots/hero.gif new file mode 100644 index 000000000..a026155b5 Binary files /dev/null and b/carry_bag_pos/static/description/assets/screenshots/hero.gif differ diff --git a/carry_bag_pos/static/description/banner.jpg b/carry_bag_pos/static/description/banner.jpg new file mode 100644 index 000000000..58f0aee87 Binary files /dev/null and b/carry_bag_pos/static/description/banner.jpg differ diff --git a/carry_bag_pos/static/description/icon.png b/carry_bag_pos/static/description/icon.png new file mode 100644 index 000000000..e6d56d6ed Binary files /dev/null and b/carry_bag_pos/static/description/icon.png differ diff --git a/carry_bag_pos/static/description/index.html b/carry_bag_pos/static/description/index.html new file mode 100755 index 000000000..959f14c61 --- /dev/null +++ b/carry_bag_pos/static/description/index.html @@ -0,0 +1,700 @@ + + + + + + Odoo App 3 Index + + + + + + + + +
+
+
+
+
+ +
+
+
+ Community +
+
+ Enterprise +
+
+ Odoo.sh +
+
+
+
+
+
+

+ Bag Charges in POS

+

+ Add Carry Bags to Point of Sale Orders

+
+ +
+
+
+
+
+

+ Key Highlights +

+
+
+
+
+
+ +
+
+

+ Add Carry Bag Option in POS Orders.

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

+ Create new Pos Product Category for the bag

+
+
+
+
+
+
+ +
+
+

+ Add Bags to this Category.

+
+
+
+
+
+
+ +
+
+

+ Enable Bag Charges in Configuration Settings and choose Category

+
+
+
+
+
+
+ +
+
+

+ Click on the Button to Choose Carry Bags

+
+
+
+
+
+
+ +
+
+

+ Choose Bag to add into POS Order

+
+
+
+
+
+
+ +
+
+

+ Bag Charges are Added with POS Order

+
+
+
+
+
+
+ +
+
+

+ Bag Charges are also Added in Receipt

+
+
+
+
+
+
+
    +
  • + Add Carry Bag Option in POS Orders +
  • +
  • + Users can Select Carry Bag Styles and Size from POS Session +
  • +
+
+
+
+
+
+
Version + 17.0.1.0.0|Released on:21st June 2024 +
+

+ Initial Commit for Bag Charges in POS.

+
+
+
+
+
+
+
+

+ 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/carry_bag_pos/static/src/overrides/components/bag_button/bag_charges_button.js b/carry_bag_pos/static/src/overrides/components/bag_button/bag_charges_button.js new file mode 100755 index 000000000..70393798f --- /dev/null +++ b/carry_bag_pos/static/src/overrides/components/bag_button/bag_charges_button.js @@ -0,0 +1,35 @@ +/**@odoo-module **/ +import { _t } from "@web/core/l10n/translation"; +import { ProductScreen } from "@point_of_sale/app/screens/product_screen/product_screen"; +import { useService } from "@web/core/utils/hooks"; +import { Component } from "@odoo/owl"; +import { usePos } from "@point_of_sale/app/store/pos_hook"; +import { BagPopup } from "../bag_popup/bag_popup" +/** + * BagChargesButton is a component responsible for opening the bag charges popup. + */ +export class BagChargesButton extends Component { + static template = "carry_bag_pos.BagChargesButton"; + /** + * Setup function to initialize the component. + */ + setup() { + this.pos = usePos(); + this.popup = useService("popup"); + } + /** + * onClick function handles the click event of the bag charges button. + */ + async onClick() { + var categoryId = this.pos.config.bag_category_id[0] + var products = this.pos.db.get_product_by_category(categoryId) + this.popup.add(BagPopup,{ + products:products, + pos:this.pos, + }) + } +} +// Add BagChargesButton component as a control button to Product +ProductScreen.addControlButton({ + component: BagChargesButton, +}); diff --git a/carry_bag_pos/static/src/overrides/components/bag_button/bag_charges_button_templates.xml b/carry_bag_pos/static/src/overrides/components/bag_button/bag_charges_button_templates.xml new file mode 100755 index 000000000..c851ca2a5 --- /dev/null +++ b/carry_bag_pos/static/src/overrides/components/bag_button/bag_charges_button_templates.xml @@ -0,0 +1,14 @@ + + + + + + + diff --git a/carry_bag_pos/static/src/overrides/components/bag_popup/bag_popup.js b/carry_bag_pos/static/src/overrides/components/bag_popup/bag_popup.js new file mode 100755 index 000000000..ade6cf2ef --- /dev/null +++ b/carry_bag_pos/static/src/overrides/components/bag_popup/bag_popup.js @@ -0,0 +1,21 @@ +/**@odoo-module **/ +import { AbstractAwaitablePopup } from "@point_of_sale/app/popup/abstract_awaitable_popup"; +/** + * BagPopup is a popup component for selecting products to add as carry bags. + */ +export class BagPopup extends AbstractAwaitablePopup { + static template="carry_bag_pos.BagPopup" + /** + * Setup function to initialize the component. + */ + setup() { + super.setup(); + this.products = this.props.products + } + /** + * _onClickProduct function handles the click event on a product. + */ + _onClickProduct(id){ + this.props.pos.get_order().add_product(this.props.pos.db.get_product_by_id(id)); + }get_product_by_id +} diff --git a/carry_bag_pos/static/src/overrides/components/bag_popup/bag_popup.xml b/carry_bag_pos/static/src/overrides/components/bag_popup/bag_popup.xml new file mode 100755 index 000000000..9bed3fe8f --- /dev/null +++ b/carry_bag_pos/static/src/overrides/components/bag_popup/bag_popup.xml @@ -0,0 +1,37 @@ + + + + + + + diff --git a/carry_bag_pos/views/res_config_settings_views.xml b/carry_bag_pos/views/res_config_settings_views.xml new file mode 100755 index 000000000..2f652d564 --- /dev/null +++ b/carry_bag_pos/views/res_config_settings_views.xml @@ -0,0 +1,30 @@ + + + + + res.config.settings.view.form + res.config.settings + + + + +
+
+ +
+
+
+
+
+
+
+