diff --git a/contacts_birthday_greetings/README.rst b/contacts_birthday_greetings/README.rst new file mode 100644 index 000000000..5a56e839d --- /dev/null +++ b/contacts_birthday_greetings/README.rst @@ -0,0 +1,48 @@ +.. 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 + +Contacts Birthday Greetings +=========================== +This module sends the birthday greetings to the contacts. + +Configuration +============= +* No additional configurations needed + +License +------- +Affero General Public License v3.0 (AGPL v3) +(https://www.gnu.org/licenses/agpl-3.0-standalone.html) + +Company +------- +* `Cybrosys Techno Solutions `__ + +Credits +------- +Developer: (V15) Afra K, + +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/contacts_birthday_greetings/__init__.py b/contacts_birthday_greetings/__init__.py new file mode 100644 index 000000000..49c758ecb --- /dev/null +++ b/contacts_birthday_greetings/__init__.py @@ -0,0 +1,22 @@ +# -*- coding: utf-8 -*- +############################################################################### +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2023-TODAY Cybrosys Technologies() +# Author: Afra K (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/contacts_birthday_greetings/__manifest__.py b/contacts_birthday_greetings/__manifest__.py new file mode 100644 index 000000000..7890b6185 --- /dev/null +++ b/contacts_birthday_greetings/__manifest__.py @@ -0,0 +1,45 @@ +# -*- coding: utf-8 -*- +############################################################################### +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2023-TODAY Cybrosys Technologies() +# Author: Afra K (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': "Contacts Birthday Greetings", + 'version': '15.0.1.0.0', + "category": 'Extra Tools', + 'summary': """Automatically sends birthday greetings to the contacts.""", + 'description': """Module helps to automatically send customers a greeting + email on their birthdays.""", + 'author': 'Cybrosys Techno Solutions', + 'company': 'Cybrosys Techno Solutions', + 'maintainer': 'Cybrosys Techno Solutions', + 'website': 'https://www.cybrosys.com', + 'depends': ['mail', 'contacts'], + 'data': [ + 'data/birthday_greeting_cron.xml', + 'data/mail_template_data.xml', + 'views/res_partner_views.xml', + 'views/res_config_settings_views.xml', + ], + 'images': ['static/description/banner.png'], + 'license': "AGPL-3", + 'installable': True, + 'auto_install': False, + 'application': False +} diff --git a/contacts_birthday_greetings/data/birthday_greeting_cron.xml b/contacts_birthday_greetings/data/birthday_greeting_cron.xml new file mode 100644 index 000000000..168418b9c --- /dev/null +++ b/contacts_birthday_greetings/data/birthday_greeting_cron.xml @@ -0,0 +1,18 @@ + + + + + Birthday Greetings + + + 1 + days + -1 + + 10 + code + + model.action_send_email() + + diff --git a/contacts_birthday_greetings/data/mail_template_data.xml b/contacts_birthday_greetings/data/mail_template_data.xml new file mode 100644 index 000000000..b17accfde --- /dev/null +++ b/contacts_birthday_greetings/data/mail_template_data.xml @@ -0,0 +1,140 @@ + + + + + + Birthday Greetings Template 1 + + Happy Birthday {{object.name}} + "{{object.cbg_company_id.name or + object.user_id.name}}" + <{{ (object.cbg_company_id.email or object.user_id.email) }}> + + {{object.email}} + {{object.id}} + +
+

+ Dear, +
+
+ Wish you a Happy Birthday! We hope that you have a + great + year and accomplish all the + fabulous goals you have set. May the coming years have + filled with happiness, peace, and + love. Have a great day ahead. +
+
+ Many happy returns! +
+
+

+ Sincerely, +
+ +
+
+ +
+ + + + Birthday Greetings Template 2 + + Happy Birthday {{object.name}} + "{{ object.cbg_company_id.name or + object.user_id.name}}" + <{{ (object.cbg_company_id.email or object.user_id.email) }}> + + {{object.email}} + {{object.id}} + + +
+
+

+ Happy +

+
+
+

+ Birthday +

+
+
+

+ +

+
+
+ image +
+
+

+ From all of us at + +

+
+
+
+ +
+ + + Birthday Greetings Template 3 + + Happy Birthday {{object.name}} + "{{ object.cbg_company_id.name or + object.user_id.name}}" <{{ (object.cbg_company_id.email or + object.user_id.email) }}> + + {{object.email}} + {{object.id}} + + +
+
+ Today is your special day! +
+
+ Happy Birthday +
+
+ +
+
+ image +
+
+ From all of us at +
+ +
+
+ We hope your day is filled with good things, +
+ and that the year ahead is even better than the last! +
+
+
+ +
+
+
diff --git a/contacts_birthday_greetings/doc/RELEASE_NOTES.md b/contacts_birthday_greetings/doc/RELEASE_NOTES.md new file mode 100644 index 000000000..f78fed6b4 --- /dev/null +++ b/contacts_birthday_greetings/doc/RELEASE_NOTES.md @@ -0,0 +1,6 @@ +## Module + +#### 03.11.2023 +#### Version 15.0.1.0.0 +#### ADD +- Initial commit for Contacts Birthday Greetings diff --git a/contacts_birthday_greetings/models/__init__.py b/contacts_birthday_greetings/models/__init__.py new file mode 100644 index 000000000..1b4d75247 --- /dev/null +++ b/contacts_birthday_greetings/models/__init__.py @@ -0,0 +1,23 @@ +# -*- coding: utf-8 -*- +############################################################################### +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2023-TODAY Cybrosys Technologies() +# Author: Afra K (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 res_config_settings +from . import res_partner diff --git a/contacts_birthday_greetings/models/res_config_settings.py b/contacts_birthday_greetings/models/res_config_settings.py new file mode 100644 index 000000000..b83fdea6d --- /dev/null +++ b/contacts_birthday_greetings/models/res_config_settings.py @@ -0,0 +1,56 @@ +# -*- coding: utf-8 -*- +############################################################################### +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2023-TODAY Cybrosys Technologies() +# Author: Afra K (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): + """ Inherit the base settings to add the greetings mail template. """ + _inherit = 'res.config.settings' + + greetings_mail_template_id = fields.Many2one( + comodel_name='mail.template', + string='Email Template', + domain="[('model', '=', 'res.partner')]", + help="Choose the email template to send greeting message to the customer.") + + def set_values(self): + """ + Set values for the fields greetings_mail_template_id. + """ + super(ResConfigSettings, self).set_values() + self.env['ir.config_parameter'].set_param( + 'contacts_birthday_greetings.greetings_mail_template_id', + self.greetings_mail_template_id.id) + + @api.model + def get_values(self): + """ + Return values for the fields greetings_mail_template_id. + """ + res = super(ResConfigSettings, self).get_values() + params = self.env['ir.config_parameter'].sudo() + greetings_mail_template_id = params.get_param( + 'contacts_birthday_greetings.greetings_mail_template_id') + res.update( + greetings_mail_template_id=int(greetings_mail_template_id), + ) + return res diff --git a/contacts_birthday_greetings/models/res_partner.py b/contacts_birthday_greetings/models/res_partner.py new file mode 100644 index 000000000..8d4ee3376 --- /dev/null +++ b/contacts_birthday_greetings/models/res_partner.py @@ -0,0 +1,65 @@ +# -*- coding: utf-8 -*- +############################################################################### +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2023-TODAY Cybrosys Technologies() +# Author: Afra K (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 ResPartner(models.Model): + """ Inherits partner and adds date of birth and age. """ + _inherit = 'res.partner' + + date_of_birth = fields.Date( + string="Date of Birth", help="Add the date of birth of the customer.") + age = fields.Integer( + string="Age", help="Age of the customer automatically calculates from the date of birth.") + send_birthday_greetings = fields.Boolean(string="Send Birthday Greetings", default=True, + help="To know whether the birthday greetings sent.") + cbg_company_id = fields.Many2one('res.company', readonly=True, default=lambda self: self.env.company, + help='TO get the company details in the email templates. ') + + @api.onchange('date_of_birth') + def _onchange_date_of_birth(self): + """ Updates the Age based on the field date_of_birth. """ + today_date = fields.Date.today() + for partner in self: + if partner.date_of_birth: + date_of_birth = fields.Date.from_string(partner.date_of_birth) + age = (today_date - date_of_birth).days / 365.0 + partner.age = age if age >= 0 else 0 + + def action_send_email(self): + """Sending greetings email to contacts on their birthday""" + template_id = int(self.env['ir.config_parameter'].sudo().get_param( + 'contacts_birthday_greetings.greetings_mail_template_id')) + if not template_id: + return + today = fields.Date.today() + partners = self.env['res.partner'].sudo().search([ + ('date_of_birth', '!=', False), + ('date_of_birth', 'like', today.strftime('-%m-%d')) + ]) + if not partners: + return + for partner in partners: + partner._onchange_date_of_birth() + templates = self.env['mail.template'].sudo().browse(template_id) + templates.sudo().send_mail( + partner.id, force_send=True, notif_layout='mail.mail_notification_light') diff --git a/contacts_birthday_greetings/static/description/assets/icons/check.png b/contacts_birthday_greetings/static/description/assets/icons/check.png new file mode 100644 index 000000000..c8e85f51d Binary files /dev/null and b/contacts_birthday_greetings/static/description/assets/icons/check.png differ diff --git a/contacts_birthday_greetings/static/description/assets/icons/chevron.png b/contacts_birthday_greetings/static/description/assets/icons/chevron.png new file mode 100644 index 000000000..2089293d6 Binary files /dev/null and b/contacts_birthday_greetings/static/description/assets/icons/chevron.png differ diff --git a/contacts_birthday_greetings/static/description/assets/icons/cogs.png b/contacts_birthday_greetings/static/description/assets/icons/cogs.png new file mode 100644 index 000000000..95d0bad62 Binary files /dev/null and b/contacts_birthday_greetings/static/description/assets/icons/cogs.png differ diff --git a/contacts_birthday_greetings/static/description/assets/icons/consultation.png b/contacts_birthday_greetings/static/description/assets/icons/consultation.png new file mode 100644 index 000000000..8319d4baa Binary files /dev/null and b/contacts_birthday_greetings/static/description/assets/icons/consultation.png differ diff --git a/contacts_birthday_greetings/static/description/assets/icons/ecom-black.png b/contacts_birthday_greetings/static/description/assets/icons/ecom-black.png new file mode 100644 index 000000000..a9385ff13 Binary files /dev/null and b/contacts_birthday_greetings/static/description/assets/icons/ecom-black.png differ diff --git a/contacts_birthday_greetings/static/description/assets/icons/education-black.png b/contacts_birthday_greetings/static/description/assets/icons/education-black.png new file mode 100644 index 000000000..3eb09b27b Binary files /dev/null and b/contacts_birthday_greetings/static/description/assets/icons/education-black.png differ diff --git a/contacts_birthday_greetings/static/description/assets/icons/hotel-black.png b/contacts_birthday_greetings/static/description/assets/icons/hotel-black.png new file mode 100644 index 000000000..130f613be Binary files /dev/null and b/contacts_birthday_greetings/static/description/assets/icons/hotel-black.png differ diff --git a/contacts_birthday_greetings/static/description/assets/icons/license.png b/contacts_birthday_greetings/static/description/assets/icons/license.png new file mode 100644 index 000000000..a5869797e Binary files /dev/null and b/contacts_birthday_greetings/static/description/assets/icons/license.png differ diff --git a/contacts_birthday_greetings/static/description/assets/icons/lifebuoy.png b/contacts_birthday_greetings/static/description/assets/icons/lifebuoy.png new file mode 100644 index 000000000..658d56ccc Binary files /dev/null and b/contacts_birthday_greetings/static/description/assets/icons/lifebuoy.png differ diff --git a/contacts_birthday_greetings/static/description/assets/icons/manufacturing-black.png b/contacts_birthday_greetings/static/description/assets/icons/manufacturing-black.png new file mode 100644 index 000000000..697eb0e9f Binary files /dev/null and b/contacts_birthday_greetings/static/description/assets/icons/manufacturing-black.png differ diff --git a/contacts_birthday_greetings/static/description/assets/icons/pos-black.png b/contacts_birthday_greetings/static/description/assets/icons/pos-black.png new file mode 100644 index 000000000..97c0f90c1 Binary files /dev/null and b/contacts_birthday_greetings/static/description/assets/icons/pos-black.png differ diff --git a/contacts_birthday_greetings/static/description/assets/icons/puzzle.png b/contacts_birthday_greetings/static/description/assets/icons/puzzle.png new file mode 100644 index 000000000..65cf854e7 Binary files /dev/null and b/contacts_birthday_greetings/static/description/assets/icons/puzzle.png differ diff --git a/contacts_birthday_greetings/static/description/assets/icons/restaurant-black.png b/contacts_birthday_greetings/static/description/assets/icons/restaurant-black.png new file mode 100644 index 000000000..4a35eb939 Binary files /dev/null and b/contacts_birthday_greetings/static/description/assets/icons/restaurant-black.png differ diff --git a/contacts_birthday_greetings/static/description/assets/icons/service-black.png b/contacts_birthday_greetings/static/description/assets/icons/service-black.png new file mode 100644 index 000000000..301ab51cb Binary files /dev/null and b/contacts_birthday_greetings/static/description/assets/icons/service-black.png differ diff --git a/contacts_birthday_greetings/static/description/assets/icons/trading-black.png b/contacts_birthday_greetings/static/description/assets/icons/trading-black.png new file mode 100644 index 000000000..9398ba2f1 Binary files /dev/null and b/contacts_birthday_greetings/static/description/assets/icons/trading-black.png differ diff --git a/contacts_birthday_greetings/static/description/assets/icons/training.png b/contacts_birthday_greetings/static/description/assets/icons/training.png new file mode 100644 index 000000000..884ca024d Binary files /dev/null and b/contacts_birthday_greetings/static/description/assets/icons/training.png differ diff --git a/contacts_birthday_greetings/static/description/assets/icons/update.png b/contacts_birthday_greetings/static/description/assets/icons/update.png new file mode 100644 index 000000000..ecbc5a01a Binary files /dev/null and b/contacts_birthday_greetings/static/description/assets/icons/update.png differ diff --git a/contacts_birthday_greetings/static/description/assets/icons/user.png b/contacts_birthday_greetings/static/description/assets/icons/user.png new file mode 100644 index 000000000..6ffb23d9f Binary files /dev/null and b/contacts_birthday_greetings/static/description/assets/icons/user.png differ diff --git a/contacts_birthday_greetings/static/description/assets/icons/wrench.png b/contacts_birthday_greetings/static/description/assets/icons/wrench.png new file mode 100644 index 000000000..6c04dea0f Binary files /dev/null and b/contacts_birthday_greetings/static/description/assets/icons/wrench.png differ diff --git a/contacts_birthday_greetings/static/description/assets/misc/categories.png b/contacts_birthday_greetings/static/description/assets/misc/categories.png new file mode 100644 index 000000000..bedf1e0b1 Binary files /dev/null and b/contacts_birthday_greetings/static/description/assets/misc/categories.png differ diff --git a/contacts_birthday_greetings/static/description/assets/misc/check-box.png b/contacts_birthday_greetings/static/description/assets/misc/check-box.png new file mode 100644 index 000000000..42caf24b9 Binary files /dev/null and b/contacts_birthday_greetings/static/description/assets/misc/check-box.png differ diff --git a/contacts_birthday_greetings/static/description/assets/misc/compass.png b/contacts_birthday_greetings/static/description/assets/misc/compass.png new file mode 100644 index 000000000..d5fed8faa Binary files /dev/null and b/contacts_birthday_greetings/static/description/assets/misc/compass.png differ diff --git a/contacts_birthday_greetings/static/description/assets/misc/corporate.png b/contacts_birthday_greetings/static/description/assets/misc/corporate.png new file mode 100644 index 000000000..2eb13edbf Binary files /dev/null and b/contacts_birthday_greetings/static/description/assets/misc/corporate.png differ diff --git a/contacts_birthday_greetings/static/description/assets/misc/customer-support.png b/contacts_birthday_greetings/static/description/assets/misc/customer-support.png new file mode 100644 index 000000000..79efc72ed Binary files /dev/null and b/contacts_birthday_greetings/static/description/assets/misc/customer-support.png differ diff --git a/contacts_birthday_greetings/static/description/assets/misc/cybrosys-logo.png b/contacts_birthday_greetings/static/description/assets/misc/cybrosys-logo.png new file mode 100644 index 000000000..cc3cc0ccf Binary files /dev/null and b/contacts_birthday_greetings/static/description/assets/misc/cybrosys-logo.png differ diff --git a/contacts_birthday_greetings/static/description/assets/misc/features.png b/contacts_birthday_greetings/static/description/assets/misc/features.png new file mode 100644 index 000000000..b41769f77 Binary files /dev/null and b/contacts_birthday_greetings/static/description/assets/misc/features.png differ diff --git a/contacts_birthday_greetings/static/description/assets/misc/logo.png b/contacts_birthday_greetings/static/description/assets/misc/logo.png new file mode 100644 index 000000000..478462d3e Binary files /dev/null and b/contacts_birthday_greetings/static/description/assets/misc/logo.png differ diff --git a/contacts_birthday_greetings/static/description/assets/misc/pictures.png b/contacts_birthday_greetings/static/description/assets/misc/pictures.png new file mode 100644 index 000000000..56d255fe9 Binary files /dev/null and b/contacts_birthday_greetings/static/description/assets/misc/pictures.png differ diff --git a/contacts_birthday_greetings/static/description/assets/misc/pie-chart.png b/contacts_birthday_greetings/static/description/assets/misc/pie-chart.png new file mode 100644 index 000000000..426e05244 Binary files /dev/null and b/contacts_birthday_greetings/static/description/assets/misc/pie-chart.png differ diff --git a/contacts_birthday_greetings/static/description/assets/misc/right-arrow.png b/contacts_birthday_greetings/static/description/assets/misc/right-arrow.png new file mode 100644 index 000000000..730984a06 Binary files /dev/null and b/contacts_birthday_greetings/static/description/assets/misc/right-arrow.png differ diff --git a/contacts_birthday_greetings/static/description/assets/misc/star.png b/contacts_birthday_greetings/static/description/assets/misc/star.png new file mode 100644 index 000000000..2eb9ab29f Binary files /dev/null and b/contacts_birthday_greetings/static/description/assets/misc/star.png differ diff --git a/contacts_birthday_greetings/static/description/assets/misc/support.png b/contacts_birthday_greetings/static/description/assets/misc/support.png new file mode 100644 index 000000000..4f18b8b82 Binary files /dev/null and b/contacts_birthday_greetings/static/description/assets/misc/support.png differ diff --git a/contacts_birthday_greetings/static/description/assets/misc/whatsapp.png b/contacts_birthday_greetings/static/description/assets/misc/whatsapp.png new file mode 100644 index 000000000..d513a5356 Binary files /dev/null and b/contacts_birthday_greetings/static/description/assets/misc/whatsapp.png differ diff --git a/contacts_birthday_greetings/static/description/assets/modules/1.png b/contacts_birthday_greetings/static/description/assets/modules/1.png new file mode 100644 index 000000000..57b66fa7c Binary files /dev/null and b/contacts_birthday_greetings/static/description/assets/modules/1.png differ diff --git a/contacts_birthday_greetings/static/description/assets/modules/2.png b/contacts_birthday_greetings/static/description/assets/modules/2.png new file mode 100644 index 000000000..3f558e6e1 Binary files /dev/null and b/contacts_birthday_greetings/static/description/assets/modules/2.png differ diff --git a/contacts_birthday_greetings/static/description/assets/modules/3.png b/contacts_birthday_greetings/static/description/assets/modules/3.png new file mode 100644 index 000000000..3c3ff1afb Binary files /dev/null and b/contacts_birthday_greetings/static/description/assets/modules/3.png differ diff --git a/contacts_birthday_greetings/static/description/assets/modules/4.png b/contacts_birthday_greetings/static/description/assets/modules/4.png new file mode 100644 index 000000000..3fae4631e Binary files /dev/null and b/contacts_birthday_greetings/static/description/assets/modules/4.png differ diff --git a/contacts_birthday_greetings/static/description/assets/modules/5.png b/contacts_birthday_greetings/static/description/assets/modules/5.png new file mode 100644 index 000000000..2a5f8e659 Binary files /dev/null and b/contacts_birthday_greetings/static/description/assets/modules/5.png differ diff --git a/contacts_birthday_greetings/static/description/assets/modules/6.png b/contacts_birthday_greetings/static/description/assets/modules/6.png new file mode 100644 index 000000000..7f2815273 Binary files /dev/null and b/contacts_birthday_greetings/static/description/assets/modules/6.png differ diff --git a/contacts_birthday_greetings/static/description/assets/screenshots/birthday_greet_1.png b/contacts_birthday_greetings/static/description/assets/screenshots/birthday_greet_1.png new file mode 100644 index 000000000..a7511cdd5 Binary files /dev/null and b/contacts_birthday_greetings/static/description/assets/screenshots/birthday_greet_1.png differ diff --git a/contacts_birthday_greetings/static/description/assets/screenshots/birthday_greet_2.png b/contacts_birthday_greetings/static/description/assets/screenshots/birthday_greet_2.png new file mode 100644 index 000000000..dbda021f0 Binary files /dev/null and b/contacts_birthday_greetings/static/description/assets/screenshots/birthday_greet_2.png differ diff --git a/contacts_birthday_greetings/static/description/assets/screenshots/birthday_greetings_template_1.png b/contacts_birthday_greetings/static/description/assets/screenshots/birthday_greetings_template_1.png new file mode 100644 index 000000000..544e459eb Binary files /dev/null and b/contacts_birthday_greetings/static/description/assets/screenshots/birthday_greetings_template_1.png differ diff --git a/contacts_birthday_greetings/static/description/assets/screenshots/birthday_greetings_template_2.png b/contacts_birthday_greetings/static/description/assets/screenshots/birthday_greetings_template_2.png new file mode 100644 index 000000000..0f2703b24 Binary files /dev/null and b/contacts_birthday_greetings/static/description/assets/screenshots/birthday_greetings_template_2.png differ diff --git a/contacts_birthday_greetings/static/description/assets/screenshots/birthday_greetings_template_3.png b/contacts_birthday_greetings/static/description/assets/screenshots/birthday_greetings_template_3.png new file mode 100644 index 000000000..9beb32940 Binary files /dev/null and b/contacts_birthday_greetings/static/description/assets/screenshots/birthday_greetings_template_3.png differ diff --git a/contacts_birthday_greetings/static/description/assets/screenshots/greetings.png b/contacts_birthday_greetings/static/description/assets/screenshots/greetings.png new file mode 100644 index 000000000..1b9788fd8 Binary files /dev/null and b/contacts_birthday_greetings/static/description/assets/screenshots/greetings.png differ diff --git a/contacts_birthday_greetings/static/description/assets/screenshots/hero.gif b/contacts_birthday_greetings/static/description/assets/screenshots/hero.gif new file mode 100644 index 000000000..4d120119a Binary files /dev/null and b/contacts_birthday_greetings/static/description/assets/screenshots/hero.gif differ diff --git a/contacts_birthday_greetings/static/description/banner.png b/contacts_birthday_greetings/static/description/banner.png new file mode 100644 index 000000000..22cae9054 Binary files /dev/null and b/contacts_birthday_greetings/static/description/banner.png differ diff --git a/contacts_birthday_greetings/static/description/galaxy_cupcakes-removebg-preview.png b/contacts_birthday_greetings/static/description/galaxy_cupcakes-removebg-preview.png new file mode 100644 index 000000000..eed9d2024 Binary files /dev/null and b/contacts_birthday_greetings/static/description/galaxy_cupcakes-removebg-preview.png differ diff --git a/contacts_birthday_greetings/static/description/icon.png b/contacts_birthday_greetings/static/description/icon.png new file mode 100644 index 000000000..6c77ab739 Binary files /dev/null and b/contacts_birthday_greetings/static/description/icon.png differ diff --git a/contacts_birthday_greetings/static/description/index.html b/contacts_birthday_greetings/static/description/index.html new file mode 100644 index 000000000..e9d737231 --- /dev/null +++ b/contacts_birthday_greetings/static/description/index.html @@ -0,0 +1,645 @@ +
+ +
+ +
+
+ Community +
+
+ Enterprise +
+
+ Odoo.sh +
+
+
+ +
+
+
+ +

+ Contacts Birthday Greetings

+

+ This Module Helps To Automatically Send Happy Birthday + Email To Customers On Their Birthdays

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

+ Explore This + Module

+
+ + + + +
+
+ +
+

+ Overview +

+
+
+
+ The contacts Birthday Wishes application helps you to send a + happy birthday email to contacts. + By setting the date of birth of the contacts. It will + automatically send a greeting email on their birthday. +
+
+ + + +
+
+ +
+

+ Features +

+
+
+
+
+ +
+ Date of birth and age of contacts. +
+
+
+ +
+ + Choose template for birthday greetings. +
+
+
+ +
+ + Compatible with Community, Enterprise and Odoo.sh. +
+
+
+
+ + + +
+
+ +
+

+ Screenshots +

+
+
+
+ +
+

+ Contacts

+

+ Set the Birth date of the contacts.

+ +
+ +
+

+ Email

+

+ This is how a greetings email to the customer will be generated.

+ + +
+
+

+ Greetings Template

+

+ Go to Settings --> Choose template to send birthday wishing + email to contacts.

+
+ Template 1 +
+ +
+ Template 2 +
+ + +
+ Template 3 +
+ +
+
+
+ + + +
+
+ +
+

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/contacts_birthday_greetings/static/src/img/birthday_greetings.png b/contacts_birthday_greetings/static/src/img/birthday_greetings.png new file mode 100644 index 000000000..4adfdd8bd Binary files /dev/null and b/contacts_birthday_greetings/static/src/img/birthday_greetings.png differ diff --git a/contacts_birthday_greetings/static/src/img/birthday_greetings_2.png b/contacts_birthday_greetings/static/src/img/birthday_greetings_2.png new file mode 100644 index 000000000..2746e8eac Binary files /dev/null and b/contacts_birthday_greetings/static/src/img/birthday_greetings_2.png differ diff --git a/contacts_birthday_greetings/static/src/img/cupcake.png b/contacts_birthday_greetings/static/src/img/cupcake.png new file mode 100644 index 000000000..bd3216cef Binary files /dev/null and b/contacts_birthday_greetings/static/src/img/cupcake.png differ diff --git a/contacts_birthday_greetings/static/src/img/galaxy_cupcakes.png b/contacts_birthday_greetings/static/src/img/galaxy_cupcakes.png new file mode 100644 index 000000000..40fe986cb Binary files /dev/null and b/contacts_birthday_greetings/static/src/img/galaxy_cupcakes.png differ diff --git a/contacts_birthday_greetings/views/res_config_settings_views.xml b/contacts_birthday_greetings/views/res_config_settings_views.xml new file mode 100644 index 000000000..b8244166f --- /dev/null +++ b/contacts_birthday_greetings/views/res_config_settings_views.xml @@ -0,0 +1,34 @@ + + + + + + res.config.settings.view.form.inherit.contact.birthday.greetings + + res.config.settings + + + +
+
+
+ Birthday Greetings + +
+ Select Mail Template for Birthday Greetings +
+
+
+
+
+
+
+
+
+
diff --git a/contacts_birthday_greetings/views/res_partner_views.xml b/contacts_birthday_greetings/views/res_partner_views.xml new file mode 100644 index 000000000..8b67a9bbd --- /dev/null +++ b/contacts_birthday_greetings/views/res_partner_views.xml @@ -0,0 +1,17 @@ + + + + + + res.partner.view.form.inherit.contact.birthday.greetings + + res.partner + + + + + + + + +