diff --git a/contacts_birthday_greetings/__manifest__.py b/contacts_birthday_greetings/__manifest__.py index 5aa1125ee..f81a2dbbd 100644 --- a/contacts_birthday_greetings/__manifest__.py +++ b/contacts_birthday_greetings/__manifest__.py @@ -21,7 +21,7 @@ ############################################################################# { 'name': "Contacts Birthday Greetings", - 'version': '16.0.1.0.0', + 'version': '16.0.1.0.1', 'summary': """Contacts Birthday Greetings""", "category": 'Contacts', 'description': """Module helps to Automatically Send Happy Birthday diff --git a/contacts_birthday_greetings/data/mail_template_data.xml b/contacts_birthday_greetings/data/mail_template_data.xml index ea2cdea7c..ad950a523 100644 --- a/contacts_birthday_greetings/data/mail_template_data.xml +++ b/contacts_birthday_greetings/data/mail_template_data.xml @@ -1,13 +1,12 @@ - + 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}}

@@ -34,37 +33,36 @@ - + 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}} -

+

+ style="margin: 0px; color: #7b1b21; line-height: 140%; text-align: center; word-wrap: break-word; font-weight: normal; font-family: 'Dancing Script', cursive; font-size: 18px;"> Happy

+ style="margin: 0px; color: #7b1b21; line-height: 140%; text-align: center; word-wrap: break-word; font-weight: normal; font-family: 'Dancing Script', cursive; font-size: 36px;"> Birthday

+ style="margin: 0px; color: #7b1b21; line-height: 140%; text-align: center; word-wrap: break-word; font-weight: normal; font-family: 'Dancing Script', cursive; font-size: 20px;">

- image

+ style="margin: 0px; color: #7b1b21; line-height: 140%; text-align: center; word-wrap: break-word; font-weight: normal; font-family: 'Dancing Script', cursive; font-size: 36px;"> From all of us at

@@ -83,30 +81,23 @@ - + 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
diff --git a/contacts_birthday_greetings/doc/RELEASE_NOTES.md b/contacts_birthday_greetings/doc/RELEASE_NOTES.md index ab6c69019..3d2cfa208 100644 --- a/contacts_birthday_greetings/doc/RELEASE_NOTES.md +++ b/contacts_birthday_greetings/doc/RELEASE_NOTES.md @@ -3,4 +3,9 @@ #### 11.01.2023 #### Version 16.0.1.0.0 #### ADD -- Initial commit for Contacts Birthday Greetings \ No newline at end of file +- Initial commit for Contacts Birthday Greetings + +#### 04.01.2024 +#### Version 16.0.1.0.1 +#### UPDT +- Bug fix for twice-sent mail and template issue \ No newline at end of file diff --git a/contacts_birthday_greetings/models/res_partner.py b/contacts_birthday_greetings/models/res_partner.py index 2cc4c93cb..5f10c6274 100644 --- a/contacts_birthday_greetings/models/res_partner.py +++ b/contacts_birthday_greetings/models/res_partner.py @@ -63,4 +63,4 @@ class ResPartner(models.Model): template_id) templates.sudo().send_mail( partner.id, force_send=True, - email_layout_xmlid='mail.mail_notification_light') + email_layout_xmlid='mail.mail_notification_light') \ No newline at end of file diff --git a/contacts_birthday_greetings/static/description/assets/screenshots/bithday_greet_2.png b/contacts_birthday_greetings/static/description/assets/screenshots/birthday_greet_2.png similarity index 100% rename from contacts_birthday_greetings/static/description/assets/screenshots/bithday_greet_2.png rename to contacts_birthday_greetings/static/description/assets/screenshots/birthday_greet_2.png 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 deleted file mode 100644 index 0f935f050..000000000 Binary files a/contacts_birthday_greetings/static/description/assets/screenshots/birthday_greetings_template_1.png and /dev/null 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 deleted file mode 100644 index 732061d7a..000000000 Binary files a/contacts_birthday_greetings/static/description/assets/screenshots/birthday_greetings_template_2.png and /dev/null 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 deleted file mode 100644 index 4a9300b62..000000000 Binary files a/contacts_birthday_greetings/static/description/assets/screenshots/birthday_greetings_template_3.png and /dev/null differ diff --git a/contacts_birthday_greetings/static/description/assets/screenshots/greetings.png b/contacts_birthday_greetings/static/description/assets/screenshots/greetings.png deleted file mode 100644 index 1b9788fd8..000000000 Binary files a/contacts_birthday_greetings/static/description/assets/screenshots/greetings.png and /dev/null differ diff --git a/contacts_birthday_greetings/static/description/assets/screenshots/hero.gif b/contacts_birthday_greetings/static/description/assets/screenshots/hero.gif deleted file mode 100644 index f9fd833e0..000000000 Binary files a/contacts_birthday_greetings/static/description/assets/screenshots/hero.gif and /dev/null differ diff --git a/contacts_birthday_greetings/static/description/assets/screenshots/hero_gif_file.gif b/contacts_birthday_greetings/static/description/assets/screenshots/hero_gif_file.gif new file mode 100644 index 000000000..9d3ba6d9d Binary files /dev/null and b/contacts_birthday_greetings/static/description/assets/screenshots/hero_gif_file.gif differ diff --git a/contacts_birthday_greetings/static/description/assets/screenshots/img.png b/contacts_birthday_greetings/static/description/assets/screenshots/img.png new file mode 100644 index 000000000..9f24e1a45 Binary files /dev/null and b/contacts_birthday_greetings/static/description/assets/screenshots/img.png differ diff --git a/contacts_birthday_greetings/static/description/assets/screenshots/temp_1.png b/contacts_birthday_greetings/static/description/assets/screenshots/temp_1.png new file mode 100644 index 000000000..c15248975 Binary files /dev/null and b/contacts_birthday_greetings/static/description/assets/screenshots/temp_1.png differ diff --git a/contacts_birthday_greetings/static/description/assets/screenshots/temp_2.png b/contacts_birthday_greetings/static/description/assets/screenshots/temp_2.png new file mode 100644 index 000000000..816f10a5f Binary files /dev/null and b/contacts_birthday_greetings/static/description/assets/screenshots/temp_2.png differ diff --git a/contacts_birthday_greetings/static/description/assets/screenshots/temp_3.png b/contacts_birthday_greetings/static/description/assets/screenshots/temp_3.png new file mode 100644 index 000000000..f0400f841 Binary files /dev/null and b/contacts_birthday_greetings/static/description/assets/screenshots/temp_3.png differ diff --git a/contacts_birthday_greetings/static/description/assets/screenshots/temp_33.png b/contacts_birthday_greetings/static/description/assets/screenshots/temp_33.png new file mode 100644 index 000000000..1351c5587 Binary files /dev/null and b/contacts_birthday_greetings/static/description/assets/screenshots/temp_33.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 deleted file mode 100644 index eed9d2024..000000000 Binary files a/contacts_birthday_greetings/static/description/galaxy_cupcakes-removebg-preview.png and /dev/null differ diff --git a/contacts_birthday_greetings/static/description/index.html b/contacts_birthday_greetings/static/description/index.html index d36349c8c..62cb57b36 100644 --- a/contacts_birthday_greetings/static/description/index.html +++ b/contacts_birthday_greetings/static/description/index.html @@ -12,8 +12,6 @@ style="background-color: #7C7BAD !important; color: #fff !important; font-weight: 600 !important; padding: 5px 15px 8px !important; margin: 0 5px !important;"> Community
- -
@@ -31,7 +29,7 @@ Module helps to Automatically Send Happy Birthday Email to Customers on Their Birthdays

-
@@ -184,7 +182,7 @@ 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.

-
@@ -198,7 +196,7 @@ Go to Settings --> Choose template to send birthday wishing email to contacts.

-
@@ -215,14 +213,14 @@ style="font-family: 'Roboto', sans-serif !important; font-weight: 400 !important; color: #282F33 !important; font-size: 1.5rem !important; margin-top: 25px;"> Template 1 -
Template 2
- @@ -230,7 +228,7 @@ style="font-family: 'Roboto', sans-serif !important; font-weight: 400 !important; color: #282F33 !important; font-size: 1.5rem !important;margin-top: 25px;"> Template 3 - diff --git a/contacts_birthday_greetings/static/src/img/birthday_greetings.png b/contacts_birthday_greetings/static/src/img/birthday_greetings.png deleted file mode 100644 index 4adfdd8bd..000000000 Binary files a/contacts_birthday_greetings/static/src/img/birthday_greetings.png and /dev/null 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 deleted file mode 100644 index 2746e8eac..000000000 Binary files a/contacts_birthday_greetings/static/src/img/birthday_greetings_2.png and /dev/null differ diff --git a/contacts_birthday_greetings/static/src/img/cupcake.png b/contacts_birthday_greetings/static/src/img/cupcake.png deleted file mode 100644 index bd3216cef..000000000 Binary files a/contacts_birthday_greetings/static/src/img/cupcake.png and /dev/null differ diff --git a/contacts_birthday_greetings/static/src/img/galaxy_cupcakes.png b/contacts_birthday_greetings/static/src/img/galaxy_cupcakes.png deleted file mode 100644 index 40fe986cb..000000000 Binary files a/contacts_birthday_greetings/static/src/img/galaxy_cupcakes.png and /dev/null differ diff --git a/contacts_birthday_greetings/views/mail_template_data.xml b/contacts_birthday_greetings/views/mail_template_data.xml deleted file mode 100644 index 1df96f3fd..000000000 --- a/contacts_birthday_greetings/views/mail_template_data.xml +++ /dev/null @@ -1,130 +0,0 @@ - - - - - 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 index ec389125f..1e6d1fb28 100644 --- a/contacts_birthday_greetings/views/res_config_settings_views.xml +++ b/contacts_birthday_greetings/views/res_config_settings_views.xml @@ -1,6 +1,5 @@ - res.config.settings.view.form.inherit res.config.settings @@ -17,16 +16,11 @@
- - - -