diff --git a/pos_analytic_tag/README.rst b/pos_analytic_tag/README.rst new file mode 100644 index 000000000..6ec588865 --- /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/17.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 +------- +Developer : + (V16) Shafna K, + (V17) Jumana Haseen, +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_analytic_tag/__init__.py b/pos_analytic_tag/__init__.py new file mode 100644 index 000000000..7f8aba2ff --- /dev/null +++ b/pos_analytic_tag/__init__.py @@ -0,0 +1,22 @@ +# -*- coding: utf-8 -*- +############################################################################### +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2024-TODAY Cybrosys Technologies() +# Author: Jumana Haseen (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..97a243432 --- /dev/null +++ b/pos_analytic_tag/__manifest__.py @@ -0,0 +1,52 @@ +# -*- coding: utf-8 -*- +############################################################################### +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2024-TODAY Cybrosys Technologies() +# Author: Jumana Haseen (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': '17.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': ['base', 'point_of_sale', 'analytic', 'account'], + 'data': [ + 'views/res_config_settings_views.xml', + 'views/pos_config_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': ['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..bbc88aefa --- /dev/null +++ b/pos_analytic_tag/doc/RELEASE_NOTES.md @@ -0,0 +1,6 @@ +## Module + +#### 25.03.2024 +#### Version 17.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..48f1800d2 --- /dev/null +++ b/pos_analytic_tag/models/__init__.py @@ -0,0 +1,26 @@ +# -*- coding: utf-8 -*- +############################################################################### +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2024-TODAY Cybrosys Technologies() +# Author: Jumana Haseen (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_config +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_config.py b/pos_analytic_tag/models/pos_config.py new file mode 100644 index 000000000..539edf49e --- /dev/null +++ b/pos_analytic_tag/models/pos_config.py @@ -0,0 +1,32 @@ +# -*- coding: utf-8 -*- +############################################################################### +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2024-TODAY Cybrosys Technologies() +# Author: Jumana Haseen (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 PosConfig(models.Model): + """To add a field in pos config""" + _inherit = 'pos.config' + + analytic_account_id = fields.Many2one('account.analytic.account', + string="Analytic account", + help="Add Analytic account for the " + "current session") diff --git a/pos_analytic_tag/models/pos_order.py b/pos_analytic_tag/models/pos_order.py new file mode 100644 index 000000000..0b515b7db --- /dev/null +++ b/pos_analytic_tag/models/pos_order.py @@ -0,0 +1,32 @@ +# -*- coding: utf-8 -*- +############################################################################### +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2024-TODAY Cybrosys Technologies() +# Author: Jumana Haseen (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', readonly=True, + 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..4843b063b --- /dev/null +++ b/pos_analytic_tag/models/pos_payment.py @@ -0,0 +1,32 @@ +# -*- coding: utf-8 -*- +############################################################################### +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2024-TODAY Cybrosys Technologies() +# Author: Jumana Haseen (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..47bde406e --- /dev/null +++ b/pos_analytic_tag/models/pos_session.py @@ -0,0 +1,50 @@ +# -*- coding: utf-8 -*- +############################################################################### +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2024-TODAY Cybrosys Technologies() +# Author: Jumana Haseen (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 + analytic distribution model""" + res = super(PosSession,self)._create_account_move(balancing_account, + amount_to_balance, + bank_payment_method_diffs) + self.pos_analytic_account_id = self.config_id.analytic_account_id + if self.pos_analytic_account_id: + self.env['account.analytic.distribution.model'].create([{ + 'analytic_distribution': {self.pos_analytic_account_id.id: 100} + }]) + else: + return False + 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..5e0b8b3ae --- /dev/null +++ b/pos_analytic_tag/models/res_config_settings.py @@ -0,0 +1,33 @@ +# -*- coding: utf-8 -*- +############################################################################### +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2024-TODAY Cybrosys Technologies() +# Author: Jumana Haseen (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 ResConfigSettings(models.TransientModel): + """To add a field in pos configuration settings""" + _inherit = 'res.config.settings' + + pos_analytic_account_id = fields.Many2one( + 'account.analytic.account', + related='pos_config_id.analytic_account_id', + string='Analytic Account(PoS)', readonly=False, + help="Add analytic account for the pos session") diff --git a/pos_analytic_tag/static/description/assets/icons/capture (1).png b/pos_analytic_tag/static/description/assets/icons/capture (1).png new file mode 100644 index 000000000..8824deafc Binary files /dev/null and b/pos_analytic_tag/static/description/assets/icons/capture (1).png differ 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/img.png b/pos_analytic_tag/static/description/assets/icons/img.png new file mode 100644 index 000000000..70197f477 Binary files /dev/null and b/pos_analytic_tag/static/description/assets/icons/img.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/photo-capture.png b/pos_analytic_tag/static/description/assets/icons/photo-capture.png new file mode 100644 index 000000000..06c111758 Binary files /dev/null and b/pos_analytic_tag/static/description/assets/icons/photo-capture.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/Cybrosys R.png b/pos_analytic_tag/static/description/assets/misc/Cybrosys R.png new file mode 100644 index 000000000..da4058087 Binary files /dev/null and b/pos_analytic_tag/static/description/assets/misc/Cybrosys R.png differ diff --git a/pos_analytic_tag/static/description/assets/misc/email.svg b/pos_analytic_tag/static/description/assets/misc/email.svg new file mode 100644 index 000000000..15291cdc3 --- /dev/null +++ b/pos_analytic_tag/static/description/assets/misc/email.svg @@ -0,0 +1,33 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/pos_analytic_tag/static/description/assets/misc/phone.svg b/pos_analytic_tag/static/description/assets/misc/phone.svg new file mode 100644 index 000000000..b7bd7f251 --- /dev/null +++ b/pos_analytic_tag/static/description/assets/misc/phone.svg @@ -0,0 +1,3 @@ + + + diff --git a/pos_analytic_tag/static/description/assets/misc/star (1) 2.svg b/pos_analytic_tag/static/description/assets/misc/star (1) 2.svg new file mode 100644 index 000000000..5ae9f507a --- /dev/null +++ b/pos_analytic_tag/static/description/assets/misc/star (1) 2.svg @@ -0,0 +1,9 @@ + + + + + + + + + diff --git a/pos_analytic_tag/static/description/assets/misc/support (1) 1.svg b/pos_analytic_tag/static/description/assets/misc/support (1) 1.svg new file mode 100644 index 000000000..7d37a8f30 --- /dev/null +++ b/pos_analytic_tag/static/description/assets/misc/support (1) 1.svg @@ -0,0 +1,9 @@ + + + + + + + + + diff --git a/pos_analytic_tag/static/description/assets/misc/support-email.svg b/pos_analytic_tag/static/description/assets/misc/support-email.svg new file mode 100644 index 000000000..eb70370d6 --- /dev/null +++ b/pos_analytic_tag/static/description/assets/misc/support-email.svg @@ -0,0 +1,6 @@ + + + + + + diff --git a/pos_analytic_tag/static/description/assets/misc/tick-mark.svg b/pos_analytic_tag/static/description/assets/misc/tick-mark.svg new file mode 100644 index 000000000..2dbb40187 --- /dev/null +++ b/pos_analytic_tag/static/description/assets/misc/tick-mark.svg @@ -0,0 +1,17 @@ + + + + + + + + + + + + + + + + + diff --git a/pos_analytic_tag/static/description/assets/misc/whatsapp 1.svg b/pos_analytic_tag/static/description/assets/misc/whatsapp 1.svg new file mode 100644 index 000000000..0bfaf8fc6 --- /dev/null +++ b/pos_analytic_tag/static/description/assets/misc/whatsapp 1.svg @@ -0,0 +1,9 @@ + + + + + + + + + diff --git a/pos_analytic_tag/static/description/assets/misc/whatsapp.svg b/pos_analytic_tag/static/description/assets/misc/whatsapp.svg new file mode 100644 index 000000000..b618aea1d --- /dev/null +++ b/pos_analytic_tag/static/description/assets/misc/whatsapp.svg @@ -0,0 +1,33 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/pos_analytic_tag/static/description/assets/modules/1.png b/pos_analytic_tag/static/description/assets/modules/1.png new file mode 100644 index 000000000..7ee6a1016 Binary files /dev/null and b/pos_analytic_tag/static/description/assets/modules/1.png differ diff --git a/pos_analytic_tag/static/description/assets/modules/2.png b/pos_analytic_tag/static/description/assets/modules/2.png new file mode 100644 index 000000000..b5afa303b Binary files /dev/null and b/pos_analytic_tag/static/description/assets/modules/2.png differ diff --git a/pos_analytic_tag/static/description/assets/modules/3.png b/pos_analytic_tag/static/description/assets/modules/3.png new file mode 100644 index 000000000..60cfe1e73 Binary files /dev/null and b/pos_analytic_tag/static/description/assets/modules/3.png differ diff --git a/pos_analytic_tag/static/description/assets/modules/4.png b/pos_analytic_tag/static/description/assets/modules/4.png new file mode 100644 index 000000000..ea32c712a Binary files /dev/null and b/pos_analytic_tag/static/description/assets/modules/4.png differ diff --git a/pos_analytic_tag/static/description/assets/modules/5.png b/pos_analytic_tag/static/description/assets/modules/5.png new file mode 100644 index 000000000..c30acd2d5 Binary files /dev/null and b/pos_analytic_tag/static/description/assets/modules/5.png differ diff --git a/pos_analytic_tag/static/description/assets/modules/6.png b/pos_analytic_tag/static/description/assets/modules/6.png new file mode 100644 index 000000000..ebe3b99e2 Binary files /dev/null and b/pos_analytic_tag/static/description/assets/modules/6.png differ diff --git a/pos_analytic_tag/static/description/assets/screenshots/1.png b/pos_analytic_tag/static/description/assets/screenshots/1.png new file mode 100644 index 000000000..37d7deaa9 Binary files /dev/null and b/pos_analytic_tag/static/description/assets/screenshots/1.png differ diff --git a/pos_analytic_tag/static/description/assets/screenshots/2.png b/pos_analytic_tag/static/description/assets/screenshots/2.png new file mode 100644 index 000000000..00eb887c4 Binary files /dev/null and b/pos_analytic_tag/static/description/assets/screenshots/2.png differ diff --git a/pos_analytic_tag/static/description/assets/screenshots/3.png b/pos_analytic_tag/static/description/assets/screenshots/3.png new file mode 100644 index 000000000..672b20dae Binary files /dev/null and b/pos_analytic_tag/static/description/assets/screenshots/3.png differ diff --git a/pos_analytic_tag/static/description/assets/screenshots/4.png b/pos_analytic_tag/static/description/assets/screenshots/4.png new file mode 100644 index 000000000..058d7ae29 Binary files /dev/null and b/pos_analytic_tag/static/description/assets/screenshots/4.png differ diff --git a/pos_analytic_tag/static/description/assets/screenshots/5.png b/pos_analytic_tag/static/description/assets/screenshots/5.png new file mode 100644 index 000000000..69b80d4a9 Binary files /dev/null and b/pos_analytic_tag/static/description/assets/screenshots/5.png differ diff --git a/pos_analytic_tag/static/description/assets/screenshots/6.png b/pos_analytic_tag/static/description/assets/screenshots/6.png new file mode 100644 index 000000000..658b7dfce Binary files /dev/null and b/pos_analytic_tag/static/description/assets/screenshots/6.png differ diff --git a/pos_analytic_tag/static/description/assets/screenshots/7.png b/pos_analytic_tag/static/description/assets/screenshots/7.png new file mode 100644 index 000000000..99afd0b3d Binary files /dev/null and b/pos_analytic_tag/static/description/assets/screenshots/7.png differ diff --git a/pos_analytic_tag/static/description/assets/screenshots/8.png b/pos_analytic_tag/static/description/assets/screenshots/8.png new file mode 100644 index 000000000..692d2002a Binary files /dev/null and b/pos_analytic_tag/static/description/assets/screenshots/8.png differ diff --git a/pos_analytic_tag/static/description/assets/screenshots/9.png b/pos_analytic_tag/static/description/assets/screenshots/9.png new file mode 100644 index 000000000..3ceee9887 Binary files /dev/null and b/pos_analytic_tag/static/description/assets/screenshots/9.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..add476d19 Binary files /dev/null and b/pos_analytic_tag/static/description/assets/screenshots/hero.gif 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..43b4a2561 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..e2048a351 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..a076215b1 --- /dev/null +++ b/pos_analytic_tag/static/description/index.html @@ -0,0 +1,784 @@ + + + + + + + Odoo App 3 Index + + + + + + + + +
+
+
+
+
+ +
+
+
+ Community +
+
+ Enterprise +
+
+ Odoo.sh +
+
+
+
+
+
+

+ PoS Analytic Tag

+

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

+
+ +
+
+
+
+
+

+ Key Highlights +

+
+
+
+
+
+ +
+
+

+ Easily add Analytic Tag in Point of Sale

+
+
+
+
+
+
+ +
+
+

+ Delivery Statuses

+

Easier Analysis + using Analytic Tag in Reporting +

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

+ Enable Analytic Accounting 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 + making Payment.

+
+
+
+
+
+
+ +
+
+

+ At the end of the session, after closing the session we can see + 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

+
+
+
+
+
+
+ +
+
+

+ Analytic tag is + Added + in Journal item

+
+
+
+
+
+
+
    +
  • + Available in + Odoo 17.0 Community and Enterprise +
  • +
  • + An Analytic Tag + can be used for each Order in POS +
  • +
  • + PoS Analytic + Tag +
      +
    • +

      + 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. +

      +
    • +
    +
  • +
+
+
+
+
+
+
Version + 17.0.1.0.0|Released on:10th November 2023 +
+

+ Initial Commit for PoS Analytic Tag

+
+
+
+
+
+
+
+

+ 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/pos_analytic_tag/static/src/js/PosSession.js b/pos_analytic_tag/static/src/js/PosSession.js new file mode 100644 index 000000000..2b6ff7a62 --- /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); \ No newline at end of file diff --git a/pos_analytic_tag/views/pos_config_views.xml b/pos_analytic_tag/views/pos_config_views.xml new file mode 100644 index 000000000..e38b18f47 --- /dev/null +++ b/pos_analytic_tag/views/pos_config_views.xml @@ -0,0 +1,15 @@ + + + + + pos.config.view.form.inherit.pos.analytic.tag + pos.config + + + + + + + + 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..cca664ea4 --- /dev/null +++ b/pos_analytic_tag/views/res_config_settings_views.xml @@ -0,0 +1,29 @@ + + + + + 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 +
+
+ +
+
+
+
+
+
+
+