diff --git a/pos_analytic_tag/README.rst b/pos_analytic_tag/README.rst new file mode 100644 index 000000000..e47b43c7c --- /dev/null +++ b/pos_analytic_tag/README.rst @@ -0,0 +1,56 @@ +.. 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 Analytic Tag +================= +Using this module you can add Analytic Tags to your PoS orders +and session. + +Installation +------------ + - www.odoo.com/documentation/15.0/setup/install.html + - Install our custom addon + +Configuration +------------- +* No additional configurations needed + +Company +------- +* `Cybrosys Techno Solutions `__ + +License +------- +Affero General Public License v3.0 (AGPL v3) +(https://www.gnu.org/licenses/agpl-3.0-standalone.html) + +Credits +------- +* Developers : (V16) Shafna K + (V15) Ajith V + +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: ``__ \ No newline at end of file diff --git a/pos_analytic_tag/__init__.py b/pos_analytic_tag/__init__.py new file mode 100644 index 000000000..710566d74 --- /dev/null +++ b/pos_analytic_tag/__init__.py @@ -0,0 +1,22 @@ +# -*- coding: utf-8 -*- +############################################################################### +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2023-TODAY Cybrosys Technologies() +# Author: Ajith V(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/pos_analytic_tag/__manifest__.py b/pos_analytic_tag/__manifest__.py new file mode 100644 index 000000000..39b0e60ce --- /dev/null +++ b/pos_analytic_tag/__manifest__.py @@ -0,0 +1,53 @@ +# -*- coding: utf-8 -*- +############################################################################### +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2023-TODAY Cybrosys Technologies() +# Author: Ajith V(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 . +# +############################################################################### +{ + 'name': 'POS Analytic Tag', + 'version': '15.0.1.0.0', + 'category': 'Point of Sale', + 'summary': 'To manage analytic tags in POS', + 'description': "This module assists in managing analytic tags in the " + "Point of Sale. It enables the use of analytic filters in" + "reporting, facilitating analysis based on these tags.", + 'author': 'Cybrosys Techno Solutions', + 'company': 'Cybrosys Techno Solutions', + 'maintainer': 'Cybrosys Techno Solutions', + 'website': "https://www.cybrosys.com", + 'depends': ['point_of_sale', 'analytic', 'account'], + 'data': [ + 'views/res_config_settings_views.xml', + 'views/pos_session_views.xml', + 'views/pos_order_views.xml', + 'views/pos_payment_views.xml' + ], + 'assets': { + 'point_of_sale.assets': [ + 'pos_analytic_tag/static/src/js/PosSession.js' + ], + }, + 'images': [ + 'pos_analytic_tag/static/description/banner.jpg', + ], + 'license': 'AGPL-3', + 'installable': True, + 'auto_install': False, + 'application': False, +} diff --git a/pos_analytic_tag/doc/RELEASE_NOTES.md b/pos_analytic_tag/doc/RELEASE_NOTES.md new file mode 100644 index 000000000..65512f3fb --- /dev/null +++ b/pos_analytic_tag/doc/RELEASE_NOTES.md @@ -0,0 +1,7 @@ +## Module + +#### 21.11.2023 +#### Version 15.0.1.0.0 +#### ADD + + - Initial Commit for PoS Analytic Tag diff --git a/pos_analytic_tag/models/__init__.py b/pos_analytic_tag/models/__init__.py new file mode 100644 index 000000000..8dd6e3fe8 --- /dev/null +++ b/pos_analytic_tag/models/__init__.py @@ -0,0 +1,25 @@ +# -*- coding: utf-8 -*- +############################################################################### +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2023-TODAY Cybrosys Technologies() +# Author: Ajith V(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 pos_order +from . import pos_payment +from . import pos_session +from . import res_config_settings diff --git a/pos_analytic_tag/models/pos_order.py b/pos_analytic_tag/models/pos_order.py new file mode 100644 index 000000000..02e1e9976 --- /dev/null +++ b/pos_analytic_tag/models/pos_order.py @@ -0,0 +1,32 @@ +# -*- coding: utf-8 -*- +############################################################################### +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2023-TODAY Cybrosys Technologies() +# Author: Ajith V(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 + + +class PosOrder(models.Model): + """To add a field in pos order related to pos session""" + _inherit = 'pos.order' + + pos_analytic_account_id = fields.Many2one( + string='Pos Analytic Tag', + related='session_id.pos_analytic_account_id', + help="Add PoS analytic account for pos order") diff --git a/pos_analytic_tag/models/pos_payment.py b/pos_analytic_tag/models/pos_payment.py new file mode 100644 index 000000000..f7cd4f516 --- /dev/null +++ b/pos_analytic_tag/models/pos_payment.py @@ -0,0 +1,32 @@ +# -*- coding: utf-8 -*- +############################################################################### +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2023-TODAY Cybrosys Technologies() +# Author: Ajith V(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 + + +class PosPayment(models.Model): + """To add a field in pos payment related to pos session""" + _inherit = 'pos.payment' + + pos_analytic_account_id = fields.Many2one( + related='session_id.pos_analytic_account_id', + string="PoS Analytic Account", help="PoS Analytic account in " + "pos payment") diff --git a/pos_analytic_tag/models/pos_session.py b/pos_analytic_tag/models/pos_session.py new file mode 100644 index 000000000..a7b64af89 --- /dev/null +++ b/pos_analytic_tag/models/pos_session.py @@ -0,0 +1,58 @@ +# -*- coding: utf-8 -*- +############################################################################### +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2023-TODAY Cybrosys Technologies() +# Author: Ajith V(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 + + +class PosSession(models.Model): + """To add analytic tags in pos session""" + _inherit = 'pos.session' + + pos_analytic_account_id = fields.Many2one('account.analytic.account', + string='Pos Analytic Tag', + help="Pos Analytic account in" + " pos session", + readonly=True) + + def _create_account_move(self, balancing_account=False, amount_to_balance=0, + bank_payment_method_diffs=None): + """Call the parent class method using super() and creates + account move line""" + res = super(PosSession, self)._create_account_move(balancing_account, + amount_to_balance, + bank_payment_method_diffs) + analytic_account = self.env['res.config.settings'].sudo().get_values()[ + 'pos_analytic_account_id'] + self.pos_analytic_account_id = analytic_account + + analytic_tag = self.env['account.analytic.tag'].search([ + ('name', '=', self.pos_analytic_account_id.name) + ], limit=1) + if not analytic_tag: + analytic_tag = self.env['account.analytic.tag'].create({ + 'name': self.pos_analytic_account_id.name, + }) + account_move_lines = self.env['account.move.line'].search( + [('move_id.ref', '=', self.name)]) + account_move_lines.write({ + 'analytic_tag_ids': [(6, 0, [analytic_tag.id])] + }) + return res diff --git a/pos_analytic_tag/models/res_config_settings.py b/pos_analytic_tag/models/res_config_settings.py new file mode 100644 index 000000000..8a2ea3046 --- /dev/null +++ b/pos_analytic_tag/models/res_config_settings.py @@ -0,0 +1,53 @@ +# -*- coding: utf-8 -*- +############################################################################### +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2023-TODAY Cybrosys Technologies() +# Author: Ajith V(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 api, fields, models + + +class ResConfigSettings(models.TransientModel): + """To add a field in pos configuration settings""" + _inherit = 'res.config.settings' + + pos_analytic_account_id = fields.Many2one( + 'account.analytic.account', + string='Analytic Account(PoS)', readonly=False, + help="Add analytic account for the pos session") + + @api.model + def get_values(self): + """Get the values use to config parameter""" + res = super(ResConfigSettings, self).get_values() + + params = self.env['ir.config_parameter'].sudo() + pos_analytic_account_id = params.get_param('pos_analytic_account_id', + default=False) + res.update( + pos_analytic_account_id=int(pos_analytic_account_id), + ) + return res + + @api.model + def set_values(self): + """set the value""" + super(ResConfigSettings, self).set_values() + self.env['ir.config_parameter'].sudo().set_param( + "pos_analytic_account_id", + self.pos_analytic_account_id.id) diff --git a/pos_analytic_tag/static/description/assets/icons/check.png b/pos_analytic_tag/static/description/assets/icons/check.png new file mode 100644 index 000000000..c8e85f51d Binary files /dev/null and b/pos_analytic_tag/static/description/assets/icons/check.png differ diff --git a/pos_analytic_tag/static/description/assets/icons/chevron.png b/pos_analytic_tag/static/description/assets/icons/chevron.png new file mode 100644 index 000000000..2089293d6 Binary files /dev/null and b/pos_analytic_tag/static/description/assets/icons/chevron.png differ diff --git a/pos_analytic_tag/static/description/assets/icons/cogs.png b/pos_analytic_tag/static/description/assets/icons/cogs.png new file mode 100644 index 000000000..95d0bad62 Binary files /dev/null and b/pos_analytic_tag/static/description/assets/icons/cogs.png differ diff --git a/pos_analytic_tag/static/description/assets/icons/consultation.png b/pos_analytic_tag/static/description/assets/icons/consultation.png new file mode 100644 index 000000000..8319d4baa Binary files /dev/null and b/pos_analytic_tag/static/description/assets/icons/consultation.png differ diff --git a/pos_analytic_tag/static/description/assets/icons/ecom-black.png b/pos_analytic_tag/static/description/assets/icons/ecom-black.png new file mode 100644 index 000000000..a9385ff13 Binary files /dev/null and b/pos_analytic_tag/static/description/assets/icons/ecom-black.png differ diff --git a/pos_analytic_tag/static/description/assets/icons/education-black.png b/pos_analytic_tag/static/description/assets/icons/education-black.png new file mode 100644 index 000000000..3eb09b27b Binary files /dev/null and b/pos_analytic_tag/static/description/assets/icons/education-black.png differ diff --git a/pos_analytic_tag/static/description/assets/icons/hotel-black.png b/pos_analytic_tag/static/description/assets/icons/hotel-black.png new file mode 100644 index 000000000..130f613be Binary files /dev/null and b/pos_analytic_tag/static/description/assets/icons/hotel-black.png differ diff --git a/pos_analytic_tag/static/description/assets/icons/license.png b/pos_analytic_tag/static/description/assets/icons/license.png new file mode 100644 index 000000000..a5869797e Binary files /dev/null and b/pos_analytic_tag/static/description/assets/icons/license.png differ diff --git a/pos_analytic_tag/static/description/assets/icons/lifebuoy.png b/pos_analytic_tag/static/description/assets/icons/lifebuoy.png new file mode 100644 index 000000000..658d56ccc Binary files /dev/null and b/pos_analytic_tag/static/description/assets/icons/lifebuoy.png differ diff --git a/pos_analytic_tag/static/description/assets/icons/manufacturing-black.png b/pos_analytic_tag/static/description/assets/icons/manufacturing-black.png new file mode 100644 index 000000000..697eb0e9f Binary files /dev/null and b/pos_analytic_tag/static/description/assets/icons/manufacturing-black.png differ diff --git a/pos_analytic_tag/static/description/assets/icons/pos-black.png b/pos_analytic_tag/static/description/assets/icons/pos-black.png new file mode 100644 index 000000000..97c0f90c1 Binary files /dev/null and b/pos_analytic_tag/static/description/assets/icons/pos-black.png differ diff --git a/pos_analytic_tag/static/description/assets/icons/puzzle.png b/pos_analytic_tag/static/description/assets/icons/puzzle.png new file mode 100644 index 000000000..65cf854e7 Binary files /dev/null and b/pos_analytic_tag/static/description/assets/icons/puzzle.png differ diff --git a/pos_analytic_tag/static/description/assets/icons/restaurant-black.png b/pos_analytic_tag/static/description/assets/icons/restaurant-black.png new file mode 100644 index 000000000..4a35eb939 Binary files /dev/null and b/pos_analytic_tag/static/description/assets/icons/restaurant-black.png differ diff --git a/pos_analytic_tag/static/description/assets/icons/service-black.png b/pos_analytic_tag/static/description/assets/icons/service-black.png new file mode 100644 index 000000000..301ab51cb Binary files /dev/null and b/pos_analytic_tag/static/description/assets/icons/service-black.png differ diff --git a/pos_analytic_tag/static/description/assets/icons/trading-black.png b/pos_analytic_tag/static/description/assets/icons/trading-black.png new file mode 100644 index 000000000..9398ba2f1 Binary files /dev/null and b/pos_analytic_tag/static/description/assets/icons/trading-black.png differ diff --git a/pos_analytic_tag/static/description/assets/icons/training.png b/pos_analytic_tag/static/description/assets/icons/training.png new file mode 100644 index 000000000..884ca024d Binary files /dev/null and b/pos_analytic_tag/static/description/assets/icons/training.png differ diff --git a/pos_analytic_tag/static/description/assets/icons/update.png b/pos_analytic_tag/static/description/assets/icons/update.png new file mode 100644 index 000000000..ecbc5a01a Binary files /dev/null and b/pos_analytic_tag/static/description/assets/icons/update.png differ diff --git a/pos_analytic_tag/static/description/assets/icons/user.png b/pos_analytic_tag/static/description/assets/icons/user.png new file mode 100644 index 000000000..6ffb23d9f Binary files /dev/null and b/pos_analytic_tag/static/description/assets/icons/user.png differ diff --git a/pos_analytic_tag/static/description/assets/icons/wrench.png b/pos_analytic_tag/static/description/assets/icons/wrench.png new file mode 100644 index 000000000..6c04dea0f Binary files /dev/null and b/pos_analytic_tag/static/description/assets/icons/wrench.png differ diff --git a/pos_analytic_tag/static/description/assets/misc/categories.png b/pos_analytic_tag/static/description/assets/misc/categories.png new file mode 100644 index 000000000..bedf1e0b1 Binary files /dev/null and b/pos_analytic_tag/static/description/assets/misc/categories.png differ diff --git a/pos_analytic_tag/static/description/assets/misc/check-box.png b/pos_analytic_tag/static/description/assets/misc/check-box.png new file mode 100644 index 000000000..42caf24b9 Binary files /dev/null and b/pos_analytic_tag/static/description/assets/misc/check-box.png differ diff --git a/pos_analytic_tag/static/description/assets/misc/compass.png b/pos_analytic_tag/static/description/assets/misc/compass.png new file mode 100644 index 000000000..d5fed8faa Binary files /dev/null and b/pos_analytic_tag/static/description/assets/misc/compass.png differ diff --git a/pos_analytic_tag/static/description/assets/misc/corporate.png b/pos_analytic_tag/static/description/assets/misc/corporate.png new file mode 100644 index 000000000..2eb13edbf Binary files /dev/null and b/pos_analytic_tag/static/description/assets/misc/corporate.png differ diff --git a/pos_analytic_tag/static/description/assets/misc/customer-support.png b/pos_analytic_tag/static/description/assets/misc/customer-support.png new file mode 100644 index 000000000..79efc72ed Binary files /dev/null and b/pos_analytic_tag/static/description/assets/misc/customer-support.png differ diff --git a/pos_analytic_tag/static/description/assets/misc/cybrosys-logo.png b/pos_analytic_tag/static/description/assets/misc/cybrosys-logo.png new file mode 100644 index 000000000..cc3cc0ccf Binary files /dev/null and b/pos_analytic_tag/static/description/assets/misc/cybrosys-logo.png differ diff --git a/pos_analytic_tag/static/description/assets/misc/features.png b/pos_analytic_tag/static/description/assets/misc/features.png new file mode 100644 index 000000000..b41769f77 Binary files /dev/null and b/pos_analytic_tag/static/description/assets/misc/features.png differ diff --git a/pos_analytic_tag/static/description/assets/misc/logo.png b/pos_analytic_tag/static/description/assets/misc/logo.png new file mode 100644 index 000000000..478462d3e Binary files /dev/null and b/pos_analytic_tag/static/description/assets/misc/logo.png differ diff --git a/pos_analytic_tag/static/description/assets/misc/pictures.png b/pos_analytic_tag/static/description/assets/misc/pictures.png new file mode 100644 index 000000000..56d255fe9 Binary files /dev/null and b/pos_analytic_tag/static/description/assets/misc/pictures.png differ diff --git a/pos_analytic_tag/static/description/assets/misc/pie-chart.png b/pos_analytic_tag/static/description/assets/misc/pie-chart.png new file mode 100644 index 000000000..426e05244 Binary files /dev/null and b/pos_analytic_tag/static/description/assets/misc/pie-chart.png differ diff --git a/pos_analytic_tag/static/description/assets/misc/right-arrow.png b/pos_analytic_tag/static/description/assets/misc/right-arrow.png new file mode 100644 index 000000000..730984a06 Binary files /dev/null and b/pos_analytic_tag/static/description/assets/misc/right-arrow.png differ diff --git a/pos_analytic_tag/static/description/assets/misc/star.png b/pos_analytic_tag/static/description/assets/misc/star.png new file mode 100644 index 000000000..2eb9ab29f Binary files /dev/null and b/pos_analytic_tag/static/description/assets/misc/star.png differ diff --git a/pos_analytic_tag/static/description/assets/misc/support.png b/pos_analytic_tag/static/description/assets/misc/support.png new file mode 100644 index 000000000..4f18b8b82 Binary files /dev/null and b/pos_analytic_tag/static/description/assets/misc/support.png differ diff --git a/pos_analytic_tag/static/description/assets/misc/whatsapp.png b/pos_analytic_tag/static/description/assets/misc/whatsapp.png new file mode 100644 index 000000000..d513a5356 Binary files /dev/null and b/pos_analytic_tag/static/description/assets/misc/whatsapp.png differ diff --git a/pos_analytic_tag/static/description/assets/modules/pos_booking_order.jpg b/pos_analytic_tag/static/description/assets/modules/pos_booking_order.jpg new file mode 100644 index 000000000..31f0a1878 Binary files /dev/null and b/pos_analytic_tag/static/description/assets/modules/pos_booking_order.jpg differ diff --git a/pos_analytic_tag/static/description/assets/modules/pos_numpad_show_hide.png b/pos_analytic_tag/static/description/assets/modules/pos_numpad_show_hide.png new file mode 100644 index 000000000..6d589b993 Binary files /dev/null and b/pos_analytic_tag/static/description/assets/modules/pos_numpad_show_hide.png differ diff --git a/pos_analytic_tag/static/description/assets/modules/pos_order_line_product_image.png b/pos_analytic_tag/static/description/assets/modules/pos_order_line_product_image.png new file mode 100644 index 000000000..3f285a8e0 Binary files /dev/null and b/pos_analytic_tag/static/description/assets/modules/pos_order_line_product_image.png differ diff --git a/pos_analytic_tag/static/description/assets/modules/pos_product_multi_barcode.png b/pos_analytic_tag/static/description/assets/modules/pos_product_multi_barcode.png new file mode 100644 index 000000000..5713b11f6 Binary files /dev/null and b/pos_analytic_tag/static/description/assets/modules/pos_product_multi_barcode.png differ diff --git a/pos_analytic_tag/static/description/assets/modules/pos_product_multiple_uom.png b/pos_analytic_tag/static/description/assets/modules/pos_product_multiple_uom.png new file mode 100644 index 000000000..28a75d732 Binary files /dev/null and b/pos_analytic_tag/static/description/assets/modules/pos_product_multiple_uom.png differ diff --git a/pos_analytic_tag/static/description/assets/modules/product_return_pos.png b/pos_analytic_tag/static/description/assets/modules/product_return_pos.png new file mode 100644 index 000000000..be8dd200b Binary files /dev/null and b/pos_analytic_tag/static/description/assets/modules/product_return_pos.png differ diff --git a/pos_analytic_tag/static/description/assets/screenshots/hero.gif b/pos_analytic_tag/static/description/assets/screenshots/hero.gif new file mode 100644 index 000000000..8f6fdad94 Binary files /dev/null and b/pos_analytic_tag/static/description/assets/screenshots/hero.gif differ diff --git a/pos_analytic_tag/static/description/assets/screenshots/screenshot1.png b/pos_analytic_tag/static/description/assets/screenshots/screenshot1.png new file mode 100644 index 000000000..b7aa94e50 Binary files /dev/null and b/pos_analytic_tag/static/description/assets/screenshots/screenshot1.png differ diff --git a/pos_analytic_tag/static/description/assets/screenshots/screenshot2.png b/pos_analytic_tag/static/description/assets/screenshots/screenshot2.png new file mode 100644 index 000000000..a7e3cd261 Binary files /dev/null and b/pos_analytic_tag/static/description/assets/screenshots/screenshot2.png differ diff --git a/pos_analytic_tag/static/description/assets/screenshots/screenshot3.png b/pos_analytic_tag/static/description/assets/screenshots/screenshot3.png new file mode 100644 index 000000000..22c4ae70c Binary files /dev/null and b/pos_analytic_tag/static/description/assets/screenshots/screenshot3.png differ diff --git a/pos_analytic_tag/static/description/assets/screenshots/screenshot4.png b/pos_analytic_tag/static/description/assets/screenshots/screenshot4.png new file mode 100644 index 000000000..27edde4c2 Binary files /dev/null and b/pos_analytic_tag/static/description/assets/screenshots/screenshot4.png differ diff --git a/pos_analytic_tag/static/description/assets/screenshots/screenshot5.png b/pos_analytic_tag/static/description/assets/screenshots/screenshot5.png new file mode 100644 index 000000000..2776fd1fb Binary files /dev/null and b/pos_analytic_tag/static/description/assets/screenshots/screenshot5.png differ diff --git a/pos_analytic_tag/static/description/assets/screenshots/screenshot6.png b/pos_analytic_tag/static/description/assets/screenshots/screenshot6.png new file mode 100644 index 000000000..279e7349c Binary files /dev/null and b/pos_analytic_tag/static/description/assets/screenshots/screenshot6.png differ diff --git a/pos_analytic_tag/static/description/assets/screenshots/screenshot7.png b/pos_analytic_tag/static/description/assets/screenshots/screenshot7.png new file mode 100644 index 000000000..28b3dfb6a Binary files /dev/null and b/pos_analytic_tag/static/description/assets/screenshots/screenshot7.png differ diff --git a/pos_analytic_tag/static/description/assets/screenshots/screenshot8.png b/pos_analytic_tag/static/description/assets/screenshots/screenshot8.png new file mode 100644 index 000000000..d37cad22c Binary files /dev/null and b/pos_analytic_tag/static/description/assets/screenshots/screenshot8.png differ diff --git a/pos_analytic_tag/static/description/assets/screenshots/screenshot9.png b/pos_analytic_tag/static/description/assets/screenshots/screenshot9.png new file mode 100644 index 000000000..b170721c1 Binary files /dev/null and b/pos_analytic_tag/static/description/assets/screenshots/screenshot9.png differ diff --git a/pos_analytic_tag/static/description/banner.jpg b/pos_analytic_tag/static/description/banner.jpg new file mode 100644 index 000000000..04f56f3cf Binary files /dev/null and b/pos_analytic_tag/static/description/banner.jpg differ diff --git a/pos_analytic_tag/static/description/icon.png b/pos_analytic_tag/static/description/icon.png new file mode 100644 index 000000000..0373410a9 Binary files /dev/null and b/pos_analytic_tag/static/description/icon.png differ diff --git a/pos_analytic_tag/static/description/index.html b/pos_analytic_tag/static/description/index.html new file mode 100644 index 000000000..3ca702f9b --- /dev/null +++ b/pos_analytic_tag/static/description/index.html @@ -0,0 +1,651 @@ +
+
+
+
+ +
+
+
+ Community +
+
+ Enterprise +
+
+ Odoo.sh +
+
+
+
+
+ +
+
+
+

+ PoS Analytic Tag

+

+ An Analytic Tag can be used for each Order in POS + +

+
+ + + + +
+
+

+ Overview +

+
+
+

+ This module helps to add Analytic Tags in Point of Sale. There + by we can get complete Analysis of POS Orders and also in + Reporting we can filter Reports using this Analytic Filter.

+
+
+ + +
+
+

+ Features +

+
+
+
+ +
+
+

+ Easily add Analytic Tag in Point of Sale

+
+
+
+
+ +
+
+

+ Easier Analysis using Analytic Tag in Reporting

+
+
+
+
+ +
+
+

+ Simplified work flow

+
+
+
+ + + +
+
+

+ Screenshots +

+
+
+

Enable Analytic Accounting and + Analytic tag for the User

+ +
+
+

Choose an Analytic Account from + PoS Configuration Settings or Create a new one

+ +
+
+

Open a Session and Create an + Order

+ +
+
+

Choose the Product and Close the + Session after making Payment

+ +
+
+

Analytic Account is added for the + corresponding Session

+ +
+
+

Analytic Account is added in the + PoS Order

+ +
+
+

Analytic Account in Payment + Page

+ +
+
+

Analytic account in payment form + view

+ +
+
+

After closing the Session, + Analytic tag is Added in Journal item

+ +
+
+ + +
+
+ +
+

+ Related + Products +

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

+ Our Services +

+
+
+
+
+
+ +
+
+ Odoo + Customization
+
+
+
+ +
+
+ Odoo + Implementation
+
+
+
+ +
+
+ Odoo + Support
+
+
+
+ +
+
+ Hire + Odoo + Developer
+
+
+
+ +
+
+ Odoo + Integration
+
+
+
+ +
+
+ Odoo + Migration
+
+
+
+ +
+
+ Odoo + Consultancy
+
+
+
+ +
+
+ Odoo + Implementation
+
+ +
+
+ +
+
+ Odoo + Licensing Consultancy
+
+
+
+ + +
+
+ +
+

+ Our + Industries +

+
+
+
+
+
+ +
+ Trading +
+

+ Easily procure + and + sell your products

+
+
+
+
+ +
+ POS +
+

+ Easy + configuration + and convivial experience

+
+
+
+
+ +
+ Education +
+

+ A platform for + educational management

+
+
+
+
+ +
+ Manufacturing +
+

+ Plan, track and + schedule your operations

+
+
+
+
+ +
+ E-commerce & Website +
+

+ Mobile + friendly, + awe-inspiring product pages

+
+
+
+
+ +
+ Service Management +
+

+ Keep track of + services and invoice

+
+
+
+
+ +
+ Restaurant +
+

+ Run your bar or + restaurant methodically

+
+
+
+
+ +
+ Hotel Management +
+

+ An + all-inclusive + hotel management application

+
+
+
+
+ + +
+
+ +
+

+ Support +

+
+
+
+
+
+
+ +
+
+

Need Help?

+

Got questions or need + help? + Get in touch.

+ +

+ odoo@cybrosys.com

+
+
+
+
+
+
+
+ +
+
+

WhatsApp

+

Say hi to us on + WhatsApp!

+ +

+ +91 86068 + 27707

+
+
+
+
+
+
+
+ +
+
+
+
+ diff --git a/pos_analytic_tag/static/src/js/PosSession.js b/pos_analytic_tag/static/src/js/PosSession.js new file mode 100644 index 000000000..eda4153ec --- /dev/null +++ b/pos_analytic_tag/static/src/js/PosSession.js @@ -0,0 +1,15 @@ +/** @odoo-module **/ +/** + * Extends PosGlobalState and it extends Registries + * Override the _processData method to process loaded data + **/ +import { PosGlobalState} from 'point_of_sale.models'; +import Registries from 'point_of_sale.Registries'; + +const AnalyticAccount = (PosGlobalState) => class AnalyticAccount extends PosGlobalState { + async _processData(loadedData) { + await super._processData(...arguments); + this.res_config_settings = loadedData['res.config.settings']; + } + } +Registries.Model.extend(PosGlobalState, AnalyticAccount); diff --git a/pos_analytic_tag/views/pos_order_views.xml b/pos_analytic_tag/views/pos_order_views.xml new file mode 100644 index 000000000..2309f481c --- /dev/null +++ b/pos_analytic_tag/views/pos_order_views.xml @@ -0,0 +1,17 @@ + + + + + pos.order.view.form.inherit.pos.analytic.tag + pos.order + + + + + + + + + + + diff --git a/pos_analytic_tag/views/pos_payment_views.xml b/pos_analytic_tag/views/pos_payment_views.xml new file mode 100644 index 000000000..e14a52a65 --- /dev/null +++ b/pos_analytic_tag/views/pos_payment_views.xml @@ -0,0 +1,14 @@ + + + + + pos.payment.view.form.inherit.pos.analytic.tag + pos.payment + + + + + + + + diff --git a/pos_analytic_tag/views/pos_session_views.xml b/pos_analytic_tag/views/pos_session_views.xml new file mode 100644 index 000000000..8fa4aa573 --- /dev/null +++ b/pos_analytic_tag/views/pos_session_views.xml @@ -0,0 +1,14 @@ + + + + + pos.session.view.form.inherit.pos.analytic.tag + pos.session + + + + + + + + diff --git a/pos_analytic_tag/views/res_config_settings_views.xml b/pos_analytic_tag/views/res_config_settings_views.xml new file mode 100644 index 000000000..f2e5cbf4c --- /dev/null +++ b/pos_analytic_tag/views/res_config_settings_views.xml @@ -0,0 +1,34 @@ + + + + + + res.config.settings.view.form.inherit.pos.analytic.tag + + res.config.settings + + + +

POS Analytic Tags

+
+
+
+ Analytic Account + +
+ Track costs and revenues in each POS + sessions +
+
+ +
+
+
+
+
+
+
+
\ No newline at end of file