diff --git a/pos_greetings/README.rst b/pos_greetings/README.rst new file mode 100644 index 000000000..afafd4e88 --- /dev/null +++ b/pos_greetings/README.rst @@ -0,0 +1,54 @@ +.. 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 Customer Greeting Messages +============================== +This module allow to send a greeting message to the POS customer after +validating the POS order using the twilio python package.After installing this +module, users are encouraged to test its functionality with a Twilio trial +account. + +Configuration +============ +- www.odoo.com/documentation/17.0/setup/install.html +- Install our custom addon + +Company +------- +* `Cybrosys Techno Solutions `__ + +License +------- +GNU AFFERO GENERAL PUBLIC LICENSE, Version 3 (AGPLv3) +(https://www.gnu.org/licenses/agpl-3.0-standalone.html) + +Credits +------- +* Developers: (V17) SRUTHI PAVITHRAN, + (V16) SWAROOP N P, + (V15) SWAROOP N P, + (V14) SWAROOP N P, + (V13) YADHU K + Contact: odoo@cybrosys.com + +Contacts +-------- +* 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/pos_greetings/__init__.py b/pos_greetings/__init__.py new file mode 100644 index 000000000..442726863 --- /dev/null +++ b/pos_greetings/__init__.py @@ -0,0 +1,22 @@ +# -*- coding: utf-8 -*- +############################################################################# +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2023-TODAY Cybrosys Technologies(). +# Author: Sruthi Pavithran (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_greetings/__manifest__.py b/pos_greetings/__manifest__.py new file mode 100644 index 000000000..bf76e30ae --- /dev/null +++ b/pos_greetings/__manifest__.py @@ -0,0 +1,47 @@ +# -*- coding: utf-8 -*- +############################################################################# +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2023-TODAY Cybrosys Technologies(). +# Author: Sruthi Pavithran (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 Customer Greeting Messages', + 'version': '17.0.1.0.0', + 'category': 'Point of Sale', + 'summary': 'Send Greeting messages to Customers in Pos Order', + 'description': """This module allow to send a greeting message to the POS + customer after validating the POS order using the twilio python package. + After installing this module, users are encouraged to test its + functionality with a Twilio trial account.""", + 'author': 'Cybrosys Techno Solutions', + 'company': 'Cybrosys Techno Solutions', + 'maintainer': 'Cybrosys Techno Solutions', + 'website': "https://www.cybrosys.com", + 'depends': ['point_of_sale'], + 'data': [ + 'security/ir.model.access.csv', + 'views/res_config_settings_views.xml', + 'views/pos_greetings_views.xml', + ], + 'external_dependencies': {'python': ['twilio']}, + 'images': ['static/description/banner.jpg'], + 'license': 'AGPL-3', + 'installable': True, + 'auto_install': False, + 'application': False, +} diff --git a/pos_greetings/doc/RELEASE_NOTES.md b/pos_greetings/doc/RELEASE_NOTES.md new file mode 100644 index 000000000..8909160e5 --- /dev/null +++ b/pos_greetings/doc/RELEASE_NOTES.md @@ -0,0 +1,6 @@ +## Module + +#### 04.12.2023 +#### Version 17.0.1.0.0 +##### ADD +- Initial commit for POS Customer Greeting Messages diff --git a/pos_greetings/models/__init__.py b/pos_greetings/models/__init__.py new file mode 100644 index 000000000..6a62cc5e1 --- /dev/null +++ b/pos_greetings/models/__init__.py @@ -0,0 +1,24 @@ +# -*- coding: utf-8 -*- +############################################################################# +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2023-TODAY Cybrosys Technologies(). +# Author: Sruthi Pavithran (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_greetings +from . import pos_order +from . import res_config_settings diff --git a/pos_greetings/models/pos_greetings.py b/pos_greetings/models/pos_greetings.py new file mode 100644 index 000000000..2838be80e --- /dev/null +++ b/pos_greetings/models/pos_greetings.py @@ -0,0 +1,55 @@ +# -*- coding: utf-8 -*- +############################################################################# +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2023-TODAY Cybrosys Technologies(). +# Author: Sruthi Pavithran (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 PosGreetings(models.Model): + """Model for creating pos greetings details""" + _name = 'pos.greetings' + _description = 'POS Greetings' + _rec_name = 'order_id' + + customer_id = fields.Many2one('res.partner', + help="Select customer for sending greetings", + string='Customer') + order_id = fields.Many2one('pos.order', + help="Pos order details of related to the " + "greeting messages", + string='Order') + auth_token = fields.Char(string="Token", + help="Authentication token for sending " + "greetings messages") + twilio_number = fields.Char('Twilio Number', + help="Twilio number for sending greetings " + "messages") + to_number = fields.Char('Customer Number', + help="Add the receiver number for sending " + "greetings") + sms_body = fields.Char('Body', required=True, + help="Body of the greetings message") + session_id = fields.Many2one('pos.session', string='Session', + help="Pos session id which the greetings " + "messages related to") + send_sms = fields.Boolean(string='Send SMS', + help="Used for identifying is the sms is send " + "or not ", + default=False) diff --git a/pos_greetings/models/pos_order.py b/pos_greetings/models/pos_order.py new file mode 100644 index 000000000..bb18aaa35 --- /dev/null +++ b/pos_greetings/models/pos_order.py @@ -0,0 +1,69 @@ +# -*- coding: utf-8 -*- +############################################################################# +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2023-TODAY Cybrosys Technologies(). +# Author: Sruthi Pavithran (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 twilio.rest import Client +from odoo import api, models + + +class PosOrder(models.Model): + """This class inherit the 'pos.order' model to add functionality for + sending SMS messages to customers when orders are created.""" + _inherit = 'pos.order' + + @api.model + def create_from_ui(self, orders, draft=False): + """Create POS orders from the user interface and send SMS messages to + customers.This method creates POS orders from the provided data and + sends SMS messages to customers if the 'customer_msg' parameter is + set and the customer has a valid phone number.""" + res = super(PosOrder, self).create_from_ui(orders) + id = [line['id'] for line in res if line['id']] + if backend_order := self.search([('id', 'in', id)]): + for pos_order in backend_order: + params = self.env['ir.config_parameter'].sudo() + customer_msg = params.get_param('pos_greetings.customer_msg') + auth_token = params.get_param('pos_greetings.auth_token') + account_sid = params.get_param('pos_greetings.account_sid') + twilio_number = params.get_param('pos_greetings.twilio_number') + sms_body = params.get_param('pos_greetings.sms_body') + if customer_msg and pos_order.partner_id.phone: + try: + customer_phone = str(pos_order.partner_id.phone) +# Download the helper library from https://www.twilio.com/docs/python/install + client = Client(account_sid, auth_token) + message = client.messages.create( + body=sms_body, + from_=twilio_number, + to=customer_phone + ) + self.env['pos.greetings'].create({ + 'customer_id': pos_order.partner_id.id, + 'order_id': pos_order.id, + 'auth_token': auth_token, + 'twilio_number': twilio_number, + 'to_number': customer_phone, + 'session_id': pos_order.session_id.id, + 'sms_body': sms_body, + 'send_sms': True, + }) + except Exception: + pass + return res diff --git a/pos_greetings/models/res_config_settings.py b/pos_greetings/models/res_config_settings.py new file mode 100644 index 000000000..2d68b256d --- /dev/null +++ b/pos_greetings/models/res_config_settings.py @@ -0,0 +1,49 @@ +# -*- coding: utf-8 -*- +############################################################################# +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2023-TODAY Cybrosys Technologies(). +# Author: Sruthi Pavithran (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): + """This model inherits the 'res.config.settings' model to provide + configuration options for the POS Greetings module.Users can configure + settings for sending SMS messages to customers using Twilio.""" + _inherit = 'res.config.settings' + + customer_msg = fields.Boolean('POS Greetings', + config_parameter='pos_greetings.customer_msg', + Help='Create an account if you ' + 'ever create an account') + auth_token = fields.Char('Auth Token', + config_parameter='pos_greetings.auth_token', + Help='Copy the token from your twilio console ' + 'window and paste here', required=True) + account_sid = fields.Char('Account SID', + config_parameter='pos_greetings.account_sid', + required=True) + twilio_number = fields.Char('Twilio Number', + config_parameter='pos_greetings.twilio_number', + Help='The number provided by ' + 'twilio used to send ' + 'text messages', + required=True) + sms_body = fields.Char('Body', required=True, + config_parameter='pos_greetings.sms_body') diff --git a/pos_greetings/security/ir.model.access.csv b/pos_greetings/security/ir.model.access.csv new file mode 100644 index 000000000..6a4780fbd --- /dev/null +++ b/pos_greetings/security/ir.model.access.csv @@ -0,0 +1,2 @@ +id,name,model_id:id,group_id:id,perm_read,perm_write,perm_create,perm_unlink +access_pos_greetings_user,access.pos.greetings.user,model_pos_greetings,base.group_user,1,0,1,0 diff --git a/pos_greetings/static/description/assets/icons/check.png b/pos_greetings/static/description/assets/icons/check.png new file mode 100644 index 000000000..c8e85f51d Binary files /dev/null and b/pos_greetings/static/description/assets/icons/check.png differ diff --git a/pos_greetings/static/description/assets/icons/chevron.png b/pos_greetings/static/description/assets/icons/chevron.png new file mode 100644 index 000000000..2089293d6 Binary files /dev/null and b/pos_greetings/static/description/assets/icons/chevron.png differ diff --git a/pos_greetings/static/description/assets/icons/cogs.png b/pos_greetings/static/description/assets/icons/cogs.png new file mode 100644 index 000000000..95d0bad62 Binary files /dev/null and b/pos_greetings/static/description/assets/icons/cogs.png differ diff --git a/pos_greetings/static/description/assets/icons/consultation.png b/pos_greetings/static/description/assets/icons/consultation.png new file mode 100644 index 000000000..8319d4baa Binary files /dev/null and b/pos_greetings/static/description/assets/icons/consultation.png differ diff --git a/pos_greetings/static/description/assets/icons/ecom-black.png b/pos_greetings/static/description/assets/icons/ecom-black.png new file mode 100644 index 000000000..a9385ff13 Binary files /dev/null and b/pos_greetings/static/description/assets/icons/ecom-black.png differ diff --git a/pos_greetings/static/description/assets/icons/education-black.png b/pos_greetings/static/description/assets/icons/education-black.png new file mode 100644 index 000000000..3eb09b27b Binary files /dev/null and b/pos_greetings/static/description/assets/icons/education-black.png differ diff --git a/pos_greetings/static/description/assets/icons/hotel-black.png b/pos_greetings/static/description/assets/icons/hotel-black.png new file mode 100644 index 000000000..130f613be Binary files /dev/null and b/pos_greetings/static/description/assets/icons/hotel-black.png differ diff --git a/pos_greetings/static/description/assets/icons/license.png b/pos_greetings/static/description/assets/icons/license.png new file mode 100644 index 000000000..a5869797e Binary files /dev/null and b/pos_greetings/static/description/assets/icons/license.png differ diff --git a/pos_greetings/static/description/assets/icons/lifebuoy.png b/pos_greetings/static/description/assets/icons/lifebuoy.png new file mode 100644 index 000000000..658d56ccc Binary files /dev/null and b/pos_greetings/static/description/assets/icons/lifebuoy.png differ diff --git a/pos_greetings/static/description/assets/icons/logo.png b/pos_greetings/static/description/assets/icons/logo.png new file mode 100644 index 000000000..478462d3e Binary files /dev/null and b/pos_greetings/static/description/assets/icons/logo.png differ diff --git a/pos_greetings/static/description/assets/icons/manufacturing-black.png b/pos_greetings/static/description/assets/icons/manufacturing-black.png new file mode 100644 index 000000000..697eb0e9f Binary files /dev/null and b/pos_greetings/static/description/assets/icons/manufacturing-black.png differ diff --git a/pos_greetings/static/description/assets/icons/pos-black.png b/pos_greetings/static/description/assets/icons/pos-black.png new file mode 100644 index 000000000..97c0f90c1 Binary files /dev/null and b/pos_greetings/static/description/assets/icons/pos-black.png differ diff --git a/pos_greetings/static/description/assets/icons/puzzle.png b/pos_greetings/static/description/assets/icons/puzzle.png new file mode 100644 index 000000000..65cf854e7 Binary files /dev/null and b/pos_greetings/static/description/assets/icons/puzzle.png differ diff --git a/pos_greetings/static/description/assets/icons/restaurant-black.png b/pos_greetings/static/description/assets/icons/restaurant-black.png new file mode 100644 index 000000000..4a35eb939 Binary files /dev/null and b/pos_greetings/static/description/assets/icons/restaurant-black.png differ diff --git a/pos_greetings/static/description/assets/icons/service-black.png b/pos_greetings/static/description/assets/icons/service-black.png new file mode 100644 index 000000000..301ab51cb Binary files /dev/null and b/pos_greetings/static/description/assets/icons/service-black.png differ diff --git a/pos_greetings/static/description/assets/icons/trading-black.png b/pos_greetings/static/description/assets/icons/trading-black.png new file mode 100644 index 000000000..9398ba2f1 Binary files /dev/null and b/pos_greetings/static/description/assets/icons/trading-black.png differ diff --git a/pos_greetings/static/description/assets/icons/training.png b/pos_greetings/static/description/assets/icons/training.png new file mode 100644 index 000000000..884ca024d Binary files /dev/null and b/pos_greetings/static/description/assets/icons/training.png differ diff --git a/pos_greetings/static/description/assets/icons/update.png b/pos_greetings/static/description/assets/icons/update.png new file mode 100644 index 000000000..ecbc5a01a Binary files /dev/null and b/pos_greetings/static/description/assets/icons/update.png differ diff --git a/pos_greetings/static/description/assets/icons/user.png b/pos_greetings/static/description/assets/icons/user.png new file mode 100644 index 000000000..6ffb23d9f Binary files /dev/null and b/pos_greetings/static/description/assets/icons/user.png differ diff --git a/pos_greetings/static/description/assets/icons/wrench.png b/pos_greetings/static/description/assets/icons/wrench.png new file mode 100644 index 000000000..6c04dea0f Binary files /dev/null and b/pos_greetings/static/description/assets/icons/wrench.png differ diff --git a/pos_greetings/static/description/assets/misc/Cybrosys R.png b/pos_greetings/static/description/assets/misc/Cybrosys R.png new file mode 100644 index 000000000..da4058087 Binary files /dev/null and b/pos_greetings/static/description/assets/misc/Cybrosys R.png differ diff --git a/pos_greetings/static/description/assets/misc/email.svg b/pos_greetings/static/description/assets/misc/email.svg new file mode 100644 index 000000000..15291cdc3 --- /dev/null +++ b/pos_greetings/static/description/assets/misc/email.svg @@ -0,0 +1,33 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/pos_greetings/static/description/assets/misc/phone.svg b/pos_greetings/static/description/assets/misc/phone.svg new file mode 100644 index 000000000..b7bd7f251 --- /dev/null +++ b/pos_greetings/static/description/assets/misc/phone.svg @@ -0,0 +1,3 @@ + + + diff --git a/pos_greetings/static/description/assets/misc/star (1) 2.svg b/pos_greetings/static/description/assets/misc/star (1) 2.svg new file mode 100644 index 000000000..5ae9f507a --- /dev/null +++ b/pos_greetings/static/description/assets/misc/star (1) 2.svg @@ -0,0 +1,9 @@ + + + + + + + + + diff --git a/pos_greetings/static/description/assets/misc/support (1) 1.svg b/pos_greetings/static/description/assets/misc/support (1) 1.svg new file mode 100644 index 000000000..7d37a8f30 --- /dev/null +++ b/pos_greetings/static/description/assets/misc/support (1) 1.svg @@ -0,0 +1,9 @@ + + + + + + + + + diff --git a/pos_greetings/static/description/assets/misc/support-email.svg b/pos_greetings/static/description/assets/misc/support-email.svg new file mode 100644 index 000000000..eb70370d6 --- /dev/null +++ b/pos_greetings/static/description/assets/misc/support-email.svg @@ -0,0 +1,6 @@ + + + + + + diff --git a/pos_greetings/static/description/assets/misc/tick-mark.svg b/pos_greetings/static/description/assets/misc/tick-mark.svg new file mode 100644 index 000000000..2dbb40187 --- /dev/null +++ b/pos_greetings/static/description/assets/misc/tick-mark.svg @@ -0,0 +1,17 @@ + + + + + + + + + + + + + + + + + diff --git a/pos_greetings/static/description/assets/misc/whatsapp 1.svg b/pos_greetings/static/description/assets/misc/whatsapp 1.svg new file mode 100644 index 000000000..0bfaf8fc6 --- /dev/null +++ b/pos_greetings/static/description/assets/misc/whatsapp 1.svg @@ -0,0 +1,9 @@ + + + + + + + + + diff --git a/pos_greetings/static/description/assets/misc/whatsapp.svg b/pos_greetings/static/description/assets/misc/whatsapp.svg new file mode 100644 index 000000000..b618aea1d --- /dev/null +++ b/pos_greetings/static/description/assets/misc/whatsapp.svg @@ -0,0 +1,33 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/pos_greetings/static/description/assets/modules/1.png b/pos_greetings/static/description/assets/modules/1.png new file mode 100644 index 000000000..5ecc4d883 Binary files /dev/null and b/pos_greetings/static/description/assets/modules/1.png differ diff --git a/pos_greetings/static/description/assets/modules/2.png b/pos_greetings/static/description/assets/modules/2.png new file mode 100644 index 000000000..05ed3ee8c Binary files /dev/null and b/pos_greetings/static/description/assets/modules/2.png differ diff --git a/pos_greetings/static/description/assets/modules/3.png b/pos_greetings/static/description/assets/modules/3.png new file mode 100644 index 000000000..5514bb8d4 Binary files /dev/null and b/pos_greetings/static/description/assets/modules/3.png differ diff --git a/pos_greetings/static/description/assets/modules/4.png b/pos_greetings/static/description/assets/modules/4.png new file mode 100644 index 000000000..38ea1f663 Binary files /dev/null and b/pos_greetings/static/description/assets/modules/4.png differ diff --git a/pos_greetings/static/description/assets/modules/5.png b/pos_greetings/static/description/assets/modules/5.png new file mode 100644 index 000000000..dcbd0cb06 Binary files /dev/null and b/pos_greetings/static/description/assets/modules/5.png differ diff --git a/pos_greetings/static/description/assets/modules/6.png b/pos_greetings/static/description/assets/modules/6.png new file mode 100644 index 000000000..05ed3ee8c Binary files /dev/null and b/pos_greetings/static/description/assets/modules/6.png differ diff --git a/pos_greetings/static/description/assets/screenshots/greet.png b/pos_greetings/static/description/assets/screenshots/greet.png new file mode 100644 index 000000000..4023dbec7 Binary files /dev/null and b/pos_greetings/static/description/assets/screenshots/greet.png differ diff --git a/pos_greetings/static/description/assets/screenshots/greet_01.png b/pos_greetings/static/description/assets/screenshots/greet_01.png new file mode 100644 index 000000000..a09476e24 Binary files /dev/null and b/pos_greetings/static/description/assets/screenshots/greet_01.png differ diff --git a/pos_greetings/static/description/assets/screenshots/greet_02.png b/pos_greetings/static/description/assets/screenshots/greet_02.png new file mode 100644 index 000000000..f32c70d81 Binary files /dev/null and b/pos_greetings/static/description/assets/screenshots/greet_02.png differ diff --git a/pos_greetings/static/description/assets/screenshots/greet_03.png b/pos_greetings/static/description/assets/screenshots/greet_03.png new file mode 100644 index 000000000..bb3444a7d Binary files /dev/null and b/pos_greetings/static/description/assets/screenshots/greet_03.png differ diff --git a/pos_greetings/static/description/assets/screenshots/greet_04.png b/pos_greetings/static/description/assets/screenshots/greet_04.png new file mode 100644 index 000000000..a3b88e291 Binary files /dev/null and b/pos_greetings/static/description/assets/screenshots/greet_04.png differ diff --git a/pos_greetings/static/description/assets/screenshots/greet_05.png b/pos_greetings/static/description/assets/screenshots/greet_05.png new file mode 100644 index 000000000..f3acd348b Binary files /dev/null and b/pos_greetings/static/description/assets/screenshots/greet_05.png differ diff --git a/pos_greetings/static/description/assets/screenshots/greet_06.png b/pos_greetings/static/description/assets/screenshots/greet_06.png new file mode 100644 index 000000000..ee2d8fbef Binary files /dev/null and b/pos_greetings/static/description/assets/screenshots/greet_06.png differ diff --git a/pos_greetings/static/description/assets/screenshots/greet_07.png b/pos_greetings/static/description/assets/screenshots/greet_07.png new file mode 100644 index 000000000..24692483d Binary files /dev/null and b/pos_greetings/static/description/assets/screenshots/greet_07.png differ diff --git a/pos_greetings/static/description/assets/screenshots/greet_09.png b/pos_greetings/static/description/assets/screenshots/greet_09.png new file mode 100644 index 000000000..4d51dfae0 Binary files /dev/null and b/pos_greetings/static/description/assets/screenshots/greet_09.png differ diff --git a/pos_greetings/static/description/assets/screenshots/greetings6.png b/pos_greetings/static/description/assets/screenshots/greetings6.png new file mode 100644 index 000000000..10dc8c1f3 Binary files /dev/null and b/pos_greetings/static/description/assets/screenshots/greetings6.png differ diff --git a/pos_greetings/static/description/assets/screenshots/hero.gif b/pos_greetings/static/description/assets/screenshots/hero.gif new file mode 100644 index 000000000..01da62410 Binary files /dev/null and b/pos_greetings/static/description/assets/screenshots/hero.gif differ diff --git a/pos_greetings/static/description/assets/screenshots/pos_greetings_01.png b/pos_greetings/static/description/assets/screenshots/pos_greetings_01.png new file mode 100644 index 000000000..b049f0e60 Binary files /dev/null and b/pos_greetings/static/description/assets/screenshots/pos_greetings_01.png differ diff --git a/pos_greetings/static/description/assets/screenshots/pos_greetings_02.png b/pos_greetings/static/description/assets/screenshots/pos_greetings_02.png new file mode 100644 index 000000000..da7d3f7b5 Binary files /dev/null and b/pos_greetings/static/description/assets/screenshots/pos_greetings_02.png differ diff --git a/pos_greetings/static/description/assets/screenshots/pos_greetings_03.png b/pos_greetings/static/description/assets/screenshots/pos_greetings_03.png new file mode 100644 index 000000000..f3ca01c04 Binary files /dev/null and b/pos_greetings/static/description/assets/screenshots/pos_greetings_03.png differ diff --git a/pos_greetings/static/description/assets/screenshots/pos_greetings_04.png b/pos_greetings/static/description/assets/screenshots/pos_greetings_04.png new file mode 100644 index 000000000..42af0aa0f Binary files /dev/null and b/pos_greetings/static/description/assets/screenshots/pos_greetings_04.png differ diff --git a/pos_greetings/static/description/assets/screenshots/pos_greetings_05.png b/pos_greetings/static/description/assets/screenshots/pos_greetings_05.png new file mode 100644 index 000000000..4613bf2cd Binary files /dev/null and b/pos_greetings/static/description/assets/screenshots/pos_greetings_05.png differ diff --git a/pos_greetings/static/description/banner.jpg b/pos_greetings/static/description/banner.jpg new file mode 100644 index 000000000..d859c6a6d Binary files /dev/null and b/pos_greetings/static/description/banner.jpg differ diff --git a/pos_greetings/static/description/icon.png b/pos_greetings/static/description/icon.png new file mode 100644 index 000000000..e4b7160a8 Binary files /dev/null and b/pos_greetings/static/description/icon.png differ diff --git a/pos_greetings/static/description/images/checked.png b/pos_greetings/static/description/images/checked.png new file mode 100644 index 000000000..578cedb80 Binary files /dev/null and b/pos_greetings/static/description/images/checked.png differ diff --git a/pos_greetings/static/description/images/cybrosys.png b/pos_greetings/static/description/images/cybrosys.png new file mode 100644 index 000000000..e69de29bb diff --git a/pos_greetings/static/description/images/image_1.png b/pos_greetings/static/description/images/image_1.png new file mode 100644 index 000000000..e2fda1e9b Binary files /dev/null and b/pos_greetings/static/description/images/image_1.png differ diff --git a/pos_greetings/static/description/images/image_2.png b/pos_greetings/static/description/images/image_2.png new file mode 100644 index 000000000..e69de29bb diff --git a/pos_greetings/static/description/images/image_3.png b/pos_greetings/static/description/images/image_3.png new file mode 100644 index 000000000..8ec3e537a Binary files /dev/null and b/pos_greetings/static/description/images/image_3.png differ diff --git a/pos_greetings/static/description/images/pos_filter.jpeg b/pos_greetings/static/description/images/pos_filter.jpeg new file mode 100644 index 000000000..e69de29bb diff --git a/pos_greetings/static/description/images/pos_logo.png b/pos_greetings/static/description/images/pos_logo.png new file mode 100644 index 000000000..e69de29bb diff --git a/pos_greetings/static/description/images/pos_product.png b/pos_greetings/static/description/images/pos_product.png new file mode 100644 index 000000000..9f62d36ce Binary files /dev/null and b/pos_greetings/static/description/images/pos_product.png differ diff --git a/pos_greetings/static/description/images/pos_reciept.jpeg b/pos_greetings/static/description/images/pos_reciept.jpeg new file mode 100644 index 000000000..aad3880ad Binary files /dev/null and b/pos_greetings/static/description/images/pos_reciept.jpeg differ diff --git a/pos_greetings/static/description/images/pos_return.png b/pos_greetings/static/description/images/pos_return.png new file mode 100644 index 000000000..e69de29bb diff --git a/pos_greetings/static/description/images/pos_voucher.png b/pos_greetings/static/description/images/pos_voucher.png new file mode 100644 index 000000000..cf274c0bb Binary files /dev/null and b/pos_greetings/static/description/images/pos_voucher.png differ diff --git a/pos_greetings/static/description/images/task_timer.gif b/pos_greetings/static/description/images/task_timer.gif new file mode 100644 index 000000000..ba0a1bd3d Binary files /dev/null and b/pos_greetings/static/description/images/task_timer.gif differ diff --git a/pos_greetings/static/description/index.html b/pos_greetings/static/description/index.html new file mode 100644 index 000000000..1d65ca8ec --- /dev/null +++ b/pos_greetings/static/description/index.html @@ -0,0 +1,882 @@ + + + + + + Odoo App 3 Index + + + + + + + + +
+
+
+
+
+ +
+
+
+ Community +
+
+ Enterprise +
+
+
+
+
+
+

+ POS Customer Greeting Messages

+

+ This module Allow to Send Greetings to the Customer. +

+
+ +
+
+
+
+
+

+ Key Highlights +

+
+
+
+
+
+ +
+
+

+ Send Greetings to Customer

+

This module + allow to send a greeting to the POS customer + after validating the POS order. +

+
+
+
+
+
+
+ +
+
+

+ Twilio Package

+

Install the + Twilio python package. After this module + installation check with the trail account. +

+
+
+
+
+
+
+ +
+
+

+ POS Greetings Menu

+

This module + allow to store the details of greeting in POS Greetings menu. +

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

+ After installation, under Configuration Settings of POS, One can see the Credential Details.

+
+
+
+
+
+
+ +
+
+

+ For Account Creation Click the Button near the Settings.

+
+
+
+
+
+
+ +
+
+

+ Fill the details for getting Twilio Free Account.

+
+
+
+
+
+
+ +
+
+

+ Fill the Phone Number for sms verification.

+
+
+
+
+
+
+ +
+
+

+ Enter the verification code.

+
+
+
+
+
+
+ +
+
+

+ Go to User Settings for access permission.

+
+
+
+
+
+
+ +
+
+

+ Click on to view all the Accounts.

+
+
+
+
+
+
+ +
+
+

+ Go with your Twilio Account.

+
+
+
+
+
+
+ +
+
+

+ Verify your phone number.

+
+
+
+
+
+
+ +
+
+

+ Fill the details with the Twilio Account.

+
+
+
+
+
+ +
+
+

+ Get the Twilio phone number for sending the sms.

+
+
+
+
+
+
+ +
+
+

+ After that get the credentials of Twilio.

+
+
+
+
+
+
+ +
+
+

+ After validating the Pos order the greetings will automatically send to the chosen customer.

+
+
+
+
+
+
+ +
+
+

+ We can see a POS Greetings Menu.

+
+
+
+
+
+
+ +
+
+

+ After clicking the menu we can see the details of credential and customer details.

+
+
+
+
+
+
+
    +
  • + Send customer + greetings. +
  • +
  • + Send greeting + on POS order validation. +
  • +
  • + Integrated with + Twilio. +
  • +
+
+
+
+
+
+
Version + 17.0.1.0.0|Released on:03rd Nov 2023 +
+

+ Initial Commit for POS Customer Greeting + Messages.

+
+
+
+
+
+
+
+

+ 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_greetings/views/pos_greetings_views.xml b/pos_greetings/views/pos_greetings_views.xml new file mode 100644 index 000000000..85cffc537 --- /dev/null +++ b/pos_greetings/views/pos_greetings_views.xml @@ -0,0 +1,57 @@ + + + + + pos.greetings.view.tree + pos.greetings + + + + + + + + + + + + pos.greetings.view.form + pos.greetings + +
+ + + + + + + + + + + + + + + + + +
+
+
+ + + POS Greetings + pos.greetings + tree,form + +

+ POS Greetings +

+
+
+ +
diff --git a/pos_greetings/views/res_config_settings_views.xml b/pos_greetings/views/res_config_settings_views.xml new file mode 100644 index 000000000..899bd0184 --- /dev/null +++ b/pos_greetings/views/res_config_settings_views.xml @@ -0,0 +1,65 @@ + + + + + res.config.settings.view.form + res.config.settings + + + +

POS Greetings

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