Browse Source

Jan 18 [ADD] : Initial Commit 'contacts_birthday_greetings'

pull/231/head
AjmalCybro 2 years ago
parent
commit
f291d85a6c
  1. 39
      contacts_birthday_greetings/README.rst
  2. 23
      contacts_birthday_greetings/__init__.py
  3. 45
      contacts_birthday_greetings/__manifest__.py
  4. 15
      contacts_birthday_greetings/data/birthday_greeting_cron.xml
  5. 130
      contacts_birthday_greetings/data/mail_template_data.xml
  6. 6
      contacts_birthday_greetings/doc/RELEASE_NOTES.md
  7. 25
      contacts_birthday_greetings/models/__init__.py
  8. 48
      contacts_birthday_greetings/models/res_config_settings.py
  9. 66
      contacts_birthday_greetings/models/res_partner.py
  10. BIN
      contacts_birthday_greetings/static/description/assets/icons/check.png
  11. BIN
      contacts_birthday_greetings/static/description/assets/icons/chevron.png
  12. BIN
      contacts_birthday_greetings/static/description/assets/icons/cogs.png
  13. BIN
      contacts_birthday_greetings/static/description/assets/icons/consultation.png
  14. BIN
      contacts_birthday_greetings/static/description/assets/icons/ecom-black.png
  15. BIN
      contacts_birthday_greetings/static/description/assets/icons/education-black.png
  16. BIN
      contacts_birthday_greetings/static/description/assets/icons/hotel-black.png
  17. BIN
      contacts_birthday_greetings/static/description/assets/icons/license.png
  18. BIN
      contacts_birthday_greetings/static/description/assets/icons/lifebuoy.png
  19. BIN
      contacts_birthday_greetings/static/description/assets/icons/manufacturing-black.png
  20. BIN
      contacts_birthday_greetings/static/description/assets/icons/pos-black.png
  21. BIN
      contacts_birthday_greetings/static/description/assets/icons/puzzle.png
  22. BIN
      contacts_birthday_greetings/static/description/assets/icons/restaurant-black.png
  23. BIN
      contacts_birthday_greetings/static/description/assets/icons/service-black.png
  24. BIN
      contacts_birthday_greetings/static/description/assets/icons/trading-black.png
  25. BIN
      contacts_birthday_greetings/static/description/assets/icons/training.png
  26. BIN
      contacts_birthday_greetings/static/description/assets/icons/update.png
  27. BIN
      contacts_birthday_greetings/static/description/assets/icons/user.png
  28. BIN
      contacts_birthday_greetings/static/description/assets/icons/wrench.png
  29. BIN
      contacts_birthday_greetings/static/description/assets/misc/categories.png
  30. BIN
      contacts_birthday_greetings/static/description/assets/misc/check-box.png
  31. BIN
      contacts_birthday_greetings/static/description/assets/misc/compass.png
  32. BIN
      contacts_birthday_greetings/static/description/assets/misc/corporate.png
  33. BIN
      contacts_birthday_greetings/static/description/assets/misc/customer-support.png
  34. BIN
      contacts_birthday_greetings/static/description/assets/misc/cybrosys-logo.png
  35. BIN
      contacts_birthday_greetings/static/description/assets/misc/features.png
  36. BIN
      contacts_birthday_greetings/static/description/assets/misc/logo.png
  37. BIN
      contacts_birthday_greetings/static/description/assets/misc/pictures.png
  38. BIN
      contacts_birthday_greetings/static/description/assets/misc/pie-chart.png
  39. BIN
      contacts_birthday_greetings/static/description/assets/misc/right-arrow.png
  40. BIN
      contacts_birthday_greetings/static/description/assets/misc/star.png
  41. BIN
      contacts_birthday_greetings/static/description/assets/misc/support.png
  42. BIN
      contacts_birthday_greetings/static/description/assets/misc/whatsapp.png
  43. BIN
      contacts_birthday_greetings/static/description/assets/modules/1.png
  44. BIN
      contacts_birthday_greetings/static/description/assets/modules/2.png
  45. BIN
      contacts_birthday_greetings/static/description/assets/modules/3.png
  46. BIN
      contacts_birthday_greetings/static/description/assets/modules/4.png
  47. BIN
      contacts_birthday_greetings/static/description/assets/modules/5.gif
  48. BIN
      contacts_birthday_greetings/static/description/assets/modules/6.png
  49. BIN
      contacts_birthday_greetings/static/description/assets/screenshots/birthday_greetings_template_1.png
  50. BIN
      contacts_birthday_greetings/static/description/assets/screenshots/birthday_greetings_template_2.png
  51. BIN
      contacts_birthday_greetings/static/description/assets/screenshots/birthday_greetings_template_3.png
  52. BIN
      contacts_birthday_greetings/static/description/assets/screenshots/bithday_greet_1.png
  53. BIN
      contacts_birthday_greetings/static/description/assets/screenshots/bithday_greet_2.png
  54. BIN
      contacts_birthday_greetings/static/description/assets/screenshots/greetings.png
  55. BIN
      contacts_birthday_greetings/static/description/assets/screenshots/hero.gif
  56. BIN
      contacts_birthday_greetings/static/description/banner.png
  57. BIN
      contacts_birthday_greetings/static/description/galaxy_cupcakes-removebg-preview.png
  58. BIN
      contacts_birthday_greetings/static/description/icon.png
  59. 677
      contacts_birthday_greetings/static/description/index.html
  60. BIN
      contacts_birthday_greetings/static/src/img/birthday_greetings.png
  61. BIN
      contacts_birthday_greetings/static/src/img/birthday_greetings_2.png
  62. BIN
      contacts_birthday_greetings/static/src/img/cupcake.png
  63. BIN
      contacts_birthday_greetings/static/src/img/galaxy_cupcakes.png
  64. 130
      contacts_birthday_greetings/views/mail_template_data.xml
  65. 32
      contacts_birthday_greetings/views/res_config_settings_views.xml
  66. 15
      contacts_birthday_greetings/views/res_partner_view.xml

39
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 <https://cybrosys.com/>'__
Credits
-------
* 'Cybrosys Techno Solutions <https://cybrosys.com/>'__
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: `<static/description/index.html>`__

23
contacts_birthday_greetings/__init__.py

@ -0,0 +1,23 @@
# -*- coding: utf-8 -*-
#############################################################################
#
# Cybrosys Technologies Pvt. Ltd.
#
# Copyright (C) 2023-TODAY Cybrosys Technologies(<https://www.cybrosys.com>)
# Author: Cybrosys Techno Solutions(<https://www.cybrosys.com>)
#
# 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 <http://www.gnu.org/licenses/>.
#
#############################################################################
from . import models

45
contacts_birthday_greetings/__manifest__.py

@ -0,0 +1,45 @@
# -*- coding: utf-8 -*-
#############################################################################
#
# Cybrosys Technologies Pvt. Ltd.
#
# Copyright (C) 2023-TODAY Cybrosys Technologies(<https://www.cybrosys.com>)
# Author: Cybrosys Techno Solutions(<https://www.cybrosys.com>)
#
# 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 <http://www.gnu.org/licenses/>.
#
#############################################################################
{
'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
}

15
contacts_birthday_greetings/data/birthday_greeting_cron.xml

@ -0,0 +1,15 @@
<odoo>
<record model="ir.cron" id="birthday_greetings_cron">
<field name="name">Birthday Greetings</field>
<field name="model_id" ref="base.model_res_partner"/>
<field name="user_id" ref="base.user_root"/>
<field name="interval_number">1</field>
<field name="interval_type">days</field>
<field name="numbercall">-1</field>
<field name="doall" eval="False"/>
<field name="priority">10</field>
<field name="state">code</field>
<field name="nextcall" eval="(DateTime.now() + relativedelta(days=1, hour=0, minute=0))"/>
<field name="code">model.action_send_email()</field>
</record>
</odoo>

130
contacts_birthday_greetings/data/mail_template_data.xml

@ -0,0 +1,130 @@
<?xml version="1.0" encoding="utf-8"?>
<odoo>
<data noupdate="0">
<record id="email_template_birthday_greeting" model="mail.template">
<field name="name">Birthday Greetings Template 1</field>
<field name="model_id" ref="base.model_res_partner"/>
<field name="subject">Happy Birthday {{object.name}}</field>
<field name="email_from">"{{object.cbg_company_id.name or object.user_id.name}}" &lt;{{ (object.cbg_company_id.email or object.user_id.email) }}&gt;</field>
<field name="email_to">{{object.email}}</field>
<field name="partner_to">{{object.id}}</field>
<field name="body_html" type="html">
<div style="margin: 0px; padding: 0px;">
<p style="margin: 0px; padding: 0px; font-size: 13px;">
Dear <t t-out="object.name"/>,
<br/>
<br/>
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.
<br/>
<br/>
Many happy returns!
<br/>
<br/>
</p>
Sincerely,
<br/>
<t t-esc="object.cbg_company_id.name or object.user_id.company_id.name"/>
</div>
</field>
<field name="auto_delete" eval="True"/>
</record>
<record id="email_template_birthday_greeting_two" model="mail.template">
<field name="name">Birthday Greetings Template 2</field>
<field name="model_id" ref="base.model_res_partner"/>
<field name="subject">Happy Birthday {{object.name}}</field>
<field name="email_from">"{{ object.cbg_company_id.name or object.user_id.name}}" &lt;{{ (object.cbg_company_id.email or object.user_id.email) }}&gt;</field>
<field name="email_to">{{object.email}}</field>
<field name="partner_to">{{object.id}}</field>
<field name="body_html" type="html">
<link href="https://fonts.googleapis.com/css?family=Dancing+Script"
rel="stylesheet"/>
<div style="background-color: #ab669a;width: 100% !important;border-radius: 0px;-webkit-border-radius: 0px; -moz-border-radius: 0px;">
<div>
<h3 class="v-text-align v-font-size"
style="margin: 0px; color: #ffffff; line-height: 140%; text-align: center; word-wrap: break-word; font-weight: normal; font-family: 'Dancing Script', cursive; font-size: 18px;">
<strong>Happy</strong>
</h3>
</div>
<div>
<h3 class="v-text-align v-font-size"
style="margin: 0px; color: #ffffff; line-height: 140%; text-align: center; word-wrap: break-word; font-weight: normal; font-family: 'Dancing Script', cursive; font-size: 36px;">
<strong>Birthday</strong>
</h3>
</div>
<div>
<h3 class="v-text-align v-font-size"
style="margin: 0px; color: #ffffff; line-height: 140%; text-align: center; word-wrap: break-word; font-weight: normal; font-family: 'Dancing Script', cursive; font-size: 20px;">
<span t-field="object.name"/>
</h3>
</div>
<div align="center">
<img src="contacts_birthday_greetings/static/src/img/birthday_greetings.png"
alt="image" title="image"
style="outline: none;text-decoration: none;-ms-interpolation-mode: bicubic;clear: both;display: inline-block !important;border: none;height: auto;float: none;width: 100%;max-width: 600px;"
class="v-src-width v-src-max-width" width="600"
border="0" align="middle"/>
</div>
<div>
<h3 class="v-text-align v-font-size"
style="margin: 0px; color: #ffffff; line-height: 140%; text-align: center; word-wrap: break-word; font-weight: normal; font-family: 'Dancing Script', cursive; font-size: 36px;">
<strong>From all of us at</strong>
<t t-esc="object.cbg_company_id.name or object.user_id.company_id.name"/>
</h3>
</div>
</div>
</field>
<field name="auto_delete" eval="True"/>
</record>
<record id="email_template_birthday_greeting_three" model="mail.template">
<field name="name">Birthday Greetings Template 3</field>
<field name="model_id" ref="base.model_res_partner"/>
<field name="subject">Happy Birthday {{object.name}}</field>
<field name="email_from">"{{ object.cbg_company_id.name or object.user_id.name}}" &lt;{{ (object.cbg_company_id.email or object.user_id.email) }}&gt;</field>
<field name="email_to">{{object.email}}</field>
<field name="partner_to">{{object.id}}</field>
<field name="body_html" type="html">
<link href="https://fonts.googleapis.com/css?family=Dancing+Script"
rel="stylesheet"/>
<div style="background-image: url(/contacts_birthday_greetings/static/src/img/birthday_greetings_2.png); background-position: center top;background-color: transparent; width: 100% !important;height:1050px !important;" >
<div style="text-align: center;font-weight: normal;font-size: 20px; padding-top: 210px;">
Today is your special day!
</div>
<div style="text-align: center;font-weight: normal;font-size: 30px; padding-top: 45px;">
Happy Birthday
</div>
<div style="text-align: center;font-weight: normal;font-size: 25px; padding-top: 30px;">
<span t-field="object.name"/>
</div>
<div align="center">
<img src="contacts_birthday_greetings/static/src/img/galaxy_cupcakes.png"
alt="image" title="image"
style="outline: none;text-decoration: none;-ms-interpolation-mode: bicubic;clear: both;display: inline-block !important;border: none;height: auto;float: none;"
class="v-src-width v-src-max-width" width="250"
border="0" align="middle"/>
</div>
<div style="text-align: center;font-weight: normal;font-size: 30px; padding-top: 20px;">
<strong>From all of us at</strong>
<br></br>
<t t-esc="object.cbg_company_id.name or object.user_id.company_id.name"/>
</div>
<div style="text-align: center;font-weight: normal;font-size: 20px; padding-top: 25px;">
We hope your day is filled with good things,
<br></br>
and that the year ahead is even better than the last!
</div>
</div>
</field>
<field name="auto_delete" eval="True"/>
</record>
</data>
</odoo>

6
contacts_birthday_greetings/doc/RELEASE_NOTES.md

@ -0,0 +1,6 @@
## Module <contacts_birthday_greetings>
#### 11.01.2023
#### Version 16.0.1.0.0
#### ADD
- Initial commit for Contacts Birthday Greetings

25
contacts_birthday_greetings/models/__init__.py

@ -0,0 +1,25 @@
# -*- coding: utf-8 -*-
#############################################################################
#
# Cybrosys Technologies Pvt. Ltd.
#
# Copyright (C) 2023-TODAY Cybrosys Technologies(<https://www.cybrosys.com>)
# Author: Cybrosys Techno Solutions(<https://www.cybrosys.com>)
#
# 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 <http://www.gnu.org/licenses/>.
#
#############################################################################
from . import res_config_settings
from . import res_partner

48
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(<https://www.cybrosys.com>)
# Author: Cybrosys Techno Solutions(<https://www.cybrosys.com>)
#
# 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 <http://www.gnu.org/licenses/>.
#
#############################################################################
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

66
contacts_birthday_greetings/models/res_partner.py

@ -0,0 +1,66 @@
# -*- coding: utf-8 -*-
#############################################################################
#
# Cybrosys Technologies Pvt. Ltd.
#
# Copyright (C) 2023-TODAY Cybrosys Technologies(<https://www.cybrosys.com>)
# Author: Cybrosys Techno Solutions(<https://www.cybrosys.com>)
#
# 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 <http://www.gnu.org/licenses/>.
#
#############################################################################
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')

BIN
contacts_birthday_greetings/static/description/assets/icons/check.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.6 KiB

BIN
contacts_birthday_greetings/static/description/assets/icons/chevron.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 310 B

BIN
contacts_birthday_greetings/static/description/assets/icons/cogs.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

BIN
contacts_birthday_greetings/static/description/assets/icons/consultation.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 KiB

BIN
contacts_birthday_greetings/static/description/assets/icons/ecom-black.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 576 B

BIN
contacts_birthday_greetings/static/description/assets/icons/education-black.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 733 B

BIN
contacts_birthday_greetings/static/description/assets/icons/hotel-black.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 911 B

BIN
contacts_birthday_greetings/static/description/assets/icons/license.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

BIN
contacts_birthday_greetings/static/description/assets/icons/lifebuoy.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

BIN
contacts_birthday_greetings/static/description/assets/icons/manufacturing-black.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 673 B

BIN
contacts_birthday_greetings/static/description/assets/icons/pos-black.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 878 B

BIN
contacts_birthday_greetings/static/description/assets/icons/puzzle.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 653 B

BIN
contacts_birthday_greetings/static/description/assets/icons/restaurant-black.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 905 B

BIN
contacts_birthday_greetings/static/description/assets/icons/service-black.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 839 B

BIN
contacts_birthday_greetings/static/description/assets/icons/trading-black.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 427 B

BIN
contacts_birthday_greetings/static/description/assets/icons/training.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 627 B

BIN
contacts_birthday_greetings/static/description/assets/icons/update.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

BIN
contacts_birthday_greetings/static/description/assets/icons/user.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 988 B

BIN
contacts_birthday_greetings/static/description/assets/icons/wrench.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

BIN
contacts_birthday_greetings/static/description/assets/misc/categories.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 KiB

BIN
contacts_birthday_greetings/static/description/assets/misc/check-box.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

BIN
contacts_birthday_greetings/static/description/assets/misc/compass.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.9 KiB

BIN
contacts_birthday_greetings/static/description/assets/misc/corporate.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

BIN
contacts_birthday_greetings/static/description/assets/misc/customer-support.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.1 KiB

BIN
contacts_birthday_greetings/static/description/assets/misc/cybrosys-logo.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.4 KiB

BIN
contacts_birthday_greetings/static/description/assets/misc/features.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 589 B

BIN
contacts_birthday_greetings/static/description/assets/misc/logo.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.4 KiB

BIN
contacts_birthday_greetings/static/description/assets/misc/pictures.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.7 KiB

BIN
contacts_birthday_greetings/static/description/assets/misc/pie-chart.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.3 KiB

BIN
contacts_birthday_greetings/static/description/assets/misc/right-arrow.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 967 B

BIN
contacts_birthday_greetings/static/description/assets/misc/star.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 KiB

BIN
contacts_birthday_greetings/static/description/assets/misc/support.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.8 KiB

BIN
contacts_birthday_greetings/static/description/assets/misc/whatsapp.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.0 KiB

BIN
contacts_birthday_greetings/static/description/assets/modules/1.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 60 KiB

BIN
contacts_birthday_greetings/static/description/assets/modules/2.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 56 KiB

BIN
contacts_birthday_greetings/static/description/assets/modules/3.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 56 KiB

BIN
contacts_birthday_greetings/static/description/assets/modules/4.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 59 KiB

BIN
contacts_birthday_greetings/static/description/assets/modules/5.gif

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.8 MiB

BIN
contacts_birthday_greetings/static/description/assets/modules/6.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 57 KiB

BIN
contacts_birthday_greetings/static/description/assets/screenshots/birthday_greetings_template_1.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 122 KiB

BIN
contacts_birthday_greetings/static/description/assets/screenshots/birthday_greetings_template_2.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 308 KiB

BIN
contacts_birthday_greetings/static/description/assets/screenshots/birthday_greetings_template_3.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 375 KiB

BIN
contacts_birthday_greetings/static/description/assets/screenshots/bithday_greet_1.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 95 KiB

BIN
contacts_birthday_greetings/static/description/assets/screenshots/bithday_greet_2.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 114 KiB

BIN
contacts_birthday_greetings/static/description/assets/screenshots/greetings.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 133 KiB

BIN
contacts_birthday_greetings/static/description/assets/screenshots/hero.gif

Binary file not shown.

After

Width:  |  Height:  |  Size: 106 KiB

BIN
contacts_birthday_greetings/static/description/banner.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 18 KiB

BIN
contacts_birthday_greetings/static/description/galaxy_cupcakes-removebg-preview.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 176 KiB

BIN
contacts_birthday_greetings/static/description/icon.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.3 KiB

677
contacts_birthday_greetings/static/description/index.html

@ -0,0 +1,677 @@
<div class="container"
style="padding: 1rem !important; margin-bottom: 1rem !important;">
<div class="row">
<div class="col-sm-12 col-md-12 col-lg-12 d-flex justify-content-between"
style="border-bottom: 1px solid #d5d5d5;">
<div class="my-3">
<img src="assets/misc/cybrosys-logo.png"
style="width: auto !important; height: 40px !important;">
</div>
<div class="my-3 d-flex align-items-center">
<div
style="background-color: #7C7BAD !important; color: #fff !important; font-weight: 600 !important; padding: 5px 15px 8px !important; margin: 0 5px !important;">
<i class="fa fa-check mr-1"></i>Community
</div>
</div>
</div>
</div>
</div>
<div class="container" style="padding: 0rem 1.5rem 4rem !important">
<div class="row" style="height: 900px !important;">
<div class="col-sm-12 col-md-12 col-lg-12"
style="padding: 4rem 1rem !important; background-color: #714B67 !important; height: 600px !important; border-radius: 20px !important;">
<h1
style="font-family: 'Montserrat', sans-serif !important; font-weight: 600 !important; color: #FFFFFF !important; font-size: 3.5rem !important; text-align: center !important;">
Contacts Birthday Greetings</h1>
<p
style="font-family: 'Montserrat', sans-serif !important; font-weight: 300 !important; color: #FFFFFF !important; font-size: 1.4rem !important; text-align: center !important;">
Module helps to Automatically Send Happy Birthday
Email to Customers on Their Birthdays
</p>
<img src="./assets/screenshots/hero.gif" class="img-responsive"
width="100%" height="auto"/>
</div>
</div>
<div class="row">
<div class="col-md-12"
style="border-bottom: 1px solid #d5d5d5 !important; margin-bottom: 2rem !important">
<h2
style="font-family: 'Montserrat', sans-serif !important; font-weight: 600 !important; color: #714B67 !important; font-size: 1.5rem !important;">
<i class="fa fa-compass mr-2"></i>Explore this module
</h2>
<div class="row">
<div class="col-md-6">
<a href="#overview"
style="text-decoration: none !important;">
<div class="row"
style="background-color: #f5f2f5 !important; border-radius: 10px !important; margin: 1rem !important; padding: 1.5em !important; height: 100px !important;">
<div class="col-8">
<h3
style="font-family: 'Montserrat', sans-serif !important; font-weight: 600 !important; color: #714B67 !important; font-size: 1.2rem !important;">
Overview</h3>
<p
style="font-family: 'Roboto', sans-serif !important; font-weight: 400 !important; color: #714B67 !important; font-size: 0.9rem !important;">
Learn more about this module</p>
</div>
<div class="col-4 text-right d-flex justify-content-end align-items-center">
<i class="fa fa-chevron-right"
style="color: #714B67 !important;"></i>
</div>
</div>
</a>
</div>
<div class="col-md-6">
<a href="#features"
style="text-decoration: none !important;">
<div class="row"
style="background-color: #f5f2f5 !important; border-radius: 10px !important; margin: 1rem !important; padding: 1.5em !important; height: 100px !important;">
<div class="col-8">
<h3
style="font-family: 'Montserrat', sans-serif !important; font-weight: 600 !important; color: #714B67 !important; font-size: 1.2rem !important;">
Features</h3>
<p
style="font-family: 'Roboto', sans-serif !important; font-weight: 400 !important; color: #714B67 !important; font-size: 0.9rem !important;">
View features of this module</p>
</div>
<div class="col-4 text-right d-flex justify-content-end align-items-center">
<i class="fa fa-chevron-right"
style="color: #714B67 !important;"></i>
</div>
</div>
</a>
</div>
<div class="col-md-6">
<a href="#screenshots"
style="text-decoration: none !important;">
<div class="row"
style="background-color: #f5f2f5 !important; border-radius: 10px !important; margin: 1rem !important; padding: 1.5em !important; height: 100px !important;">
<div class="col-8">
<h3
style="font-family: 'Montserrat', sans-serif !important; font-weight: 600 !important; color: #714B67 !important; font-size: 1.2rem !important;">
Screenshots</h3>
<p
style="font-family: 'Roboto', sans-serif !important; font-weight: 400 !important; color: #714B67 !important; font-size: 0.9rem !important;">
See key screenshots of this module</p>
</div>
<div class="col-4 text-right d-flex justify-content-end align-items-center">
<i class="fa fa-chevron-right"
style="color: #714B67 !important;"></i>
</div>
</div>
</a>
</div>
</div>
</div>
</div>
<div class="row" id="overview">
<div class="col-md-12"
style="border-bottom: 1px solid #d5d5d5 !important; margin: 2rem 0 !important">
<h2
style="font-family: 'Montserrat', sans-serif !important; font-weight: 600 !important; color: #714B67 !important; font-size: 1.5rem !important;">
<i class="fa fa-pie-chart mr-2"></i>Overview
</h2>
</div>
<div class="col-mg-12 pl-3">
<p
style="font-family: 'Roboto', sans-serif !important; font-weight: 400 !important; color: #282F33 !important; font-size: 1.5rem !important; line-height: 30px !important;">
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.</p>
</div>
</p>
</div>
<div class="row" id="features">
<div class="col-md-12"
style="border-bottom: 1px solid #d5d5d5 !important; margin: 2rem 0 !important">
<h2
style="font-family: 'Montserrat', sans-serif !important; font-weight: 600 !important; color: #714B67 !important; font-size: 1.5rem !important;">
<i class="fa fa-star mr-2"></i>Features
</h2>
</div>
<div class="col-md-6 pl-3 py-3 d-flex">
<div>
<img src="assets/icons/check.png">
</div>
<div>
<h4
style="font-family: 'Roboto', sans-serif !important; font-weight: 600 !important; color: #282F33 !important; font-size: 1.3rem !important;">
Date of birth and age of contacts.</h4>
</div>
</div>
<div class="col-md-6 pl-3 py-3 d-flex">
<div>
<img src="assets/icons/check.png">
</div>
<div>
<h4
style="font-family: 'Roboto', sans-serif !important; font-weight: 600 !important; color: #282F33 !important; font-size: 1.4rem !important;">
Choose template for birthday greetings..</h4>
</div>
</div>
</div>
<div class="row" id="screenshots">
<div class="col-md-12"
style="border-bottom: 1px solid #d5d5d5 !important; margin: 2rem 0 !important">
<h2
style="font-family: 'Montserrat', sans-serif !important; font-weight: 600 !important; color: #714B67 !important; font-size: 1.5rem !important;">
<i class="fa fa-image mr-2"></i>Screenshots
</h2>
</div>
<div class="col-lg-12 my-2">
<h2 class="mt-2"
style="font-family: 'Roboto', sans-serif !important; font-weight: 600 !important; color: #282F33 !important; font-size: 1.7rem !important;">
Contacts</h2>
<p
style="font-family: 'Roboto', sans-serif !important; font-weight: 400 !important; color: #282F33 !important; font-size: 1.3rem !important;">
Set the Birth date of the contacts.
</p>
<img src="assets/screenshots/bithday_greet_1.png"
class="img-responsive img-thumbnail border" width="100%"
height="auto"/>
</div>
<div class="col-lg-12 my-3">
<h2 class="mt-3"
style="font-family: 'Roboto', sans-serif !important; font-weight: 600 !important; color: #282F33 !important; font-size: 1.7rem !important;">
Greetings Template</h2>
<p
style="font-family: 'Roboto', sans-serif !important; font-weight: 400 !important; color: #282F33 !important; font-size: 1.3rem !important;">
Go to Settings --> Choose template to send birthday wishing
email to contacts.
</p>
<img src="assets/screenshots/bithday_greet_2.png"
class="img-responsive img-thumbnail border" width="100%"
height="auto"/>
</div>
<div class="col-lg-12 my-3">
<h2 class="mt-3"
style="font-family: 'Roboto', sans-serif !important; font-weight: 600 !important; color: #282F33 !important; font-size: 1.7rem !important;">
Email</h2>
<p
style="font-family: 'Roboto', sans-serif !important; font-weight: 400 !important; color: #282F33 !important; font-size: 1.3rem !important;">
This is how a greetings email to the customer will be generated.
</p>
<div
style="font-family: 'Roboto', sans-serif !important; font-weight: 400 !important; color: #282F33 !important; font-size: 1.5rem !important; margin-top: 25px;">
Template 1
</div>
<img src="assets/screenshots/birthday_greetings_template_1.png"
class="img-responsive img-thumbnail border" width="100%"
height="auto"/>
<div
style="font-family: 'Roboto', sans-serif !important; font-weight: 400 !important; color: #282F33 !important; font-size: 1.5rem !important;margin-top: 25px;">
Template 2
</div>
<img src="assets/screenshots/birthday_greetings_template_2.png"
class="img-responsive img-thumbnail border" width="100%"
height="auto"/>
<div
style="font-family: 'Roboto', sans-serif !important; font-weight: 400 !important; color: #282F33 !important; font-size: 1.5rem !important;margin-top: 25px;">
Template 3
</div>
<img src="assets/screenshots/birthday_greetings_template_3.png"
class="img-responsive img-thumbnail border" width="100%"
height="auto"/>
</div>
</div>
<!-- SUGGESTED PRODUCTS -->
<!-- RELATED PRODUCTS -->
<div class="d-flex align-items-center"
style="border-bottom: 2px solid #714B67; padding: 15px 0px;">
<div class="d-flex justify-content-center align-items-center mr-2"
style="background-color: #F5F5F5; border-radius: 0px; width: 40px; height: 40px;">
<img src="assets/misc/categories.png"/>
</div>
<h2 class="mt-2"
style="font-family: 'Montserrat', sans-serif; font-size: 24px; font-weight: bold;">
Related
Products
</h2>
</div>
<div class="row">
<div class="col-sm-12">
<div id="demo1" class="row carousel slide" data-ride="carousel">
<!-- The slideshow -->
<div class="carousel-inner" style="padding: 30px;">
<div class="carousel-item" style="min-height: 198.656px;">
<div class="col-xs-12 col-sm-4 col-md-4 mb16 mt16"
style="float:left">
<a href="https://apps.odoo.com/apps/modules/15.0/dynamic_accounts_report/"
target="_blank">
<div style="border-radius:10px">
<img class="img img-responsive center-block"
style="border-radius: 0px;"
src="assets/modules/1.png">
</div>
</a>
</div>
<div class="col-xs-12 col-sm-4 col-md-4 mb16 mt16"
style="float:left">
<a href="https://apps.odoo.com/apps/modules/15.0/custom_gantt_view/"
target="_blank">
<div style="border-radius:10px">
<img class="img img-responsive center-block"
style="border-radius: 0px;"
src="assets/modules/2.png">
</div>
</a>
</div>
<div class="col-xs-12 col-sm-4 col-md-4 mb16 mt16"
style="float:left">
<a href="https://apps.odoo.com/apps/modules/15.0/project_custom_gantt/"
target="_blank">
<div style="border-radius:10px">
<img class="img img-responsive center-block"
style="border-radius: 0px;"
src="assets/modules/3.png">
</div>
</a>
</div>
</div>
<div class="carousel-item active"
style="min-height: 198.656px;">
<div class="col-xs-12 col-sm-4 col-md-4 mb16 mt16"
style="float:left">
<a href="https://apps.odoo.com/apps/modules/15.0/account_reports_xlsx/"
target="_blank">
<div style="border-radius:10px">
<img class="img img-responsive center-block"
style="border-radius: 0px;"
src="assets/modules/4.png">
</div>
</a>
</div>
<div class="col-xs-12 col-sm-4 col-md-4 mb16 mt16"
style="float:left">
<a href="https://apps.odoo.com/apps/modules/15.0/base_accounting_kit/"
target="_blank">
<div style="border-radius:10px">
<img class="img img-responsive center-block"
style="border-radius: 0px;"
src="assets/modules/5.gif">
</div>
</a>
</div>
<div class="col-xs-12 col-sm-4 col-md-4 mb16 mt16"
style="float:left">
<a href="https://apps.odoo.com/apps/modules/15.0/hr_payroll_community/"
target="_blank">
<div style="border-radius:10px">
<img class="img img-responsive center-block"
style="border-radius: 0px;"
src="assets/modules/6.png">
</div>
</a>
</div>
</div>
</div>
<!-- Left and right controls -->
<a class="carousel-control-prev" href="#demo1" data-slide="prev"
style="width:35px; color:#000"> <span
class="carousel-control-prev-icon"><i
class="fa fa-chevron-left"
style="font-size:24px"></i></span>
</a> <a class="carousel-control-next" href="#demo1"
data-slide="next" style="width:35px; color:#000">
<span class="carousel-control-next-icon"><i
class="fa fa-chevron-right" style="font-size:24px"></i></span>
</a>
</div>
</div>
</div>
<!-- END OF RELATED PRODUCTS -->
<!-- OUR SERVICES -->
<div class="d-flex align-items-center"
style="border-bottom: 2px solid #714B67; padding: 15px 0px;">
<div class="d-flex justify-content-center align-items-center mr-2"
style="background-color: #F5F5F5; border-radius: 0px; width: 40px; height: 40px;">
<img src="assets/misc/star.png"/>
</div>
<h2 class="mt-2"
style="font-family: 'Montserrat', sans-serif; font-size: 24px; font-weight: bold;">
Our Services
</h2>
</div>
<div class="container my-5">
<div class="row">
<div class="col-lg-4 d-flex flex-column justify-content-center align-items-center my-4">
<div class="d-flex justify-content-center align-items-center mx-3 my-3"
style="background-color: #1dd1a1 !important; border-radius: 15px !important; height: 80px; width: 80px;">
<img src="assets/icons/cogs.png" class="img-responsive"
height="48px" width="48px">
</div>
<h6 class="text-center"
style="font-family: Montserrat, 'sans-serif' !important; font-weight: bold;">
Odoo
Customization</h6>
</div>
<div class="col-lg-4 d-flex flex-column justify-content-center align-items-center my-4">
<div class="d-flex justify-content-center align-items-center mx-3 my-3"
style="background-color: #ff6b6b !important; border-radius: 15px !important; height: 80px; width: 80px;">
<img src="assets/icons/wrench.png" class="img-responsive"
height="48px" width="48px">
</div>
<h6 class="text-center"
style="font-family: Montserrat, 'sans-serif' !important; font-weight: bold;">
Odoo
Implementation</h6>
</div>
<div class="col-lg-4 d-flex flex-column justify-content-center align-items-center my-4">
<div class="d-flex justify-content-center align-items-center mx-3 my-3"
style="background-color: #6462CD !important; border-radius: 15px !important; height: 80px; width: 80px;">
<img src="assets/icons/lifebuoy.png" class="img-responsive"
height="48px" width="48px">
</div>
<h6 class="text-center"
style="font-family: Montserrat, 'sans-serif' !important; font-weight: bold;">
Odoo
Support</h6>
</div>
<div class="col-lg-4 d-flex flex-column justify-content-center align-items-center my-4">
<div class="d-flex justify-content-center align-items-center mx-3 my-3"
style="background-color: #ffa801 !important; border-radius: 15px !important; height: 80px; width: 80px;">
<img src="assets/icons/user.png" class="img-responsive"
height="48px" width="48px">
</div>
<h6 class="text-center"
style="font-family: Montserrat, 'sans-serif' !important; font-weight: bold;">
Hire
Odoo
Developer</h6>
</div>
<div class="col-lg-4 d-flex flex-column justify-content-center align-items-center my-4">
<div class="d-flex justify-content-center align-items-center mx-3 my-3"
style="background-color: #54a0ff !important; border-radius: 15px !important; height: 80px; width: 80px;">
<img src="assets/icons/puzzle.png" class="img-responsive"
height="48px" width="48px">
</div>
<h6 class="text-center"
style="font-family: Montserrat, 'sans-serif' !important; font-weight: bold;">
Odoo
Integration</h6>
</div>
<div class="col-lg-4 d-flex flex-column justify-content-center align-items-center my-4">
<div class="d-flex justify-content-center align-items-center mx-3 my-3"
style="background-color: #6d7680 !important; border-radius: 15px !important; height: 80px; width: 80px;">
<img src="assets/icons/update.png" class="img-responsive"
height="48px" width="48px">
</div>
<h6 class="text-center"
style="font-family: Montserrat, 'sans-serif' !important; font-weight: bold;">
Odoo
Migration</h6>
</div>
<div class="col-lg-4 d-flex flex-column justify-content-center align-items-center my-4">
<div class="d-flex justify-content-center align-items-center mx-3 my-3"
style="background-color: #786fa6 !important; border-radius: 15px !important; height: 80px; width: 80px;">
<img src="assets/icons/consultation.png"
class="img-responsive" height="48px" width="48px">
</div>
<h6 class="text-center"
style="font-family: Montserrat, 'sans-serif' !important; font-weight: bold;">
Odoo
Consultancy</h6>
</div>
<div class="col-lg-4 d-flex flex-column justify-content-center align-items-center my-4">
<div class="d-flex justify-content-center align-items-center mx-3 my-3"
style="background-color: #f8a5c2 !important; border-radius: 15px !important; height: 80px; width: 80px;">
<img src="assets/icons/training.png" class="img-responsive"
height="48px" width="48px">
</div>
<h6 class="text-center"
style="font-family: Montserrat, 'sans-serif' !important; font-weight: bold;">
Odoo
Implementation</h6>
</div>
<div class="col-lg-4 d-flex flex-column justify-content-center align-items-center my-4">
<div class="d-flex justify-content-center align-items-center mx-3 my-3"
style="background-color: #e6be26 !important; border-radius: 15px !important; height: 80px; width: 80px;">
<img src="assets/icons/license.png" class="img-responsive"
height="48px" width="48px">
</div>
<h6 class="text-center"
style="font-family: Montserrat, 'sans-serif' !important; font-weight: bold;">
Odoo
Licensing Consultancy</h6>
</div>
</div>
</div>
<!-- END OF END OF OUR SERVICES -->
<!-- OUR INDUSTRIES -->
<div class="d-flex align-items-center"
style="border-bottom: 2px solid #714B67; padding: 15px 0px;">
<div class="d-flex justify-content-center align-items-center mr-2"
style="background-color: #F5F5F5; border-radius: 0px; width: 40px; height: 40px;">
<img src="assets/misc/corporate.png"/>
</div>
<h2 class="mt-2"
style="font-family: 'Montserrat', sans-serif; font-size: 24px; font-weight: bold;">
Our
Industries
</h2>
</div>
<div class="container my-5">
<div class="row">
<div class="col-lg-3">
<div class="my-4 d-flex flex-column justify-content-center"
style="background-color: #f6f8f9 !important; border-radius: 0px; padding: 2rem !important; height: 250px !important;">
<img src="assets/icons/trading-black.png"
class="img-responsive mb-3" height="48px" width="48px">
<h5 style="font-family: Montserrat, sans-serif !important; color: #000 !important; font-weight: bold;">
Trading
</h5>
<p style="font-family: Montserrat, sans-serif !important; font-size: 0.9rem !important;">
Easily procure
and
sell your products</p>
</div>
</div>
<div class="col-lg-3">
<div class="my-4 d-flex flex-column justify-content-center"
style="background-color: #f6f8f9 !important; border-radius: 0px; padding: 2rem !important; height: 250px !important;">
<img src="assets/icons/pos-black.png"
class="img-responsive mb-3" height="48px" width="48px">
<h5 style="font-family: Montserrat, sans-serif !important; color: #000 !important; font-weight: bold;">
POS
</h5>
<p style="font-family: Montserrat, sans-serif !important; font-size: 0.9rem !important;">
Easy
configuration
and convivial experience</p>
</div>
</div>
<div class="col-lg-3">
<div class="my-4 d-flex flex-column justify-content-center"
style="background-color: #f6f8f9 !important; border-radius: 0px; padding: 2rem !important; height: 250px !important;">
<img src="assets/icons/education-black.png"
class="img-responsive mb-3" height="48px" width="48px">
<h5 style="font-family: Montserrat, sans-serif !important; color: #000 !important; font-weight: bold;">
Education
</h5>
<p style="font-family: Montserrat, sans-serif !important; font-size: 0.9rem !important;">
A platform for
educational management</p>
</div>
</div>
<div class="col-lg-3">
<div class="my-4 d-flex flex-column justify-content-center"
style="background-color: #f6f8f9 !important; border-radius: 0px; padding: 2rem !important; height: 250px !important;">
<img src="assets/icons/manufacturing-black.png"
class="img-responsive mb-3" height="48px" width="48px">
<h5 style="font-family: Montserrat, sans-serif !important; color: #000 !important; font-weight: bold;">
Manufacturing
</h5>
<p style="font-family: Montserrat, sans-serif !important; font-size: 0.9rem !important;">
Plan, track and
schedule your operations</p>
</div>
</div>
<div class="col-lg-3">
<div class="my-4 d-flex flex-column justify-content-center"
style="background-color: #f6f8f9 !important; border-radius: 0px; padding: 2rem !important; height: 250px !important;">
<img src="assets/icons/ecom-black.png"
class="img-responsive mb-3" height="48px" width="48px">
<h5 style="font-family: Montserrat, sans-serif !important; color: #000 !important; font-weight: bold;">
E-commerce &amp; Website
</h5>
<p style="font-family: Montserrat, sans-serif !important; font-size: 0.9rem !important;">
Mobile
friendly,
awe-inspiring product pages</p>
</div>
</div>
<div class="col-lg-3">
<div class="my-4 d-flex flex-column justify-content-center"
style="background-color: #f6f8f9 !important; border-radius: 0px; padding: 2rem !important; height: 250px !important;">
<img src="assets/icons/service-black.png"
class="img-responsive mb-3" height="48px" width="48px">
<h5 style="font-family: Montserrat, sans-serif !important; color: #000 !important; font-weight: bold;">
Service Management
</h5>
<p style="font-family: Montserrat, sans-serif !important; font-size: 0.9rem !important;">
Keep track of
services and invoice</p>
</div>
</div>
<div class="col-lg-3">
<div class="my-4 d-flex flex-column justify-content-center"
style="background-color: #f6f8f9 !important; border-radius: 0px; padding: 2rem !important; height: 250px !important;">
<img src="assets/icons/restaurant-black.png"
class="img-responsive mb-3" height="48px" width="48px">
<h5 style="font-family: Montserrat, sans-serif !important; color: #000 !important; font-weight: bold;">
Restaurant
</h5>
<p style="font-family: Montserrat, sans-serif !important; font-size: 0.9rem !important;">
Run your bar or
restaurant methodically</p>
</div>
</div>
<div class="col-lg-3">
<div class="my-4 d-flex flex-column justify-content-center"
style="background-color: #f6f8f9 !important; border-radius: 0px; padding: 2rem !important; height: 250px !important;">
<img src="assets/icons/hotel-black.png"
class="img-responsive mb-3" height="48px" width="48px">
<h5 style="font-family: Montserrat, sans-serif !important; color: #000 !important; font-weight: bold;">
Hotel Management
</h5>
<p style="font-family: Montserrat, sans-serif !important; font-size: 0.9rem !important;">
An
all-inclusive
hotel management application</p>
</div>
</div>
</div>
</div>
<!-- END OF END OF OUR INDUSTRIES -->
<!-- SUPPORT -->
<div class="d-flex align-items-center"
style="border-bottom: 2px solid #714B67; padding: 15px 0px;">
<div class="d-flex justify-content-center align-items-center mr-2"
style="background-color: #F5F5F5; border-radius: 0px; width: 40px; height: 40px;">
<img src="assets/misc/customer-support.png"/>
</div>
<h2 class="mt-2"
style="font-family: 'Montserrat', sans-serif; font-size: 24px; font-weight: bold;">
Support
</h2>
</div>
<div class="container mt-5">
<div class="row">
<div class="col-sm-12 col-md-6">
<div style="background-color: #F6F8F9; padding: 30px; display: flex; align-items: center;">
<div class="mr-4 d-flex justify-content-center align-items-center"
style="background-color: #714B67; display: inline-block; height: 70px; width: 70px; display: flex; align-items: center; justify-content: center;">
<img src="assets/misc/support.png" height="48"
width="48" style="width: 42px; height: 42px;"/>
</div>
<div>
<h4>Need Help?</h4>
<p style="line-height: 100%;">Got questions or need
help? Get in touch.</p>
<a href="mailto:odoo@cybrosys.com">
<p style="font-weight: 400; font-size: 28px; line-height: 80%; color: #714B67;">
odoo@cybrosys.com</p>
</a>
</div>
</div>
</div>
<div class="col-sm-12 col-md-6">
<div style="background-color: #F6F8F9; padding: 30px; display: flex; align-items: center;">
<div class="mr-4 d-flex justify-content-center align-items-center"
style="background-color: #2AC44D; display: inline-block; height: 70px; width: 70px; display: flex; align-items: center; justify-content: center;">
<img src="assets/misc/whatsapp.png" height="52"
width="52" style="width: 52px; height: 52px;"/>
</div>
<div>
<h4>WhatsApp</h4>
<p style="line-height: 100%;">Say hi to us on
WhatsApp!</p>
<a href="https://api.whatsapp.com/send?phone=918606827707">
<p style="font-weight: 400; font-size: 28px; line-height: 80%; color: #714B67;">
+91 86068
27707</p>
</a>
</div>
</div>
</div>
</div>
<div class="row">
<div class="col-sm-12 my-5 d-flex justify-content-center align-items-center">
<img src="assets/misc/logo.png" width="144" height="31"
style="width:144px; height: 31px; margin-top: 40px;"/>
</div>
</div>
<!-- END OF FOOTER -->
</div>
</div>

BIN
contacts_birthday_greetings/static/src/img/birthday_greetings.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 141 KiB

BIN
contacts_birthday_greetings/static/src/img/birthday_greetings_2.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 44 KiB

BIN
contacts_birthday_greetings/static/src/img/cupcake.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 42 KiB

BIN
contacts_birthday_greetings/static/src/img/galaxy_cupcakes.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 161 KiB

130
contacts_birthday_greetings/views/mail_template_data.xml

@ -0,0 +1,130 @@
<?xml version="1.0" encoding="utf-8"?>
<odoo>
<data noupdate="0">
<record id="email_template_birthday_greeting" model="mail.template">
<field name="name">Birthday Greetings Template 1</field>
<field name="model_id" ref="base.model_res_partner"/>
<field name="subject">Happy Birthday {{object.name}}</field>
<field name="email_from">"{{ object.company_id.name or object.user_id.name}}" &lt;{{ (object.company_id.email or object.user_id.email) }}&gt;</field>
<field name="email_to">{{object.email}}</field>
<field name="partner_to">{{object.id}}</field>
<field name="body_html" type="html">
<div style="margin: 0px; padding: 0px;">
<p style="margin: 0px; padding: 0px; font-size: 13px;">
Dear <t t-out="object.name"/>,
<br/>
<br/>
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.
<br/>
<br/>
Many happy returns!
<br/>
<br/>
</p>
Sincerely,
<br/>
<t t-out="object.user_id.company_id.name"/>
</div>
</field>
<field name="auto_delete" eval="True"/>
</record>
<record id="email_template_birthday_greeting_two" model="mail.template">
<field name="name">Birthday Greetings Template 2</field>
<field name="model_id" ref="base.model_res_partner"/>
<field name="subject">Happy Birthday {{object.name}}</field>
<field name="email_from">"{{ object.company_id.name or object.user_id.name}}" &lt;{{ (object.company_id.email or object.user_id.email) }}&gt;</field>
<field name="email_to">{{object.email}}</field>
<field name="partner_to">{{object.id}}</field>
<field name="body_html" type="html">
<link href="https://fonts.googleapis.com/css?family=Dancing+Script"
rel="stylesheet"/>
<div style="background-color: #ab669a;width: 100% !important;border-radius: 0px;-webkit-border-radius: 0px; -moz-border-radius: 0px;">
<div>
<h3 class="v-text-align v-font-size"
style="margin: 0px; color: #ffffff; line-height: 140%; text-align: center; word-wrap: break-word; font-weight: normal; font-family: 'Dancing Script', cursive; font-size: 18px;">
<strong>Happy</strong>
</h3>
</div>
<div>
<h3 class="v-text-align v-font-size"
style="margin: 0px; color: #ffffff; line-height: 140%; text-align: center; word-wrap: break-word; font-weight: normal; font-family: 'Dancing Script', cursive; font-size: 36px;">
<strong>Birthday</strong>
</h3>
</div>
<div>
<h3 class="v-text-align v-font-size"
style="margin: 0px; color: #ffffff; line-height: 140%; text-align: center; word-wrap: break-word; font-weight: normal; font-family: 'Dancing Script', cursive; font-size: 20px;">
<span t-field="object.name"/>
</h3>
</div>
<div align="center">
<img src="contacts_birthday_greetings/static/src/img/birthday_greetings.png"
alt="image" title="image"
style="outline: none;text-decoration: none;-ms-interpolation-mode: bicubic;clear: both;display: inline-block !important;border: none;height: auto;float: none;width: 100%;max-width: 600px;"
class="v-src-width v-src-max-width" width="600"
border="0" align="middle"/>
</div>
<div>
<h3 class="v-text-align v-font-size"
style="margin: 0px; color: #ffffff; line-height: 140%; text-align: center; word-wrap: break-word; font-weight: normal; font-family: 'Dancing Script', cursive; font-size: 36px;">
<strong>From all of us at</strong>
<span t-field="object.user_id.company_id.name"/>
</h3>
</div>
</div>
</field>
<field name="auto_delete" eval="True"/>
</record>
<record id="email_template_birthday_greeting_three" model="mail.template">
<field name="name">Birthday Greetings Template 3</field>
<field name="model_id" ref="base.model_res_partner"/>
<field name="subject">Happy Birthday {{object.name}}</field>
<field name="email_from">"{{ object.company_id.name or object.user_id.name}}" &lt;{{ (object.company_id.email or object.user_id.email) }}&gt;</field>
<field name="email_to">{{object.email}}</field>
<field name="partner_to">{{object.id}}</field>
<field name="body_html" type="html">
<link href="https://fonts.googleapis.com/css?family=Dancing+Script"
rel="stylesheet"/>
<div style="background-image: url(/contacts_birthday_greetings/static/src/img/birthday_greetings_2.png); background-position: center top;background-color: transparent; width: 100% !important;height:1050px !important;" >
<div style="text-align: center;font-weight: normal;font-size: 20px; padding-top: 210px;">
Today is your special day!
</div>
<div style="text-align: center;font-weight: normal;font-size: 30px; padding-top: 45px;">
Happy Birthday
</div>
<div style="text-align: center;font-weight: normal;font-size: 25px; padding-top: 30px;">
<span t-field="object.name"/>
</div>
<div align="center">
<img src="contacts_birthday_greetings/static/src/img/galaxy_cupcakes.png"
alt="image" title="image"
style="outline: none;text-decoration: none;-ms-interpolation-mode: bicubic;clear: both;display: inline-block !important;border: none;height: auto;float: none;"
class="v-src-width v-src-max-width" width="250"
border="0" align="middle"/>
</div>
<div style="text-align: center;font-weight: normal;font-size: 30px; padding-top: 20px;">
<strong>From all of us at</strong>
<br></br>
<span t-field="object.user_id.company_id.name"/>
</div>
<div style="text-align: center;font-weight: normal;font-size: 20px; padding-top: 25px;">
We hope your day is filled with good things,
<br></br>
and that the year ahead is even better than the last!
</div>
</div>
</field>
<field name="auto_delete" eval="True"/>
</record>
</data>
</odoo>

32
contacts_birthday_greetings/views/res_config_settings_views.xml

@ -0,0 +1,32 @@
<?xml version="1.0" encoding="utf-8"?>
<odoo>
<record id="res_config_settings_view_mail_track" model="ir.ui.view">
<field name="name">res.config.settings.view.form.inherit</field>
<field name="model">res.config.settings</field>
<field name="inherit_id" ref="base.res_config_settings_view_form"/>
<field name="arch" type="xml">
<xpath expr="//div[@id='contacts_settings']" position="inside">
<div class="row mt16 o_settings_container" id="greetings_email_setting">
<div class="col-xs-12 col-md-6 o_setting_box" id ='birthday_greetings'>
<div class="o_setting_right_pane">
<span class="o_form_label">Birthday Greetings</span>
<div class="text-muted">
Select Mail Template for Birthday Greetings
</div>
<div class="row mt16" >
<label for="greetings_mail_template_id" class="col-lg-4 o_light_label"/>
<field name="greetings_mail_template_id" class="oe_inline"/>
</div>
</div>
</div>
</div>
</xpath>
</field>
</record>
</odoo>

15
contacts_birthday_greetings/views/res_partner_view.xml

@ -0,0 +1,15 @@
<?xml version="1.0" encoding="utf-8"?>
<odoo>
<record id="res_partner_form_inherit" model="ir.ui.view">
<field name="name">res.partner.form.inherit</field>
<field name="model">res.partner</field>
<field name="inherit_id"
ref="base.view_partner_form"/>
<field name="arch" type="xml">
<xpath expr="//field[@name='category_id']" position="after">
<field name="date_of_birth"/>
<field name="age"/>
</xpath>
</field>
</record>
</odoo>
Loading…
Cancel
Save