diff --git a/contacts_birthday_greetings/README.rst b/contacts_birthday_greetings/README.rst new file mode 100644 index 000000000..16c54ef71 --- /dev/null +++ b/contacts_birthday_greetings/README.rst @@ -0,0 +1,39 @@ +Contacts Birthday Greetings +=========================== +* Contacts Birthday Greetings module for Odoo 16. + +Installation +============ + - www.odoo.com/documentation/16.0/setup/install.html + - Install our custom addon + +License +------- +General Public License, Version 3 (LGPL v3). +(https://www.odoo.com/documentation/user/15.0/legal/licenses/licenses.html) + +Company +------- +* 'Cybrosys Techno Solutions '__ + +Credits +------- +* 'Cybrosys Techno Solutions '__ + +Contacts +-------- +* Mail Contact : odoo@cybrosys.com + +Bug Tracker +----------- +Bugs are tracked on GitHub Issues. In case of trouble, please check there if your issue has already been reported. + +Maintainer +========== +This module is maintained by Cybrosys Technologies. + +For support and more information, please visit https://www.cybrosys.com + +Further information +=================== +HTML Description: ``__ diff --git a/contacts_birthday_greetings/__init__.py b/contacts_birthday_greetings/__init__.py new file mode 100644 index 000000000..b604a293c --- /dev/null +++ b/contacts_birthday_greetings/__init__.py @@ -0,0 +1,23 @@ +# -*- coding: utf-8 -*- +############################################################################# +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2023-TODAY Cybrosys Technologies() +# Author: Cybrosys Techno Solutions() +# +# You can modify it under the terms of the GNU LESSER +# GENERAL PUBLIC LICENSE (LGPL v3), Version 3. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU LESSER GENERAL PUBLIC LICENSE (LGPL v3) for more details. +# +# You should have received a copy of the GNU LESSER GENERAL PUBLIC LICENSE +# (LGPL v3) along with this program. +# If not, see . +# +############################################################################# + +from . import models diff --git a/contacts_birthday_greetings/__manifest__.py b/contacts_birthday_greetings/__manifest__.py new file mode 100644 index 000000000..5aa1125ee --- /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: Cybrosys Techno Solutions() +# +# You can modify it under the terms of the GNU LESSER +# GENERAL PUBLIC LICENSE (LGPL v3), Version 3. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU LESSER GENERAL PUBLIC LICENSE (LGPL v3) for more details. +# +# You should have received a copy of the GNU LESSER GENERAL PUBLIC LICENSE +# (LGPL v3) along with this program. +# If not, see . +# +############################################################################# +{ + 'name': "Contacts Birthday Greetings", + 'version': '16.0.1.0.0', + 'summary': """Contacts Birthday Greetings""", + "category": 'Contacts', + 'description': """Module helps to Automatically Send Happy Birthday + Email to Customers on Their Birthdays.""", + 'author': 'Cybrosys Techno Solutions', + 'company': 'Cybrosys Techno Solutions', + 'maintainer': 'Cybrosys Techno Solutions', + 'website': 'https://www.cybrosys.com', + 'depends': ['base', 'mail', 'contacts'], + 'data': [ + 'data/birthday_greeting_cron.xml', + 'data/mail_template_data.xml', + 'views/res_partner_view.xml', + 'views/res_config_settings_views.xml', + ], + 'images': ['static/description/banner.png'], + 'license': "LGPL-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..422f26c58 --- /dev/null +++ b/contacts_birthday_greetings/data/birthday_greeting_cron.xml @@ -0,0 +1,15 @@ + + + Birthday Greetings + + + 1 + days + -1 + + 10 + code + + model.action_send_email() + + \ No newline at end of file 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..ea2cdea7c --- /dev/null +++ b/contacts_birthday_greetings/data/mail_template_data.xml @@ -0,0 +1,130 @@ + + + + + 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..ab6c69019 --- /dev/null +++ b/contacts_birthday_greetings/doc/RELEASE_NOTES.md @@ -0,0 +1,6 @@ +## Module + +#### 11.01.2023 +#### Version 16.0.1.0.0 +#### ADD +- Initial commit for Contacts Birthday Greetings \ No newline at end of file diff --git a/contacts_birthday_greetings/models/__init__.py b/contacts_birthday_greetings/models/__init__.py new file mode 100644 index 000000000..4a471546e --- /dev/null +++ b/contacts_birthday_greetings/models/__init__.py @@ -0,0 +1,25 @@ +# -*- coding: utf-8 -*- +############################################################################# +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2023-TODAY Cybrosys Technologies() +# Author: Cybrosys Techno Solutions() +# +# You can modify it under the terms of the GNU LESSER +# GENERAL PUBLIC LICENSE (LGPL v3), Version 3. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU LESSER GENERAL PUBLIC LICENSE (LGPL v3) for more details. +# +# You should have received a copy of the GNU LESSER GENERAL PUBLIC LICENSE +# (LGPL v3) along with this program. +# If not, see . +# +############################################################################# + +from . import 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..f4f61661a --- /dev/null +++ b/contacts_birthday_greetings/models/res_config_settings.py @@ -0,0 +1,48 @@ +# -*- coding: utf-8 -*- +############################################################################# +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2023-TODAY Cybrosys Technologies() +# Author: Cybrosys Techno Solutions() +# +# You can modify it under the terms of the GNU LESSER +# GENERAL PUBLIC LICENSE (LGPL v3), Version 3. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU LESSER GENERAL PUBLIC LICENSE (LGPL v3) for more details. +# +# You should have received a copy of the GNU LESSER GENERAL PUBLIC LICENSE +# (LGPL v3) along with this program. +# If not, see . +# +############################################################################# +from odoo import api, fields, models, _ + + +class ResConfigSettings(models.TransientModel): + _inherit = 'res.config.settings' + + greetings_mail_template_id = fields.Many2one( + comodel_name='mail.template', + string='Email Template', + domain="[('model', '=', 'res.partner')]", ) + + def set_values(self): + 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): + 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..2cc4c93cb --- /dev/null +++ b/contacts_birthday_greetings/models/res_partner.py @@ -0,0 +1,66 @@ +# -*- coding: utf-8 -*- +############################################################################# +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2023-TODAY Cybrosys Technologies() +# Author: Cybrosys Techno Solutions() +# +# You can modify it under the terms of the GNU LESSER +# GENERAL PUBLIC LICENSE (LGPL v3), Version 3. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU LESSER GENERAL PUBLIC LICENSE (LGPL v3) for more details. +# +# You should have received a copy of the GNU LESSER GENERAL PUBLIC LICENSE +# (LGPL v3) along with this program. +# If not, see . +# +############################################################################# +from odoo import api, fields, models, _ +import datetime + + +class ResPartner(models.Model): + _inherit = 'res.partner' + + date_of_birth = fields.Date(string="Date of Birth") + age = fields.Integer(string="Age") + send_bday_greetings = fields.Boolean( + string="Send Birthday Greetings", default=True) + cbg_company_id = fields.Many2one('res.company', readonly=True, + default=lambda self: self.env.company) + + @api.onchange('date_of_birth') + def _onchange_age(self): + today_date = datetime.date.today() + for partner in self: + if partner.date_of_birth: + date_of_birth = fields.Datetime.to_datetime( + partner.date_of_birth).date() + total_age = ((today_date - date_of_birth).days / 365) + partner.age = total_age + + def action_send_email(self): + """Sending greetings email to contacts""" + partners = self.env['res.partner'].sudo().search([]) + for partner in partners: + if partner.date_of_birth: + bdate = datetime.datetime.strptime(str(partner.date_of_birth), + '%Y-%m-%d').date() + today = datetime.datetime.now().date() + if bdate.month == today.month: + if bdate.day == today.day: + partners._onchange_age() + template_id = int( + self.env['ir.config_parameter'].sudo().get_param( + 'contacts_birthday_greetings' + '.greetings_mail_template_id')) + if template_id: + templates = self.env['mail.template'].sudo().browse( + template_id) + templates.sudo().send_mail( + partner.id, force_send=True, + email_layout_xmlid='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..5238bdeab 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..1ae7cfe3b 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.gif b/contacts_birthday_greetings/static/description/assets/modules/5.gif new file mode 100644 index 000000000..2a5f8e659 Binary files /dev/null and b/contacts_birthday_greetings/static/description/assets/modules/5.gif 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_greetings_template_1.png b/contacts_birthday_greetings/static/description/assets/screenshots/birthday_greetings_template_1.png new file mode 100644 index 000000000..0f935f050 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..732061d7a 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..4a9300b62 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/bithday_greet_1.png b/contacts_birthday_greetings/static/description/assets/screenshots/bithday_greet_1.png new file mode 100644 index 000000000..cc27b44a0 Binary files /dev/null and b/contacts_birthday_greetings/static/description/assets/screenshots/bithday_greet_1.png differ diff --git a/contacts_birthday_greetings/static/description/assets/screenshots/bithday_greet_2.png b/contacts_birthday_greetings/static/description/assets/screenshots/bithday_greet_2.png new file mode 100644 index 000000000..6b67ecf0d Binary files /dev/null and b/contacts_birthday_greetings/static/description/assets/screenshots/bithday_greet_2.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..f9fd833e0 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..6d36c9521 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..a2b791ba4 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..d36349c8c --- /dev/null +++ b/contacts_birthday_greetings/static/description/index.html @@ -0,0 +1,677 @@ +
+
+
+
+ +
+
+
+ Community +
+ + +
+
+
+
+ +
+
+
+

+ Contacts Birthday Greetings

+

+ Module helps to Automatically Send Happy Birthday + Email to Customers on Their Birthdays +

+ +
+
+ + + +
+
+

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

+ +
+
+ + +
+ +
+
+

+ Screenshots +

+
+
+

+ Contacts

+

+ Set the Birth date of the contacts. +

+ +
+ +
+

+ Greetings Template

+

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

+ +
+ +
+

+ Email

+

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

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

+
+
+
+
+
+
+
+ +
+
+ + +
+
\ No newline at end of file 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/mail_template_data.xml b/contacts_birthday_greetings/views/mail_template_data.xml new file mode 100644 index 000000000..1df96f3fd --- /dev/null +++ b/contacts_birthday_greetings/views/mail_template_data.xml @@ -0,0 +1,130 @@ + + + + + Birthday Greetings Template 1 + + Happy Birthday {{object.name}} + "{{ object.company_id.name or object.user_id.name}}" <{{ (object.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.company_id.name or object.user_id.name}}" <{{ (object.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.company_id.name or object.user_id.name}}" <{{ (object.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/views/res_config_settings_views.xml b/contacts_birthday_greetings/views/res_config_settings_views.xml new file mode 100644 index 000000000..ec389125f --- /dev/null +++ b/contacts_birthday_greetings/views/res_config_settings_views.xml @@ -0,0 +1,32 @@ + + + + + res.config.settings.view.form.inherit + res.config.settings + + + +
+
+
+ Birthday Greetings +
+ Select Mail Template for Birthday Greetings +
+
+
+
+ +
+
+ +
+ + +
+
+
diff --git a/contacts_birthday_greetings/views/res_partner_view.xml b/contacts_birthday_greetings/views/res_partner_view.xml new file mode 100644 index 000000000..674e3fa99 --- /dev/null +++ b/contacts_birthday_greetings/views/res_partner_view.xml @@ -0,0 +1,15 @@ + + + + res.partner.form.inherit + res.partner + + + + + + + + + \ No newline at end of file